Supply Chain Cloud functionality includes the ability to modify carrier notifications.
Note | ||
---|---|---|
| ||
If you previously had a modification to enable notifications, and you download connector version 2021.10.24.0 or newer, you must modify your code to continue using the Notification Deliver logic. |
...
Code Configuration
You can modify the code D365 to inject a notification node in the Ship request. The code SCC engine will recognize all three types listed above.
- Extend writeShipShipment from the appropriate TMSProcessXML class.
- Add the notifications node using the example below as a guide.
Code example:
...
Here is an example of the Ship request generated from the above modification:
Code Block |
---|
<Notifications>
<Notification>
<Type>NotificationDeliver</Type>
<EmailAddress1>abc@bhsolutions.com</EmailAddress1>
</Notification>
<Notification>
<Type>NotificationException</Type>
<EmailAddress1>abc@bhsolutions.com</EmailAddress1>
</Notification>
<Notification>
<Type>NotificationShip</Type>
<EmailAddress1>abc@bhsolutions.com</EmailAddress1>
</Notification>
</Notifications> |
...