move 520
This commit is contained in:
parent
1de373be9c
commit
df2332b17e
@ -31,7 +31,8 @@
|
|||||||
reflexMvtStockInterface.ipg_move_type == "420" ||
|
reflexMvtStockInterface.ipg_move_type == "420" ||
|
||||||
reflexMvtStockInterface.ipg_move_type == "455" ||
|
reflexMvtStockInterface.ipg_move_type == "455" ||
|
||||||
reflexMvtStockInterface.ipg_move_type == "460" ||
|
reflexMvtStockInterface.ipg_move_type == "460" ||
|
||||||
reflexMvtStockInterface.ipg_move_type == "465"
|
reflexMvtStockInterface.ipg_move_type == "465" ||
|
||||||
|
(reflexMvtStockInterface.ipg_move_type == "520" && reflexMvtStockInterface.ipg_move_creation_program == "HFST69")
|
||||||
>
|
>
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@ -18,7 +18,8 @@
|
|||||||
"420":"STOCK_MOVEMENT_TYPE_REQUALIFICATION",
|
"420":"STOCK_MOVEMENT_TYPE_REQUALIFICATION",
|
||||||
"455":"STOCK_MOVEMENT_TYPE_FIX",
|
"455":"STOCK_MOVEMENT_TYPE_FIX",
|
||||||
"460":"STOCK_MOVEMENT_TYPE_FIX",
|
"460":"STOCK_MOVEMENT_TYPE_FIX",
|
||||||
"465":"STOCK_MOVEMENT_TYPE_FIX"
|
"465":"STOCK_MOVEMENT_TYPE_FIX",
|
||||||
|
"520":"STOCK_MOVEMENT_TYPE_OUTBOUND"
|
||||||
}>
|
}>
|
||||||
<#assign generation_date = RfxDateTimetoUTC(reflexMvtStockInterface.ipg_move_creation_datetime,time_zone_offset_rfx) />
|
<#assign generation_date = RfxDateTimetoUTC(reflexMvtStockInterface.ipg_move_creation_datetime,time_zone_offset_rfx) />
|
||||||
<#assign ipg_priority_datetime = reflexMvtStockInterface.ipg_priority_date?datetime(rfx_date_format_default)?iso_utc />
|
<#assign ipg_priority_datetime = reflexMvtStockInterface.ipg_priority_date?datetime(rfx_date_format_default)?iso_utc />
|
||||||
@ -52,7 +53,11 @@
|
|||||||
"Author": "ReflexWMS-${reflexMvtStockInterface.ipg_move_creation_user_code?json_string}",
|
"Author": "ReflexWMS-${reflexMvtStockInterface.ipg_move_creation_user_code?json_string}",
|
||||||
"ExternalMoveRef" : "${reflexMvtStockInterface.ipg_move_year_number} - ${reflexMvtStockInterface.ipg_move_number}",
|
"ExternalMoveRef" : "${reflexMvtStockInterface.ipg_move_year_number} - ${reflexMvtStockInterface.ipg_move_number}",
|
||||||
"Type": "${MoveType_KV[reflexMvtStockInterface.ipg_move_type]!reflexMvtStockInterface.ipg_move_type}",
|
"Type": "${MoveType_KV[reflexMvtStockInterface.ipg_move_type]!reflexMvtStockInterface.ipg_move_type}",
|
||||||
"Reason": "${reflexMvtStockInterface.miscellaneous_receipts_despatches_code?json_string}",
|
<#if reflexMvtStockInterface.ipg_move_type == "520" >
|
||||||
|
"Reason": " Transfert ${RFXtoRPprefixDepot(reflexMvtStockInterface.physical_depot_code?trim?json_string)} to ${RFXtoRPprefixDepot(reflexMvtStockInterface.transfer_consignee_physical_depot_code?trim?json_string)}",
|
||||||
|
<#else>
|
||||||
|
"Reason": "${reflexMvtStockInterface.miscellaneous_receipts_despatches_code?json_string}",
|
||||||
|
</#if>
|
||||||
"ExternalInfo" : "${reflexMvtStockInterface.stock_move_reference?json_string}",
|
"ExternalInfo" : "${reflexMvtStockInterface.stock_move_reference?json_string}",
|
||||||
<#if reflexMvtStockInterface.ipg_move_operation_year_number!= 0>
|
<#if reflexMvtStockInterface.ipg_move_operation_year_number!= 0>
|
||||||
"OperationReference": "${reflexMvtStockInterface.ipg_move_operation_year_number} - ${reflexMvtStockInterface.ipg_move_operation_number}",
|
"OperationReference": "${reflexMvtStockInterface.ipg_move_operation_year_number} - ${reflexMvtStockInterface.ipg_move_operation_number}",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user