modifs uniqueness

This commit is contained in:
2024-09-16 16:12:43 +02:00
parent d91d15c1c9
commit 956105fc38
17 changed files with 309 additions and 51 deletions

View File

@@ -74,7 +74,7 @@
"Goods": {
"ItemID": "${preparation_line.item_code?trim?json_string}",
"LVBranchID": "${preparation_line.item_lv_code?json_string}",
<#if (despatched_ipg.ipg_use_by_date?length != 0) && (despatched_ipg.ipg_use_by_date?starts_with("00")== false)>
<#assign priority_date = despatched_ipg.ipg_use_by_date?datetime(rfx_date_format_default)?iso_utc />
"PriorityDate": "${priority_date}",
@@ -116,7 +116,20 @@
<#else>
"LineID": "${preparation_line.pro_line_number!0}",
</#if>
"ActorID": "${preparationOrder.physical_depot_code?trim?json_string}",
<#if text_language_rfx="fr">
<#if uniqueness?? && uniqueness!="" >
"ActorID": "${preparationOrder.physical_depot_code?trim?json_string}",
<#else>
"ActorID": "DEP${preparationOrder.physical_depot_code?trim?json_string}",
</#if>
<#else>
<#if uniqueness?? && uniqueness!="" >
"ActorID": "${preparationOrder.physical_depot_code?trim?json_string}",
<#else>
"ActorID": "DEP${preparationOrder.physical_depot_code?trim?json_string}",
</#if>
</#if>
"Quantity": {
"LVID": "${quantity_in_base_lv_RP_Cst}",
"Value": ${despatched_ipg.quantity_lvs}