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

To use a script to make automatic changes before importing an electronic order confirmation, specify a script in this field. Before Isah can start a supplier-specific script when importing an order confirmation, it must first identify the supplier in the confirmation 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 somewhere else first that will identify the supplier. 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 script

'Supplier: Transform outgoing purchase order

function TransformPurchaseOrder(PurDocCode, VendId, SCSNPurOrder)

[script]

TransformPurchaseOrder = [this is the name of the new XML file]

end function

'Supplier: Transform incoming purchase order confirmation

function TransformPurchaseOrderToSCSN(VendId, Message)

[script]

TransformPurchaseOrderToSCSN = [this is the name of the new XML file]

end function