You've already forked reflex-wms-connector
mise en forme
This commit is contained in:
@@ -1,39 +1,39 @@
|
||||
[
|
||||
{
|
||||
"Header": {
|
||||
"ProjectID": "${projectRP}"
|
||||
},
|
||||
"ID": {
|
||||
"RefID": "${depot.physical_depot_code}"
|
||||
},
|
||||
|
||||
"Payload": {
|
||||
"Name": "${depot.physical_depot_designation}",
|
||||
{
|
||||
"Header": {
|
||||
"ProjectID": "${projectRP}"
|
||||
},
|
||||
"ID": {
|
||||
"RefID": "${depot.physical_depot_code}"
|
||||
},
|
||||
|
||||
"Payload": {
|
||||
"Name": "${depot.physical_depot_designation}",
|
||||
"ManagedStock": true,
|
||||
"IsCarrier": false,
|
||||
<#-- ***Partner ID could be added here *** -->
|
||||
<#-- "PartnerID": "${}", -->
|
||||
|
||||
<#--
|
||||
<#include "RFXtoRP_HsrDepot_ActorCreated_Metadata.ftl">
|
||||
-->
|
||||
|
||||
"Address":
|
||||
{
|
||||
"StreetAddressOne" : "${depot.physical_depot_address.address_1}",
|
||||
"StreetAddressTwo" : "${depot.physical_depot_address.address_2}",
|
||||
<#-- ***Partner ID could be added here *** -->
|
||||
<#-- "PartnerID": "${}", -->
|
||||
|
||||
<#--
|
||||
<#include "RFXtoRP_HsrDepot_ActorCreated_Metadata.ftl">
|
||||
-->
|
||||
|
||||
"Address":
|
||||
{
|
||||
"StreetAddressOne" : "${depot.physical_depot_address.address_1}",
|
||||
"StreetAddressTwo" : "${depot.physical_depot_address.address_2}",
|
||||
|
||||
<#if depot.physical_depot_address.address_3?length < 10>
|
||||
<#if depot.physical_depot_address.address_3?length < 10>
|
||||
"PostalCode" : "${depot.physical_depot_address.address_3?trim}",
|
||||
<#else>
|
||||
"PostalCode" : "${depot.physical_depot_address.address_3?substring(0,9)?trim}",
|
||||
</#if>
|
||||
<#if depot.physical_depot_address.address_4?length < 14>
|
||||
</#if>
|
||||
<#if depot.physical_depot_address.address_4?length < 14>
|
||||
"CountryCode" : ""
|
||||
<#else>
|
||||
"CountryCode" : "${depot.physical_depot_address.address_4?substring(10,13)?trim}"
|
||||
</#if>
|
||||
}
|
||||
}
|
||||
}
|
||||
</#if>
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user