SalesTypes
This component runs the Sales Type (STS) function.
Note: You must define Sales Types for your
Business Unit before you can enter sales transactions.
Methods
- Closed
- Driver Type: SASI
- Create
- Driver Type: SASI
- CreateAsDraft
- Driver Type: SASI
- CreateOrAmend
- Driver Type: SASI
- Delete
- Driver Type: SASI
- DeleteChildData
- Driver Type: SASI
- Hidden
- Driver Type: SASI
- Open
- Driver Type: SASI
- Query
- Driver Type: Export
- Suspended/Held
- Driver Type: SASI
Mandatory fields
- General
-
- When creating, amending or deleting a sales type, a value must be supplied for the
Sales Transaction Type - payload element
<SalesTransactionType>
- When creating or amending sales type accounts, a value must be supplied for:
-
Account Recognition Code - payload element
<AccountRecognitionCode>
-
Account Code - payload element
<AccountCode>
-
- When creating or amending sales type presets, a value must be supplied for the
Preset Code - payload element
<PresetCode>
. - When creating or amending sales type stage, a value must be supplied for the Stage
- payload element
<Stage>
- When creating or amending sales type stage ledger interface reversal, a value must
be supplied for the Ledger Interface Type - payload element
<LedgerInterfaceType>
- When creating or amending sales type value entries, a value must be supplied for
the Value Label Short Heading - payload element
<ShortHeading>
- When creating, amending or deleting a sales type, a value must be supplied for the
Sales Transaction Type - payload element
- Deleting Child Data
-
- When deleting child data, a value must be supplied for the Sales Definition Code -
payload element
<SalesDefinitionCode>
. - When deleting SO Assign Preset child data, a value must be supplied for SO Assign
Preset Code - payload element
<SOLPreset.PresetCode>
- When deleting SO Analysis child data, a value must be supplied for Analysis
Category ID - payload element
<SOAnalysis.AnalysisCategoryID.AnlCat_Shead>
- When deleting Value child data, a value must be supplied for:
- Value Category ID - payload element
<Value.ValueCategoryID.ShortHeading>
- Value Label Type -
payload element
<Value.ValueLabelValueType>
- Value Category ID - payload element
- To delete Stage data, or establish the key of the Ledger IF Reversal data to be
deleted, a value must be supplied for Stage - payload element
<Stage.Stage>
- If Ledger IF Reversal data are to be deleted, a value must also be supplied for
the Ledger Interface Definition Code - payload element
<Stage.LedgerIFReversal.LedgerInterfaceDefinitionCode>
Note: 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. - When deleting child data, a value must be supplied for the Sales Definition Code -
payload element
Related data
- Account Recognition Code
- Sales Order Analysis
- Sales Order Preset
- Stage including Ledger IF Reversal
- Value Label.