40 lines
1.2 KiB
Java
40 lines
1.2 KiB
Java
<#include "HfRpConfig.ftl">
|
|
<#include "ReflexUtils.ftl">
|
|
<#include "ActorPrefix.ftl">
|
|
[
|
|
{
|
|
"Header": {
|
|
"ProjectID": "${projectRP}"
|
|
},
|
|
"Payload" :{},
|
|
"ID":{
|
|
"CustomFields": [
|
|
{
|
|
"Key": "depot_code",
|
|
"Value": "${receipt.physical_depot_code?trim?json_string}"
|
|
},
|
|
{
|
|
"Key": "activity_code",
|
|
"Value": "${receipt.activity_code?trim?json_string}"
|
|
},
|
|
{
|
|
"Key": "originator_code",
|
|
"Value": "${receipt.originator_code?trim?json_string}"
|
|
},
|
|
{
|
|
"Key": "reference",
|
|
"Value": "${receipt.receipt_reference?trim?json_string}"
|
|
},
|
|
{
|
|
"Key": "order_year",
|
|
"Value": "${receipt.receipt_year}"
|
|
},
|
|
{
|
|
"Key": "order_number",
|
|
"Value": "${receipt.receipt_number}"
|
|
}
|
|
],
|
|
"RefID": "R${receipt.physical_depot_code?trim?json_string}${receipt.activity_code?trim?json_string}${receipt.originator_code?trim?json_string}${receipt.receipt_year}${receipt.receipt_number}"
|
|
}
|
|
}
|
|
] |