In Business Integration Solutions, use the RunObject activity to execute a report or a codeunit.
Usage
Use this activity to invoke an operation that runs a codeunit or a report in the current session. For example, after importing a sales document (inbound connection), you can use the RunObject activity to release the document or execute a report for it.
Setup
Field | Description | Observation |
|---|---|---|
Object Type to Run | Indicates whether the activity runs a codeunit or a report. | |
Object ID to Run | Indicates which object to run. | |
Object Name to Run | Populated automatically with the name of the object chosen in Object ID to Run. | |
Operation | The operation to execute: Run, Print, or SaveAs. | Print and SaveAs are only available for reports. |
Description | Description of the RunObject activity. | |
Add Message | Specifies whether the message body sends to the report as ReportParameters. | Only applicable to object type Report with operations Print or SaveAs. |
Add Record | Specifies whether the record ID processed by the message sends in the scope of the executed object. |
