3PL Scan Function Document
Overview
This document provides a detailed overview of the functions available in the EnumerateFunctions procedure of the "3PL Scan Function Document" codeunit. Each function is listed with its purpose and parameters, which can be expanded for more details.
Function List
1. Post Document
Purpose: Posts a document based on the provided scan function parameters.
Parameters
- 'WMSDOCUMENT': Document No.
- 'SKIP': Optional: Skip if value > 0
- 'POSTRELATED': Post Related Documents
- 'SKIPPARENT': Skip Parent Document
- 'ONLINELEVEL': Post On Doc. Line Level
- 'ONLYIFSTATUS': Post Only if Status
- 'DOCUMENTTYPE': Mandatory: 1=receipt, 2=shipment, 4=orderpick
2. Post Document Detail
Purpose: Posts the details of a document.
Parameters
- 'WMSDOCUMENT': Document No.
- 'WMSCARRIERNO': Carrier No.
- 'FULLCARRIERNO': Full Carrier No.
- 'DOCLINENO': Document Line No.
- 'DOCDETLINENO': Document Detail Line No.
- 'CUSTITEMNO': Customer Item No.
- 'BATCHNO': Batch No.
- 'EXTERNALBATCHNO': External Batch No.
- 'EXTERNALCARRIERNO': External Carrier No.
- 'SHOWERRORIFNOTFOUND': Show error if not found
- 'NEWCARRIERNO': Optional: Filter on field New Carrier No
- 'CONDPOSTING': Optional: Det. line will be posted if Condition Value is not empty
- 'CONDVALUE': Optional: Value to determine post doc detailline
- 'CARRIERSFROMSTACKID': Optional: Get Carriers from Stack ID
- 'BUILDINGFILTER': Optional: Filter on Building Code
- 'DOCTYPEFILTER': Optional: Filter on Document Type, Required for BuildingFilter
- 'TRIPNO': Optional: Filter on Calculated Trip No.
- 'SKIPPOSTCHECK': Skip Check valid Posting Date, only in case of Domproc
3. Create Receipt Document
Purpose: Creates a receipt document.
Parameters
- 'CUSTOMERNO': Customer No.
- 'CUSTOMERITEMNO': Customer Item No.
- 'CARRIERS': Carriers
- 'WMSDOCUMENT': Document No.
- 'BILLOFLOADINGNO': Bill of Lading No.
- 'Don't Create Det Line': Do not create detail line
- 'ORDER TYPE': Set the order type
- 'LOCATION': Set location
- 'BUILDING': Provide building no. Mandatory if Location <> " "
4. Process Barcode
Purpose: Processes a barcode for a document.
Parameters
- 'WMSDOCUMENT': Document No.
- 'BARCODE': Barcode
- 'DOCLINENO': Document Line No.
- 'DOCDETAILLINENO': Document Detail Line No.
5. Create Detail Line
Purpose: Creates a detail line for a document.
Parameters
- 'WMSDOCUMENT': Document No.
- 'CUSTOMERITEMNO': Customer Item No.
- 'EXTERNALITEMNO': External Item No.
- 'QTY': Quantity
- 'NETWEIGHT': Net Weight
- 'BRUTOWEIGHT': Bruto Weight
- 'EXTERNALCARNO': External Carrier No.
- 'EXTERNALBATCHNO': External Batch No.
- 'PRODUCTIONDATE': Production Date
- 'EXPIRATIONDATE': Expiration Date
- 'NVE': NVE
- 'CARRIERNO': Carrier No.
- 'DOCLINENO': Document Line No.
- 'DOCDETLINE': Document Detail Line
- 'BATCHNO': Batch No.
- 'CARRIERNEW': New Carrier
- 'NEWLOC': Transfer the carrier to this location (when post the detail line)
- 'CARRIERTYPE': Carrier Type
- 'TARRAWEIGHT': Tarra Weight
- 'UPDATECARRTYPE': Empty = Do nothing, Filled: Get the Carrier Type from the Carrier. In case of a Transfer get it from the New Carrier
- 'GETNEWLOCFROMCARRIER': Get new location from carrier
- 'CHECKEXPDATE': Empty = Do nothing, Filled: Check based on Customer Item.
- 'INITBATCHSTATUS': Initial Batch Status
- 'CARRIERSETID': Carrier Set ID
- 'INHERIT ATTRIBUTES': Expected value: Document Line No. When create a new documentline, copy the attributes from this Line No.
- 'FREEZINGDATE': Optional: Freezing date
- 'SKALNO': Optional: Bio number
- 'VETNO': Optional EEG number
- 'INHERENTATTRCONTENT': Inherent attributes from carrier content
- 'ADDSTACKID': Auto add stack-id if exist on Carrier - for Transfer and Shipment
- 'UOM': Optional: Unit of measure
- 'Process Line No.': Optional: VAL Process Line No.
- 'Process Line Type': Optional: VAL Process Line Type
- 'Process Line Type Line No.': Optional: VAL Process Line Type Line No.
- 'INHERITCUSTOMS': Expected value: Document Line No. When create a new documentline, copy customs value per from this Line No.
- 'FULL STACK':
: create detail lines for all carriers in stack - 'CONTAINERNO': Optional: Container No.
- 'VESSELNO': Optional: Vessel No.
- 'SPEC. SET ID': Optional: Specification set ID
- 'SOURCE SPEC. SET ID': Optional: Source Specification set ID
- 'MULTI LINE':
=No; 1=Yes; 2=Sort by Qty.; 3=Sort by Qty. descending; 4=Sort by Ext.docno; 5 =Sort by Ext.docno descending - 'INITCARRIERSTATUS': Initial Carrier Status
- 'ITEMCONDITION': Item Condition
- 'QTYPERCARR': Quantity per Carrier
- 'KEEPGIVENQTY': Optional: If same Posted Carrierno Keep Qty Sessie (
=Default; 1=Keep Given Qty.) - 'APPLYFITLER': Apply Carrier Content Filter From Doc Mgt.
- 'DOCTYPE': Mandatory Document Type
- 'UPDATECHILDREN': Update Children when Inheriting Attributes
6. Post Document Line
Purpose: Posts a document line.
Parameters
- 'WMSDOCUMENT': Document No.
- 'WMSLINE': Line No.
- 'CREATENEWLINE': Create new line
7. Create Detail Line Pick
Purpose: Creates a detail line for picking.
Parameters
- 'WMSDOCUMENT': Document No.
- 'CUSTOMERITEMNO': Customer Item No.
- 'QTY': Quantity
- 'CARRIERNO': Carrier No.
- 'CARRIERNEW': New Carrier
- 'POSTLINE': Post Line
8. Position Document Line
Purpose: Positions a document line based on action options.
Parameters
- 'ACTION': Action options: FIRST,LAST,NEXT,PREV
- 'WMSDOCUMENT': Document No.
- 'OUTSTANDINGQTYFILTER': Outstanding Quantity Filter
- 'WMSLINENO': Line No.
9. Print Document
Purpose: Prints a document using specified parameters.
Parameters
- 'WMSDOCUMENTNO': Document No.
- 'PRINTER': Printer
- 'REPORTID': Report ID
- 'TRIPNO': Trip No.
- 'PRINTPERDOC': Optional: In case of Trip print per document
- 'PRINT VIA WEBSERVICE': Optional: if not empty, use webservice to print document
10. Check if document exists
Purpose: Checks if a document exists.
Parameters
- 'WMSDOCUMENTNO': Document No.
- 'TYPE': Type
- 'STATUS': Status
- 'MESSAGE': Message
11. Add Extern CarrierNo to docline
Purpose: Adds an external carrier number to a document line.
Parameters
- 'WMSDOCUMENTNO': Document No.
- 'TYPE': Type
- 'INTERNCRNO': Internal Carrier No.
- 'EXTERNCRNO': External Carrier No.
- 'MESSAGE': Message
- 'QTY': Quantity
- 'NETT': Net Weight
- 'GROSS': Gross Weight
- 'ITEMDESC': Item Description
- 'CARRIEROUT': Carrier Out
- 'POST': Post
- 'EXBATCH': External Batch
12. Get documentline order qty
Purpose: Retrieves the order quantity for a document line.
Parameters
- 'WMSDOCUMENTNO': Document No.
- 'TYPE': Type
- 'WMSDOCUMENTLINE': Document Line
- 'OUTQty': Outstanding Quantity
13. Get documentline scanned qty
Purpose: Retrieves the ready quantity for a document line.
Parameters
- 'WMSDOCUMENTNO': Document No.
- 'TYPE': Type
- 'WMSDOCUMENTLINE': Document Line
- 'OUTQty': Outstanding Quantity
14. Delete Document Detail Line
Purpose: Deletes a document detail line.
Parameters
- 'DOCNO': Document No.
- 'DOCTYPE': Document Type
- 'DOCLINENO': Document Line No.
- 'DOCDETLINE': Document Detail Line
- 'CARRIERNO': Carrier No.
- 'BATCHNO': Batch No.
- 'UNDOPOSTING': Undo Posting
- 'ERRORLINENOTEXIST': Error if line does not exist
- 'ALLOWONLYLINE': Optional: Not empty allows all detlines from docline
15. Check new carrier < outstanding
Purpose: Checks if the carrier quantity exceeds the allowed amount.
Parameters
- 'DOCNO': Document No.
- 'DOCTYPE': Document Type
- 'DOCLINENO': Document Line No.
- 'CARRIERNO': Carrier No.
- 'BATCHNO': Batch No.
- 'MESSAGE': Message
- 'CHECKCREATED': Check Created
16. Post All/Only document lines
Purpose: Posts all document lines.
Parameters
- 'WMSDOCUMENTNO': Document No.
17. Get DocLineNo based on EAN Barcode
Purpose: Retrieves the EAN barcode for a document line.
Parameters
- 'WMSDOCUMENTNO': Document No.
- 'BARCODE': Barcode
- 'EXMESSAGE': External Message
- 'DOCLINENO': Document Line No.
- 'ALSOCHECKONEXTITEM': Also check on external item
- 'CUSTNO': Optional: Only for check on ext item
- 'PRODUCTVAR': Optional: Product Variant
- 'EXTERNALNO': Optional: External No.
- 'ONLYOUTSTANDING': Optional: Return Document Line with Outstanding Qty.
Note
When ALSOCHECKONEXTITEM is used, a barcode longer than 20 characters is matched on the External No. of the customer item only (the External No. holds up to 50 characters); the EAN lookup is skipped for such values.
18. Check if doc is fully posted
Purpose: Checks if a document is fully posted.
Parameters
- 'WMSDOCUMENTNO': Mandatory: Document No.
- 'MESSAGE': Error Message
- 'NOERROR': Optional: Skip
- 'NOTIFTOMUCH': Optional: Only gives error if qty is lower
- 'CHECKLINKDOCS': Optional: Check Related Docs instead of Parent
- 'LINKEDOCTYOE': Optional: Filter on Linked Doc. Type
- 'DOCTYPE': Filter on document type
19. Get documentline outstanding qty
Purpose: Retrieves the outstanding quantity for a document line.
Parameters
- 'WMSDOCUMENTNO': Document No.
- 'WMSDOCUMENTLINE': Document Line
- 'OUTQty': Outstanding Quantity
- 'DOCTYPE': Mandatory: Always use Document Type
20. Get String with UOM
Purpose: Retrieves a string with the unit of measure for a document line.
Parameters
- 'DOCNO': Document No.
- 'DOCLINENO': Document Line No.
- 'RETURNVAL': Return Value
21. Transfer To Location
Purpose: Transfers a document to a specified location.
Parameters
- 'DOCNO': Document No.
- 'LOCATIONNO': Location No.
- 'POSNO': Position No.
22. Update NEW location on detailline
Purpose: Updates the location detail line for a document.
Parameters
- 'DOCNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'NEWLOC': New Location
- 'CUSTITEMNO': Customer Item No.
- 'BATCHNO': Batch No.
- 'EXTERNALBATCHNO': External Batch No.
23. Add Document Line to Transport Document
Purpose: Adds a document line to a transport document.
Parameters
- 'DOCNO': Document No.
- 'DOCTYPE': Document Type
- 'DOCLINENO': Document Line No.
- 'ADDTOTRANSPORTDOCNO': Add to Transport Document No.
- 'NEWTRANSPORTDOCNO': New Transport Document No.
24. Totaal aantal gescande dragers voor document
Purpose: Retrieves the number of scanned carriers for a document.
Parameters
- 'DOCNO': Document No.
- 'RETURNVAL': Return Value
- 'POSTEDONLY': Posted Only
25. Get Transport Document No. from Document Line
Purpose: Retrieves the transport document number from a document line.
Parameters
- 'DOCNO': Document No.
- 'DOCTYPE': Document Type
- 'DOCLINENO': Document Line No.
- 'TRANSPORTDOCNO': Transport Document No.
- 'GETFROMDOCLINE': Get from Document Line
26. Get related source No. from Document Line
Purpose: Retrieves the related source document number from a transport line.
Parameters
- 'DOCNO': Mandatory: search from Docno
- 'DOCTYPE': Optional: retrieve RDOCNO only if FromDocno has Doctype
- 'DOCLINENO': Optional: retrieve RDOCNO via DoclineNo in FromDocno
- 'RDOCNO': Related Document No.
- 'RDOCTYPE': Related Document Type
- 'RDOCLINENO': Related Document Line No.
- 'RDOCDETLINENO': Related Document Detail Line No.
- 'CHECKFORPOSTEDDOC': Check for Posted Document
27. Add location to Document
Purpose: Adds a location to a document.
Parameters
- 'DOCNO': WMS Document No
- 'LOCNO': New location
- 'OVERWRITE': Updates Loc if not empty
- 'VALIDATE': Also Updates Doc Lines incl validation
- 'DOCTYPE': Set filter on doc type,e.g. 1 or 1|2
28. Get location from Document
Purpose: Retrieves the location from a document.
Parameters
- 'DOCNO': Document No.
- 'LOCNO': Location No.
- 'DOCTYPE': Mandatory. E.G. 1 = Receipt
29. Scan carrier for transportno
Purpose: Scans a carrier for a transport number.
Parameters
- 'DOCNO': Document No.
- 'CARRIERNO': Carrier No.
30. Calculate outstanding carriers for doc
Purpose: Calculates the outstanding carriers for a document.
Parameters
- 'DOCNO': Document No.
- 'OUTQTY': Outstanding Quantity
31. Change Carrier No. Transfer Detail Lines
Purpose: Changes the carrier number in transfer detail lines.
Parameters
- 'CURRDOCTYPE': Current Document Type
- 'CURRDOCNO': Current Document No.
- 'CURRDOCLINENO': Current Document Line No.
- 'CURRDOCDETAILLINENO': Current Document Detail Line No.
- 'OLDCARRIERNO': Old Carrier No.
- 'NEWCARRIERNO': New Carrier No.
32. Count number of document lines
Purpose: Counts the number of document lines.
Parameters
- 'DOCNO': Document No.
- 'RESULT': Result
33. Update PreAssignment Document Line
Purpose: Updates the pre-assignment document line.
Parameters
- 'WMSDOCUMENT': Document No.
- 'CUSTOMERITEMNO': Customer Item No.
- 'EXTERNALITEMNO': External Item No.
- 'EXTERNALBATCHNO': External Batch No.
- 'PRODUCTIONDATE': Production Date
- 'EXPIRATIONDATE': Expiration Date
- 'DOCLINENO': Document Line No.
- 'BATCHNO': Batch No.
- 'NEWLOC': New Location
- 'CARRIERTYPE': Carrier Type
- 'FREEZINGDATE': Freezing Date
- 'SKALNO': Optional: Bio number
- 'VETNO': Optional: EEG number
- 'ALWAYSUPDATE': Optional: Doclineno and wms document are also needed
- 'CONTAINERNO': Container No.
- 'VESSELNO': Vessel No.
- 'UPDATEIFNOTBLANK': Optional: Also update if current value is not blank
- 'CARRIERQTY': Carrier Quantity
- 'ATTRIBUTE01': Attribute 01
- 'ATTRIBUTE02': Attribute 02
- 'ATTRIBUTE03': Attribute 03
- 'ATTRIBUTE04': Attribute 04
- 'ATTRIBUTE05': Attribute 05
- 'ATTRIBUTE06': Attribute 06
- 'ATTRIBUTE07': Attribute 07
- 'ATTRIBUTE08': Attribute 08
- 'ATTRIBUTE09': Attribute 09
- 'ATTRIBUTE10': Attribute 10
- 'UOM': Unit of Measure
- 'ITEMCONDITION': Item Condition
- 'FILTERCUSTITEM': Filter on Customer Item No.
- 'ORDERTYPE': Filter on OrderType Code
- 'CUSTOMSCODE': Filter on Customs Code
- 'DOCTYPE': 1=Receipt,2=Shipment etc.
34. Set posting date, empty date is WORKDATE
Purpose: Sets the posting date for a document.
Parameters
- 'DOCNO': Document No.
- 'DATE': Date
- 'DOCTYPE': Document Type
- 'CALCTRIPNO': Calculate Trip No.
35. Update existing detailline
Purpose: Updates the pre-assignment document detail line.
Parameters
- 'DOCNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILLINE': Document Detail Line
- 'CARRIERNO': Carrier No.
- 'NEWEXPDATE': New Expiration Date
- 'NEWPRODDATE': New Production Date
- 'NEWEXTBATCHNO': New External Batch No.
- 'NEWFREEZDATE': New Freezing Date
- 'NEWCONTAINERNO': New Container No.
- 'NEWVESSELNO': New Vessel No.
36. Check if weighing document exists
Purpose: Checks if a weighing document exists.
Parameters
- 'WEIGHINGDOCNO': Weighing document No.
- 'STATUS': Status filter
- 'MESSAGE': Error message if weighing document not found
37. Get Last used LocationNo in Document
Purpose: Retrieves the last used location number from a document.
Parameters
- 'DOCNO': Document number
- 'LINENO': Optional: Line number Filter
- 'ITEMNO': Optional: Item No. Filter
- 'CARRIERNO': Optional: Exclude this Carrier No.
- 'ACTUAL': Optional:
=From Detail line, 1=From Carrier No - 'LOCNO': Return value
- 'EXCLUDELOCATION': Optional: exclude location
38. Delete Document Line
Purpose: Deletes a document line.
Parameters
- 'DOCUMENTNO': Document No.
- 'DOCUMENTLINENO': Document Line No.
- 'TYPE': Mandatory: Type
- 'NO': No. Filter
- 'BATCHNO': Batch No. Filter
- 'UNDOPOSTING': Unpost posted document detail lines.
- 'ERRORLINENOTEXIST': Error if line does not exist
- 'ONLYNEGATIVE': Optional: Filter on lines with negative value
- 'ONLYNODETLINES': Optional: Only Delete Docline when no Det. Lines exists
39. Get Between carrier from transferdoc
Purpose: Retrieves the between carrier from a transfer document.
Parameters
- 'DOCNO': Document No.
- 'RESULT-YESNO': Result
40. Get Previous loc detailline
Purpose: Retrieves the previous location detail line.
Parameters
- 'DOCNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILLINE': Document Detail Line
- 'POSTED': Posted
- 'NORESULTMSG': No Result Message
41. Get Next loc detailline
Purpose: Retrieves the next location detail line.
Parameters
- 'DOCNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILLINE': Document Detail Line
- 'POSTED': Posted
- 'NORESULTMSG': No Result Message
42. Get Docline based on criteria
Purpose: Retrieves a document line based on specified criteria.
Parameters
- 'WMSDOCUMENTNO': Document No.
- 'EXMESSAGE': External Message
- 'DOCLINENO': Document Line No.
- 'ITEMNO': Item No.
- 'EXITEMNO': External Item No.
- 'ONLYOUTSTANDING': Only Outstanding
- 'BATCHNO': Batch No.
- 'EXTBATCHNO': Optional: filter with External Batch no
- 'Check Created': Check Created
43. Undo post document detail line
Purpose: Undoes the posting of a document detail line.
Parameters
- 'DOCTYPE': Mandatory: 1=Receipt, 2=Shipment, etc. 1|2 is also possible
- 'DOCNO': Optional: Document No.
- 'DOCLINENO': Optional: Document Line No
- 'DOCDETLINENO': Optional: Document Detail Line No
- 'CARRIERNO': Optional: Carrier No.
44. Calculate no. of doclines with not enough invent
Purpose: Calculates the number of document lines with insufficient inventory.
Parameters
- 'DOCNO': Mandatory: Document number
- 'DOCLINENO': Optional: Document line number
- 'ITEMNOFILTER': Optional: Item No. Filter
- 'ZONECODEFILTER': Optional: Zone Code Filter
- 'OUTNOLINES': Return: Number of outstanding lines
45. Calculate carriers for doc
Purpose: Calculates the number of carriers for a document.
Parameters
- 'DOCNO': Document No.
- 'OUTQTY': Outstanding Quantity
46. Get Address info for doc
Purpose: Retrieves the address information for a document.
Parameters
- 'DOCNO': Mandatory: Document No.
- 'LINENO': Optional: if filled then only Code and Name from line
- 'ADDRESSCODE': Return: Address code
- 'ADDRESSNAME': Return: Address name
- 'ADDRESSCITY': Return: Address City
- 'ADDRESSCOUNTRY': Return: Address Country
47. Documentregel based on filters
Purpose: Retrieves a document line based on filter criteria.
Parameters
- 'DOCNO': Document No.
- 'ITEMNO': Item No.
- 'EXITEMNO': External Item No.
- 'BATCHNO': Batch No.
- 'EXBATCHNO': External Batch No.
- 'ERRORMSG': Error Message
- 'DOCLINENO': Document Line No.
- 'BATCHEMPTY': Check if batch no on doc line is filled
- 'LINEFOUND': YES if DocLine(s) found else NO
- 'CARRIERNO': Carrier No.
- 'ATTR01': Attribute 01 filter
- 'ATTR02': Attribute 02 filter
- 'ATTR03': Attribute 03 filter
- 'ATTR04': Attribute 04 filter
- 'ATTR05': Attribute 05 filter
- 'ATTR06': Attribute 06 filter
- 'ATTR07': Attribute 07 filter
- 'ATTR08': Attribute 08 filter
- 'ATTR09': Attribute 09 filter
- 'ATTR10': Attribute 10 filter
- 'LINESFOUND': Number of lines found
- 'ONLYQTYOUTST.': Only Qty outstanding
- 'DOCTYPE.': Mandatory: Filter on Document Type
48. Documentregel based on carriercontent
Purpose: Retrieves a document line based on carrier content.
Parameters
- 'DOCNO': Document No.
- 'CARRIERNO': Carrier No.
- 'SELECTCRIT': Filter on selection criteria
- 'ATTRIBUTES': Filter on Attributes
- 'ERRORMSG': Error message if not found
- 'DOCLINENO': Return: Document line number
- 'LINEFOUND': YES if DocLine(s) found else NO
49. Update FromLocation based on inventory
Purpose: Updates the location based on available inventory.
Parameters
- 'DOCNO': Mandatory: Document number
- 'DOCLINENO': Optional: if empty all lines will be updated
- 'ZONETYPEFILTER': Empty or 0 = all, 1=Pick, 2=Bulk
- 'ZONECODEFILTER': Optional: include or exclude zones
- 'PICKSTRATFILTER': Optional: Pick Strategy Code filter
- 'SORTING': Optional: sort locations by: 0=Sorting Order; 1=Qty. Available
- 'NO DOC. ERROR': Optional: show this error message when document not found
- 'COND. SKIP LINE': Optional: Condition code to skip update line if value of condition is TRUE
- 'ORGLOCFILTER': Optional: include or exclude doc lines bases on location filter
- 'EXCLUDELOC': Optional: Exclude Location from Carrier Content
- 'CARRTYPECALC': Optional 0=All,1=Normal,2=Mixed,3=Orderpick,4=Mixed + OrderPick,5=Mixed + Normal,6=Normal + Orderpick
- 'ORDERPICK AGNMT': Optional: adjust outstanding order picks using this order pick assignment
- 'ORDERPICK STATUSFLTR': Optional: only adjust outstanding order picks within this status filter
- 'NOINVENTCHECKIFFIXED': Optional: Use fixed pick-locations if possible, if not use inventory
- 'DOCTYPE': Mandatory: Document Type
50. Count no. of different ship. in movement
Purpose: Counts the number of different shipments in movement.
Parameters
- 'DOCNO': Document No.
- 'NO': Return: Number
51. Get carrier for shipment within transfer
Purpose: Retrieves the carrier for a shipment within a transfer.
Parameters
- 'DOCNO': Document No.
- 'SHIPDOCNO': Shipment Document No.
- 'CARRIERNO': Carrier No.
52. Get Shipmentno based on carrier
Purpose: Retrieves the shipment number based on a carrier.
Parameters
- 'CARRIERNO': Carrier No.
- 'SHIPDOCNO': Shipment Document No.
53. Get Default loc from shipment
Purpose: Retrieves the default location from a shipment.
Parameters
- 'DOCNO': Document No.
- 'LOCNO': Location No.
- 'FROMHEADER': From Header
54. Get PickDocNo From Shipment
Purpose: Retrieves the pick document number from a shipment.
Parameters
- 'SHIPMENTNO': Shipment No.
- 'TRANSFERNO': Transfer No.
55. Update detailline
Purpose: Updates a detail line for a document.
Parameters
- 'DOCNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'NEWLOC': New Location
- 'NEWCARRIER': New Carrier
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
56. Update location on detailline
Purpose: Updates the location on a detail line.
Parameters
- 'DOCNO': Document No.
- 'DOCLINENO': Document Line No.
- 'CUSTITEMNO': Customer Item No.
- 'BATCHNO': Batch No.
- 'EXTERNALBATCHNO': External Batch No.
- 'NEWLOCATION': New Location
- 'DETAILLINENO': Detail Line No.
- 'DOCTYPE': Mandatory: 1=Receipt, 2=Shipment, 4=Transfer, etc
57. Process label barcode
Purpose: Processes a label barcode.
Parameters
- 'LABELCODE': Label Code
- 'BARCODE': Barcode
- 'CUSTNO': Customer No.
- 'DEFAULTLABELCODE': Default Label Code
58. Update Scan Label Buffer record
Purpose: Updates the scan label buffer record.
Parameters
- 'SHELLID': Shell ID
- 'CUSTOMERITEM': Customer Item
- 'EXTERNNR': External No.
- 'QUANTITY': Quantity
- 'TARRAWEIGHT': Tarra Weight
- 'NETTWEIGHT': Net Weight
- 'GROSSWEIGHT': Gross Weight
- 'PRODUCTIONDATE': Production Date
- 'EXPIRYDATE': Expiry Date
- 'BATCHNO': Batch No.
- 'EXTBATCHNO': External Batch No.
- 'EXTCARRIERNO': External Carrier No.
- 'BARCODE': Barcode
- 'CARRIERTYPE': Carrier Type
- 'ATTR01': Attribute 01
- 'ATTR02': Attribute 02
- 'ATTR03': Attribute 03
- 'ATTR04': Attribute 04
- 'ATTR05': Attribute 05
- 'ATTR06': Attribute 06
- 'ATTR07': Attribute 07
- 'ATTR08': Attribute 08
- 'ATTR09': Attribute 09
- 'ATTR10': Attribute 10
- 'FREEZINGDATE': Freezing Date
- 'CONTAINERNO': Container No.
- 'VESSELNO': Vessel No.
- 'UOM': Unit of Measure
- 'RESETBUFFER': Reset Buffer
59. Create Detail Line for Scan Buffer
Purpose: Creates a detail line for a scan label.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
60. Controleer Scan Buffer
Purpose: Checks the scan buffer for errors.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
61. Update Weight for Scan Buffer
Purpose: Updates the weight for the scan buffer.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
62. Update Replenish Activity
Purpose: Updates the replenish activity.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
63. Create Replenishment if needed
Purpose: Creates a replenishment if needed.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
64. Create Mixpick Replenishment if needed
Purpose: Creates a mixpick replenishment if needed.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
65. Get Quantity Outstanding of Related Documents
Purpose: Retrieves the outstanding quantity of related documents.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
66. Get shipments linked to Transfer
Purpose: Retrieves shipments linked to a transfer.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
67. Get DocLine from EAN Variant Details
Purpose: Retrieves a document line from EAN variant details.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
68. Split detailline to multiple detaillines
Purpose: Splits a detail line into multiple detail lines.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
69. Check Status DI Message
Purpose: Checks the status of a DI message.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
70. Add Attribute to document
Purpose: Adds an attribute to a document.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
71. Split Document Detail Line
Purpose: Splits a document detail line.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
72. Add Attribute to detailline
Purpose: Adds an attribute to a detail line.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
73. Add Attribute to detailline based on Carrier
Purpose: Adds an attribute to a detail line based on a carrier.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
74. Get Docline Values
Purpose: Retrieves document line values.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
75. Update document line
Purpose: Updates a document line.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
76. Update 1 veld van Document
Purpose: Updates a single field of a document.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
77. Update 1 veld van Document Detail Regel
Purpose: Updates a single field of a document detail line.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
78. Update 1 veld van Document Regel
Purpose: Updates a single field of a document line.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
79. Get last new carrierno from document
Purpose: Retrieves the last used new carrier number within a document.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
80. Create Document Header
Purpose: Creates a document header.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
81. Create Document Line
Purpose: Creates a document line.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
82. Auto create detailline
Purpose: Automatically creates document detail lines.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
83. Swap Carrierno
Purpose: Swaps a carrier number for another carrier.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
84. Sync Shipline from Receiptline
Purpose: Synchronizes a shipment line from a receipt line.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
85. Itemno and CarrierNo from loc
Purpose: Retrieves item number and carrier number from a location.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
86. Swap Carrier on DocdetailLine
Purpose: Swaps a carrier number on a document detail line.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
87. Check If Pick Carrier Exist in Doc
Purpose: Checks if pick carriers exist in a document.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
88. Post all documents in filter
Purpose: Posts all documents in the filter.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
89. Get Docline info from TMS No
Purpose: Retrieves document line information based on TMS order number.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
90. Get Customer info from doc
Purpose: Retrieves customer information from a document.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
91. Get Customer info
Purpose: Retrieves customer information.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
92. Get Document Statistiek
Purpose: Retrieves document statistics.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
93. Save Image with Document
Purpose: Saves an image with a document.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
94. Get No. of Linked Documents
Purpose: Retrieves the number of linked documents.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
95. Update Detail Lines with Trip No
Purpose: Updates detail lines with a trip number.
Parameters
- 'SHELLID': Shell ID
- 'DOCUMENTNO': Document No.
- 'DOCLINENO': Document Line No.
- 'DOCDETAILNO': Document Detail No.
- 'CARRIERNO': Carrier No.
- 'NEWCARRIERNO': New Carrier No.
- 'NEWLOC': New Location
- 'NEWQTY': New Quantity
- 'NEWTEMP': New Temperature
- 'CARRIERTYPE': Carrier Type
- 'NEWNETT': New Net Weight
- 'NEWGROSS': New Gross Weight
- 'NEWEXTCARRIER': New External Carrier
- 'CARRIERNO': Optional: filter on Carrier No.
- 'NEWTARRA': New Tarra
- 'DOCTYPE': Filter on Document type, avoid locks!
- 'NEWINTCARRIER': Optional: Change the internal carrier no.
3PL Scan Function Document
Overview
This document provides a detailed overview of the functions available in the EnumerateFunctions procedure of the "3PL Scan Function Document" codeunit. Each function is listed with its purpose and parameters, which can be expanded for more details.
Function List
96. Set Trip Status
Purpose: Sets the status of a trip.
Parameters
- 'TRIPNO': Trip Number
- 'STATUS': New Status
- 'USERID': User ID
97. Post Carrier On Calculated Trip No
Purpose: Posts a carrier based on the calculated trip number.
Parameters
- 'CARRIERNO': Carrier Number
- 'TRIPNO': Trip Number
- 'POSTDATE': Posting Date
98. Post Picked Carrier On Free Circulation
Purpose: Posts a picked carrier on free circulation.
Parameters
- 'CARRIERNO': Carrier Number
- 'FREECIRCULATION': Free Circulation Status
99. Create Ship Detail From Content
Purpose: Creates a shipment detail from content.
Parameters
- 'CONTENTID': Content ID
- 'SHIPMENTNO': Shipment Number
100. Add Service To Doc
Purpose: Adds a service to a document.
Parameters
- 'DOCNO': Document Number
- 'SERVICENO': Service Number
- 'QUANTITY': Quantity
101. Add Package To Doc
Purpose: Adds a package to a document.
Parameters
- 'DOCNO': Document Number
- 'PACKAGENO': Package Number
- 'QUANTITY': Quantity
102. Check Swap Batch Content
Purpose: Checks the swap batch content.
Parameters
- 'BATCHNO': Batch Number
- 'SWAPSTATUS': Swap Status
103. Register Qty On Doc
Purpose: Registers a quantity on a document.
Parameters
- 'DOCNO': Document Number
- 'QUANTITY': Quantity
104. Register Resource Service On Doc
Purpose: Registers a resource service on a document.
Parameters
- 'DOCNO': Document Number
- 'RESOURCENO': Resource Number
- 'QUANTITY': Quantity
105. Set Sorting Order Scan
Purpose: Sets the sorting order for scanning.
Parameters
- 'DOCNO': Document Number
- 'ORDER': Sorting Order
106. Set Sorting Order To Last Doc Line
Purpose: Sets the sorting order to the last document line.
Parameters
- 'DOCNO': Document Number
- 'LASTLINE': Last Line Indicator
107. Set Sorting Order Detail Line Scan
Purpose: Sets the sorting order for detail line scanning.
Parameters
- 'DOCNO': Document Number
- 'DETAILORDER': Detail Line Order
108. Move lines before Line No. to end of sorting
Purpose: Moves lines before a specified line number to the end of sorting.
Parameters
- 'DOCNO': Document Number
- 'LINENO': Line Number
109. Move Warehouse Activities before Entry No. to end of sorting
Purpose: Moves warehouse activities before a specified entry number to the end of sorting.
Parameters
- 'ACTIVITYNO': Activity Number
- 'ENTRYNO': Entry Number
110. Add File To Rec
Purpose: Adds a file to a record.
Parameters
- 'RECID': Record ID
- 'FILENAME': File Name
111. Get Field Value
Purpose: Retrieves a field value from a record.
Parameters
- 'RECID': Record ID
- 'FIELDNO': Field Number
112. Set Field Value
Purpose: Sets a field value in a record.
Parameters
- 'RECID': Record ID
- 'FIELDNO': Field Number
- 'VALUE': New Value
113. Split Document Line
Purpose: Splits a document line into multiple lines.
Parameters
- 'DOCNO': Document Number
- 'LINENO': Line Number
- 'SPLITQTY': Split Quantity
114. Check If New Qty Not Too Much
Purpose: Checks if the new quantity is not too much.
Parameters
- 'DOCNO': Document Number
- 'NEWQTY': New Quantity
115. Create And Consume Detail Line
Purpose: Creates and consumes a detail line.
Parameters
- 'DOCNO': Document Number
- 'DETAILNO': Detail Number
116. Register Quantity
Purpose: Registers a quantity for a document.
Parameters
- 'DOCNO': Document Number
- 'QUANTITY': Quantity
117. Short Pick Document Line
Purpose: Short picks a document line.
Parameters
- 'DOCNO': Document Number
- 'LINENO': Line Number
118. Print ZPL Layout Linked Records
Purpose: Prints a ZPL layout for linked records.
Parameters
- 'RECID': Record ID
- 'LAYOUTCODE': Layout Code
119. Get Doc Outstanding Qty
Purpose: Retrieves the outstanding quantity for a document.
Parameters
- 'DOCNO': Document Number
120. Get Address Restrictions
Purpose: Retrieves address restrictions for a document.
Parameters
- 'DOCNO': Document Number
121. Split Reservation
Purpose: Splits a reservation for a document.
Parameters
- 'DOCNO': Document Number
- 'RESERVATIONNO': Reservation Number
122. Get Parent Docno Filter
Purpose: Retrieves the parent document number filter.
Parameters
- 'DOCNO': Document Number
123. Check Doc Lines Carrier Content
Purpose: Checks the carrier content of document lines.
Parameters
- 'DOCNO': Document Number
124. Print ZPL Layout Sub Carrier
Purpose: Prints a ZPL layout for sub-carriers.
Parameters
- 'CARRIERNO': Carrier Number
- 'LAYOUTCODE': Layout Code
125. Add Carrier To Phys Inventory Document
Purpose: Adds a carrier to a physical inventory document.
Parameters
- 'DOCNO': Document Number
- 'CARRIERNO': Carrier Number
126. Set Doc Info Value
Purpose: Sets a document information value.
Parameters
- 'DOCNO': Document Number
- 'INFOVALUE': Information Value
127. Print ZPL Layout
Purpose: Prints a ZPL label layout for a document, a handling unit (or the whole stack it belongs to), a document line or a trip. The layout, printer and number of labels are taken from the parameters or determined automatically; with the layout parameters 27, 28 and 29 the layout can be chosen per handling unit based on its content (mixed or homogeneous) and whether it is part of a stack.
Parameters
- 'DOCNO': Document No.
- 'CARRIERNO': Carrierno
- 'PERUNIQUECARRIER': Print per unique carrier no (if empty all detaillines are printend)
- 'PRINTSTACKEDCARRIERS': Print stacked carriers
- 'LAYOUT': Optional: ZPL layout code (leave blank to auto determine)
- 'PRINTER': Optional: ZPL printer (leave blank to auto determine)
- 'TYPE': Optional: 1=Full Carrier, 2=OrderPick. Default = 1
- 'SOURCETABLENO': Optional: 11154649=Carrier, 11154661=DocumentLine, 11154662=DocDetailLine (default)
- 'LABELCOUNT': Optional: Number of labels (leave blank to auto determine)
- 'PERUNIQUEITEMNO': Print per unique item no (if empty all detaillines are printend)
- 'PERUNIQUEDOCNO': Print per unique document no (if empty all detaillines are printend)
- 'ONLYSTACKED': Print only if the carriers are stacked
- 'DOCLINENO': Optional: Document Line No.
- 'OLDESTEXPDATE': Optional: If per unique than group take oldest exp.date first
- 'NUMBER OF CARRIERS': Optional: use with SOURCETABLENO = 11154661
- 'SKIPIFNOCONTENT': Optional: Skip if carrierno has no content
- 'SKIPIFCARRSTATUS': Optional: Skip if Carrierstatus is not equal to this status
- 'TRIPNO': Trip No.
- 'POSTEDDETLINES': Allow to use Posted Detail Lines
- 'FILTERDETLINE': Filter on Detail Line
- 'SKIP': Optional: Skip if <not empty>
- 'OnlyDocLineNo': Optional: print only informatie document line <not empty>
- 'SORTCARRIERNO': Optional: Sort on Carrier No for stacked
- 'OneMessage': Optional: Send all labels in one message to printer
- 'LAYOUTNOSTACKMIXED': Optional: ZPL layout code per carrier with mixed content (multiple items/ext. batches/exp. dates)
- 'LAYOUTHOMOGEEN': Optional: ZPL layout code per carrier with homogeneous content (1 item, 1 ext. batch, 1 exp. date)
- 'LAYOUTSTACKMIXED': Optional: override of LAYOUTNOSTACKMIXED for a mixed carrier that is part of a stack
- 'ITEMNO': Optional: Filter DocDetailLine on item no
- 'CARRFILTER2': Optional: Carrier String Filter
- 'DOCTYPE': Document Type
- 'POSTINGTYPE FILTER': Optional: 0=All,1=Unposted,2=Posted, works only for 11154662
Layout per handling unit (parameters LAYOUTNOSTACKMIXED, LAYOUTHOMOGEEN, LAYOUTSTACKMIXED)
When at least one of these three parameters is filled and SOURCETABLENO is 11154649 (Carrier) or 11154662 (Doc. Detail Line, the default), the function determines a layout for every handling unit in the print range before printing. The print range is still controlled by CARRIERNO, PRINTSTACKEDCARRIERS and CARRFILTER2; these parameters only decide which layout each handling unit gets. When all three are empty the function behaves as before.
- The content of a handling unit is mixed when it holds more than one unique combination of Customer Item No., External Batch No. and Expiration Date; with exactly one combination it is homogeneous.
- With
SOURCETABLENO=11154649the combinations are read from the handling unit content (lines with the status inSKIPIFCARRSTATUSare ignored); when a handling unit has no content andDOCNOis filled, the detail lines of that document are used instead (posted detail lines too whenPOSTEDDETLINESis filled). - With
SOURCETABLENO=11154662the combinations are read from the detail lines ofDOCNO, filtered byDOCTYPEandPOSTINGTYPE FILTER; posted detail lines count as well whenPOSTEDDETLINESis filled. - Layout chosen per handling unit, first match wins:
- mixed content and the handling unit is part of a stack (Carrier Stack ID <> 0) and
LAYOUTSTACKMIXEDis filled:LAYOUTSTACKMIXED; - mixed content and
LAYOUTNOSTACKMIXEDis filled:LAYOUTNOSTACKMIXED(also for a stacked handling unit whenLAYOUTSTACKMIXEDis empty); - homogeneous content and
LAYOUTHOMOGEENis filled:LAYOUTHOMOGEEN(stacked or not); - otherwise the layout from
LAYOUT, or the automatically determined layout whenLAYOUTis empty.
- mixed content and the handling unit is part of a stack (Carrier Stack ID <> 0) and
- The layout found for the handling unit in
CARRIERNOalso replacesLAYOUTfor the printer selection of the run; a handling unit with a different layout is printed on the printer selected for that layout (PRINTERis applied to that selection). WithOneMessageall labels are still sent in one message to the printer of the run. - A layout code in these parameters must exist as a ZPL layout, otherwise the function raises the standard record-not-found error, as it does for
LAYOUT.
Note
The parameter codes and descriptions above use the term carrier; on this site the same object is called a Handling Unit (see Handling Units).
128. Check Interleave Condition
Purpose: Checks the interleave condition for a document.
Parameters
- 'DOCNO': Document Number
- 'CONDITION': Condition
129. Get Carrier Type For Order Pick From Conditions
Purpose: Retrieves the carrier type for order picking based on conditions.
Parameters
- 'DOCNO': Document Number
- 'CONDITION': Condition
130. Get Condition Value
Purpose: Retrieves a condition value for a document.
Parameters
- 'DOCNO': Document Number
- 'CONDITION': Condition
131. Add Comment Line
Purpose: Adds a comment line to a document.
Parameters
- 'DOCNO': Document Number
- 'COMMENT': Comment Text
132. Get Exp Service From Doc
Purpose: Retrieves the expedited service from a document.
Parameters
- 'DOCNO': Document Number
133. Post Detail Lines And Create Detail Lines On Related Documents
Purpose: Posts detail lines and creates detail lines on related documents.
Parameters
- 'DOCNO': Document Number
- 'RELATEDDOCNO': Related Document Number
134. Update Exp Service On Doc
Purpose: Updates the expedited service on a document.
Parameters
- 'DOCNO': Document Number
- 'SERVICE': Service
135. Check Orderpick Available
Purpose: Checks if order picking is available for a document.
Parameters
- 'DOCNO': Document Number
136. Get Package Qty
Purpose: Retrieves the package quantity for a document.
Parameters
- 'DOCNO': Document Number
137. Update Scan Label Buffer From Document Line
Purpose: Updates the scan label buffer from a document line.
Parameters
- 'DOCNO': Document Number
- 'LINENO': Line Number
138. Add Service To Doc Conditional
Purpose: Adds a service to a document conditionally.
Parameters
- 'DOCNO': Document Number
- 'SERVICENO': Service Number
- 'CONDITION': Condition
139. Get Condition Value For Customer
Purpose: Retrieves a condition value for a customer.
Parameters
- 'CUSTOMERNO': Customer Number
- 'CONDITION': Condition
140. Print ZPL Layout New Carrier
Purpose: Prints a ZPL layout for a new carrier.
Parameters
- 'CARRIERNO': Carrier Number
- 'LAYOUTCODE': Layout Code
141. Create Whse Activities Per Condition
Purpose: Creates warehouse activities per condition.
Parameters
- 'DOCNO': Document Number
- 'CONDITION': Condition
142. Print Document Web Print Request
Purpose: Prints a document via a web print request.
Parameters
- 'DOCNO': Document Number
- 'PRINTER': Printer
143. Print ZPL Layout Reservered Carrier
Purpose: Prints a ZPL layout for a reserved carrier.
Parameters
- 'CARRIERNO': Carrier Number
- 'LAYOUTCODE': Layout Code
144. Copy Document
Purpose: Copies a document.
Parameters
- 'DOCNO': Document Number
- 'NEWDOCNO': New Document Number
145. Get STDText
Purpose: Retrieves standard text for a document.
Parameters
- 'DOCNO': Document Number
146. Find Shipment Line Based On Receipt Detail Line
Purpose: Finds a shipment line based on receipt detail line criteria.
Parameters
- 'DOCNO': Document Number
- 'DOCLINENO': Document Line Number
- 'DOCDETAILNO': Document Detail Number
147. Check Carrier Matches Doc Line
Purpose: Checks if a carrier matches a document line.
Parameters
- 'DOCNO': Document Number
- 'CARRIERNO': Carrier Number
148. Transfer New Carriers In Doc
Purpose: Transfers all new carriers in a document to a location.
Parameters
- 'DOCNO': Document Number
- 'LOCATION': Location
149. Print ZPL Layout New Carriers In Doc
Purpose: Prints a ZPL label for all new carriers in a document.
Parameters
- 'DOCNO': Document Number
- 'LAYOUTCODE': Layout Code
150. Find WMS Doc Based On TMS Doc No
Purpose: Finds a WMS document based on a TMS document number.
Parameters
- 'TMSDOCNO': TMS Document Number
151. Execute TMS Step
Purpose: Executes a step for a TMS record.
Parameters
- 'TMSDOCNO': TMS Document Number
- 'STEPID': Step ID
152. Find Opposite Doc Info
Purpose: Finds opposite document information based on document link.
Parameters
- 'DOCNO': Document Number
- 'OPPDOCNO': Opposite Document Number
153. Get Qty Destacking Based By Detail Line Condition
Purpose: Retrieves the destacking quantity based on a detail line condition.
Parameters
- 'DOCNO': Document Number
- 'CONDITION': Condition
154. Get Qty Destacking Based By WHSE Activity Condition
Purpose: Retrieves the destacking quantity based on a warehouse activity condition.
Parameters
- 'DOCNO': Document Number
- 'ACTIVITYNO': Activity Number
155. Set SN Info
Purpose: Sets serial number information.
Parameters
- 'DOCNO': Document Number
- 'SERIALNO': Serial Number
156. Get Max Qty Based By Document Line Condition2
Purpose: Retrieves the maximum quantity based on a document line condition.
Parameters
- 'DOCNO': Document Number
- 'CONDITION': Condition
157. Get Max Qty Based By WHSE Activity Condition
Purpose: Retrieves the maximum quantity based on a warehouse activity condition.
Parameters
- 'DOCNO': Document Number
- 'ACTIVITYNO': Activity Number
158. Set Doc Detail Line Spec Set ID
Purpose: Sets the specification set ID for a document detail line.
Parameters
- 'DOCNO': Document Number
- 'SPECSETID': Specification Set ID
159. Get Opposite Doc Filter
Purpose: Retrieves a document filter string for the opposite document based on document link.
Parameters
- 'DOCNO': Document Number
160. Get Unique Con Values For Doc Bases On Carrier
Purpose: Retrieves unique document condition values based on a carrier.
Parameters
- 'DOCNO': Document Number
- 'CARRIERNO': Carrier Number
161. Check Field Value
Purpose: Checks a field value.
Parameters
- 'DOCNO': Document Number
- 'FIELDNO': Field Number
162. Print Transsmart Label
Purpose: Prints Transsmart labels.
Parameters
- 'DOCNO': Document Number
- 'LABELTYPE': Label Type
163. Insert Document Package Lines
Purpose: Inserts or modifies document package lines for Transsmart.
Parameters
- 'DOCNO': Document Number
- 'PACKAGELINE': Package Line
164. Delete Document Package Lines
Purpose: Deletes document package lines for Transsmart.
Parameters
- 'DOCNO': Document Number
- 'PACKAGELINE': Package Line
165. Get Pick Doc No From Transfer
Purpose: Retrieves the order pick document number.
Parameters
- 'DOCNO': Document Number
- 'TRANSFERNO': Transfer Number
166. Get Type Carriers Exist
Purpose: Checks if a carrier type exists.
Parameters
- 'DOCNO': Document Number
- 'CARRIERTYPE': Carrier Type
167. Print ZPL Layout Document Packages
Purpose: Prints a dynamic ZPL layout for document packages.
Parameters
- 'DOCNO': Document Number
- 'LAYOUTCODE': Layout Code
168. Create Correction Detail Line
Purpose: Creates a correction detail line for a posted detail line without a stock transaction.
Parameters
- 'DOCNO': Document Number
- 'LINENO': Line Number
169. Find Order Pick Assignment
Purpose: Retrieves an order pick document based on order pick assignment.
Parameters
- 'DOCNO': Document Number
- 'ASSIGNMENT': Assignment
170. Create Contact
Purpose: Creates a new contact.
Parameters
- 'CONTACTNO': Contact Number
- 'NAME': Name
171. Get Contact Info
Purpose: Retrieves contact information.
Parameters
- 'CONTACTNO': Contact Number
172. Get Unique Con Values For Doc Line
Purpose: Retrieves unique document condition values based on a document line.
Parameters
- 'DOCNO': Document Number
- 'LINENO': Line Number
173. Create Or Update Shipping Agent
Purpose: Creates or updates a shipping agent.
Parameters
- 'AGENTNO': Agent Number
- 'NAME': Name
174. Print Label From SN No Info
Purpose: Prints a label from serial number information.
Parameters
- 'SERIALNO': Serial Number
175. Get Document Filter String Info
Purpose: Retrieves document filter string information.
Parameters
- 'DOCNO': Document Number
176. Get Doc Lines With Cust Item With Status
Purpose: Checks customer items in document lines with a status filter.
Parameters
- 'DOCNO': Document Number
- 'STATUS': Status
177. Get Carrier Type For Order Pick From First Item Line
Purpose: Retrieves the carrier type for order picking based on the first item.
Parameters
- 'DOCNO': Document Number
- 'ITEMNO': Item Number
178. Count Carriers In Det Lines With Carrier Status Filter
Purpose: Counts carriers in detail lines with a carrier status filter.
Parameters
- 'DOCNO': Document Number
- 'STATUS': Status
179. Get Comment Lines
Purpose: Retrieves comment lines.
Parameters
- 'DOCNO': Document Number
180. Set Result For Temp View
Purpose: Sets the result for a temporary view.
Parameters
- 'VIEWID': View ID
- 'RESULT': Result
181. Check Doc Ready For Load
Purpose: Determines if a document is ready for loading.
Parameters
- 'DOCNO': Document Number
182. Number Of Doc Lines With Accijns Check
Purpose: Counts the number of document lines with an excise check.
Parameters
- 'DOCNO': Document Number
183. Number Of Doc Lines With Accijns Differences
Purpose: Counts the number of document lines with excise differences.
Parameters
- 'DOCNO': Document Number
184. Update Document Detail Lines For Dom Proc
Purpose: Updates document detail lines for domestic processing.
Parameters
- 'DOCNO': Document Number
185. Get Doc By Int Or Ext Doc
Purpose: Retrieves a document based on internal or external document number.
Parameters
- 'DOCNO': Document Number
186. Print Shipment Packages From Transfer
Purpose: Prints shipment packages from a transfer.
Parameters
- 'DOCNO': Document Number
187. Remove Record Link
Purpose: Removes a record link.
Parameters
- 'DOCNO': Document Number
188. Update Document Package Lines
Purpose: Updates document package lines.
Parameters
- 'DOCNO': Document Number
189. Set Sorting Order Multiple Lines
Purpose: Sets the sorting order for multiple lines.
Parameters
- 'DOCNO': Document Number
190. Get Doc No Field Values
Purpose: Retrieves values from a document.
Parameters
- 'DOCNO': Document Number
191. Create Detail Line From Doc Line
Purpose: Creates a detail line from a document line and location.
Parameters
- 'DOCNO': Document Number
192. Print Record Link From Param
Purpose: Prints a record link from parameters.
Parameters
- 'DOCNO': Document Number
193. Copy Record Links
Purpose: Copies record links from one record to another.
Parameters
- 'DOCNO': Document Number
194. Get DG Attr Value
Purpose: Retrieves a DG attribute value.
Parameters
- 'DOCNO': Document Number
195. Set DG Attr Value
Purpose: Sets a DG attribute value.
Parameters
- 'DOCNO': Document Number
196. Get Allocation Attr Value
Purpose: Retrieves an allocation attribute value.
Parameters
- 'DOCNO': Document Number
197. Set Allocation Attr Value
Purpose: Sets an allocation attribute value.
Parameters
- 'DOCNO': Document Number
198. Create Detail Line For Receipt
Purpose: Creates a detail line for a receipt.
Parameters
- 'DOCNO': Document Number
200. Get File From Rec
Purpose: Retrieves a file from a record.
Parameters
- 'DOCNO': Document Number
201. Change Batch Content Status Attribute
Purpose: Changes the status attribute of batch content.
Parameters
- 'DOCNO': Document Number
202. Is Break Bulk
Purpose: Determines if a transfer will result in break bulk.
Parameters
- 'DOCNO': Document Number
203. Get Documents By Condition
Purpose: Retrieves documents by condition.
Parameters
- 'DOCNO': Document Number
205. Set Attribute Doc
Purpose: Sets an attribute on a document (no set ID supported).
Parameters
- 'DOCNO': Document Number
206. Set Sorting Order Scan Multiple
Purpose: Sets the sorting order for multiple documents.
Parameters
- 'DOCNO': Document Number
207. Print Label From Doc Package
Purpose: Prints a label from a document package.
Parameters
- 'DOCNO': Document Number
217. Define Print SSCC
Purpose: Defines printing SSCC.
Parameters
- 'DOCNO': Document Number
226. Get Doc Info Value
Purpose: Retrieves a value from a document, line, detail, trip, or batch information set.
Parameters
- 'DOCNO': Document Number
235. Create New Carrier And Set On Doc Header
Purpose: Creates a new carrier and sets it on the document header field.
Parameters
- 'DOCNO': Document Number
236. Get Doc Process Line Base On Filter
Purpose: Retrieves a document process line based on a filter.
Parameters
- 'DOCNO': Document Number
238. Create New Carriers And Set On Doc Headers
Purpose: Creates new carriers, sets them on document headers, and prints.
Parameters
- 'DOCNO': Document Number
240. Get Comment Line
Purpose: Retrieves a comment line.
Parameters
- 'DOCNO': Document Number
241. Get Doc Line Comments
Purpose: Retrieves document line comment text.
Parameters
- 'DOCNO': Document Number
249. Print ZPL Layout New Carriers In Multiple Docs
Purpose: Prints a ZPL label for all new carriers in multiple documents.
Parameters
- 'DOCNO': Document Number
250. Assign Transfer Doc Based On Restrictions
Purpose: Assigns a transfer document based on restrictions.
Parameters
- 'DOCNO': Document Number
251. Link Document Lines
Purpose: Links document lines.
Parameters
- 'DOCNO': Document Number
252. Update Weights On Detail Line From Carr Content
Purpose: Updates weights on a detail line from carrier content.
Parameters
- 'DOCNO': Document Number
260. Get Doc No Based On AWB
Purpose: Retrieves a document based on AWB.
Parameters
- 'DOCNO': Document Number
261. Create Shipment Line From Receipt
Purpose: Creates a shipment line from a receipt.
Parameters
- 'DOCNO': Document Number
262. Sync Ship Line From Receipt Line2
Purpose: Synchronizes a shipment line from a receipt line.
Parameters
- 'DOCNO': Document Number
264. Update Status Shipment From Receipt Line
Purpose: Updates the status of a shipment from a receipt line.
Parameters
- 'DOCNO': Document Number
269. UnAssign Order Picker
Purpose: Unassigns an order picker from documents.
Parameters
- 'DOCNO': Document Number
270. Check Detail Line With Diff Location Then Header
Purpose: Compares detail lines' location with header location.
Parameters
- 'DOCNO': Document Number
271. Get Comments Based On Trip And Related Documents
Purpose: Retrieves comments from a trip and documents from a trip line.
Parameters
- 'DOCNO': Document Number
272. Check Document Status Else Error
Purpose: Checks if the document status is the same as the scan session.
Parameters
- 'DOCNO': Document Number
273. Check Building Code Document Header
Purpose: Compares the document building code with the scan session variable.
Parameters
- 'DOCNO': Document Number
274. Update PreAssignment Doc Process Line
Purpose: Updates the pre-assignment document process line.
Parameters
- 'DOCNO': Document Number
276. Check If Boolean Condition Code Active On Doc Lines
Purpose: Checks if a boolean condition code is active on document lines.
Parameters
- 'DOCNO': Document Number
278. Convert Pallet To Uom Scan Label Buffer
Purpose: Converts UOM to standard UOM in the scan label buffer.
Parameters
- 'DOCNO': Document Number
279. Check Detail Lines With Variable Alcohol Perc
Purpose: Checks detail lines with variable alcohol percentage.
Parameters
- 'DOCNO': Document Number
281. Set Doc Line Condition Value
Purpose: Sets a condition value on a document line.
Parameters
- 'DOCNO': Document Number
300. Create DI Message Document
Purpose: Creates a data integration message for a document.
Parameters
- 'DOCNO': Document Number
305. Assign Order Pick Document
Purpose: Retrieves the next free order pick document.
Parameters
- 'DOCNO': Document Number
306. Create Address
Purpose: Creates a new address.
Parameters
- 'DOCNO': Document Number
307. Print Record Link
Purpose: Prints a document record link.
Parameters
- 'DOCNO': Document Number
308. Get Document Header Info
Purpose: Retrieves document header information.
Parameters
- 'DOCNO': Document Number
309. Get Posted Doc Line Information
Purpose: Retrieves posted document line values.
Parameters
- 'DOCNO': Document Number
310. Post Item Jnl Lines
Purpose: Posts item journal lines.
Parameters
- 'DOCNO': Document Number
315. Replace Carrier No In Detail Lines
Purpose: Replaces the carrier number in detail lines.
Parameters
- 'DOCNO': Document Number
316. Register Performance Entry
Purpose: Registers a performance entry.
Parameters
- 'DOCNO': Document Number
320. Get Order Control Field Filter
Purpose: Retrieves the order control field filter.
Parameters
- 'DOCNO': Document Number
321. Get Doc Line No Filter Based On External Doc No
Purpose: Retrieves a document line filter based on an external document number.
Parameters
- 'DOCNO': Document Number
322. Create Receipt From Purchase Order
Purpose: Creates a receipt from a purchase order.
Parameters
- 'DOCNO': Document Number
339. Get Condition Value For Address
Purpose: Retrieves the value of a condition for an address.
Parameters
- 'DOCNO': Document Number
401. Get Other Building Transport Needed
Purpose: Checks if transport between buildings is needed.
Parameters
- 'DOCNO': Document Number
410. Get Expeditors Info
Purpose: Retrieves expeditors information (e.g., DHL, FedEx, UPS).
Parameters
- 'DOCNO': Document Number
427. Print ZPL Layout For Doc Line
Purpose: Prints a ZPL layout for document lines.
Parameters
- 'DOCNO': Document Number
438. Check Document Country EU
Purpose: Checks if the document country is within the EU.
Parameters
- 'DOCNO': Document Number
467. Get Doc Line Based On External No
Purpose: Retrieves a document line based on multiple values.
Parameters
- 'DOCNO': Document Number
468. Get Item No Based On External No
Purpose: Retrieves an item number based on multiple values.
Parameters
- 'DOCNO': Document Number
469. Get Outstanding Qty In Pick
Purpose: Retrieves the outstanding pick quantity.
Parameters
- 'DOCNO': Document Number
471. Get Doc No From Det Line By Carr And Item With Doc Status Filter
Purpose: Retrieves a document number with carrier, item, and document status.
Parameters
- 'DOCNO': Document Number
492. Get Doc Gross Weight Incl Carr Type Weight From Carrier
Purpose: Retrieves the gross weight including carrier type weight.
Parameters
- 'DOCNO': Document Number
513. Split WMS Document Line
Purpose: Splits a new quantity into a new document line.
Parameters
- 'DOCNO': Document Number
514. Create Staging Channel
Purpose: Inserts a staging channel for a document.
Parameters
- 'DOCNO': Document Number
574. Get Doc Det Line Information
Purpose: Retrieves detail line values.
Parameters
- 'DOCNO': Document Number
575. Set Sorting Order Move To End Multiple
Purpose: Moves document lines to the end, supporting multiple documents.
Parameters
- 'DOCNO': Document Number
581. Get Similar Docs
Purpose: Retrieves similar documents.
Parameters
- 'DOCNO': Document Number
649. Get New Carriers In Doc String And Update Status
Purpose: Retrieves a string with new handling units and updates status.
Parameters
- 'DOCNO': Document Number
654. Get best fit orderpick HU type
Purpose: Determines the best fitting order pick handling unit type for a document, based on the total cubage of the order pick lines and the dimensions per unit.
Parameters
- 'DOCNO': Document No.
- 'CONDITIONCODE': Optional: Condition code with HU type filter; empty = Order Pick Carrier Type Code from Condition Code Setup (PICK CT.)
- 'DEFAULTIFEMPTY': Optional: HU type returned when condition value is empty or not found
- 'HUTYPE': Return value: best fitting HU type
How the handling unit type is determined
- The condition code is
CONDITIONCODE; when it is empty, the Order Pick Carrier Type Code from the WMS Condition Code Setup is used (see Conditions), andPICK CT.when that field is empty as well. - The function reads the value of that condition on the first document line of
DOCNOwith Type Cust. Item and a Quantity other than 0. The value is used as a filter on handling unit type codes (for exampleBOX-S|BOX-M|BOX-L). - Only handling unit types within that filter with a Pick Max. Load Cubage greater than 0 are candidates.
- The total cubage is the sum of the Cubage of all document lines with Type Cust. Item and a Quantity other than 0.
- A candidate is dropped when one unit of a line (Length, Width and Height of the customer item unit of measure) does not fit in the handling unit type (Length, Width, Height). The unit may be rotated. When the unit or the handling unit type has a dimension of 0, this check is skipped for it.
- The result is the remaining candidate with the smallest Pick Max. Load Cubage that is at least the total cubage. With equal cubage, the type with the lowest Sorting Order wins.
- When no remaining candidate is large enough, the remaining candidate with the largest Pick Max. Load Cubage is returned. When every candidate was dropped on dimensions, the largest candidate within the filter is returned.
HUTYPE returns DEFAULTIFEMPTY (no error) when the document is not found, has no such lines, the condition value is empty, or no handling unit type in the filter has a Pick Max. Load Cubage.
Note
The parameter codes and descriptions use HU type / carrier type; on this site the same object is called a Handling Unit Type (see Handling Units).