Description
ApprovalTemplatesService is a business object that manages the Approval of deviations from organization limitations.
This object enables to:
- Add a new Approval Stage to approval process.
- Get Approval Stage from approval process.
- Get a list of Approval Stages from approval process.
- Remove an Approval Stage from approval process.
- Update an Approval Stage within approval process.
Source table: OWTM.
Object Model
Remarks
The ApprovalTemplatesService does not trigger the approval process for objects added via the DI API.
To use the service:
- Connect to a valid company.
- Call the CompanyService, which is the main DI service that you must call before using any other service.
- Call the method GetBusinessService for the required service.
- Create an empty data structure related to the required service.
- or-
You can create a data structure from an XML file or XML string. - Set the required properties of the specified data structure.
- Call the required service method.
To display the form in the application: Select Administration --> Approval Procedure --> Approval Templates.
Example
AddApprovalTemplate Method
| GetApprovalTemplate Method
| GetApprovalTemplateList Method
| RemoveApprovalTemplate Method
| UpdateApprovalTemplate Method