You've already forked reflex-wms-connector
SCPN1-10100
This commit is contained in:
21
RPtoRFX_CarrierAppointmentDataUpdated.ftl
Normal file
21
RPtoRFX_CarrierAppointmentDataUpdated.ftl
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<#-- Note : you can use Order Line Metadata, using the define map : Line_MetaData_Map -->
|
||||||
|
<#-- Note : you can use Order Line Segmentation keys, using the define map : SegmentationKeys_Map -->
|
||||||
|
|
||||||
|
<#-- How to use MD or SK map
|
||||||
|
<#if appointment.CarrierInformation??>
|
||||||
|
<#assign CarrierInformation_Map = JsonUtil.sequenceToMap(appointment.CarrierInformation, "Key", "Value") />
|
||||||
|
<#if CarrierInformation_Map["Immatriculation"]??>
|
||||||
|
<#assign registration_number1 = CarrierInformation_Map["Immatriculation"].String!""/>
|
||||||
|
"registration_number":"${registration_number1}",
|
||||||
|
<#else>
|
||||||
|
"registration_number":"no plate number",
|
||||||
|
</#if>
|
||||||
|
</#if>
|
||||||
|
|
||||||
|
If your SK is :
|
||||||
|
Boolean : .Bool
|
||||||
|
Float : .Float
|
||||||
|
Timestamp : .Timestamp.DateTime or .Timestamp.AuthorTimeZone
|
||||||
|
Int : .Int
|
||||||
|
String : .String
|
||||||
|
-->
|
||||||
Reference in New Issue
Block a user