Save Document Method
This method saves the document in its current state, and contains the method arguments listed in the following table. This method is automatically triggered by the application to save the state of the document before applying the promotion, provided that the Promotion Automatch system preference is set to Y. This method is not triggered if the Promotion Automatch system preference is set to N, or if the Promotion Automatch system preference is not defined.
Argument Name | Data Type | Input or Output | Comments |
---|---|---|---|
Document Id |
String |
Input |
The Header Id of the quote or order. |
Document Type |
String |
Input |
Document Type must be either Quote or Order. |