0017 Suppliers - Communication

Use the Communication tab to define how you want to send external documents to a supplier. Define the following:

Use Linked to default to specify that the default values are to be used for the report and the delivery method.

Electronic communication

The Transformation script field is used for Supply Chain Integration, and can be used to include a script for modifying electronic messages. The script can be used to change messages you receive and/or for messages you send.

Transformation script - Sending

To use a script to make automatic changes before sending an electronic purchase order, specify a transformation script in this field. When you send the purchase order, the script will start and change the contents of the message. The script output will be used as the electronic message you are sending.

Transformation script - Receiving

In this field, enter the script you want to start when importing an electronic order confirmation or purchase invoice to modify the message before importing it. Before Isah can start a customer-specific script when importing an order confirmation, it must first identify the supplier in the confirmation message you have received. This means that if you want to start a script when you receive a message, you need to specify a general script identifying the supplier somewhere else first. Specify a script in the Script for determining sender ID field in the Electronic communication section of the basic settings.

If the supplier identification script has been specified, then, when importing the order confirmation, Isah will start the script you have entered in the Transformation script field for the relevant supplier.

Example of transformation scripts

'Supplier: Transform outgoing purchase order

function TransformPurchaseOrder(PurDocCode, VendId, SCSNPurOrder)

[script]

TransformPurchaseOrder = [this is the new message content]

end function

'Supplier: Transform incoming purchase order confirmation

function TransformPurchaseOrderToSCSN(VendId, Message)

[script]

TransformPurchaseOrderToSCSN = [this is the new SCSN message content]

end function

'Supplier: Transform incoming purchase invoice

function TransformPurchaseInvoiceToSCSN(VendId, Message)

[script]

TransformPurchaseInvoiceToSCSN = [this is the new SCSN message content]

end function