ItemCustomer
This component runs the Item Customers (ICU) function.
Methods
- CreateOrAmend
- Driver Type: SASI
- CreateReplaceOrDelete
- Driver Type: SASI
- Delete
- Driver Type: SASI
- Query
- Driver Type: Export
Mandatory fields
- When creating or amending an item customer assignment, the following must be supplied:
- Item Code - payload element
<ItemCode> - Customer Code - payload element
<CustomerCode>
- Item Code - payload element
- When creating or amending the item characteristics for an item assigned to a customer, a value must be supplied for Characteristics Code - payload element
<CharacteristicsCode>
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
- Characteristics
- Standard Text
- Standard Text Language
The attachment of Standard Text is supported by these methods:
- CreateAsDraft
- CreateOrAmend
- CreateReplaceOrDelete
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:
<ItemCustomer>
...
<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>
</ItemCustomer>