digicust_types 1.8.104 → 1.8.105
Sign up to get free protection for your applications and to get access to all the features.
@@ -146,23 +146,28 @@ export interface ExecutionStrategy {
|
|
146
146
|
* Examples:
|
147
147
|
*
|
148
148
|
* - Built-In Standard formatting depending on various state variables:
|
149
|
-
* useCustomsTariffNumberDescription
|
150
|
-
*
|
151
|
-
*
|
152
|
-
*
|
153
|
-
*
|
154
|
-
*
|
155
|
-
*
|
156
|
-
*
|
157
|
-
*
|
158
|
-
*
|
159
|
-
*
|
160
|
-
*
|
161
|
-
*
|
162
|
-
*
|
163
|
-
*
|
164
|
-
*
|
165
|
-
*
|
149
|
+
* useCustomsTariffNumberDescription
|
150
|
+
* and (
|
151
|
+
* preferMaterialMasterData = false
|
152
|
+
* or materialMatched = false
|
153
|
+
* )
|
154
|
+
* and $exists(tariffNumberDescription)
|
155
|
+
* and $string(tariffNumberDescription) != ""
|
156
|
+
* ? tariffNumberDescription & " - " & (
|
157
|
+
* useLineItemDescriptionShortening = true
|
158
|
+
* and materialMatched = false
|
159
|
+
* ? (($exists(lineItemDescriptionShort) and $string(lineItemDescriptionShort) != "") ? lineItemDescriptionShort: lineItemDescription)
|
160
|
+
* : (
|
161
|
+
* materialMatched = true
|
162
|
+
* ? materialDescription
|
163
|
+
* : (
|
164
|
+
* useLineItemDescriptionShortening = true
|
165
|
+
* ? lineItemDescriptionShort
|
166
|
+
* : lineItemDescription
|
167
|
+
* )
|
168
|
+
* )
|
169
|
+
* )
|
170
|
+
* : enrichedDescription
|
166
171
|
*
|
167
172
|
* Example Result with JSON input from above: "Einrichtungen, Maschinen, Apparate und Geräte zur Kälteerzeugung - PCTA-Stents"
|
168
173
|
*
|