Mandatory fields: Supplier

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.

注意: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.

Supplier Account and Account Analysis

Refer to the Accounts component for the mandatory fields required for the maintenance of Supplier Account details.

Tax Entries

When creating or amending supplier tax entries, a value must be supplied for Sequence Number - payload element <SequenceNumber>.

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

When creating or amending a supplier order address, a value must be supplied for Address Code - payload element <AddressCode>.

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>

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>

When deleting Order Address child data, a value must be supplied for Purchase Transaction Type - payload element <OrderAddress.AddressCode>.