BankDetails

This component runs the Bank Details Setup (BNK) function.

Methods

BulkCreateOrAmend
Driver Type: DJI
Use this method for the bulk loading of data or bulk amendment of data, or where performance is critical.
Closed
Driver Type: SASI
Use this method to amend the status of one or more bank details to Closed.
Create
Driver Type: SASI
Use this method to create one or more bank details. If a bank detail record already exists, an error message is produced and the payload is rejected.
CreateOrAmend
Driver Type: SASI
Use this method to create or amend one or more bank detail records. Whereas the Create method requires you to know in advance if a bank details record exists, this method can be used if you are unsure.
Delete
Driver Type: SASI
Use this method to delete one or more bank detail records.
Open
Driver Type: SASI
Use this method to amend the status of one or more bank detail records to Open.
Query
Driver Type: Export
You can use this method to obtain bank details or to extract bank details data from SunSystems.
SuspendedHeld
Driver Type: SASI
Use this method to amend the status of one or more bank detail records to Suspended/Held.

Mandatory fields

When creating or amending Bank Details, a value must be supplied for Bank Details Code - payload element <BankDetailsCode>.

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

  • Standard Text
  • Standard Text Language
The attachment of Standard Text is supported by these methods:
  • Create
  • CreateOrAmend
  • BulkCreateOrAmend
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:

<BankDetails>
	...
		<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>
</BankDetails>