Supplier
This component runs the Supplier (SUS) function and allows you to set up and maintain supplier details.
Suppliers are used throughout SunSystems. In SunSystems Order Fulfilment, purchase orders and invoices can be entered for suppliers. In Financials, suppliers are used indirectly because they are linked to an associated creditor/payables or client account.
Whilst you can use this component to create and maintain supplier accounts, only the Account and Account Analysis details are available here. If you require finer control of supplier accounts, for example, the entry of Tax or Currency details, you must use the Accounts component methods to import or extract this data.
For multi-line entry in a text field, the XML input payload should include where the linefeed carriage return is required. In order to view the resultant multi-line entry the associated form must be set to multi-line entry.
Methods
- Amend
- Driver Type: SASI
- BulkCreateOrAmend
- Driver Type: SASI
- Closed
- Driver Type: SASI
- Create
- Driver Type: SASI
- CreateAsDraft
- Driver Type: SASI
- CreateOrAmend
- Driver Type: SASI
- CreateReplaceOrDelete
- 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, deleting or changing the supplier status, a value must be
supplied for Supplier Code - payload element
<SupplierCode>
. - In addition, when creating Supplier details, a value for either Description
(payload element
<Description>
) or Short Heading (payload element<ShortHeading>
) must be supplied.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 creating, amending, deleting or changing the supplier status, a value must be
supplied for Supplier Code - payload element
- Supplier Account and Account Analysis
- Refer to the Accounts component for the mandatory fields required for the maintenance of Supplier Account details.
- Supplier Analysis
- When creating or amending supplier analysis entries, a value must be supplied for
Analysis Code - payload element
<VSuppCatAnalysis_AnlCode>
. - Document Format Codes
- When creating or amending a supplier document format code, a value must be supplied
for Document Format Code - payload element
<DocumentFormatCode>
. - Supplier Contacts
-
- When creating or amending a supplier contact, values for the following must be
supplied:
- Contact Identifier -
payload element
<ContactIdentifier>
- Address Code -
payload element
<AddressCode>
- Supplier Order Address
- Contact Identifier -
payload element
- When creating or amending a supplier order address, a value must be supplied for
Address Code - payload element
<AddressCode>
.
- When creating or amending a supplier contact, values for the following must be
supplied:
- Tax Id Validation
-
Tax Id validation can be defined by means of Event Profiles/Rule Sets – see Administrator Help for details. The Supplier payload includes a flag to control the user response to the duplicate supplier Id message for Amend, Create and CreateOrAmend methods, for example:
<Supplier> <FlagOptions> <AllowDuplicateTaxId>1</AllowDuplicateTaxId> </FlagOptions> ... </Supplier>
The values are 0 = No, 1 = Yes. SSC defaults to No if a value is not provided. Duplicate tax Ids are supported for Supplier in SSC provided the Supplier.FlagOptions.AllowDuplicateTaxId tag is set to 1; otherwise SSC will abort if the duplicate tax id message occurs.
- Deleting Child Data
-
- When deleting child data, a value must be supplied for Supplier Code - payload
element
<SupplierCode>
. - When deleting Contact child data, a value must be supplied for:
- Contact Identifier -
payload element
<Address_Contact.ContactIdentifier>
- Address Code -
payload element
<Address_Contact.AddressCode>
- Contact Identifier -
payload element
- When deleting Document Format child data, a value must be supplied for:
- Purchase Transaction
Type - payload element
<DocumentFormat.PurchaseTransactionType>
- Purchase Stage -
payload element
<DocumentFormat.PurchaseStage>
- Purchase Transaction
Type - payload element
- When deleting Order Address child data, a value must be supplied for Purchase
Transaction Type - payload element
<OrderAddress.AddressCode>
.
- When deleting child data, a value must be supplied for Supplier Code - payload
element
Related data
Tax 1 - 10