diff --git a/RFXtoRP_HsrPro_ExecutionflowDetected.ftl b/RFXtoRP_HsrPro_ExecutionflowDetected.ftl index 32d421c..5d38307 100644 --- a/RFXtoRP_HsrPro_ExecutionflowDetected.ftl +++ b/RFXtoRP_HsrPro_ExecutionflowDetected.ftl @@ -79,6 +79,7 @@ <#else> "Actor": { + <#include "RFXtoRP_HsrPro_ExecutionflowDetected_ShipToMetadata.ftl">, "Name" : "${(preparation_order.address.name_or_company_name!"")?json_string}", "Address" : { diff --git a/RFXtoRP_HsrPro_ExecutionflowDetected_ShipToMetadata.ftl b/RFXtoRP_HsrPro_ExecutionflowDetected_ShipToMetadata.ftl new file mode 100644 index 0000000..dcc2bc7 --- /dev/null +++ b/RFXtoRP_HsrPro_ExecutionflowDetected_ShipToMetadata.ftl @@ -0,0 +1,10 @@ +<#-- use protobuf of class HsrPro to find HARDIS WMS fields names --> + +<#-- Best practices: + If the SK is of type: + - string: add ?json_string (e.g. "${stock.batch_1?json_string}") + - boolean: possible values: true and false + - datetime: expected format: 2025-10-30T10:12:10.000Z + - decimal number: the separator is a point (e.g. 10.5)--> + +"MetaData": [ ] \ No newline at end of file