Table of Contents

TMS Event Trigger : ETA MAIL

General

The following Json-code will create a Commmunicaton Log Entry to send an e-mail to the Customer of an order which has been planned on a Trip and is planned for delivery.

The Json-code can be copied into field:Execute Function Set on the page: Event Trigger List, tab: Event Trigger Events.

Note

Check the values used in the function. In each environment specific criteria may be applicable.

Functional

{
  "FunctionSet": {
    "TableNo": 11172786,
    "Entries": [
      {
        "EntryNo": "10000",
        "CodeunitID": "11191223",
        "FunctionCode": "CREATE COMMUNIC. LOG",
        "Parameters": [
          {
            "ParameterName": "COMMUNICATION TYPE",
            "Value": "ETAUPDATE_UNLOAD"
          },
          {
            "ParameterName": "SCHEDULE CODE"
          }
        ]
      }
    ]
  }
}