From d3cb8ecc156a7464ffce17a547cad2506f006f29 Mon Sep 17 00:00:00 2001 From: Francis Reat Date: Tue, 20 Jan 2026 15:09:51 +0100 Subject: [PATCH] rollback --- RFXtoRP_HliAntRecLr.ftl | 49 --------------------------------------- RFXtoRP_HsrAntRec.ftl | 51 ----------------------------------------- 2 files changed, 100 deletions(-) delete mode 100644 RFXtoRP_HliAntRecLr.ftl delete mode 100644 RFXtoRP_HsrAntRec.ftl diff --git a/RFXtoRP_HliAntRecLr.ftl b/RFXtoRP_HliAntRecLr.ftl deleted file mode 100644 index 295e220..0000000 --- a/RFXtoRP_HliAntRecLr.ftl +++ /dev/null @@ -1,49 +0,0 @@ -<#-- **** input parameters ***** --> -<#-- input : message HARDIS WMS --> -<#-- project : projectId in HARDIS SC NETWORK --> -<#-- organisation : organisationtId in HARDIS SC NETWORK --> - -<#assign cloudEventMsg = JsonUtil.jsonToMap(input)> -<#assign projectRP = project> -<#assign organisationRP = organisation> - -<#assign aDateTime = .now> - -<#switch cloudEventMsg.action> - <#case "C"> - <#-- *********************************************** Action = CREATE ******************** --> - <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> - <#assign ancReceiptLine = JsonUtil.jsonToMap(dataRfx)> - [ - { - <#stop "create anticipated receipt line"> - } - ] - <#break> - <#case "U"> - <#-- *********************************************** Action = UPDATE ******************** --> - <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> - <#assign ancReceiptLine = JsonUtil.jsonToMap(dataRfx)> - [ - { - <#stop "update anticipated receipt line"> - } - ] - <#break> - - <#case "D"> - <#-- *********************************************** Action = DELETE ******************** --> - <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> - <#assign ancReceiptLine = JsonUtil.jsonToMap(dataRfx)> - [ - { - <#stop "delete anticipated receipt line"> - } - ] - <#break> - - - <#default> - <#stop > - - diff --git a/RFXtoRP_HsrAntRec.ftl b/RFXtoRP_HsrAntRec.ftl deleted file mode 100644 index 882f36a..0000000 --- a/RFXtoRP_HsrAntRec.ftl +++ /dev/null @@ -1,51 +0,0 @@ -<#-- **** input parameters ***** --> -<#-- input : message HARDIS WMS --> -<#-- project : projectId in HARDIS SC NETWORK --> -<#-- organisation : organisationtId in HARDIS SC NETWORK --> - -<#assign cloudEventMsg = JsonUtil.jsonToMap(input)> -<#assign projectRP = project> -<#assign organisationRP = organisation> - -<#assign aDateTime = .now> - -<#switch cloudEventMsg.action> - <#case "C"> - <#-- *********************************************** Action = CREATE ******************** --> - - <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> - <#assign ancReceipt = JsonUtil.jsonToMap(dataRfx)> - [ - { - <#stop "create anticipated receipt"> - } - ] - <#break> - <#case "U"> - <#-- *********************************************** Action = UPDATE ******************** --> - <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> - <#assign ancReceipt = JsonUtil.jsonToMap(dataRfx)> - [ - { - <#stop "update anticipated receipt"> - } - ] - <#break> - - <#case "D"> - <#-- *********************************************** Action = DELETE ******************** --> - <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> - <#assign ancReceipt = JsonUtil.jsonToMap(dataRfx)> - [ - { - - <#stop "delete anticipated receipt"> - } - ] - <#break> - - - <#default> - <#stop > - -