Table of Contents

Function Set Entries

General

By setting up Function Set Entries a range of flexible functions can combined to be used in StatusTemplates, Steps and some specific fields, for example the Invoice Info Description Code on the Customer.

Example of a Function Set Entries: Function Set

Field Description
Codeunit ID Select from a list the required Codeunit
Function Code Select from a list the required Function Code
Description The description related to the Function Code
Parameter Values The statement based on the parameters as entered on the Tab:Parameters
Table No. The table on which the
Tabele Filter Select from a list the required Table on which the Function Set Entries is to be applied
Blocked When True this line is no longer excecuted
End Execution Select Always or When Result Found to stop the excecution of the Function Set Entries
On Different Table No. Select the reuired option from the list
Note

Function Set Entries can be copied by using the actions Copy Last Function Set. To copy a Function Set Entries from a RAPP-environment to a PROD-environment use the action: Copy Json to Clipboard in the RAPP, go to the PROD, click on the action Edit Json and paste the set

The following table contains a number of functions. By clicking on the link a page with the Json-code can be opened so it can be coppied to 3PL Dynamics.

Applicable Area Value Result function Set
Agreement Quantity Calculation / Criteria EXTRA_STOP Filters orders within the linked order, not being the order with the highest value in field:Kilometer. This function will apply each suborder as as stop.
Agreement Quantity Calculation / Criteria FUEL_SURCHARGE Calculates the amount of fuel surcharge based on the Fuel Clause.
Agreement Quantity Calculation / Criteria KM_MAX Filters the order with the highest value in field:Kilometer within the linked orders.
Agreement Quantity Calculation / Criteria FIRST_SECTION Determinates if a section is the first section of an order.
Agreement Quantity Calculation / Criteria NOT_FIRST_SECTION Determinates if a section is not the first section of an order.
Invoice Info Description Code DOCNO. A string with the documentnumer on which the revenue is based
Invoice Info Description Code EXT_DOC_QT A string with the the external document number and quantity on which the cost is based
Invoice Info Description Code UOM_QTY_AR A string with the Unit Of Measure Code, The Quantity and the Area based on the agreement on which the revenue is based
Transport Conditions Code FunctionSet_MAX_LENGTH_WIDTH_HEIGHT.md Adds a condition to the order or section with the maximum length, width and height.