You've already forked reflex-wms-connector
modifs trim json
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"ProjectID": "${projectRP}"
|
||||
},
|
||||
"ID": {
|
||||
"RefID": "${receipt.receipt_reference?json_string}",
|
||||
"RefID": "${receipt.receipt_reference?trim?json_string}",
|
||||
"RefDate": {
|
||||
"DateTime": "${receipt_creation_datetime}",
|
||||
"AuthorTimeZone": "${time_zone_rfx}"
|
||||
@@ -25,16 +25,16 @@
|
||||
|
||||
"ShipFrom":
|
||||
{
|
||||
"ActorID": "${receipt.original_code?json_string}"
|
||||
"ActorID": "${receipt.original_code?trim?json_string}"
|
||||
},
|
||||
"ShipTo" :
|
||||
{
|
||||
"ActorID": "${receipt.physical_depot_code?json_string}"
|
||||
"ActorID": "${receipt.physical_depot_code?trim?json_string}"
|
||||
},
|
||||
"ShipToAcked": true,
|
||||
|
||||
<#if receipt.carrier_informations.carrier_code != "">
|
||||
"Carrier" : {"ActorID": "${receipt.carrier_informations.carrier_code?json_string}"},
|
||||
"Carrier" : {"ActorID": "${receipt.carrier_informations.carrier_code?trim?json_string}"},
|
||||
</#if>
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
{
|
||||
"Goods":
|
||||
{
|
||||
"ItemID": "${line.item_code?json_string!"0"}",
|
||||
"ItemID": "${line.item_code?trim?json_string!"0"}",
|
||||
"LVBranchID": "${line.item_lv_code?json_string!"0"}",
|
||||
<#if line.line_without_detail??>
|
||||
<#if (line.line_without_detail.priority_date?length != 0) && (line.line_without_detail.priority_date?starts_with("00") == false)>
|
||||
|
||||
Reference in New Issue
Block a user