📚 SAP Business One SDK Help

ApprovalStagesService Object
See Also  Members 

Description

ApprovalStagesService is a business object that manages the Approval stages Process in SAP Business One environment.

This object enables user to:

  • Add new Approval Stage to approval Process.
  • Get Approval Stage from approval Process.
  • Get a list of Approval Stages from approval Process.
  • Remove Approval Stage from approval Process.
  • Update Approval Stage within approval Process.
  • Get Data interfaces.

Source table: OWST.

Object Model





Remarks

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 Stages.

Example

See Also