correction dans le cas où la commande n'a pas de ligne...
This commit is contained in:
parent
e8510d079c
commit
044fda9d16
@ -44,8 +44,9 @@
|
|||||||
"apt_with_end_consignee": "${apt_with_end_consignee_flag}",
|
"apt_with_end_consignee": "${apt_with_end_consignee_flag}",
|
||||||
"apt_with_intermediate": "false",
|
"apt_with_intermediate": "false",
|
||||||
"load_grouping": "${load_grouping}"
|
"load_grouping": "${load_grouping}"
|
||||||
},
|
}
|
||||||
<#if actorID == defaultactor >
|
<#if actorID == defaultactor >
|
||||||
|
,
|
||||||
"address": {
|
"address": {
|
||||||
"type_code": "${typecode}",
|
"type_code": "${typecode}",
|
||||||
"title_code" : "${titlecode}",
|
"title_code" : "${titlecode}",
|
||||||
@ -66,9 +67,10 @@
|
|||||||
"postal_code": "${executionflow.ShipTo.Actor.Address.PostalCode!""}",
|
"postal_code": "${executionflow.ShipTo.Actor.Address.PostalCode!""}",
|
||||||
"post_code_area_name" : "${executionflow.ShipTo.Actor.Address.City!""}",
|
"post_code_area_name" : "${executionflow.ShipTo.Actor.Address.City!""}",
|
||||||
"iso_country_code": "${executionflow.ShipTo.Actor.Address.CountryCode!""}"
|
"iso_country_code": "${executionflow.ShipTo.Actor.Address.CountryCode!""}"
|
||||||
},
|
}
|
||||||
</#if>
|
</#if>
|
||||||
<#if executionflow.Lines??>
|
<#if executionflow.Lines??>
|
||||||
|
,
|
||||||
"line_list": [
|
"line_list": [
|
||||||
<#list executionflow.Lines as line>
|
<#list executionflow.Lines as line>
|
||||||
<#-- ******* line MetaData and Segmentationkeys to maps ******** -->
|
<#-- ******* line MetaData and Segmentationkeys to maps ******** -->
|
||||||
@ -100,7 +102,8 @@
|
|||||||
}
|
}
|
||||||
<#sep>,</#sep>
|
<#sep>,</#sep>
|
||||||
</#list>
|
</#list>
|
||||||
|
]
|
||||||
</#if>
|
</#if>
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,9 +25,10 @@
|
|||||||
</#if>
|
</#if>
|
||||||
"carrier_appointment_made": "false",
|
"carrier_appointment_made": "false",
|
||||||
"receipt_in_cross_docking": "false",
|
"receipt_in_cross_docking": "false",
|
||||||
"dock_occupation_duration": 1,
|
"dock_occupation_duration": 1
|
||||||
|
|
||||||
<#if executionflow.Lines??>
|
<#if executionflow.Lines??>
|
||||||
|
,
|
||||||
"line_list": [
|
"line_list": [
|
||||||
<#list executionflow.Lines as line>
|
<#list executionflow.Lines as line>
|
||||||
|
|
||||||
@ -61,7 +62,6 @@
|
|||||||
}<#sep>,</#sep>
|
}<#sep>,</#sep>
|
||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user