39 lines
1.3 KiB
Java
39 lines
1.3 KiB
Java
[
|
|
{
|
|
"Header": {
|
|
"ProjectID": "${projectRP}"
|
|
},
|
|
"ID": {
|
|
"RefID": "${actor.code}"
|
|
},
|
|
|
|
"Payload": {
|
|
"Name": "${actor.designation}",
|
|
"ManagedStock": false,
|
|
"IsCarrier": false,
|
|
<#-- ***Partner ID could be added here *** -->
|
|
<#-- "PartnerID": "${}", -->
|
|
|
|
<#--
|
|
<#include "RFXtoRP_HsaSup_ActorCreated_Metadata.ftl">,
|
|
-->
|
|
|
|
"Address":
|
|
{
|
|
"Name": "${actor.supplier_structured_address.name_or_company}",
|
|
"StreetAddressOne" : "${actor.supplier_structured_address.street_and_PO}",
|
|
"StreetAddressTwo" : "${actor.supplier_structured_address.additionnal_data}",
|
|
"PostalCode" : "${actor.supplier_structured_address.postal_code}",
|
|
"City" : "${actor.supplier_structured_address.post_code_area_name}",
|
|
"CountryCode" : "${actor.supplier_structured_address.country_code}",
|
|
"ProvinceCode": "${actor.supplier_structured_address.territorial_div_code}",
|
|
"State": "${actor.supplier_structured_address.country_designation}"
|
|
},
|
|
"Phones": ["${actor.optional_attributes.telephone}",
|
|
"${actor.optional_attributes.other_number}"
|
|
],
|
|
"Typology": "TYPOLOGY_UNKNOWN"
|
|
}
|
|
}
|
|
]
|