Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "code": "2A4A",
- "flow": "card-authorization-reversal",
- "inputSchema": "DT2A4A",
- "root": {
- "id": "2A4A_I_0",
- "title": "Does RBS exist?",
- "condition": "true",
- "children": [
- {
- "id": "2A4A_K_0",
- "title": "Does the transaction group Id exists?",
- "condition": "CardExistsByRBS(IN.RbsNumber)",
- "logic": [
- "Define(`MAIN`, GetMainAcc())",
- "Define(`balance`, Balance(MAIN.InternalName))",
- "Define(`RBS`, DecodeRBS(IN.RbsNumber))",
- "Define(`CARD`, GetCard(RBS.ProductID))",
- "Define(`PARAMETERS`, ReadAs(GetLastRowByName(`PARAMETERS`), `Parameters`))",
- "Define(`FULLNAME`, CARD.FirstName # ` ` # CARD.LastName)",
- "Define(`ADDRESS`, CARD.AddressLine)",
- "Define(`FirstRow`, GetFirstByTransactionGroupID(IN.TransactionGroupId))",
- "Define(`LastRow`, GetLastByTransactionGroupID(IN.TransactionGroupId))",
- "Define(`RECONCILIATION_ID`,T24.GenerateTemenosID())",
- "Define(`RECONCILIATION_ID_2`,T24.GenerateTemenosID())"
- ],
- "predecessors": [
- "2A4A_I_0"
- ],
- "children": [
- {
- "id": "2A4A_M_0",
- "title": "Is there a matching transaction",
- "condition": "!IsEmpty(IN.TransactionGroupId)",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0"
- ],
- "children": [
- {
- "id": "2A4A_O_0",
- "title": "New amount decreases transaction?",
- "condition": "!IsEmpty(FirstRow)",
- "logic": [
- "Define(`ROWAMOUNT`, IsEmpty(LastRow.NewAmount) ? LastRow.Amount.Amount: LastRow.NewAmount)",
- "Define(`AMOUNTOK`, IN.NewAmount.Amount \u003e= Decimal(0) \u0026\u0026 IN.NewAmount.Amount \u003c ROWAMOUNT \u0026\u0026 FirstRow.Amount.Currency == IN.NewAmount.Currency)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0"
- ],
- "children": [
- {
- "id": "2A4A_Q_0",
- "title": "Decrement counter?",
- "condition": "AMOUNTOK",
- "logic": [
- "Define(`MyDate`, Time.Parse(LastRow.TransmissionTime))",
- "Define(`Today`, Time.Today())",
- "Define(`BOOK_DATE`, GetBookingDate())",
- "Define(`IsSameMonth`, BOOK_DATE.Month() == MyDate.Month())"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0"
- ],
- "children": [
- {
- "id": "2A4A_S_0",
- "title": "Use OVD?",
- "condition": "IsSameMonth",
- "logic": [
- "Define(`CONDITIONFLAG`, MAIN.OverdraftFlag == true)",
- "Define(`BALANCE`, Balance(MAIN.InternalName))",
- "Define(`BALANCECONDITION`, BALANCE.Amount \u003e= Decimal(0))",
- "Define(`CONDITIONUSE`, CONDITIONFLAG \u0026\u0026 !BALANCECONDITION)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0"
- ],
- "children": [
- {
- "id": "2A4A_U_0",
- "title": "What is the currency of transaction - is this a home transaction",
- "condition": "!CONDITIONUSE",
- "logic": [
- "Define(`MerchantName`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Name : IN.MerchantData.Name)",
- "Define(`MerchantLocation`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Address.City : IN.MerchantData.Address.City)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0"
- ],
- "children": [
- {
- "id": "2A4A_W_0",
- "title": "Is this a full reversal",
- "condition": "IN.NewAmount.Currency == MAIN.Currency",
- "logic": [
- "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0"
- ],
- "children": [
- {
- "id": "2A4A_Y_0",
- "title": "Is this partial reversal amount",
- "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
- "logic": [
- "Define(`NewStandingAmount`, IN.NewAmount)",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_0"
- ],
- "children": [
- {
- "id": "2A4A_AA_0",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.10",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_0",
- "2A4A_Y_0"
- ]
- },
- {
- "id": "2A4A_AA_1",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.20",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_0",
- "2A4A_Y_0"
- ]
- }
- ]
- },
- {
- "id": "2A4A_Y_2",
- "title": "Is this full reversal amount",
- "condition": "IN.UpdateType == `REVERSAL`",
- "logic": [
- "Define(`NewStandingAmount`, IN.NewAmount)",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_0"
- ],
- "children": [
- {
- "id": "2A4A_AA_2",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.30",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_0",
- "2A4A_Y_2"
- ]
- },
- {
- "id": "2A4A_AA_3",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.40",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_0",
- "2A4A_Y_2"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_W_4",
- "title": "Is this a full reversal",
- "condition": "IN.NewAmount.Currency != MAIN.Currency",
- "logic": [
- "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0"
- ],
- "children": [
- {
- "id": "2A4A_Y_4",
- "title": "What is the transaction rate source",
- "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4"
- ],
- "children": [
- {
- "id": "2A4A_AA_4",
- "title": "Is this partial reversal amount",
- "condition": "FirstRow.TransactionRateSource == `FX`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_4"
- ],
- "children": [
- {
- "id": "2A4A_AC_4",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.50",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_4",
- "2A4A_AA_4"
- ]
- },
- {
- "id": "2A4A_AC_5",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.60",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_4",
- "2A4A_AA_4"
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_6",
- "title": "Is this partial reversal amount",
- "condition": "FirstRow.TransactionRateSource == `MC`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_4"
- ],
- "children": [
- {
- "id": "2A4A_AC_6",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.70",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_4",
- "2A4A_AA_6"
- ]
- },
- {
- "id": "2A4A_AC_7",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.80",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_4",
- "2A4A_AA_6"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_Y_8",
- "title": "What is the transaction rate source",
- "condition": "IN.UpdateType == `REVERSAL`",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4"
- ],
- "children": [
- {
- "id": "2A4A_AA_8",
- "title": "Is this full reversal amount",
- "condition": "FirstRow.TransactionRateSource == `FX`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_8"
- ],
- "children": [
- {
- "id": "2A4A_AC_8",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.90",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_8",
- "2A4A_AA_8"
- ]
- },
- {
- "id": "2A4A_AC_9",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.100",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_8",
- "2A4A_AA_8"
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_10",
- "title": "Is this full reversal amount",
- "condition": "FirstRow.TransactionRateSource == `MC`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_8"
- ],
- "children": [
- {
- "id": "2A4A_AC_10",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.110",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_8",
- "2A4A_AA_10"
- ]
- },
- {
- "id": "2A4A_AC_11",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.120",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_0",
- "2A4A_W_4",
- "2A4A_Y_8",
- "2A4A_AA_10"
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_U_12",
- "title": "What is the currency of transaction - is this a home transaction",
- "condition": "CONDITIONUSE",
- "logic": [
- "Define(`MerchantName`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Name : IN.MerchantData.Name)",
- "Define(`MerchantLocation`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Address.City : IN.MerchantData.Address.City)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0"
- ],
- "children": [
- {
- "id": "2A4A_W_12",
- "title": "Is this a full reversal",
- "condition": "IN.NewAmount.Currency == MAIN.Currency",
- "logic": [
- "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12"
- ],
- "children": [
- {
- "id": "2A4A_Y_12",
- "title": "Is this partial reversal amount",
- "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
- "logic": [
- "Define(`NewStandingAmount`, IN.NewAmount)",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12"
- ],
- "children": [
- {
- "id": "2A4A_AA_12",
- "title": "Call T24?",
- "condition": "!IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_12"
- ],
- "children": [
- {
- "id": "2A4A_AC_12",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.130",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_12",
- "2A4A_AA_12"
- ]
- },
- {
- "id": "2A4A_AC_13",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_12",
- "2A4A_AA_12"
- ],
- "children": [
- {
- "id": "2A4A_AE_13",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.140",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_12",
- "2A4A_AA_12",
- "2A4A_AC_13"
- ]
- },
- {
- "id": "2A4A_AE_14",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.150",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_12",
- "2A4A_AA_12",
- "2A4A_AC_13"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_15",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.160",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_12"
- ]
- }
- ]
- },
- {
- "id": "2A4A_Y_16",
- "title": "Is this full reversal amount",
- "condition": "IN.UpdateType == `REVERSAL`",
- "logic": [
- "Define(`NewStandingAmount`, IN.NewAmount)",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12"
- ],
- "children": [
- {
- "id": "2A4A_AA_16",
- "title": "Call T24?",
- "condition": "IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_16"
- ],
- "children": [
- {
- "id": "2A4A_AC_16",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.170",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_16",
- "2A4A_AA_16"
- ]
- },
- {
- "id": "2A4A_AC_17",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_16",
- "2A4A_AA_16"
- ],
- "children": [
- {
- "id": "2A4A_AE_17",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.180",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_16",
- "2A4A_AA_16",
- "2A4A_AC_17"
- ]
- },
- {
- "id": "2A4A_AE_18",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.190",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_16",
- "2A4A_AA_16",
- "2A4A_AC_17"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_19",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.200",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_12",
- "2A4A_Y_16"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_W_20",
- "title": "Is this a full reversal",
- "condition": "IN.NewAmount.Currency != MAIN.Currency",
- "logic": [
- "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12"
- ],
- "children": [
- {
- "id": "2A4A_Y_20",
- "title": "What is the transaction rate source",
- "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20"
- ],
- "children": [
- {
- "id": "2A4A_AA_20",
- "title": "Is this partial reversal amount",
- "condition": "FirstRow.TransactionRateSource == `FX`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20"
- ],
- "children": [
- {
- "id": "2A4A_AC_20",
- "title": "Call T24?",
- "condition": "!IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_20"
- ],
- "children": [
- {
- "id": "2A4A_AE_20",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.210",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_20",
- "2A4A_AC_20"
- ]
- },
- {
- "id": "2A4A_AE_21",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_20",
- "2A4A_AC_20"
- ],
- "children": [
- {
- "id": "2A4A_AG_21",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.220",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_20",
- "2A4A_AC_20",
- "2A4A_AE_21"
- ]
- },
- {
- "id": "2A4A_AG_22",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.230",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_20",
- "2A4A_AC_20",
- "2A4A_AE_21"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AC_23",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.240",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_20"
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_24",
- "title": "Is this partial reversal amount",
- "condition": "FirstRow.TransactionRateSource == `MC`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20"
- ],
- "children": [
- {
- "id": "2A4A_AC_24",
- "title": "Call T24?",
- "condition": "!IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_24"
- ],
- "children": [
- {
- "id": "2A4A_AE_24",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.250",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_24",
- "2A4A_AC_24"
- ]
- },
- {
- "id": "2A4A_AE_25",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_24",
- "2A4A_AC_24"
- ],
- "children": [
- {
- "id": "2A4A_AG_25",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.260",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_24",
- "2A4A_AC_24",
- "2A4A_AE_25"
- ]
- },
- {
- "id": "2A4A_AG_26",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.270",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_24",
- "2A4A_AC_24",
- "2A4A_AE_25"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AC_27",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.280",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_20",
- "2A4A_AA_24"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_Y_28",
- "title": "What is the transaction rate source",
- "condition": "IN.UpdateType == `REVERSAL`",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20"
- ],
- "children": [
- {
- "id": "2A4A_AA_28",
- "title": "Is this full reversal amount",
- "condition": "FirstRow.TransactionRateSource == `FX`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28"
- ],
- "children": [
- {
- "id": "2A4A_AC_28",
- "title": "Call T24?",
- "condition": "IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_28"
- ],
- "children": [
- {
- "id": "2A4A_AE_28",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.290",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_28",
- "2A4A_AC_28"
- ]
- },
- {
- "id": "2A4A_AE_29",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_28",
- "2A4A_AC_28"
- ],
- "children": [
- {
- "id": "2A4A_AG_29",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.300",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_28",
- "2A4A_AC_28",
- "2A4A_AE_29"
- ]
- },
- {
- "id": "2A4A_AG_30",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.310",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_28",
- "2A4A_AC_28",
- "2A4A_AE_29"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AC_31",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.320",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_28"
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_32",
- "title": "Is this full reversal amount",
- "condition": "FirstRow.TransactionRateSource == `MC`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28"
- ],
- "children": [
- {
- "id": "2A4A_AC_32",
- "title": "Call T24?",
- "condition": "IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_32"
- ],
- "children": [
- {
- "id": "2A4A_AE_32",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.330",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_32",
- "2A4A_AC_32"
- ]
- },
- {
- "id": "2A4A_AE_33",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_32",
- "2A4A_AC_32"
- ],
- "children": [
- {
- "id": "2A4A_AG_33",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.340",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_32",
- "2A4A_AC_32",
- "2A4A_AE_33"
- ]
- },
- {
- "id": "2A4A_AG_34",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.350",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_32",
- "2A4A_AC_32",
- "2A4A_AE_33"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AC_35",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.360",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_0",
- "2A4A_U_12",
- "2A4A_W_20",
- "2A4A_Y_28",
- "2A4A_AA_32"
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_S_36",
- "title": "Use OVD?",
- "condition": "!IsSameMonth",
- "logic": [
- "Define(`CONDITIONFLAG`, MAIN.OverdraftFlag == true)",
- "Define(`BALANCE`, Balance(MAIN.InternalName))",
- "Define(`BALANCECONDITION`, BALANCE.Amount \u003e= Decimal(0))",
- "Define(`CONDITIONUSE`, CONDITIONFLAG \u0026\u0026 !BALANCECONDITION)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0"
- ],
- "children": [
- {
- "id": "2A4A_U_36",
- "title": "What is the currency of transaction - is this a home transaction",
- "condition": "!CONDITIONUSE",
- "logic": [
- "Define(`MerchantName`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Name : IN.MerchantData.Name)",
- "Define(`MerchantLocation`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Address.City : IN.MerchantData.Address.City)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36"
- ],
- "children": [
- {
- "id": "2A4A_W_36",
- "title": "Is this a full reversal",
- "condition": "IN.NewAmount.Currency == MAIN.Currency",
- "logic": [
- "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36"
- ],
- "children": [
- {
- "id": "2A4A_Y_36",
- "title": "Is this partial reversal amount",
- "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
- "logic": [
- "Define(`NewStandingAmount`, IN.NewAmount)",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_36"
- ],
- "children": [
- {
- "id": "2A4A_AA_36",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.370",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_36",
- "2A4A_Y_36"
- ]
- },
- {
- "id": "2A4A_AA_37",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.380",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_36",
- "2A4A_Y_36"
- ]
- }
- ]
- },
- {
- "id": "2A4A_Y_38",
- "title": "Is this full reversal amount",
- "condition": "IN.UpdateType == `REVERSAL`",
- "logic": [
- "Define(`NewStandingAmount`, IN.NewAmount)",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_36"
- ],
- "children": [
- {
- "id": "2A4A_AA_38",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.390",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_36",
- "2A4A_Y_38"
- ]
- },
- {
- "id": "2A4A_AA_39",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.400",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_36",
- "2A4A_Y_38"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_W_40",
- "title": "Is this a full reversal",
- "condition": "IN.NewAmount.Currency != MAIN.Currency",
- "logic": [
- "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36"
- ],
- "children": [
- {
- "id": "2A4A_Y_40",
- "title": "What is the transaction rate source",
- "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40"
- ],
- "children": [
- {
- "id": "2A4A_AA_40",
- "title": "Is this partial reversal amount",
- "condition": "FirstRow.TransactionRateSource == `FX`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_40"
- ],
- "children": [
- {
- "id": "2A4A_AC_40",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.410",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_40",
- "2A4A_AA_40"
- ]
- },
- {
- "id": "2A4A_AC_41",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.420",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_40",
- "2A4A_AA_40"
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_42",
- "title": "Is this partial reversal amount",
- "condition": "FirstRow.TransactionRateSource == `MC`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_40"
- ],
- "children": [
- {
- "id": "2A4A_AC_42",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.430",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_40",
- "2A4A_AA_42"
- ]
- },
- {
- "id": "2A4A_AC_43",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.440",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_40",
- "2A4A_AA_42"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_Y_44",
- "title": "What is the transaction rate source",
- "condition": "IN.UpdateType == `REVERSAL`",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40"
- ],
- "children": [
- {
- "id": "2A4A_AA_44",
- "title": "Is this full reversal amount",
- "condition": "FirstRow.TransactionRateSource == `FX`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_44"
- ],
- "children": [
- {
- "id": "2A4A_AC_44",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.450",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_44",
- "2A4A_AA_44"
- ]
- },
- {
- "id": "2A4A_AC_45",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.460",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_44",
- "2A4A_AA_44"
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_46",
- "title": "Is this full reversal amount",
- "condition": "FirstRow.TransactionRateSource == `MC`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_44"
- ],
- "children": [
- {
- "id": "2A4A_AC_46",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.470",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_44",
- "2A4A_AA_46"
- ]
- },
- {
- "id": "2A4A_AC_47",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.480",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_36",
- "2A4A_W_40",
- "2A4A_Y_44",
- "2A4A_AA_46"
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_U_48",
- "title": "What is the currency of transaction - is this a home transaction",
- "condition": "CONDITIONUSE",
- "logic": [
- "Define(`MerchantName`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Name : IN.MerchantData.Name)",
- "Define(`MerchantLocation`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Address.City : IN.MerchantData.Address.City)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36"
- ],
- "children": [
- {
- "id": "2A4A_W_48",
- "title": "Is this a full reversal",
- "condition": "IN.NewAmount.Currency == MAIN.Currency",
- "logic": [
- "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48"
- ],
- "children": [
- {
- "id": "2A4A_Y_48",
- "title": "Is this partial reversal amount",
- "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
- "logic": [
- "Define(`NewStandingAmount`, IN.NewAmount)",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48"
- ],
- "children": [
- {
- "id": "2A4A_AA_48",
- "title": "Call T24?",
- "condition": "!IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_48"
- ],
- "children": [
- {
- "id": "2A4A_AC_48",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.490",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_48",
- "2A4A_AA_48"
- ]
- },
- {
- "id": "2A4A_AC_49",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_48",
- "2A4A_AA_48"
- ],
- "children": [
- {
- "id": "2A4A_AE_49",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.500",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_48",
- "2A4A_AA_48",
- "2A4A_AC_49"
- ]
- },
- {
- "id": "2A4A_AE_50",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.510",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_48",
- "2A4A_AA_48",
- "2A4A_AC_49"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_51",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.520",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_48"
- ]
- }
- ]
- },
- {
- "id": "2A4A_Y_52",
- "title": "Is this full reversal amount",
- "condition": "IN.UpdateType == `REVERSAL`",
- "logic": [
- "Define(`NewStandingAmount`, IN.NewAmount)",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48"
- ],
- "children": [
- {
- "id": "2A4A_AA_52",
- "title": "Call T24?",
- "condition": "IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_52"
- ],
- "children": [
- {
- "id": "2A4A_AC_52",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.530",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_52",
- "2A4A_AA_52"
- ]
- },
- {
- "id": "2A4A_AC_53",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_52",
- "2A4A_AA_52"
- ],
- "children": [
- {
- "id": "2A4A_AE_53",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.540",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_52",
- "2A4A_AA_52",
- "2A4A_AC_53"
- ]
- },
- {
- "id": "2A4A_AE_54",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.550",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_52",
- "2A4A_AA_52",
- "2A4A_AC_53"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_55",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.560",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_48",
- "2A4A_Y_52"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_W_56",
- "title": "Is this a full reversal",
- "condition": "IN.NewAmount.Currency != MAIN.Currency",
- "logic": [
- "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48"
- ],
- "children": [
- {
- "id": "2A4A_Y_56",
- "title": "What is the transaction rate source",
- "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56"
- ],
- "children": [
- {
- "id": "2A4A_AA_56",
- "title": "Is this partial reversal amount",
- "condition": "FirstRow.TransactionRateSource == `FX`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56"
- ],
- "children": [
- {
- "id": "2A4A_AC_56",
- "title": "Call T24?",
- "condition": "!IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_56"
- ],
- "children": [
- {
- "id": "2A4A_AE_56",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.570",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_56",
- "2A4A_AC_56"
- ]
- },
- {
- "id": "2A4A_AE_57",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_56",
- "2A4A_AC_56"
- ],
- "children": [
- {
- "id": "2A4A_AG_57",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.580",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_56",
- "2A4A_AC_56",
- "2A4A_AE_57"
- ]
- },
- {
- "id": "2A4A_AG_58",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.590",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_56",
- "2A4A_AC_56",
- "2A4A_AE_57"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AC_59",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.600",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_56"
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_60",
- "title": "Is this partial reversal amount",
- "condition": "FirstRow.TransactionRateSource == `MC`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56"
- ],
- "children": [
- {
- "id": "2A4A_AC_60",
- "title": "Call T24?",
- "condition": "!IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_60"
- ],
- "children": [
- {
- "id": "2A4A_AE_60",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.610",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_60",
- "2A4A_AC_60"
- ]
- },
- {
- "id": "2A4A_AE_61",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_60",
- "2A4A_AC_60"
- ],
- "children": [
- {
- "id": "2A4A_AG_61",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.620",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_60",
- "2A4A_AC_60",
- "2A4A_AE_61"
- ]
- },
- {
- "id": "2A4A_AG_62",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.630",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_60",
- "2A4A_AC_60",
- "2A4A_AE_61"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AC_63",
- "title": "End of logic leading to result",
- "condition": "IsFullReversal",
- "result": "Result.2A4A.640",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_56",
- "2A4A_AA_60"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_Y_64",
- "title": "What is the transaction rate source",
- "condition": "IN.UpdateType == `REVERSAL`",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56"
- ],
- "children": [
- {
- "id": "2A4A_AA_64",
- "title": "Is this full reversal amount",
- "condition": "FirstRow.TransactionRateSource == `FX`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64"
- ],
- "children": [
- {
- "id": "2A4A_AC_64",
- "title": "Call T24?",
- "condition": "IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_64"
- ],
- "children": [
- {
- "id": "2A4A_AE_64",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.650",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_64",
- "2A4A_AC_64"
- ]
- },
- {
- "id": "2A4A_AE_65",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_64",
- "2A4A_AC_64"
- ],
- "children": [
- {
- "id": "2A4A_AG_65",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.660",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_64",
- "2A4A_AC_64",
- "2A4A_AE_65"
- ]
- },
- {
- "id": "2A4A_AG_66",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.670",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_64",
- "2A4A_AC_64",
- "2A4A_AE_65"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AC_67",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.680",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_64"
- ]
- }
- ]
- },
- {
- "id": "2A4A_AA_68",
- "title": "Is this full reversal amount",
- "condition": "FirstRow.TransactionRateSource == `MC`",
- "logic": [
- "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
- "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
- "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64"
- ],
- "children": [
- {
- "id": "2A4A_AC_68",
- "title": "Call T24?",
- "condition": "IsFullReversal",
- "logic": [
- "Define(`REVO`, GetOverdraft())",
- "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
- "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_68"
- ],
- "children": [
- {
- "id": "2A4A_AE_68",
- "title": "End of logic leading to result",
- "condition": "UNAUTHORIZED",
- "result": "Result.2A4A.690",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_68",
- "2A4A_AC_68"
- ]
- },
- {
- "id": "2A4A_AE_69",
- "title": "Set MaturityDate?",
- "condition": "!UNAUTHORIZED",
- "logic": [
- "Define(`CustomerPackage`, GetCustomerPackage())",
- "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
- "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
- "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
- "Define(`REVOBOOKAMOUNT`, FUNDS.AvailableFunds.Amount \u003c Decimal(0) ? ReversalAmount.Amount + FUNDS.AvailableFunds.Amount : (FUNDS.Balance.Amount + ReversalAmount.Amount \u003e Decimal(0) ? FUNDS.UsedOverdraft.Amount : ReversalAmount.Amount))",
- "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
- "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
- "Define(`BOOKING_DATE`, GetBookingDate())",
- "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
- "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_68",
- "2A4A_AC_68"
- ],
- "children": [
- {
- "id": "2A4A_AG_69",
- "title": "End of logic leading to result",
- "condition": "RESETDATE",
- "result": "Result.2A4A.700",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_68",
- "2A4A_AC_68",
- "2A4A_AE_69"
- ]
- },
- {
- "id": "2A4A_AG_70",
- "title": "End of logic leading to result",
- "condition": "!RESETDATE",
- "result": "Result.2A4A.710",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_68",
- "2A4A_AC_68",
- "2A4A_AE_69"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_AC_71",
- "title": "End of logic leading to result",
- "condition": "!IsFullReversal",
- "result": "Result.2A4A.720",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0",
- "2A4A_Q_0",
- "2A4A_S_36",
- "2A4A_U_48",
- "2A4A_W_56",
- "2A4A_Y_64",
- "2A4A_AA_68"
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_Q_72",
- "title": "End of logic leading to result",
- "condition": "!AMOUNTOK",
- "result": "Result.2A4A.730",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0",
- "2A4A_O_0"
- ]
- }
- ]
- },
- {
- "id": "2A4A_O_73",
- "title": "End of logic leading to result",
- "condition": "IsEmpty(FirstRow)",
- "result": "Result.2A4A.740",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_0"
- ]
- }
- ]
- },
- {
- "id": "2A4A_M_74",
- "title": "Provide transaction Group Id",
- "condition": "IsEmpty(IN.TransactionGroupId)",
- "logic": [
- "Define(`GROUP_ID`,T24.GenerateTemenosID())"
- ],
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0"
- ],
- "children": [
- {
- "id": "2A4A_O_74",
- "title": "End of logic leading to result",
- "condition": "true",
- "result": "Result.2A4A.750",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_74"
- ]
- },
- {
- "id": "2A4A_O_75",
- "title": "End of logic leading to result",
- "condition": "false",
- "result": "Result.2A4A.760",
- "predecessors": [
- "2A4A_I_0",
- "2A4A_K_0",
- "2A4A_M_74"
- ]
- }
- ]
- }
- ]
- },
- {
- "id": "2A4A_K_76",
- "title": "End of logic leading to result",
- "condition": "!CardExistsByRBS(IN.RbsNumber)",
- "result": "Result.2A4A.770",
- "predecessors": [
- "2A4A_I_0"
- ]
- }
- ]
- },
- "results": [
- {
- "code": "Result.2A4A.10",
- "bookings": [
- {
- "id": "MC.2A4A.10_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.10_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.10_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.10_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.10",
- "schema": "Empty",
- "function": "Exit(`10`, `10`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.20",
- "bookings": [
- {
- "id": "Exit.2A4A.20",
- "schema": "Empty",
- "function": "Exit(`20`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.30",
- "bookings": [
- {
- "id": "MC.2A4A.30_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.30_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.30_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.30_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.30",
- "schema": "Empty",
- "function": "Exit(`30`, `20`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.40",
- "bookings": [
- {
- "id": "Exit.2A4A.40",
- "schema": "Empty",
- "function": "Exit(`40`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.50",
- "bookings": [
- {
- "id": "MC.2A4A.50_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.50_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.50_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.50_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.50",
- "schema": "Empty",
- "function": "Exit(`50`, `30`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.60",
- "bookings": [
- {
- "id": "Exit.2A4A.60",
- "schema": "Empty",
- "function": "Exit(`60`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.70",
- "bookings": [
- {
- "id": "MC.2A4A.70_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.70_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.70_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.70_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.70",
- "schema": "Empty",
- "function": "Exit(`70`, `40`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.80",
- "bookings": [
- {
- "id": "Exit.2A4A.80",
- "schema": "Empty",
- "function": "Exit(`80`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.90",
- "bookings": [
- {
- "id": "MC.2A4A.90_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.90_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.90_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.90_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.90",
- "schema": "Empty",
- "function": "Exit(`90`, `50`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.100",
- "bookings": [
- {
- "id": "Exit.2A4A.100",
- "schema": "Empty",
- "function": "Exit(`100`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.110",
- "bookings": [
- {
- "id": "MC.2A4A.110_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.110_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.110_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.110_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.110",
- "schema": "Empty",
- "function": "Exit(`110`, `60`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.120",
- "bookings": [
- {
- "id": "Exit.2A4A.120",
- "schema": "Empty",
- "function": "Exit(`120`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.130",
- "bookings": [
- {
- "id": "MC.2A4A.130_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.130_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.130_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.130_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.130",
- "schema": "Empty",
- "function": "Exit(`130`, `70`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.140",
- "bookings": [
- {
- "id": "MC.2A4A.140_4_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.140_4_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.140_4_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.140_4_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.140_4_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.140_4_5",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.140_4_6",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.140",
- "schema": "Empty",
- "function": "Exit(`140`, `80`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.150",
- "bookings": [
- {
- "id": "MC.2A4A.150_3_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.150_3_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.150_3_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.150_3_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.150_3_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.150",
- "schema": "Empty",
- "function": "Exit(`150`, `90`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.160",
- "bookings": [
- {
- "id": "Exit.2A4A.160",
- "schema": "Empty",
- "function": "Exit(`160`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.170",
- "bookings": [
- {
- "id": "MC.2A4A.170_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.170_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.170_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.170_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.170",
- "schema": "Empty",
- "function": "Exit(`170`, `100`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.180",
- "bookings": [
- {
- "id": "MC.2A4A.180_4_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.180_4_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.180_4_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.180_4_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.180_4_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.180_4_5",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.180_4_6",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.180",
- "schema": "Empty",
- "function": "Exit(`180`, `110`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.190",
- "bookings": [
- {
- "id": "MC.2A4A.190_3_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.190_3_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.190_3_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.190_3_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.190_3_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.190",
- "schema": "Empty",
- "function": "Exit(`190`, `120`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.200",
- "bookings": [
- {
- "id": "Exit.2A4A.200",
- "schema": "Empty",
- "function": "Exit(`200`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.210",
- "bookings": [
- {
- "id": "MC.2A4A.210_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.210_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.210_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.210_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.210",
- "schema": "Empty",
- "function": "Exit(`210`, `130`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.220",
- "bookings": [
- {
- "id": "MC.2A4A.220_4_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.220_4_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.220_4_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.220_4_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.220_4_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.220_4_5",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.220_4_6",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.220",
- "schema": "Empty",
- "function": "Exit(`220`, `140`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.230",
- "bookings": [
- {
- "id": "MC.2A4A.230_3_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.230_3_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.230_3_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.230_3_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.230_3_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.230",
- "schema": "Empty",
- "function": "Exit(`230`, `150`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.240",
- "bookings": [
- {
- "id": "Exit.2A4A.240",
- "schema": "Empty",
- "function": "Exit(`240`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.250",
- "bookings": [
- {
- "id": "MC.2A4A.250_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.250_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.250_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.250_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.250",
- "schema": "Empty",
- "function": "Exit(`250`, `160`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.260",
- "bookings": [
- {
- "id": "MC.2A4A.260_4_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.260_4_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.260_4_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.260_4_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.260_4_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.260_4_5",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.260_4_6",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.260",
- "schema": "Empty",
- "function": "Exit(`260`, `170`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.270",
- "bookings": [
- {
- "id": "MC.2A4A.270_3_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.270_3_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.270_3_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.270_3_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.270_3_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.270",
- "schema": "Empty",
- "function": "Exit(`270`, `180`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.280",
- "bookings": [
- {
- "id": "Exit.2A4A.280",
- "schema": "Empty",
- "function": "Exit(`280`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.290",
- "bookings": [
- {
- "id": "MC.2A4A.290_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.290_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.290_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.290_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.290",
- "schema": "Empty",
- "function": "Exit(`290`, `190`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.300",
- "bookings": [
- {
- "id": "MC.2A4A.300_4_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.300_4_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.300_4_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.300_4_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.300_4_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.300_4_5",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.300_4_6",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.300",
- "schema": "Empty",
- "function": "Exit(`300`, `200`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.310",
- "bookings": [
- {
- "id": "MC.2A4A.310_3_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.310_3_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.310_3_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.310_3_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.310_3_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.310",
- "schema": "Empty",
- "function": "Exit(`310`, `210`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.320",
- "bookings": [
- {
- "id": "Exit.2A4A.320",
- "schema": "Empty",
- "function": "Exit(`320`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.330",
- "bookings": [
- {
- "id": "MC.2A4A.330_1_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.1`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.330_1_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.330_1_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.330_1_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.330",
- "schema": "Empty",
- "function": "Exit(`330`, `220`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.340",
- "bookings": [
- {
- "id": "MC.2A4A.340_4_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.340_4_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.340_4_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.340_4_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.340_4_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.4`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.340_4_5",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.340_4_6",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.340",
- "schema": "Empty",
- "function": "Exit(`340`, `230`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.350",
- "bookings": [
- {
- "id": "MC.2A4A.350_3_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.350_3_1",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.350_3_2",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.350_3_3",
- "schema": "Empty",
- "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.350_3_4",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.3`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.350",
- "schema": "Empty",
- "function": "Exit(`350`, `240`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.360",
- "bookings": [
- {
- "id": "Exit.2A4A.360",
- "schema": "Empty",
- "function": "Exit(`360`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.370",
- "bookings": [
- {
- "id": "MC.2A4A.370_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.370",
- "schema": "Empty",
- "function": "Exit(`370`, `250`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.380",
- "bookings": [
- {
- "id": "Exit.2A4A.380",
- "schema": "Empty",
- "function": "Exit(`380`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.390",
- "bookings": [
- {
- "id": "MC.2A4A.390_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.390",
- "schema": "Empty",
- "function": "Exit(`390`, `260`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.400",
- "bookings": [
- {
- "id": "Exit.2A4A.400",
- "schema": "Empty",
- "function": "Exit(`400`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.410",
- "bookings": [
- {
- "id": "MC.2A4A.410_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.410",
- "schema": "Empty",
- "function": "Exit(`410`, `270`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.420",
- "bookings": [
- {
- "id": "Exit.2A4A.420",
- "schema": "Empty",
- "function": "Exit(`420`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.430",
- "bookings": [
- {
- "id": "MC.2A4A.430_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.430",
- "schema": "Empty",
- "function": "Exit(`430`, `280`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.440",
- "bookings": [
- {
- "id": "Exit.2A4A.440",
- "schema": "Empty",
- "function": "Exit(`440`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.450",
- "bookings": [
- {
- "id": "MC.2A4A.450_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.450",
- "schema": "Empty",
- "function": "Exit(`450`, `290`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.460",
- "bookings": [
- {
- "id": "Exit.2A4A.460",
- "schema": "Empty",
- "function": "Exit(`460`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.470",
- "bookings": [
- {
- "id": "MC.2A4A.470_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.470",
- "schema": "Empty",
- "function": "Exit(`470`, `300`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.480",
- "bookings": [
- {
- "id": "Exit.2A4A.480",
- "schema": "Empty",
- "function": "Exit(`480`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.490",
- "bookings": [
- {
- "id": "MC.2A4A.490_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.490",
- "schema": "Empty",
- "function": "Exit(`490`, `310`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.500",
- "bookings": [
- {
- "id": "MC.2A4A.500_7_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.500_7_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.500_7_2",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.500_7_3",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.500",
- "schema": "Empty",
- "function": "Exit(`500`, `320`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.510",
- "bookings": [
- {
- "id": "MC.2A4A.510_6_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.510_6_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.510",
- "schema": "Empty",
- "function": "Exit(`510`, `330`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.520",
- "bookings": [
- {
- "id": "Exit.2A4A.520",
- "schema": "Empty",
- "function": "Exit(`520`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.530",
- "bookings": [
- {
- "id": "MC.2A4A.530_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.530",
- "schema": "Empty",
- "function": "Exit(`530`, `340`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.540",
- "bookings": [
- {
- "id": "MC.2A4A.540_7_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.540_7_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.540_7_2",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.540_7_3",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.540",
- "schema": "Empty",
- "function": "Exit(`540`, `350`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.550",
- "bookings": [
- {
- "id": "MC.2A4A.550_6_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.550_6_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.550",
- "schema": "Empty",
- "function": "Exit(`550`, `360`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.560",
- "bookings": [
- {
- "id": "Exit.2A4A.560",
- "schema": "Empty",
- "function": "Exit(`560`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.570",
- "bookings": [
- {
- "id": "MC.2A4A.570_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.570",
- "schema": "Empty",
- "function": "Exit(`570`, `370`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.580",
- "bookings": [
- {
- "id": "MC.2A4A.580_7_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.580_7_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.580_7_2",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.580_7_3",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.580",
- "schema": "Empty",
- "function": "Exit(`580`, `380`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.590",
- "bookings": [
- {
- "id": "MC.2A4A.590_6_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.590_6_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.590",
- "schema": "Empty",
- "function": "Exit(`590`, `390`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.600",
- "bookings": [
- {
- "id": "Exit.2A4A.600",
- "schema": "Empty",
- "function": "Exit(`600`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.610",
- "bookings": [
- {
- "id": "MC.2A4A.610_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.610",
- "schema": "Empty",
- "function": "Exit(`610`, `400`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.620",
- "bookings": [
- {
- "id": "MC.2A4A.620_7_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.620_7_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.620_7_2",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.620_7_3",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.620",
- "schema": "Empty",
- "function": "Exit(`620`, `410`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.630",
- "bookings": [
- {
- "id": "MC.2A4A.630_6_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.630_6_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.630",
- "schema": "Empty",
- "function": "Exit(`630`, `420`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.640",
- "bookings": [
- {
- "id": "Exit.2A4A.640",
- "schema": "Empty",
- "function": "Exit(`640`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.650",
- "bookings": [
- {
- "id": "MC.2A4A.650_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.650",
- "schema": "Empty",
- "function": "Exit(`650`, `430`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.660",
- "bookings": [
- {
- "id": "MC.2A4A.660_7_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.660_7_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.660_7_2",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.660_7_3",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.660",
- "schema": "Empty",
- "function": "Exit(`660`, `440`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.670",
- "bookings": [
- {
- "id": "MC.2A4A.670_6_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.670_6_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.670",
- "schema": "Empty",
- "function": "Exit(`670`, `450`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.680",
- "bookings": [
- {
- "id": "Exit.2A4A.680",
- "schema": "Empty",
- "function": "Exit(`680`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.690",
- "bookings": [
- {
- "id": "MC.2A4A.690_5_1",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.5`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.InternalName",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "Exit.2A4A.690",
- "schema": "Empty",
- "function": "Exit(`690`, `460`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.700",
- "bookings": [
- {
- "id": "MC.2A4A.700_7_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.700_7_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.7`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "MC.2A4A.700_7_2",
- "schema": "OverdraftMaturityDate",
- "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
- "mapping": {
- "ArrangementId": "REVO.T24ReferenceId",
- "Currency": "REVO.Currency",
- "CustomerId": "CARD.CustomerId",
- "EffectiveDate": "BOOKING_DATE_FORMAT",
- "MaturityDate": "`2029-01-01`"
- }
- },
- {
- "id": "MC.2A4A.700_7_3",
- "schema": "Overdraft",
- "copyObject": "REVO",
- "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
- "mapping": {
- "MaturityDate": "``"
- }
- },
- {
- "id": "Exit.2A4A.700",
- "schema": "Empty",
- "function": "Exit(`700`, `470`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.710",
- "bookings": [
- {
- "id": "MC.2A4A.710_6_0",
- "schema": "CardsAuthorization",
- "copyObject": "LastRow",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,`CARD`,0,IN.TransactionGroupId,RECONCILIATION_ID,`B`,MAIN.InternalName,MAIN.AccountNumber,`In transit account`,`EUR141700001`,MerchantName,true,MerchantLocation,ReversalAmount.Amount,ReversalAmount.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,FirstRow.TransactionRateFx,IN.TransactionCategory,CUSTOMER_ID#`;`#MAIN.AccountNumber)",
- "mapping": {
- "InitialAmountFlag": "true",
- "MptsData": "IN.MptsData",
- "SenderAccountName": "MAIN.Name",
- "SenderAddress": "ADDRESS",
- "SenderBank": "PARAMETERS.TenantBank",
- "SenderFullName": "FULLNAME",
- "StandingAmount": "NewStandingAmount",
- "TransactionStatus": "NewTransactionStatus"
- }
- },
- {
- "id": "MC.2A4A.710_6_1",
- "schema": "Empty",
- "function": "BookWithT24InternalTransfer(`MC.2A4A.6`,``,0,IN.TransactionGroupId,RECONCILIATION_ID_2,`B`,``,MAIN.AccountNumber,``,REVO.AccountNumber,``,false,``,REVOBOOK.Amount,REVOBOOK.Currency,[``],OUT,``,Decimal(0),``,Decimal(0),``,CUSTOMER_ID#`;`#REVO.AccountNumber)",
- "mapping": {}
- },
- {
- "id": "Exit.2A4A.710",
- "schema": "Empty",
- "function": "Exit(`710`, `480`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.720",
- "bookings": [
- {
- "id": "Exit.2A4A.720",
- "schema": "Empty",
- "function": "Exit(`720`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.730",
- "bookings": [
- {
- "id": "Exit.2A4A.730",
- "schema": "Empty",
- "function": "Exit(`730`, `INVALID_AMOUNT`, false, `Wrong amount`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.740",
- "bookings": [
- {
- "id": "Exit.2A4A.740",
- "schema": "Empty",
- "function": "Exit(`740`, `INVALID_MATCHING`, false, `Could not fincd matching transaction for provided transaction_group_id`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.750",
- "bookings": [
- {
- "id": "MC.2A4A.750_2_1",
- "schema": "CardsAuthorization",
- "copyObject": "IN",
- "function": "Book(`MC.2A4A.2`,`CARD_ERROR`,0,GROUP_ID,``,`B`,MAIN.InternalName,MAIN.AccountNumber,``,``,IN.MerchantData.Name,false,IN.MerchantData.Address.City,Decimal(0),MAIN.Currency,[`CARD`],OUT,CARD.Pan4LastDigits,IN.NewAmount.Amount,IN.NewAmount.Currency,Decimal(0),IN.TransactionCategory)",
- "mapping": {
- "MptsData": "IN.MptsData",
- "RejectionReason": "`REVERSAL NOT MATCHED`",
- "TransactionGroupId": "GROUP_ID",
- "TransactionStatus": "`CLOSED_NOT_MATCHED`"
- }
- },
- {
- "id": "Exit.2A4A.750",
- "schema": "Empty",
- "function": "Exit(`750`, `490`, false, `Transaction not matched`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.760",
- "bookings": [
- {
- "id": "Exit.2A4A.760",
- "schema": "Empty",
- "function": "Exit(`760`, `500`, false, `empty`)",
- "mapping": {}
- }
- ]
- },
- {
- "code": "Result.2A4A.770",
- "bookings": [
- {
- "id": "Exit.2A4A.770",
- "schema": "Empty",
- "function": "Exit(`770`, `CARD_NOT_FOUND`, false, `No card`)",
- "mapping": {}
- }
- ]
- }
- ],
- "response": {
- "schema": "CardsAuthorizationResponses",
- "mapping": {
- "AuthorizationCode": "``",
- "AvailableFunds": "Extract(GetAvailableFunds(MAIN.InternalName), `AvailableFunds`)"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement