PaymentTermsGroups
This component runs the Paywment Terms (PYT) function.
It allows you to set up and maintain payment terms.
Methods
- Closed
- Driver Type: SASI
- CreateAsDraft
- Driver Type: SASI
- CreateOrAmend
- Driver Type: SASI
- Hidden
- Driver Type: SASI
- Open
- Driver Type: SASI
- Query
- Driver Type: Export
- Suspended/Held
- Driver Type: SASI
Mandatory fields
- When creating or amending a payment terms group, a value must be supplied for Payment Terms Group Code - payload element
<PaymentTermsGroupCode>
Related data
- Standard Text
- Standard Text Language
The attachment of Standard Text is supported by the CreateOrAmend and CreateAsDraft methods. If the standard text supplied in the payload does not exist then it is created. However, it is not possible to amend existing standard text by this means; existing standard text is attached by key only, and any non-key fields in the SSC payload are ignored. Standard text can be amended using the Standard Text Language Variants function from SunSystems or the SSC component StandardTextLanguageVariants.
The standard text to be attached is language specific and therefore must be included within the StandardTextLang part of the payload in order to be detected by the SSC component, as shown in the following example:
<PaymentTermsGroups>
...
<StandardText>
<StandardTextLang>
<Description>Delivery</Description>
<LanguageCode>1</LanguageCode>
<Paragraph1>Follow the special Instructions on the Invoice</Paragraph1>
<ShortHeading>Delivery</ShortHeading>
<StandardTextClassCode>SALES</StandardTextClassCode>
<StandardTextCode>DELIVERY</StandardTextCode>
</StandardTextLang>
</StandardText>
</PaymentTermsGroups>