PurchaseTypes
This component runs the Purchase Types (PTS) function.
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 purchase type, a value must be supplied for the Purchase Transaction Type - payload element
<PurchaseTransactionType>
- When creating or amending purchase type accounts, a value must be supplied for:
- Account Recognition Code - payload element
<AccountRecognitionCode>
- Account Code - payload element
<AccountCode>
- Account Recognition Code - payload element
- When creating or amending purchase type presets, a value must be supplied for the Preset Code - payload element
<PresetCode>
- When creating or amending purchase type stage, a value must be supplied for the Stage - payload element
<Stage>
- When creating or amending purchase type stage ledger interface reversal, a value must be supplied for the Ledger Interface Type - payload element
<LedgerInterfaceType>
- When creating or amending purchase type value entries, a value must be supplied for the Value Label Short Heading - payload element
<ShortHeading>
- When creating, amending or deleting a purchase type, a value must be supplied for the Purchase Transaction Type - payload element
- Deleting Child Data
-
- When deleting child data, a value must be supplied for the Purchase Transaction Type - payload element
<PurchaseTransactionType>
- When deleting PI Assign Preset child data, a value must be supplied for PI Assign Preset Code - payload element
<PIAssignPreset.PresetCode>
- When deleting PO Assign Preset child data, a value must be supplied for the PO Assign Preset Code - payload element
<POAssignPreset.PresetCode>
- When deleting PO Analysis child data, a value must be supplied for the PO Analysis Category ID - payload element
<POAnalysis.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 the Stage - payload element
<Stage.Stage>
<Stage.LedgerIFReversal.LedgerInterfaceDefinitionCode>If Ledger IF Reversal is to be deleted, a value must also be supplied for the Ledger Interface Definition Code - payload element
- When deleting child data, a value must be supplied for the Purchase Transaction Type - payload element
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.
Related data
- Account Recognition Code
- Value Label
- Purchase Order Assign Preset
- Purchase Invoice Assign Preset
- Stage including Ledger IF Reversal
- Purchase Order Analysis.