You've already forked reflex-wms-connector
25 lines
909 B
Java
25 lines
909 B
Java
<#include "HfRpConfig.ftl">
|
|
<#include "ReflexUtils.ftl">
|
|
<#--<#assign receipt_status_datetime = RfxDateTimetoUTCWithTimezone(receipt.creation_datetime,time_zone_rfx) /> -->
|
|
<#assign now = .now?string("yyyy-MM-dd'T'HH:mm:ss'Z'") />
|
|
[
|
|
{
|
|
"Header": {
|
|
"ProjectID": "${projectRP}"
|
|
},
|
|
"ID": {
|
|
<#if AncReceipt.anticipated_receipt_reference?? && AncReceipt.anticipated_receipt_reference!="">
|
|
"RefID": "${AncReceipt.anticipated_receipt_reference?json_string}",
|
|
<#else>
|
|
"RefID": "AR-${AncReceipt.physical_depot_code?json_string}${AncReceipt.activity_code?json_string}${AncReceipt.originator_code?json_string}${AncReceipt.anticipated_receipt_year?json_string}${AncReceipt.anticipated_receipt_number?json_string}",
|
|
</#if>
|
|
"RefDate": {
|
|
"DateTime": "${now}",
|
|
"AuthorTimeZone": "${time_zone_rfx}"
|
|
}
|
|
},
|
|
|
|
"Payload": {}
|
|
|
|
}
|
|
] |