Modifs Optional_attributes

This commit is contained in:
Laurie MONTANT 2025-08-07 10:58:08 +02:00
parent 499a16796a
commit 18ac89f664
4 changed files with 22 additions and 13 deletions

View File

@ -105,13 +105,6 @@
"batch_1": "${batch_1?json_string}", "batch_1": "${batch_1?json_string}",
"base_lv_quantity": "true", "base_lv_quantity": "true",
"any_lv": "false" "any_lv": "false"
<#--
"stock_reservation": "false",
"forced_priority_date_min_lead_time": "false",
"temp_substitution_possible": "false",
"substitution_possible": "false"
-->
} }
<#sep>,</#sep> <#sep>,</#sep>
</#list> </#list>

View File

@ -55,7 +55,11 @@
"level_1_quantity": ${line.RequestedMetrics.QuantityInBaseLV.Value!0}, "level_1_quantity": ${line.RequestedMetrics.QuantityInBaseLV.Value!0},
"owner_code": "${owner_code}", "owner_code": "${owner_code}",
"grade_code": "${grade_code}", "grade_code": "${grade_code}",
"batch_1": "${batch_1?json_string!""}" "batch_1": "${batch_1?json_string!""}",
"optional_attributes": {
<#include "RPtoRFX_Receipt_OptionalAttributes.ftl">
"hold_for_specific_code": "false"
}
}<#sep>,</#sep> }<#sep>,</#sep>
</#list> </#list>
] ]

View File

@ -14,8 +14,4 @@
} }
] ]
</#if>, </#if>,
--> -->
"optional_attributes": {
"hold_for_specific_code": "false"
},

View File

@ -0,0 +1,16 @@
<#-- Here are the fields that can be added
"batch_2": "string",
"batch_3": "string",
"anticipated_receipt_line_activity_code": "str",
"anticipated_receipt_line_physical_depot_code": "str",
"anticipated_receipt_line_originator_code": "string",
"anticipated_receipt_reference": "string",
"anticipated_receipt_planned_date": "0000-00-00",
"anticipated_receipt_reference_line_no": 999999,
"reservation_consignee_code": "string",
"reservation_consignee_group_code": "string",
"pro_reservation_reference": "string",
"held_for_check": "false",
"held_for_repacking": "false",
"hold_code": "str"
-->