SCPN1-9577

This commit is contained in:
Laurie MONTANT 2025-10-30 14:47:34 +01:00
parent 0adef4a1f3
commit bfbf654ee2
20 changed files with 126 additions and 26 deletions

View File

@ -1,6 +1,12 @@
<#-- use protobuf of class HfDtlStockLs to find HARDIS WMS fields names --> <#-- use protobuf of class HfDtlStockLs 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)
"SegmentationKeys": [ "SegmentationKeys": [
{ {
@ -16,7 +22,7 @@
<#if stock.batch_1 == ""> <#if stock.batch_1 == "">
"Value": { "String" : "no batch"} "Value": { "String" : "no batch"}
<#else> <#else>
"Value": { "String" : "${stock.batch_1}"} "Value": { "String" : "${stock.batch_1?json_string}"}
</#if> </#if>
}, },
{ {

View File

@ -1,4 +1,10 @@
<#-- use protobuf of class HsaCarrier to find HARDIS WMS fields names --> <#-- use protobuf of class HsaCarrier 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": [ ] "MetaData": [ ]

View File

@ -1,4 +1,10 @@
<#-- use protobuf of class HsaCons to find HARDIS WMS fields names --> <#-- use protobuf of class HsaCons 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": [ ] "MetaData": [ ]

View File

@ -1,4 +1,10 @@
<#-- use protobuf of class HsaDispute to find HARDIS WMS fields names --> <#-- use protobuf of class HsaDispute 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": [ ] "MetaData": [ ]

View File

@ -1,7 +1,12 @@
<#-- use protobuf of class HsaIpgMove to find HARDIS WMS fields names --> <#-- use protobuf of class HsaIpgMove 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)
"SegmentationKeys": [ "SegmentationKeys": [
{ {

View File

@ -1,5 +1,11 @@
<#-- use protobuf of class HsaIpgMove to find HARDIS WMS fields names --> <#-- use protobuf of class HsaIpgMove 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)
"SegmentationKeys": [ "SegmentationKeys": [
{ {
"Key": "Grade", "Key": "Grade",

View File

@ -1,4 +1,10 @@
<#-- use protobuf of class HsaItmLv to find HARDIS WMS fields names --> <#-- use protobuf of class HsaItmLv 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": [ ] "MetaData": [ ]

View File

@ -1,4 +1,10 @@
<#-- use protobuf of class HsaItm to find HARDIS WMS fields names --> <#-- use protobuf of class HsaItm 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": [ ] "MetaData": [ ]

View File

@ -1,4 +1,10 @@
<#-- use protobuf of class HsaItm to find HARDIS WMS fields names --> <#-- use protobuf of class HsaItm 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": [ ] "MetaData": [ ]

View File

@ -1,4 +1,10 @@
<#-- use protobuf of class HsaSup to find HARDIS WMS fields names --> <#-- use protobuf of class HsaSup 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": [ ] "MetaData": [ ]

View File

@ -1,4 +1,10 @@
<#-- use protobuf of class HsrDepot to find HARDIS WMS fields names --> <#-- use protobuf of class HsrDepot 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": [ ] "MetaData": [ ]

View File

@ -1,7 +1,10 @@
<#-- use protobuf of class HsrPrepa to find HARDIS WMS fields names --> <#-- use protobuf of class HsrPrepa to find HARDIS WMS fields names -->
<#-- <#-- Best practices:
"MetaData" :[ 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": [ ] "MetaData": [ ]

View File

@ -1,5 +1,11 @@
<#-- use protobuf of class Hsrprepa to find HARDIS WMS fields names --> <#-- use protobuf of class Hsrprepa 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)
"SegmentationKeys": [ "SegmentationKeys": [
{ {
"Key": "Grade", "Key": "Grade",

View File

@ -1,9 +1,10 @@
<#-- use protobuf of class HsrPrepa to find HARDIS WMS fields names --> <#-- use protobuf of class HsrPrepa to find HARDIS WMS fields names -->
<#-- <#-- Best practices:
"MetaData" :[ 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": [ ] "MetaData": [ ]

View File

@ -1,14 +1,10 @@
<#-- use protobuf of class HsrPro to find HARDIS WMS fields names --> <#-- use protobuf of class HsrPro to find HARDIS WMS fields names -->
<#-- <#-- Best practices:
If the SK is of type:
"MetaData": [ - string: add ?json_string (e.g. "${stock.batch_1?json_string}")
{ - boolean: possible values: true and false
"Key": "OrderType", - datetime: expected format: 2025-10-30T10:12:10.000Z
"Value": { "String" : "${preparation_order.optional_attributes.reason_code}"} - decimal number: the separator is a point (e.g. 10.5)-->
}
],
-->
"MetaData": [ ] "MetaData": [ ]

View File

@ -1,4 +1,10 @@
<#-- use protobuf of class HsrPro to find HARDIS WMS fields names --> <#-- 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": [ ] "MetaData": [ ]

View File

@ -1,5 +1,11 @@
<#-- use protobuf of class HsrPro to find HARDIS WMS fields names --> <#-- 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)
"SegmentationKeys": [ "SegmentationKeys": [
{ {

View File

@ -1,7 +1,12 @@
<#-- use protobuf of class HsrReceiptList to find HARDIS WMS fields names --> <#-- use protobuf of class HsrReceiptList 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": [ "MetaData": [
{ {
"Key": "OrderType", "Key": "OrderType",

View File

@ -1,4 +1,10 @@
<#-- use protobuf of class HsrReceiptList to find HARDIS WMS fields names --> <#-- use protobuf of class HsrReceiptList 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": [ ] "MetaData": [ ]

View File

@ -1,6 +1,12 @@
<#-- use protobuf of class HsrReceiptList to find HARDIS WMS fields names --> <#-- use protobuf of class HsrReceiptList 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)
"SegmentationKeys": [ "SegmentationKeys": [
{ {
"Key": "Grade", "Key": "Grade",
@ -16,7 +22,7 @@
"Value": { "String" : "no batch"} "Value": { "String" : "no batch"}
<#else> <#else>
"Value": { "String" : "${line_without_detail.batch_1}"} "Value": { "String" : "${line_without_detail.batch_1}"}
</#if> </#if>
}, },
{ {
"Key": "HeldForSpecificCode", "Key": "HeldForSpecificCode",
@ -25,15 +31,15 @@
<#else> <#else>
"Value": { "Bool" : "False"} "Value": { "Bool" : "False"}
}, },
{ {
<#assign manufacturing_date = line_without_detail.ipg_date_of_manufacture_date?datetime(rfx_date_format_default)?iso_utc /> <#assign manufacturing_date = line_without_detail.ipg_date_of_manufacture_date?datetime(rfx_date_format_default)?iso_utc />
"Key": "ManufacturingDate", "Key": "ManufacturingDate",
"Value": "Timestamp": { "Value": "Timestamp": {
"AuthorTimeZone": "${time_zone_rfx}", "AuthorTimeZone": "${time_zone_rfx}",
"DateTime": "${manufacturing_date}" "DateTime": "${manufacturing_date}"
} }
} }
] ]