Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| a_f:a:print_document [2022/09/01 01:23] – ↷ Page moved from a_f:3100_actions:print_document to a_f:a:print_document administrator | a_f:a:print_document [2023/05/09 01:43] (current) – sean | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag>Actions | + | {{tag>Index Action |
| ====== PRINT DOCUMENT ====== | ====== PRINT DOCUMENT ====== | ||
| Line 8: | Line 8: | ||
| The action written in this format prints the contents of the attribute of the specified business object, provided that this attribute is of the Document type. Whatever document is stored in the attribute will be printed – no document processing is performed. For example, | The action written in this format prints the contents of the attribute of the specified business object, provided that this attribute is of the Document type. Whatever document is stored in the attribute will be printed – no document processing is performed. For example, | ||
| - | <code aim> PRINT DOCUMENT Statement.StatementDocument</ | + | <code aim> |
| The '' | The '' | ||
| Line 18: | Line 18: | ||
| Example: | Example: | ||
| - | <code aim> PRINT DOCUMENT StaffReport 5 COPIES</ | + | <code aim> |
| - | <code aim> PRINT DOCUMENT StaffReport TO ' | + | <code aim> |
| * '' | * '' | ||
| Line 30: | Line 30: | ||
| Consider the following rules: | Consider the following rules: | ||
| - | <code aim> FIND Person WHERE Person.Name=' | + | <code aim>FIND Person WHERE Person.Name=' |
| - | PRINT DOCUMENT AccountOpeningLetter</ | + | PRINT DOCUMENT AccountOpeningLetter </ |
| where '' | where '' | ||
| - | < | + | < |
| it will be replaced with the line | it will be replaced with the line | ||
| - | < | + | < |
| when the template is printed. | when the template is printed. | ||