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_intermediate": "false",
|
||||
"load_grouping": "${load_grouping}"
|
||||
},
|
||||
}
|
||||
<#if actorID == defaultactor >
|
||||
,
|
||||
"address": {
|
||||
"type_code": "${typecode}",
|
||||
"title_code" : "${titlecode}",
|
||||
@ -66,9 +67,10 @@
|
||||
"postal_code": "${executionflow.ShipTo.Actor.Address.PostalCode!""}",
|
||||
"post_code_area_name" : "${executionflow.ShipTo.Actor.Address.City!""}",
|
||||
"iso_country_code": "${executionflow.ShipTo.Actor.Address.CountryCode!""}"
|
||||
},
|
||||
}
|
||||
</#if>
|
||||
<#if executionflow.Lines??>
|
||||
,
|
||||
"line_list": [
|
||||
<#list executionflow.Lines as line>
|
||||
<#-- ******* line MetaData and Segmentationkeys to maps ******** -->
|
||||
@ -100,7 +102,8 @@
|
||||
}
|
||||
<#sep>,</#sep>
|
||||
</#list>
|
||||
</#if>
|
||||
]
|
||||
</#if>
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,9 +25,10 @@
|
||||
</#if>
|
||||
"carrier_appointment_made": "false",
|
||||
"receipt_in_cross_docking": "false",
|
||||
"dock_occupation_duration": 1,
|
||||
"dock_occupation_duration": 1
|
||||
|
||||
<#if executionflow.Lines??>
|
||||
,
|
||||
"line_list": [
|
||||
<#list executionflow.Lines as line>
|
||||
|
||||
@ -62,6 +63,5 @@
|
||||
</#list>
|
||||
]
|
||||
</#if>
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user