0001 Customers - Communication

Use the Communication tab to define how external documents are to be sent to a customer. 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 sales order confirmation, specify a transformation script in this field. When you send the sales order confirmation, 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, specify a script in this field. Before Isah can start a customer-specific script when importing an order, it must first identify the customer in the order 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 somewhere else first that will identify the customer. Specify a script in the Script for determining sender ID field in the Electronic communication section of the basic settings.

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

Example of transformation script

'Customer: Transform outgoing order confirmation

function TransformSalesOrder(DossierCode, CustId, SCSNSalesOrder)

[script]

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

end function

'Customer: Transform incoming sales order

function TransformSalesOrderToSCSN(CustId, Message)

[script]

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

end function