This commit is contained in:
Laurie MONTANT 2024-09-16 15:25:10 +02:00
parent a8b044fdba
commit 550c0047da
6 changed files with 37 additions and 7 deletions

View File

@ -4,7 +4,11 @@
"ProjectID": "${projectRP}"
},
"ID": {
"RefID": "${carrier.carrier_code?trim?json_string}"
<#if uniqueness?? && uniqueness!="" >
"RefID": "${carrier.carrier_code?trim?json_string}"
<#else>
"RefID": "CA${carrier.carrier_code?trim?json_string}"
</#if>
},
"Payload": {

View File

@ -4,7 +4,11 @@
"ProjectID": "${projectRP}"
},
"ID": {
"RefID": "${actor.code?trim?json_string}"
<#if uniqueness?? && uniqueness!="" >
"RefID": "${actor.code?trim?json_string}"
<#else>
"RefID": "C${actor.code?trim?json_string}"
</#if>
},
"Payload": {

View File

@ -32,10 +32,20 @@
<#if reflexMvtStockInterface.receipt_reference!="">
"ExecutionflowID": "${reflexMvtStockInterface.receipt_reference?trim?json_string}",
<#else>
"ExecutionflowID": "${reflexMvtStockInterface.physical_depot_code}${reflexMvtStockInterface.activity_code}${reflexMvtStockInterface.ipg_move_year_number}${reflexMvtStockInterface.extended_ipg_move_number}",
<#if uniqueness?? && uniqueness!="" >
"ExecutionflowID": "${reflexMvtStockInterface.physical_depot_code}${reflexMvtStockInterface.activity_code}${reflexMvtStockInterface.ipg_move_year_number}${reflexMvtStockInterface.extended_ipg_move_number}",
<#else>
"ExecutionflowID": "D${reflexMvtStockInterface.physical_depot_code}${reflexMvtStockInterface.activity_code}${reflexMvtStockInterface.ipg_move_year_number}${reflexMvtStockInterface.extended_ipg_move_number}",
</#if>
</#if>
"LineID": "${reflexMvtStockInterface.receipt_line_number}",
"ActorID": "${reflexMvtStockInterface.physical_depot_code?trim?json_string}",
<#if uniqueness?? && uniqueness!="" >
"ActorID": "${reflexMvtStockInterface.physical_depot_code?trim?json_string}",
<#else>
"ActorID": "D${reflexMvtStockInterface.physical_depot_code?trim?json_string}",
</#if>
"Quantity": {
"LVID": "${quantity_in_base_lv_RP_Cst}",
"Value": ${reflexMvtStockInterface.ipg_move_quantity_in_base_lvs}

View File

@ -42,7 +42,11 @@
"LVBranchID": "${reflexMvtStockInterface.lv_code?json_string}"
},
"ActorID": "${reflexMvtStockInterface.physical_depot_code?trim?json_string}",
<#if uniqueness?? && uniqueness!="" >
"ActorID": "${reflexMvtStockInterface.physical_depot_code?trim?json_string}",
<#else>
"ActorID": "D${reflexMvtStockInterface.physical_depot_code?trim?json_string}",
</#if>
"Movement": {
"DateTime": {

View File

@ -4,7 +4,11 @@
"ProjectID": "${projectRP}"
},
"ID": {
"RefID": "${actor.code?trim?json_string}"
<#if uniqueness?? && uniqueness!="" >
"RefID": "${actor.code?trim?json_string}"
<#else>
"RefID": "S${actor.code?trim?json_string}"
</#if>
},
"Payload": {

View File

@ -18,7 +18,11 @@
},
"Payload":{
"Carrier": {
"ActorID":"${preparationOrder.load_data.carrier_code?trim?json_string}"
<#if uniqueness?? && uniqueness!="" >
"ActorID":"${preparationOrder.load_data.carrier_code?trim?json_string}"
<#else>
"ActorID":"CA${preparationOrder.load_data.carrier_code?trim?json_string}"
</#if>
}
<#-- Add transport grade code
<#if preparationOrder.transport_grade_code!="">