ReceiptNotesGenerate
This component generates receipt notes and is associated with the ReceiptNotes
component.
Receipt notes are normally used to update inventory. However, inventory can be updated at other stages such as Order Confirmation, Invoice Confirmation, etc.
Methods
Note: The
Generate
, GenerateWithSerialNumbers
, GenerateAndFinish
and GenerateAmendQuantityAndFinish
methods use a different payload to the ReceiptNotes
component methods. The component ReceiptNotesGenerate
contains parameters corresponding to the entry fields in the Receipt Note entry function in SunSystems. Line Details must be supplied in order to select the line(s) for each receipt note.
- Generate
- Driver Type: SASI
- GenerateAndFinish
- Driver Type: SASI
- GenerateWithSerialNumbers
- Driver Type: SASI
- GenerateAndFinish
- Driver Type: SASI
- GenerateAmendQuantityAndFinish
- Driver Type: SASI
Mandatory fields
Note: The
Generate
, GenerateWithSerialNumbers
and GenerateAndFinish
methods require the user line number, whereas the GenerateAmendQuantityAndFinish
method requires the system line number. If the orders were created with user line numbers out of sequence, or a line has been deleted, the user and system line numbers may be different so it is important to use the correct line number for each method.
For the Generate, GenerateWithSerialNumbers
and GenerateAndFinish
methods, values must be supplied for:
- Line Number - payload element
<LineNumber>
- Transaction Reference - payload element
<TransactionReference>
.
For the GenerateAmendQuantityAndFinish
method, a value must be supplied for:
- Original Line Number - payload element
<OriginalLineNumber>
- Original Transaction Reference - payload element
<OriginalTransactionReference>
.
Note:
- If not provided, the value for payload element
ValueLabelForQuantity
will default to 1. It is the value label ID used for quantity, on the Value child function for the transaction type. - At runtime the component validates the payload contents to ensure that the values supplied are correct. Various combinations of values may require other elements in the payload to be specified before the payload can be processed successfully.
Related data
None.