Table of Contents

Function: Create Order from Shipment - Line Exploder

General

Object Id: 11191174 Function Id: 2

Purpose of function

The function will create a TMS-order based on the WMS-Shipment including TMS Order-lines, TMS Detail Lines and TMS OrderCarrier-lines. No grouping will be applied. This strucure will result in the TMS OrderCarrier-lines containing the packages related to a singel Customer Item on the TMS Order-lines.

Application Area

The function can be used in the status-template of the WMS-shipment. The function can be used in a one-business-central-company as well as a multi-company. For a multi-company-environment an additional function must be added to the TMS-order-status-template. Use the Function: Data Integration including the value Message-type: RCV-SHIPMENT-TO-ORDER. |

Functionality

Best is to execute this function after a WMS-shipment is allocated. At that moment the number of expected carriers is available. When the shipment is ready for shipping this function can be executed for a second time. The action number of carriers and its contents are determined so an update to the TMS-order can be executed. The TMS-order goods line the carriers and trade-items can be consulted.

Note

When updating a WMS Shipment the Goods-lines, Carrier-lines and Trade-item-lines on the related TMS-Order will be deleted and created as new.

Parameters

Name Descripton
DUPLIC ADDR SEARCH Apply duplicate address search
USE ADDR CHECKSUM Use address checksum to find duplicates
BILL-TO AS SELL-TO Use bill-to customer as sell-to customer
PLANNED AS (UN)LOAD Use planned start/end date as loading/unloading dates
BUILDING FROM ADDR. Use building address no. as from address instead of sender address no.
ORDER TYPE CODE Use this order type code instead of the shipment order type code
NO ORDER TYPE UPDATE True: the order type in the TMS-order will be updated. False: the order type in the TMS-order will not be updated
MAN. UNIT CONV. True: the unit conversion on tms document is not performed. False: the unit conversion on tms document is performed
COPY COMMENTS True: the comments will be copied. False: the comments will not be copied
COPY ATTRIBUTES True: the attibutes will be copied. False: the attributes will not be copied
COPY CONDITIONS True: the conditions will be copied. False: the conditions will not be copied
LOADING DATE FROM FieldNo.: the date will be copied from the field specified. Dateformular e.g: +1D will result in tomorrow
LOADING DATE TO FieldNo.: the date will be copied from the field specified. Dateformular e.g: +0D will result in today
UNLOADING DATE FROM FieldNo.: the date will be copied from the field specified. Dateformular e.g: +1D will result in tomorrow
UNLOADING DATE TO FieldNo.: the date will be copied from the field specified. Dateformular e.g: +1D will result in tomorrow
LOADING TIME FROM FieldNo.: the time will be copied from the field specified or set a fixed time
LOADING TIME TO FieldNo.: the time will be copied from the field specified or set a fixed time
UNLOADING TIME FROM FieldNo.: the time will be copied from the field specified or set a fixed time
UNLOADING TIME TO FieldNo.: the time will be copied from the field specified or set a fixed time
SKIP EXPLODE COND. Do not explode detail lines if the WMS Document Line has this condition
EXPLODE QTY 0: (Default) first carrier quantity then quantity 1: Always use quantity