📚 SAP Business One SDK Help

ApprovalTemplatesService Object
See Also  Members 

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:

  1. Connect to a valid company.
  2. Call the CompanyService, which is the main DI service that you must call before using any other service.
  3. Call the method GetBusinessService for the required service.
  4. Create an empty data structure related to the required service.
    - or-
    You can create a data structure from an XML file or XML string.
  5. Set the required properties of the specified data structure.
  6. Call the required service method.

To display the form in the application: Select Administration --> Approval Procedure --> Approval Templates.

Example

See Also