-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from volodkindv/volodkindv-patch-1
Volodkindv patch 1
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
ПечатнаяФормаДокумента | ||
=================================== | ||
|
||
**Синтаксис:** | ||
|
||
ПечатнаяФормаДокумента(<Параметры>) | ||
|
||
**Описание:** | ||
|
||
Позволяет вернуть нестандартную печатную форму для документа. | ||
|
||
**Параметры:** | ||
|
||
Элементы структуры **Параметры**: | ||
|
||
* **Документ** - Структура с описанием документа. Здесь может быть как уже отправленный/полученный документ, так и новый, готовый к отправке. | ||
|
||
Пример использования: | ||
|
||
:: | ||
|
||
Если Параметры.Документ.Тип.ТипДокумента = "UniversalTransferDocument" | ||
Или Параметры.Документ.Тип.ТипДокумента = "Invoice" Тогда | ||
Результат = Новый ТабличныйДокумент; | ||
Область = Результат.ПолучитьОбласть(1,1,1,1); | ||
Область.ТекущаяОбласть.Текст = "Пример нестандартной печатной формы"; | ||
Результат.Вывести(Область); | ||
Возврат Результат; | ||
КонецЕсли; |