Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 299.88 KB | None | 0 0
  1. {
  2. "code": "2A4A",
  3. "flow": "card-authorization-reversal",
  4. "inputSchema": "DT2A4A",
  5. "root": {
  6. "id": "2A4A_I_0",
  7. "title": "Does RBS exist?",
  8. "condition": "true",
  9. "children": [
  10. {
  11. "id": "2A4A_K_0",
  12. "title": "Does the transaction group Id exists?",
  13. "condition": "CardExistsByRBS(IN.RbsNumber)",
  14. "logic": [
  15. "Define(`MAIN`, GetMainAcc())",
  16. "Define(`balance`, Balance(MAIN.InternalName))",
  17. "Define(`RBS`, DecodeRBS(IN.RbsNumber))",
  18. "Define(`CARD`, GetCard(RBS.ProductID))",
  19. "Define(`PARAMETERS`, ReadAs(GetLastRowByName(`PARAMETERS`), `Parameters`))",
  20. "Define(`FULLNAME`, CARD.FirstName # ` ` # CARD.LastName)",
  21. "Define(`ADDRESS`, CARD.AddressLine)",
  22. "Define(`FirstRow`, GetFirstByTransactionGroupID(IN.TransactionGroupId))",
  23. "Define(`LastRow`, GetLastByTransactionGroupID(IN.TransactionGroupId))",
  24. "Define(`RECONCILIATION_ID`,T24.GenerateTemenosID())",
  25. "Define(`RECONCILIATION_ID_2`,T24.GenerateTemenosID())"
  26. ],
  27. "predecessors": [
  28. "2A4A_I_0"
  29. ],
  30. "children": [
  31. {
  32. "id": "2A4A_M_0",
  33. "title": "Is there a matching transaction",
  34. "condition": "!IsEmpty(IN.TransactionGroupId)",
  35. "predecessors": [
  36. "2A4A_I_0",
  37. "2A4A_K_0"
  38. ],
  39. "children": [
  40. {
  41. "id": "2A4A_O_0",
  42. "title": "New amount decreases transaction?",
  43. "condition": "!IsEmpty(FirstRow)",
  44. "logic": [
  45. "Define(`ROWAMOUNT`, IsEmpty(LastRow.NewAmount) ? LastRow.Amount.Amount: LastRow.NewAmount)",
  46. "Define(`AMOUNTOK`, IN.NewAmount.Amount \u003e= Decimal(0) \u0026\u0026 IN.NewAmount.Amount \u003c ROWAMOUNT \u0026\u0026 FirstRow.Amount.Currency == IN.NewAmount.Currency)"
  47. ],
  48. "predecessors": [
  49. "2A4A_I_0",
  50. "2A4A_K_0",
  51. "2A4A_M_0"
  52. ],
  53. "children": [
  54. {
  55. "id": "2A4A_Q_0",
  56. "title": "Decrement counter?",
  57. "condition": "AMOUNTOK",
  58. "logic": [
  59. "Define(`MyDate`, Time.Parse(LastRow.TransmissionTime))",
  60. "Define(`Today`, Time.Today())",
  61. "Define(`BOOK_DATE`, GetBookingDate())",
  62. "Define(`IsSameMonth`, BOOK_DATE.Month() == MyDate.Month())"
  63. ],
  64. "predecessors": [
  65. "2A4A_I_0",
  66. "2A4A_K_0",
  67. "2A4A_M_0",
  68. "2A4A_O_0"
  69. ],
  70. "children": [
  71. {
  72. "id": "2A4A_S_0",
  73. "title": "Use OVD?",
  74. "condition": "IsSameMonth",
  75. "logic": [
  76. "Define(`CONDITIONFLAG`, MAIN.OverdraftFlag == true)",
  77. "Define(`BALANCE`, Balance(MAIN.InternalName))",
  78. "Define(`BALANCECONDITION`, BALANCE.Amount \u003e= Decimal(0))",
  79. "Define(`CONDITIONUSE`, CONDITIONFLAG \u0026\u0026 !BALANCECONDITION)"
  80. ],
  81. "predecessors": [
  82. "2A4A_I_0",
  83. "2A4A_K_0",
  84. "2A4A_M_0",
  85. "2A4A_O_0",
  86. "2A4A_Q_0"
  87. ],
  88. "children": [
  89. {
  90. "id": "2A4A_U_0",
  91. "title": "What is the currency of transaction - is this a home transaction",
  92. "condition": "!CONDITIONUSE",
  93. "logic": [
  94. "Define(`MerchantName`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Name : IN.MerchantData.Name)",
  95. "Define(`MerchantLocation`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Address.City : IN.MerchantData.Address.City)"
  96. ],
  97. "predecessors": [
  98. "2A4A_I_0",
  99. "2A4A_K_0",
  100. "2A4A_M_0",
  101. "2A4A_O_0",
  102. "2A4A_Q_0",
  103. "2A4A_S_0"
  104. ],
  105. "children": [
  106. {
  107. "id": "2A4A_W_0",
  108. "title": "Is this a full reversal",
  109. "condition": "IN.NewAmount.Currency == MAIN.Currency",
  110. "logic": [
  111. "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
  112. ],
  113. "predecessors": [
  114. "2A4A_I_0",
  115. "2A4A_K_0",
  116. "2A4A_M_0",
  117. "2A4A_O_0",
  118. "2A4A_Q_0",
  119. "2A4A_S_0",
  120. "2A4A_U_0"
  121. ],
  122. "children": [
  123. {
  124. "id": "2A4A_Y_0",
  125. "title": "Is this partial reversal amount",
  126. "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
  127. "logic": [
  128. "Define(`NewStandingAmount`, IN.NewAmount)",
  129. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
  130. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  131. ],
  132. "predecessors": [
  133. "2A4A_I_0",
  134. "2A4A_K_0",
  135. "2A4A_M_0",
  136. "2A4A_O_0",
  137. "2A4A_Q_0",
  138. "2A4A_S_0",
  139. "2A4A_U_0",
  140. "2A4A_W_0"
  141. ],
  142. "children": [
  143. {
  144. "id": "2A4A_AA_0",
  145. "title": "End of logic leading to result",
  146. "condition": "!IsFullReversal",
  147. "result": "Result.2A4A.10",
  148. "predecessors": [
  149. "2A4A_I_0",
  150. "2A4A_K_0",
  151. "2A4A_M_0",
  152. "2A4A_O_0",
  153. "2A4A_Q_0",
  154. "2A4A_S_0",
  155. "2A4A_U_0",
  156. "2A4A_W_0",
  157. "2A4A_Y_0"
  158. ]
  159. },
  160. {
  161. "id": "2A4A_AA_1",
  162. "title": "End of logic leading to result",
  163. "condition": "IsFullReversal",
  164. "result": "Result.2A4A.20",
  165. "predecessors": [
  166. "2A4A_I_0",
  167. "2A4A_K_0",
  168. "2A4A_M_0",
  169. "2A4A_O_0",
  170. "2A4A_Q_0",
  171. "2A4A_S_0",
  172. "2A4A_U_0",
  173. "2A4A_W_0",
  174. "2A4A_Y_0"
  175. ]
  176. }
  177. ]
  178. },
  179. {
  180. "id": "2A4A_Y_2",
  181. "title": "Is this full reversal amount",
  182. "condition": "IN.UpdateType == `REVERSAL`",
  183. "logic": [
  184. "Define(`NewStandingAmount`, IN.NewAmount)",
  185. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
  186. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  187. ],
  188. "predecessors": [
  189. "2A4A_I_0",
  190. "2A4A_K_0",
  191. "2A4A_M_0",
  192. "2A4A_O_0",
  193. "2A4A_Q_0",
  194. "2A4A_S_0",
  195. "2A4A_U_0",
  196. "2A4A_W_0"
  197. ],
  198. "children": [
  199. {
  200. "id": "2A4A_AA_2",
  201. "title": "End of logic leading to result",
  202. "condition": "IsFullReversal",
  203. "result": "Result.2A4A.30",
  204. "predecessors": [
  205. "2A4A_I_0",
  206. "2A4A_K_0",
  207. "2A4A_M_0",
  208. "2A4A_O_0",
  209. "2A4A_Q_0",
  210. "2A4A_S_0",
  211. "2A4A_U_0",
  212. "2A4A_W_0",
  213. "2A4A_Y_2"
  214. ]
  215. },
  216. {
  217. "id": "2A4A_AA_3",
  218. "title": "End of logic leading to result",
  219. "condition": "!IsFullReversal",
  220. "result": "Result.2A4A.40",
  221. "predecessors": [
  222. "2A4A_I_0",
  223. "2A4A_K_0",
  224. "2A4A_M_0",
  225. "2A4A_O_0",
  226. "2A4A_Q_0",
  227. "2A4A_S_0",
  228. "2A4A_U_0",
  229. "2A4A_W_0",
  230. "2A4A_Y_2"
  231. ]
  232. }
  233. ]
  234. }
  235. ]
  236. },
  237. {
  238. "id": "2A4A_W_4",
  239. "title": "Is this a full reversal",
  240. "condition": "IN.NewAmount.Currency != MAIN.Currency",
  241. "logic": [
  242. "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
  243. ],
  244. "predecessors": [
  245. "2A4A_I_0",
  246. "2A4A_K_0",
  247. "2A4A_M_0",
  248. "2A4A_O_0",
  249. "2A4A_Q_0",
  250. "2A4A_S_0",
  251. "2A4A_U_0"
  252. ],
  253. "children": [
  254. {
  255. "id": "2A4A_Y_4",
  256. "title": "What is the transaction rate source",
  257. "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
  258. "predecessors": [
  259. "2A4A_I_0",
  260. "2A4A_K_0",
  261. "2A4A_M_0",
  262. "2A4A_O_0",
  263. "2A4A_Q_0",
  264. "2A4A_S_0",
  265. "2A4A_U_0",
  266. "2A4A_W_4"
  267. ],
  268. "children": [
  269. {
  270. "id": "2A4A_AA_4",
  271. "title": "Is this partial reversal amount",
  272. "condition": "FirstRow.TransactionRateSource == `FX`",
  273. "logic": [
  274. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
  275. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  276. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  277. ],
  278. "predecessors": [
  279. "2A4A_I_0",
  280. "2A4A_K_0",
  281. "2A4A_M_0",
  282. "2A4A_O_0",
  283. "2A4A_Q_0",
  284. "2A4A_S_0",
  285. "2A4A_U_0",
  286. "2A4A_W_4",
  287. "2A4A_Y_4"
  288. ],
  289. "children": [
  290. {
  291. "id": "2A4A_AC_4",
  292. "title": "End of logic leading to result",
  293. "condition": "!IsFullReversal",
  294. "result": "Result.2A4A.50",
  295. "predecessors": [
  296. "2A4A_I_0",
  297. "2A4A_K_0",
  298. "2A4A_M_0",
  299. "2A4A_O_0",
  300. "2A4A_Q_0",
  301. "2A4A_S_0",
  302. "2A4A_U_0",
  303. "2A4A_W_4",
  304. "2A4A_Y_4",
  305. "2A4A_AA_4"
  306. ]
  307. },
  308. {
  309. "id": "2A4A_AC_5",
  310. "title": "End of logic leading to result",
  311. "condition": "IsFullReversal",
  312. "result": "Result.2A4A.60",
  313. "predecessors": [
  314. "2A4A_I_0",
  315. "2A4A_K_0",
  316. "2A4A_M_0",
  317. "2A4A_O_0",
  318. "2A4A_Q_0",
  319. "2A4A_S_0",
  320. "2A4A_U_0",
  321. "2A4A_W_4",
  322. "2A4A_Y_4",
  323. "2A4A_AA_4"
  324. ]
  325. }
  326. ]
  327. },
  328. {
  329. "id": "2A4A_AA_6",
  330. "title": "Is this partial reversal amount",
  331. "condition": "FirstRow.TransactionRateSource == `MC`",
  332. "logic": [
  333. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
  334. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  335. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  336. ],
  337. "predecessors": [
  338. "2A4A_I_0",
  339. "2A4A_K_0",
  340. "2A4A_M_0",
  341. "2A4A_O_0",
  342. "2A4A_Q_0",
  343. "2A4A_S_0",
  344. "2A4A_U_0",
  345. "2A4A_W_4",
  346. "2A4A_Y_4"
  347. ],
  348. "children": [
  349. {
  350. "id": "2A4A_AC_6",
  351. "title": "End of logic leading to result",
  352. "condition": "!IsFullReversal",
  353. "result": "Result.2A4A.70",
  354. "predecessors": [
  355. "2A4A_I_0",
  356. "2A4A_K_0",
  357. "2A4A_M_0",
  358. "2A4A_O_0",
  359. "2A4A_Q_0",
  360. "2A4A_S_0",
  361. "2A4A_U_0",
  362. "2A4A_W_4",
  363. "2A4A_Y_4",
  364. "2A4A_AA_6"
  365. ]
  366. },
  367. {
  368. "id": "2A4A_AC_7",
  369. "title": "End of logic leading to result",
  370. "condition": "IsFullReversal",
  371. "result": "Result.2A4A.80",
  372. "predecessors": [
  373. "2A4A_I_0",
  374. "2A4A_K_0",
  375. "2A4A_M_0",
  376. "2A4A_O_0",
  377. "2A4A_Q_0",
  378. "2A4A_S_0",
  379. "2A4A_U_0",
  380. "2A4A_W_4",
  381. "2A4A_Y_4",
  382. "2A4A_AA_6"
  383. ]
  384. }
  385. ]
  386. }
  387. ]
  388. },
  389. {
  390. "id": "2A4A_Y_8",
  391. "title": "What is the transaction rate source",
  392. "condition": "IN.UpdateType == `REVERSAL`",
  393. "predecessors": [
  394. "2A4A_I_0",
  395. "2A4A_K_0",
  396. "2A4A_M_0",
  397. "2A4A_O_0",
  398. "2A4A_Q_0",
  399. "2A4A_S_0",
  400. "2A4A_U_0",
  401. "2A4A_W_4"
  402. ],
  403. "children": [
  404. {
  405. "id": "2A4A_AA_8",
  406. "title": "Is this full reversal amount",
  407. "condition": "FirstRow.TransactionRateSource == `FX`",
  408. "logic": [
  409. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
  410. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  411. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  412. ],
  413. "predecessors": [
  414. "2A4A_I_0",
  415. "2A4A_K_0",
  416. "2A4A_M_0",
  417. "2A4A_O_0",
  418. "2A4A_Q_0",
  419. "2A4A_S_0",
  420. "2A4A_U_0",
  421. "2A4A_W_4",
  422. "2A4A_Y_8"
  423. ],
  424. "children": [
  425. {
  426. "id": "2A4A_AC_8",
  427. "title": "End of logic leading to result",
  428. "condition": "IsFullReversal",
  429. "result": "Result.2A4A.90",
  430. "predecessors": [
  431. "2A4A_I_0",
  432. "2A4A_K_0",
  433. "2A4A_M_0",
  434. "2A4A_O_0",
  435. "2A4A_Q_0",
  436. "2A4A_S_0",
  437. "2A4A_U_0",
  438. "2A4A_W_4",
  439. "2A4A_Y_8",
  440. "2A4A_AA_8"
  441. ]
  442. },
  443. {
  444. "id": "2A4A_AC_9",
  445. "title": "End of logic leading to result",
  446. "condition": "!IsFullReversal",
  447. "result": "Result.2A4A.100",
  448. "predecessors": [
  449. "2A4A_I_0",
  450. "2A4A_K_0",
  451. "2A4A_M_0",
  452. "2A4A_O_0",
  453. "2A4A_Q_0",
  454. "2A4A_S_0",
  455. "2A4A_U_0",
  456. "2A4A_W_4",
  457. "2A4A_Y_8",
  458. "2A4A_AA_8"
  459. ]
  460. }
  461. ]
  462. },
  463. {
  464. "id": "2A4A_AA_10",
  465. "title": "Is this full reversal amount",
  466. "condition": "FirstRow.TransactionRateSource == `MC`",
  467. "logic": [
  468. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
  469. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  470. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  471. ],
  472. "predecessors": [
  473. "2A4A_I_0",
  474. "2A4A_K_0",
  475. "2A4A_M_0",
  476. "2A4A_O_0",
  477. "2A4A_Q_0",
  478. "2A4A_S_0",
  479. "2A4A_U_0",
  480. "2A4A_W_4",
  481. "2A4A_Y_8"
  482. ],
  483. "children": [
  484. {
  485. "id": "2A4A_AC_10",
  486. "title": "End of logic leading to result",
  487. "condition": "IsFullReversal",
  488. "result": "Result.2A4A.110",
  489. "predecessors": [
  490. "2A4A_I_0",
  491. "2A4A_K_0",
  492. "2A4A_M_0",
  493. "2A4A_O_0",
  494. "2A4A_Q_0",
  495. "2A4A_S_0",
  496. "2A4A_U_0",
  497. "2A4A_W_4",
  498. "2A4A_Y_8",
  499. "2A4A_AA_10"
  500. ]
  501. },
  502. {
  503. "id": "2A4A_AC_11",
  504. "title": "End of logic leading to result",
  505. "condition": "!IsFullReversal",
  506. "result": "Result.2A4A.120",
  507. "predecessors": [
  508. "2A4A_I_0",
  509. "2A4A_K_0",
  510. "2A4A_M_0",
  511. "2A4A_O_0",
  512. "2A4A_Q_0",
  513. "2A4A_S_0",
  514. "2A4A_U_0",
  515. "2A4A_W_4",
  516. "2A4A_Y_8",
  517. "2A4A_AA_10"
  518. ]
  519. }
  520. ]
  521. }
  522. ]
  523. }
  524. ]
  525. }
  526. ]
  527. },
  528. {
  529. "id": "2A4A_U_12",
  530. "title": "What is the currency of transaction - is this a home transaction",
  531. "condition": "CONDITIONUSE",
  532. "logic": [
  533. "Define(`MerchantName`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Name : IN.MerchantData.Name)",
  534. "Define(`MerchantLocation`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Address.City : IN.MerchantData.Address.City)"
  535. ],
  536. "predecessors": [
  537. "2A4A_I_0",
  538. "2A4A_K_0",
  539. "2A4A_M_0",
  540. "2A4A_O_0",
  541. "2A4A_Q_0",
  542. "2A4A_S_0"
  543. ],
  544. "children": [
  545. {
  546. "id": "2A4A_W_12",
  547. "title": "Is this a full reversal",
  548. "condition": "IN.NewAmount.Currency == MAIN.Currency",
  549. "logic": [
  550. "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
  551. ],
  552. "predecessors": [
  553. "2A4A_I_0",
  554. "2A4A_K_0",
  555. "2A4A_M_0",
  556. "2A4A_O_0",
  557. "2A4A_Q_0",
  558. "2A4A_S_0",
  559. "2A4A_U_12"
  560. ],
  561. "children": [
  562. {
  563. "id": "2A4A_Y_12",
  564. "title": "Is this partial reversal amount",
  565. "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
  566. "logic": [
  567. "Define(`NewStandingAmount`, IN.NewAmount)",
  568. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
  569. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  570. ],
  571. "predecessors": [
  572. "2A4A_I_0",
  573. "2A4A_K_0",
  574. "2A4A_M_0",
  575. "2A4A_O_0",
  576. "2A4A_Q_0",
  577. "2A4A_S_0",
  578. "2A4A_U_12",
  579. "2A4A_W_12"
  580. ],
  581. "children": [
  582. {
  583. "id": "2A4A_AA_12",
  584. "title": "Call T24?",
  585. "condition": "!IsFullReversal",
  586. "logic": [
  587. "Define(`REVO`, GetOverdraft())",
  588. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  589. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  590. ],
  591. "predecessors": [
  592. "2A4A_I_0",
  593. "2A4A_K_0",
  594. "2A4A_M_0",
  595. "2A4A_O_0",
  596. "2A4A_Q_0",
  597. "2A4A_S_0",
  598. "2A4A_U_12",
  599. "2A4A_W_12",
  600. "2A4A_Y_12"
  601. ],
  602. "children": [
  603. {
  604. "id": "2A4A_AC_12",
  605. "title": "End of logic leading to result",
  606. "condition": "UNAUTHORIZED",
  607. "result": "Result.2A4A.130",
  608. "predecessors": [
  609. "2A4A_I_0",
  610. "2A4A_K_0",
  611. "2A4A_M_0",
  612. "2A4A_O_0",
  613. "2A4A_Q_0",
  614. "2A4A_S_0",
  615. "2A4A_U_12",
  616. "2A4A_W_12",
  617. "2A4A_Y_12",
  618. "2A4A_AA_12"
  619. ]
  620. },
  621. {
  622. "id": "2A4A_AC_13",
  623. "title": "Set MaturityDate?",
  624. "condition": "!UNAUTHORIZED",
  625. "logic": [
  626. "Define(`CustomerPackage`, GetCustomerPackage())",
  627. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  628. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  629. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  630. "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))",
  631. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  632. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  633. "Define(`BOOKING_DATE`, GetBookingDate())",
  634. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  635. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  636. ],
  637. "predecessors": [
  638. "2A4A_I_0",
  639. "2A4A_K_0",
  640. "2A4A_M_0",
  641. "2A4A_O_0",
  642. "2A4A_Q_0",
  643. "2A4A_S_0",
  644. "2A4A_U_12",
  645. "2A4A_W_12",
  646. "2A4A_Y_12",
  647. "2A4A_AA_12"
  648. ],
  649. "children": [
  650. {
  651. "id": "2A4A_AE_13",
  652. "title": "End of logic leading to result",
  653. "condition": "RESETDATE",
  654. "result": "Result.2A4A.140",
  655. "predecessors": [
  656. "2A4A_I_0",
  657. "2A4A_K_0",
  658. "2A4A_M_0",
  659. "2A4A_O_0",
  660. "2A4A_Q_0",
  661. "2A4A_S_0",
  662. "2A4A_U_12",
  663. "2A4A_W_12",
  664. "2A4A_Y_12",
  665. "2A4A_AA_12",
  666. "2A4A_AC_13"
  667. ]
  668. },
  669. {
  670. "id": "2A4A_AE_14",
  671. "title": "End of logic leading to result",
  672. "condition": "!RESETDATE",
  673. "result": "Result.2A4A.150",
  674. "predecessors": [
  675. "2A4A_I_0",
  676. "2A4A_K_0",
  677. "2A4A_M_0",
  678. "2A4A_O_0",
  679. "2A4A_Q_0",
  680. "2A4A_S_0",
  681. "2A4A_U_12",
  682. "2A4A_W_12",
  683. "2A4A_Y_12",
  684. "2A4A_AA_12",
  685. "2A4A_AC_13"
  686. ]
  687. }
  688. ]
  689. }
  690. ]
  691. },
  692. {
  693. "id": "2A4A_AA_15",
  694. "title": "End of logic leading to result",
  695. "condition": "IsFullReversal",
  696. "result": "Result.2A4A.160",
  697. "predecessors": [
  698. "2A4A_I_0",
  699. "2A4A_K_0",
  700. "2A4A_M_0",
  701. "2A4A_O_0",
  702. "2A4A_Q_0",
  703. "2A4A_S_0",
  704. "2A4A_U_12",
  705. "2A4A_W_12",
  706. "2A4A_Y_12"
  707. ]
  708. }
  709. ]
  710. },
  711. {
  712. "id": "2A4A_Y_16",
  713. "title": "Is this full reversal amount",
  714. "condition": "IN.UpdateType == `REVERSAL`",
  715. "logic": [
  716. "Define(`NewStandingAmount`, IN.NewAmount)",
  717. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
  718. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  719. ],
  720. "predecessors": [
  721. "2A4A_I_0",
  722. "2A4A_K_0",
  723. "2A4A_M_0",
  724. "2A4A_O_0",
  725. "2A4A_Q_0",
  726. "2A4A_S_0",
  727. "2A4A_U_12",
  728. "2A4A_W_12"
  729. ],
  730. "children": [
  731. {
  732. "id": "2A4A_AA_16",
  733. "title": "Call T24?",
  734. "condition": "IsFullReversal",
  735. "logic": [
  736. "Define(`REVO`, GetOverdraft())",
  737. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  738. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  739. ],
  740. "predecessors": [
  741. "2A4A_I_0",
  742. "2A4A_K_0",
  743. "2A4A_M_0",
  744. "2A4A_O_0",
  745. "2A4A_Q_0",
  746. "2A4A_S_0",
  747. "2A4A_U_12",
  748. "2A4A_W_12",
  749. "2A4A_Y_16"
  750. ],
  751. "children": [
  752. {
  753. "id": "2A4A_AC_16",
  754. "title": "End of logic leading to result",
  755. "condition": "UNAUTHORIZED",
  756. "result": "Result.2A4A.170",
  757. "predecessors": [
  758. "2A4A_I_0",
  759. "2A4A_K_0",
  760. "2A4A_M_0",
  761. "2A4A_O_0",
  762. "2A4A_Q_0",
  763. "2A4A_S_0",
  764. "2A4A_U_12",
  765. "2A4A_W_12",
  766. "2A4A_Y_16",
  767. "2A4A_AA_16"
  768. ]
  769. },
  770. {
  771. "id": "2A4A_AC_17",
  772. "title": "Set MaturityDate?",
  773. "condition": "!UNAUTHORIZED",
  774. "logic": [
  775. "Define(`CustomerPackage`, GetCustomerPackage())",
  776. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  777. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  778. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  779. "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))",
  780. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  781. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  782. "Define(`BOOKING_DATE`, GetBookingDate())",
  783. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  784. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  785. ],
  786. "predecessors": [
  787. "2A4A_I_0",
  788. "2A4A_K_0",
  789. "2A4A_M_0",
  790. "2A4A_O_0",
  791. "2A4A_Q_0",
  792. "2A4A_S_0",
  793. "2A4A_U_12",
  794. "2A4A_W_12",
  795. "2A4A_Y_16",
  796. "2A4A_AA_16"
  797. ],
  798. "children": [
  799. {
  800. "id": "2A4A_AE_17",
  801. "title": "End of logic leading to result",
  802. "condition": "RESETDATE",
  803. "result": "Result.2A4A.180",
  804. "predecessors": [
  805. "2A4A_I_0",
  806. "2A4A_K_0",
  807. "2A4A_M_0",
  808. "2A4A_O_0",
  809. "2A4A_Q_0",
  810. "2A4A_S_0",
  811. "2A4A_U_12",
  812. "2A4A_W_12",
  813. "2A4A_Y_16",
  814. "2A4A_AA_16",
  815. "2A4A_AC_17"
  816. ]
  817. },
  818. {
  819. "id": "2A4A_AE_18",
  820. "title": "End of logic leading to result",
  821. "condition": "!RESETDATE",
  822. "result": "Result.2A4A.190",
  823. "predecessors": [
  824. "2A4A_I_0",
  825. "2A4A_K_0",
  826. "2A4A_M_0",
  827. "2A4A_O_0",
  828. "2A4A_Q_0",
  829. "2A4A_S_0",
  830. "2A4A_U_12",
  831. "2A4A_W_12",
  832. "2A4A_Y_16",
  833. "2A4A_AA_16",
  834. "2A4A_AC_17"
  835. ]
  836. }
  837. ]
  838. }
  839. ]
  840. },
  841. {
  842. "id": "2A4A_AA_19",
  843. "title": "End of logic leading to result",
  844. "condition": "!IsFullReversal",
  845. "result": "Result.2A4A.200",
  846. "predecessors": [
  847. "2A4A_I_0",
  848. "2A4A_K_0",
  849. "2A4A_M_0",
  850. "2A4A_O_0",
  851. "2A4A_Q_0",
  852. "2A4A_S_0",
  853. "2A4A_U_12",
  854. "2A4A_W_12",
  855. "2A4A_Y_16"
  856. ]
  857. }
  858. ]
  859. }
  860. ]
  861. },
  862. {
  863. "id": "2A4A_W_20",
  864. "title": "Is this a full reversal",
  865. "condition": "IN.NewAmount.Currency != MAIN.Currency",
  866. "logic": [
  867. "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
  868. ],
  869. "predecessors": [
  870. "2A4A_I_0",
  871. "2A4A_K_0",
  872. "2A4A_M_0",
  873. "2A4A_O_0",
  874. "2A4A_Q_0",
  875. "2A4A_S_0",
  876. "2A4A_U_12"
  877. ],
  878. "children": [
  879. {
  880. "id": "2A4A_Y_20",
  881. "title": "What is the transaction rate source",
  882. "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
  883. "predecessors": [
  884. "2A4A_I_0",
  885. "2A4A_K_0",
  886. "2A4A_M_0",
  887. "2A4A_O_0",
  888. "2A4A_Q_0",
  889. "2A4A_S_0",
  890. "2A4A_U_12",
  891. "2A4A_W_20"
  892. ],
  893. "children": [
  894. {
  895. "id": "2A4A_AA_20",
  896. "title": "Is this partial reversal amount",
  897. "condition": "FirstRow.TransactionRateSource == `FX`",
  898. "logic": [
  899. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
  900. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  901. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  902. ],
  903. "predecessors": [
  904. "2A4A_I_0",
  905. "2A4A_K_0",
  906. "2A4A_M_0",
  907. "2A4A_O_0",
  908. "2A4A_Q_0",
  909. "2A4A_S_0",
  910. "2A4A_U_12",
  911. "2A4A_W_20",
  912. "2A4A_Y_20"
  913. ],
  914. "children": [
  915. {
  916. "id": "2A4A_AC_20",
  917. "title": "Call T24?",
  918. "condition": "!IsFullReversal",
  919. "logic": [
  920. "Define(`REVO`, GetOverdraft())",
  921. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  922. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  923. ],
  924. "predecessors": [
  925. "2A4A_I_0",
  926. "2A4A_K_0",
  927. "2A4A_M_0",
  928. "2A4A_O_0",
  929. "2A4A_Q_0",
  930. "2A4A_S_0",
  931. "2A4A_U_12",
  932. "2A4A_W_20",
  933. "2A4A_Y_20",
  934. "2A4A_AA_20"
  935. ],
  936. "children": [
  937. {
  938. "id": "2A4A_AE_20",
  939. "title": "End of logic leading to result",
  940. "condition": "UNAUTHORIZED",
  941. "result": "Result.2A4A.210",
  942. "predecessors": [
  943. "2A4A_I_0",
  944. "2A4A_K_0",
  945. "2A4A_M_0",
  946. "2A4A_O_0",
  947. "2A4A_Q_0",
  948. "2A4A_S_0",
  949. "2A4A_U_12",
  950. "2A4A_W_20",
  951. "2A4A_Y_20",
  952. "2A4A_AA_20",
  953. "2A4A_AC_20"
  954. ]
  955. },
  956. {
  957. "id": "2A4A_AE_21",
  958. "title": "Set MaturityDate?",
  959. "condition": "!UNAUTHORIZED",
  960. "logic": [
  961. "Define(`CustomerPackage`, GetCustomerPackage())",
  962. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  963. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  964. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  965. "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))",
  966. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  967. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  968. "Define(`BOOKING_DATE`, GetBookingDate())",
  969. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  970. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  971. ],
  972. "predecessors": [
  973. "2A4A_I_0",
  974. "2A4A_K_0",
  975. "2A4A_M_0",
  976. "2A4A_O_0",
  977. "2A4A_Q_0",
  978. "2A4A_S_0",
  979. "2A4A_U_12",
  980. "2A4A_W_20",
  981. "2A4A_Y_20",
  982. "2A4A_AA_20",
  983. "2A4A_AC_20"
  984. ],
  985. "children": [
  986. {
  987. "id": "2A4A_AG_21",
  988. "title": "End of logic leading to result",
  989. "condition": "RESETDATE",
  990. "result": "Result.2A4A.220",
  991. "predecessors": [
  992. "2A4A_I_0",
  993. "2A4A_K_0",
  994. "2A4A_M_0",
  995. "2A4A_O_0",
  996. "2A4A_Q_0",
  997. "2A4A_S_0",
  998. "2A4A_U_12",
  999. "2A4A_W_20",
  1000. "2A4A_Y_20",
  1001. "2A4A_AA_20",
  1002. "2A4A_AC_20",
  1003. "2A4A_AE_21"
  1004. ]
  1005. },
  1006. {
  1007. "id": "2A4A_AG_22",
  1008. "title": "End of logic leading to result",
  1009. "condition": "!RESETDATE",
  1010. "result": "Result.2A4A.230",
  1011. "predecessors": [
  1012. "2A4A_I_0",
  1013. "2A4A_K_0",
  1014. "2A4A_M_0",
  1015. "2A4A_O_0",
  1016. "2A4A_Q_0",
  1017. "2A4A_S_0",
  1018. "2A4A_U_12",
  1019. "2A4A_W_20",
  1020. "2A4A_Y_20",
  1021. "2A4A_AA_20",
  1022. "2A4A_AC_20",
  1023. "2A4A_AE_21"
  1024. ]
  1025. }
  1026. ]
  1027. }
  1028. ]
  1029. },
  1030. {
  1031. "id": "2A4A_AC_23",
  1032. "title": "End of logic leading to result",
  1033. "condition": "IsFullReversal",
  1034. "result": "Result.2A4A.240",
  1035. "predecessors": [
  1036. "2A4A_I_0",
  1037. "2A4A_K_0",
  1038. "2A4A_M_0",
  1039. "2A4A_O_0",
  1040. "2A4A_Q_0",
  1041. "2A4A_S_0",
  1042. "2A4A_U_12",
  1043. "2A4A_W_20",
  1044. "2A4A_Y_20",
  1045. "2A4A_AA_20"
  1046. ]
  1047. }
  1048. ]
  1049. },
  1050. {
  1051. "id": "2A4A_AA_24",
  1052. "title": "Is this partial reversal amount",
  1053. "condition": "FirstRow.TransactionRateSource == `MC`",
  1054. "logic": [
  1055. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
  1056. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  1057. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  1058. ],
  1059. "predecessors": [
  1060. "2A4A_I_0",
  1061. "2A4A_K_0",
  1062. "2A4A_M_0",
  1063. "2A4A_O_0",
  1064. "2A4A_Q_0",
  1065. "2A4A_S_0",
  1066. "2A4A_U_12",
  1067. "2A4A_W_20",
  1068. "2A4A_Y_20"
  1069. ],
  1070. "children": [
  1071. {
  1072. "id": "2A4A_AC_24",
  1073. "title": "Call T24?",
  1074. "condition": "!IsFullReversal",
  1075. "logic": [
  1076. "Define(`REVO`, GetOverdraft())",
  1077. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  1078. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  1079. ],
  1080. "predecessors": [
  1081. "2A4A_I_0",
  1082. "2A4A_K_0",
  1083. "2A4A_M_0",
  1084. "2A4A_O_0",
  1085. "2A4A_Q_0",
  1086. "2A4A_S_0",
  1087. "2A4A_U_12",
  1088. "2A4A_W_20",
  1089. "2A4A_Y_20",
  1090. "2A4A_AA_24"
  1091. ],
  1092. "children": [
  1093. {
  1094. "id": "2A4A_AE_24",
  1095. "title": "End of logic leading to result",
  1096. "condition": "UNAUTHORIZED",
  1097. "result": "Result.2A4A.250",
  1098. "predecessors": [
  1099. "2A4A_I_0",
  1100. "2A4A_K_0",
  1101. "2A4A_M_0",
  1102. "2A4A_O_0",
  1103. "2A4A_Q_0",
  1104. "2A4A_S_0",
  1105. "2A4A_U_12",
  1106. "2A4A_W_20",
  1107. "2A4A_Y_20",
  1108. "2A4A_AA_24",
  1109. "2A4A_AC_24"
  1110. ]
  1111. },
  1112. {
  1113. "id": "2A4A_AE_25",
  1114. "title": "Set MaturityDate?",
  1115. "condition": "!UNAUTHORIZED",
  1116. "logic": [
  1117. "Define(`CustomerPackage`, GetCustomerPackage())",
  1118. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  1119. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  1120. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  1121. "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))",
  1122. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  1123. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  1124. "Define(`BOOKING_DATE`, GetBookingDate())",
  1125. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  1126. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  1127. ],
  1128. "predecessors": [
  1129. "2A4A_I_0",
  1130. "2A4A_K_0",
  1131. "2A4A_M_0",
  1132. "2A4A_O_0",
  1133. "2A4A_Q_0",
  1134. "2A4A_S_0",
  1135. "2A4A_U_12",
  1136. "2A4A_W_20",
  1137. "2A4A_Y_20",
  1138. "2A4A_AA_24",
  1139. "2A4A_AC_24"
  1140. ],
  1141. "children": [
  1142. {
  1143. "id": "2A4A_AG_25",
  1144. "title": "End of logic leading to result",
  1145. "condition": "RESETDATE",
  1146. "result": "Result.2A4A.260",
  1147. "predecessors": [
  1148. "2A4A_I_0",
  1149. "2A4A_K_0",
  1150. "2A4A_M_0",
  1151. "2A4A_O_0",
  1152. "2A4A_Q_0",
  1153. "2A4A_S_0",
  1154. "2A4A_U_12",
  1155. "2A4A_W_20",
  1156. "2A4A_Y_20",
  1157. "2A4A_AA_24",
  1158. "2A4A_AC_24",
  1159. "2A4A_AE_25"
  1160. ]
  1161. },
  1162. {
  1163. "id": "2A4A_AG_26",
  1164. "title": "End of logic leading to result",
  1165. "condition": "!RESETDATE",
  1166. "result": "Result.2A4A.270",
  1167. "predecessors": [
  1168. "2A4A_I_0",
  1169. "2A4A_K_0",
  1170. "2A4A_M_0",
  1171. "2A4A_O_0",
  1172. "2A4A_Q_0",
  1173. "2A4A_S_0",
  1174. "2A4A_U_12",
  1175. "2A4A_W_20",
  1176. "2A4A_Y_20",
  1177. "2A4A_AA_24",
  1178. "2A4A_AC_24",
  1179. "2A4A_AE_25"
  1180. ]
  1181. }
  1182. ]
  1183. }
  1184. ]
  1185. },
  1186. {
  1187. "id": "2A4A_AC_27",
  1188. "title": "End of logic leading to result",
  1189. "condition": "IsFullReversal",
  1190. "result": "Result.2A4A.280",
  1191. "predecessors": [
  1192. "2A4A_I_0",
  1193. "2A4A_K_0",
  1194. "2A4A_M_0",
  1195. "2A4A_O_0",
  1196. "2A4A_Q_0",
  1197. "2A4A_S_0",
  1198. "2A4A_U_12",
  1199. "2A4A_W_20",
  1200. "2A4A_Y_20",
  1201. "2A4A_AA_24"
  1202. ]
  1203. }
  1204. ]
  1205. }
  1206. ]
  1207. },
  1208. {
  1209. "id": "2A4A_Y_28",
  1210. "title": "What is the transaction rate source",
  1211. "condition": "IN.UpdateType == `REVERSAL`",
  1212. "predecessors": [
  1213. "2A4A_I_0",
  1214. "2A4A_K_0",
  1215. "2A4A_M_0",
  1216. "2A4A_O_0",
  1217. "2A4A_Q_0",
  1218. "2A4A_S_0",
  1219. "2A4A_U_12",
  1220. "2A4A_W_20"
  1221. ],
  1222. "children": [
  1223. {
  1224. "id": "2A4A_AA_28",
  1225. "title": "Is this full reversal amount",
  1226. "condition": "FirstRow.TransactionRateSource == `FX`",
  1227. "logic": [
  1228. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
  1229. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  1230. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  1231. ],
  1232. "predecessors": [
  1233. "2A4A_I_0",
  1234. "2A4A_K_0",
  1235. "2A4A_M_0",
  1236. "2A4A_O_0",
  1237. "2A4A_Q_0",
  1238. "2A4A_S_0",
  1239. "2A4A_U_12",
  1240. "2A4A_W_20",
  1241. "2A4A_Y_28"
  1242. ],
  1243. "children": [
  1244. {
  1245. "id": "2A4A_AC_28",
  1246. "title": "Call T24?",
  1247. "condition": "IsFullReversal",
  1248. "logic": [
  1249. "Define(`REVO`, GetOverdraft())",
  1250. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  1251. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  1252. ],
  1253. "predecessors": [
  1254. "2A4A_I_0",
  1255. "2A4A_K_0",
  1256. "2A4A_M_0",
  1257. "2A4A_O_0",
  1258. "2A4A_Q_0",
  1259. "2A4A_S_0",
  1260. "2A4A_U_12",
  1261. "2A4A_W_20",
  1262. "2A4A_Y_28",
  1263. "2A4A_AA_28"
  1264. ],
  1265. "children": [
  1266. {
  1267. "id": "2A4A_AE_28",
  1268. "title": "End of logic leading to result",
  1269. "condition": "UNAUTHORIZED",
  1270. "result": "Result.2A4A.290",
  1271. "predecessors": [
  1272. "2A4A_I_0",
  1273. "2A4A_K_0",
  1274. "2A4A_M_0",
  1275. "2A4A_O_0",
  1276. "2A4A_Q_0",
  1277. "2A4A_S_0",
  1278. "2A4A_U_12",
  1279. "2A4A_W_20",
  1280. "2A4A_Y_28",
  1281. "2A4A_AA_28",
  1282. "2A4A_AC_28"
  1283. ]
  1284. },
  1285. {
  1286. "id": "2A4A_AE_29",
  1287. "title": "Set MaturityDate?",
  1288. "condition": "!UNAUTHORIZED",
  1289. "logic": [
  1290. "Define(`CustomerPackage`, GetCustomerPackage())",
  1291. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  1292. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  1293. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  1294. "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))",
  1295. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  1296. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  1297. "Define(`BOOKING_DATE`, GetBookingDate())",
  1298. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  1299. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  1300. ],
  1301. "predecessors": [
  1302. "2A4A_I_0",
  1303. "2A4A_K_0",
  1304. "2A4A_M_0",
  1305. "2A4A_O_0",
  1306. "2A4A_Q_0",
  1307. "2A4A_S_0",
  1308. "2A4A_U_12",
  1309. "2A4A_W_20",
  1310. "2A4A_Y_28",
  1311. "2A4A_AA_28",
  1312. "2A4A_AC_28"
  1313. ],
  1314. "children": [
  1315. {
  1316. "id": "2A4A_AG_29",
  1317. "title": "End of logic leading to result",
  1318. "condition": "RESETDATE",
  1319. "result": "Result.2A4A.300",
  1320. "predecessors": [
  1321. "2A4A_I_0",
  1322. "2A4A_K_0",
  1323. "2A4A_M_0",
  1324. "2A4A_O_0",
  1325. "2A4A_Q_0",
  1326. "2A4A_S_0",
  1327. "2A4A_U_12",
  1328. "2A4A_W_20",
  1329. "2A4A_Y_28",
  1330. "2A4A_AA_28",
  1331. "2A4A_AC_28",
  1332. "2A4A_AE_29"
  1333. ]
  1334. },
  1335. {
  1336. "id": "2A4A_AG_30",
  1337. "title": "End of logic leading to result",
  1338. "condition": "!RESETDATE",
  1339. "result": "Result.2A4A.310",
  1340. "predecessors": [
  1341. "2A4A_I_0",
  1342. "2A4A_K_0",
  1343. "2A4A_M_0",
  1344. "2A4A_O_0",
  1345. "2A4A_Q_0",
  1346. "2A4A_S_0",
  1347. "2A4A_U_12",
  1348. "2A4A_W_20",
  1349. "2A4A_Y_28",
  1350. "2A4A_AA_28",
  1351. "2A4A_AC_28",
  1352. "2A4A_AE_29"
  1353. ]
  1354. }
  1355. ]
  1356. }
  1357. ]
  1358. },
  1359. {
  1360. "id": "2A4A_AC_31",
  1361. "title": "End of logic leading to result",
  1362. "condition": "!IsFullReversal",
  1363. "result": "Result.2A4A.320",
  1364. "predecessors": [
  1365. "2A4A_I_0",
  1366. "2A4A_K_0",
  1367. "2A4A_M_0",
  1368. "2A4A_O_0",
  1369. "2A4A_Q_0",
  1370. "2A4A_S_0",
  1371. "2A4A_U_12",
  1372. "2A4A_W_20",
  1373. "2A4A_Y_28",
  1374. "2A4A_AA_28"
  1375. ]
  1376. }
  1377. ]
  1378. },
  1379. {
  1380. "id": "2A4A_AA_32",
  1381. "title": "Is this full reversal amount",
  1382. "condition": "FirstRow.TransactionRateSource == `MC`",
  1383. "logic": [
  1384. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
  1385. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  1386. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  1387. ],
  1388. "predecessors": [
  1389. "2A4A_I_0",
  1390. "2A4A_K_0",
  1391. "2A4A_M_0",
  1392. "2A4A_O_0",
  1393. "2A4A_Q_0",
  1394. "2A4A_S_0",
  1395. "2A4A_U_12",
  1396. "2A4A_W_20",
  1397. "2A4A_Y_28"
  1398. ],
  1399. "children": [
  1400. {
  1401. "id": "2A4A_AC_32",
  1402. "title": "Call T24?",
  1403. "condition": "IsFullReversal",
  1404. "logic": [
  1405. "Define(`REVO`, GetOverdraft())",
  1406. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  1407. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  1408. ],
  1409. "predecessors": [
  1410. "2A4A_I_0",
  1411. "2A4A_K_0",
  1412. "2A4A_M_0",
  1413. "2A4A_O_0",
  1414. "2A4A_Q_0",
  1415. "2A4A_S_0",
  1416. "2A4A_U_12",
  1417. "2A4A_W_20",
  1418. "2A4A_Y_28",
  1419. "2A4A_AA_32"
  1420. ],
  1421. "children": [
  1422. {
  1423. "id": "2A4A_AE_32",
  1424. "title": "End of logic leading to result",
  1425. "condition": "UNAUTHORIZED",
  1426. "result": "Result.2A4A.330",
  1427. "predecessors": [
  1428. "2A4A_I_0",
  1429. "2A4A_K_0",
  1430. "2A4A_M_0",
  1431. "2A4A_O_0",
  1432. "2A4A_Q_0",
  1433. "2A4A_S_0",
  1434. "2A4A_U_12",
  1435. "2A4A_W_20",
  1436. "2A4A_Y_28",
  1437. "2A4A_AA_32",
  1438. "2A4A_AC_32"
  1439. ]
  1440. },
  1441. {
  1442. "id": "2A4A_AE_33",
  1443. "title": "Set MaturityDate?",
  1444. "condition": "!UNAUTHORIZED",
  1445. "logic": [
  1446. "Define(`CustomerPackage`, GetCustomerPackage())",
  1447. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  1448. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  1449. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  1450. "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))",
  1451. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  1452. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  1453. "Define(`BOOKING_DATE`, GetBookingDate())",
  1454. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  1455. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  1456. ],
  1457. "predecessors": [
  1458. "2A4A_I_0",
  1459. "2A4A_K_0",
  1460. "2A4A_M_0",
  1461. "2A4A_O_0",
  1462. "2A4A_Q_0",
  1463. "2A4A_S_0",
  1464. "2A4A_U_12",
  1465. "2A4A_W_20",
  1466. "2A4A_Y_28",
  1467. "2A4A_AA_32",
  1468. "2A4A_AC_32"
  1469. ],
  1470. "children": [
  1471. {
  1472. "id": "2A4A_AG_33",
  1473. "title": "End of logic leading to result",
  1474. "condition": "RESETDATE",
  1475. "result": "Result.2A4A.340",
  1476. "predecessors": [
  1477. "2A4A_I_0",
  1478. "2A4A_K_0",
  1479. "2A4A_M_0",
  1480. "2A4A_O_0",
  1481. "2A4A_Q_0",
  1482. "2A4A_S_0",
  1483. "2A4A_U_12",
  1484. "2A4A_W_20",
  1485. "2A4A_Y_28",
  1486. "2A4A_AA_32",
  1487. "2A4A_AC_32",
  1488. "2A4A_AE_33"
  1489. ]
  1490. },
  1491. {
  1492. "id": "2A4A_AG_34",
  1493. "title": "End of logic leading to result",
  1494. "condition": "!RESETDATE",
  1495. "result": "Result.2A4A.350",
  1496. "predecessors": [
  1497. "2A4A_I_0",
  1498. "2A4A_K_0",
  1499. "2A4A_M_0",
  1500. "2A4A_O_0",
  1501. "2A4A_Q_0",
  1502. "2A4A_S_0",
  1503. "2A4A_U_12",
  1504. "2A4A_W_20",
  1505. "2A4A_Y_28",
  1506. "2A4A_AA_32",
  1507. "2A4A_AC_32",
  1508. "2A4A_AE_33"
  1509. ]
  1510. }
  1511. ]
  1512. }
  1513. ]
  1514. },
  1515. {
  1516. "id": "2A4A_AC_35",
  1517. "title": "End of logic leading to result",
  1518. "condition": "!IsFullReversal",
  1519. "result": "Result.2A4A.360",
  1520. "predecessors": [
  1521. "2A4A_I_0",
  1522. "2A4A_K_0",
  1523. "2A4A_M_0",
  1524. "2A4A_O_0",
  1525. "2A4A_Q_0",
  1526. "2A4A_S_0",
  1527. "2A4A_U_12",
  1528. "2A4A_W_20",
  1529. "2A4A_Y_28",
  1530. "2A4A_AA_32"
  1531. ]
  1532. }
  1533. ]
  1534. }
  1535. ]
  1536. }
  1537. ]
  1538. }
  1539. ]
  1540. }
  1541. ]
  1542. },
  1543. {
  1544. "id": "2A4A_S_36",
  1545. "title": "Use OVD?",
  1546. "condition": "!IsSameMonth",
  1547. "logic": [
  1548. "Define(`CONDITIONFLAG`, MAIN.OverdraftFlag == true)",
  1549. "Define(`BALANCE`, Balance(MAIN.InternalName))",
  1550. "Define(`BALANCECONDITION`, BALANCE.Amount \u003e= Decimal(0))",
  1551. "Define(`CONDITIONUSE`, CONDITIONFLAG \u0026\u0026 !BALANCECONDITION)"
  1552. ],
  1553. "predecessors": [
  1554. "2A4A_I_0",
  1555. "2A4A_K_0",
  1556. "2A4A_M_0",
  1557. "2A4A_O_0",
  1558. "2A4A_Q_0"
  1559. ],
  1560. "children": [
  1561. {
  1562. "id": "2A4A_U_36",
  1563. "title": "What is the currency of transaction - is this a home transaction",
  1564. "condition": "!CONDITIONUSE",
  1565. "logic": [
  1566. "Define(`MerchantName`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Name : IN.MerchantData.Name)",
  1567. "Define(`MerchantLocation`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Address.City : IN.MerchantData.Address.City)"
  1568. ],
  1569. "predecessors": [
  1570. "2A4A_I_0",
  1571. "2A4A_K_0",
  1572. "2A4A_M_0",
  1573. "2A4A_O_0",
  1574. "2A4A_Q_0",
  1575. "2A4A_S_36"
  1576. ],
  1577. "children": [
  1578. {
  1579. "id": "2A4A_W_36",
  1580. "title": "Is this a full reversal",
  1581. "condition": "IN.NewAmount.Currency == MAIN.Currency",
  1582. "logic": [
  1583. "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
  1584. ],
  1585. "predecessors": [
  1586. "2A4A_I_0",
  1587. "2A4A_K_0",
  1588. "2A4A_M_0",
  1589. "2A4A_O_0",
  1590. "2A4A_Q_0",
  1591. "2A4A_S_36",
  1592. "2A4A_U_36"
  1593. ],
  1594. "children": [
  1595. {
  1596. "id": "2A4A_Y_36",
  1597. "title": "Is this partial reversal amount",
  1598. "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
  1599. "logic": [
  1600. "Define(`NewStandingAmount`, IN.NewAmount)",
  1601. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
  1602. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  1603. ],
  1604. "predecessors": [
  1605. "2A4A_I_0",
  1606. "2A4A_K_0",
  1607. "2A4A_M_0",
  1608. "2A4A_O_0",
  1609. "2A4A_Q_0",
  1610. "2A4A_S_36",
  1611. "2A4A_U_36",
  1612. "2A4A_W_36"
  1613. ],
  1614. "children": [
  1615. {
  1616. "id": "2A4A_AA_36",
  1617. "title": "End of logic leading to result",
  1618. "condition": "!IsFullReversal",
  1619. "result": "Result.2A4A.370",
  1620. "predecessors": [
  1621. "2A4A_I_0",
  1622. "2A4A_K_0",
  1623. "2A4A_M_0",
  1624. "2A4A_O_0",
  1625. "2A4A_Q_0",
  1626. "2A4A_S_36",
  1627. "2A4A_U_36",
  1628. "2A4A_W_36",
  1629. "2A4A_Y_36"
  1630. ]
  1631. },
  1632. {
  1633. "id": "2A4A_AA_37",
  1634. "title": "End of logic leading to result",
  1635. "condition": "IsFullReversal",
  1636. "result": "Result.2A4A.380",
  1637. "predecessors": [
  1638. "2A4A_I_0",
  1639. "2A4A_K_0",
  1640. "2A4A_M_0",
  1641. "2A4A_O_0",
  1642. "2A4A_Q_0",
  1643. "2A4A_S_36",
  1644. "2A4A_U_36",
  1645. "2A4A_W_36",
  1646. "2A4A_Y_36"
  1647. ]
  1648. }
  1649. ]
  1650. },
  1651. {
  1652. "id": "2A4A_Y_38",
  1653. "title": "Is this full reversal amount",
  1654. "condition": "IN.UpdateType == `REVERSAL`",
  1655. "logic": [
  1656. "Define(`NewStandingAmount`, IN.NewAmount)",
  1657. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
  1658. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  1659. ],
  1660. "predecessors": [
  1661. "2A4A_I_0",
  1662. "2A4A_K_0",
  1663. "2A4A_M_0",
  1664. "2A4A_O_0",
  1665. "2A4A_Q_0",
  1666. "2A4A_S_36",
  1667. "2A4A_U_36",
  1668. "2A4A_W_36"
  1669. ],
  1670. "children": [
  1671. {
  1672. "id": "2A4A_AA_38",
  1673. "title": "End of logic leading to result",
  1674. "condition": "IsFullReversal",
  1675. "result": "Result.2A4A.390",
  1676. "predecessors": [
  1677. "2A4A_I_0",
  1678. "2A4A_K_0",
  1679. "2A4A_M_0",
  1680. "2A4A_O_0",
  1681. "2A4A_Q_0",
  1682. "2A4A_S_36",
  1683. "2A4A_U_36",
  1684. "2A4A_W_36",
  1685. "2A4A_Y_38"
  1686. ]
  1687. },
  1688. {
  1689. "id": "2A4A_AA_39",
  1690. "title": "End of logic leading to result",
  1691. "condition": "!IsFullReversal",
  1692. "result": "Result.2A4A.400",
  1693. "predecessors": [
  1694. "2A4A_I_0",
  1695. "2A4A_K_0",
  1696. "2A4A_M_0",
  1697. "2A4A_O_0",
  1698. "2A4A_Q_0",
  1699. "2A4A_S_36",
  1700. "2A4A_U_36",
  1701. "2A4A_W_36",
  1702. "2A4A_Y_38"
  1703. ]
  1704. }
  1705. ]
  1706. }
  1707. ]
  1708. },
  1709. {
  1710. "id": "2A4A_W_40",
  1711. "title": "Is this a full reversal",
  1712. "condition": "IN.NewAmount.Currency != MAIN.Currency",
  1713. "logic": [
  1714. "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
  1715. ],
  1716. "predecessors": [
  1717. "2A4A_I_0",
  1718. "2A4A_K_0",
  1719. "2A4A_M_0",
  1720. "2A4A_O_0",
  1721. "2A4A_Q_0",
  1722. "2A4A_S_36",
  1723. "2A4A_U_36"
  1724. ],
  1725. "children": [
  1726. {
  1727. "id": "2A4A_Y_40",
  1728. "title": "What is the transaction rate source",
  1729. "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
  1730. "predecessors": [
  1731. "2A4A_I_0",
  1732. "2A4A_K_0",
  1733. "2A4A_M_0",
  1734. "2A4A_O_0",
  1735. "2A4A_Q_0",
  1736. "2A4A_S_36",
  1737. "2A4A_U_36",
  1738. "2A4A_W_40"
  1739. ],
  1740. "children": [
  1741. {
  1742. "id": "2A4A_AA_40",
  1743. "title": "Is this partial reversal amount",
  1744. "condition": "FirstRow.TransactionRateSource == `FX`",
  1745. "logic": [
  1746. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
  1747. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  1748. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  1749. ],
  1750. "predecessors": [
  1751. "2A4A_I_0",
  1752. "2A4A_K_0",
  1753. "2A4A_M_0",
  1754. "2A4A_O_0",
  1755. "2A4A_Q_0",
  1756. "2A4A_S_36",
  1757. "2A4A_U_36",
  1758. "2A4A_W_40",
  1759. "2A4A_Y_40"
  1760. ],
  1761. "children": [
  1762. {
  1763. "id": "2A4A_AC_40",
  1764. "title": "End of logic leading to result",
  1765. "condition": "!IsFullReversal",
  1766. "result": "Result.2A4A.410",
  1767. "predecessors": [
  1768. "2A4A_I_0",
  1769. "2A4A_K_0",
  1770. "2A4A_M_0",
  1771. "2A4A_O_0",
  1772. "2A4A_Q_0",
  1773. "2A4A_S_36",
  1774. "2A4A_U_36",
  1775. "2A4A_W_40",
  1776. "2A4A_Y_40",
  1777. "2A4A_AA_40"
  1778. ]
  1779. },
  1780. {
  1781. "id": "2A4A_AC_41",
  1782. "title": "End of logic leading to result",
  1783. "condition": "IsFullReversal",
  1784. "result": "Result.2A4A.420",
  1785. "predecessors": [
  1786. "2A4A_I_0",
  1787. "2A4A_K_0",
  1788. "2A4A_M_0",
  1789. "2A4A_O_0",
  1790. "2A4A_Q_0",
  1791. "2A4A_S_36",
  1792. "2A4A_U_36",
  1793. "2A4A_W_40",
  1794. "2A4A_Y_40",
  1795. "2A4A_AA_40"
  1796. ]
  1797. }
  1798. ]
  1799. },
  1800. {
  1801. "id": "2A4A_AA_42",
  1802. "title": "Is this partial reversal amount",
  1803. "condition": "FirstRow.TransactionRateSource == `MC`",
  1804. "logic": [
  1805. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
  1806. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  1807. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  1808. ],
  1809. "predecessors": [
  1810. "2A4A_I_0",
  1811. "2A4A_K_0",
  1812. "2A4A_M_0",
  1813. "2A4A_O_0",
  1814. "2A4A_Q_0",
  1815. "2A4A_S_36",
  1816. "2A4A_U_36",
  1817. "2A4A_W_40",
  1818. "2A4A_Y_40"
  1819. ],
  1820. "children": [
  1821. {
  1822. "id": "2A4A_AC_42",
  1823. "title": "End of logic leading to result",
  1824. "condition": "!IsFullReversal",
  1825. "result": "Result.2A4A.430",
  1826. "predecessors": [
  1827. "2A4A_I_0",
  1828. "2A4A_K_0",
  1829. "2A4A_M_0",
  1830. "2A4A_O_0",
  1831. "2A4A_Q_0",
  1832. "2A4A_S_36",
  1833. "2A4A_U_36",
  1834. "2A4A_W_40",
  1835. "2A4A_Y_40",
  1836. "2A4A_AA_42"
  1837. ]
  1838. },
  1839. {
  1840. "id": "2A4A_AC_43",
  1841. "title": "End of logic leading to result",
  1842. "condition": "IsFullReversal",
  1843. "result": "Result.2A4A.440",
  1844. "predecessors": [
  1845. "2A4A_I_0",
  1846. "2A4A_K_0",
  1847. "2A4A_M_0",
  1848. "2A4A_O_0",
  1849. "2A4A_Q_0",
  1850. "2A4A_S_36",
  1851. "2A4A_U_36",
  1852. "2A4A_W_40",
  1853. "2A4A_Y_40",
  1854. "2A4A_AA_42"
  1855. ]
  1856. }
  1857. ]
  1858. }
  1859. ]
  1860. },
  1861. {
  1862. "id": "2A4A_Y_44",
  1863. "title": "What is the transaction rate source",
  1864. "condition": "IN.UpdateType == `REVERSAL`",
  1865. "predecessors": [
  1866. "2A4A_I_0",
  1867. "2A4A_K_0",
  1868. "2A4A_M_0",
  1869. "2A4A_O_0",
  1870. "2A4A_Q_0",
  1871. "2A4A_S_36",
  1872. "2A4A_U_36",
  1873. "2A4A_W_40"
  1874. ],
  1875. "children": [
  1876. {
  1877. "id": "2A4A_AA_44",
  1878. "title": "Is this full reversal amount",
  1879. "condition": "FirstRow.TransactionRateSource == `FX`",
  1880. "logic": [
  1881. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
  1882. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  1883. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  1884. ],
  1885. "predecessors": [
  1886. "2A4A_I_0",
  1887. "2A4A_K_0",
  1888. "2A4A_M_0",
  1889. "2A4A_O_0",
  1890. "2A4A_Q_0",
  1891. "2A4A_S_36",
  1892. "2A4A_U_36",
  1893. "2A4A_W_40",
  1894. "2A4A_Y_44"
  1895. ],
  1896. "children": [
  1897. {
  1898. "id": "2A4A_AC_44",
  1899. "title": "End of logic leading to result",
  1900. "condition": "IsFullReversal",
  1901. "result": "Result.2A4A.450",
  1902. "predecessors": [
  1903. "2A4A_I_0",
  1904. "2A4A_K_0",
  1905. "2A4A_M_0",
  1906. "2A4A_O_0",
  1907. "2A4A_Q_0",
  1908. "2A4A_S_36",
  1909. "2A4A_U_36",
  1910. "2A4A_W_40",
  1911. "2A4A_Y_44",
  1912. "2A4A_AA_44"
  1913. ]
  1914. },
  1915. {
  1916. "id": "2A4A_AC_45",
  1917. "title": "End of logic leading to result",
  1918. "condition": "!IsFullReversal",
  1919. "result": "Result.2A4A.460",
  1920. "predecessors": [
  1921. "2A4A_I_0",
  1922. "2A4A_K_0",
  1923. "2A4A_M_0",
  1924. "2A4A_O_0",
  1925. "2A4A_Q_0",
  1926. "2A4A_S_36",
  1927. "2A4A_U_36",
  1928. "2A4A_W_40",
  1929. "2A4A_Y_44",
  1930. "2A4A_AA_44"
  1931. ]
  1932. }
  1933. ]
  1934. },
  1935. {
  1936. "id": "2A4A_AA_46",
  1937. "title": "Is this full reversal amount",
  1938. "condition": "FirstRow.TransactionRateSource == `MC`",
  1939. "logic": [
  1940. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
  1941. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  1942. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  1943. ],
  1944. "predecessors": [
  1945. "2A4A_I_0",
  1946. "2A4A_K_0",
  1947. "2A4A_M_0",
  1948. "2A4A_O_0",
  1949. "2A4A_Q_0",
  1950. "2A4A_S_36",
  1951. "2A4A_U_36",
  1952. "2A4A_W_40",
  1953. "2A4A_Y_44"
  1954. ],
  1955. "children": [
  1956. {
  1957. "id": "2A4A_AC_46",
  1958. "title": "End of logic leading to result",
  1959. "condition": "IsFullReversal",
  1960. "result": "Result.2A4A.470",
  1961. "predecessors": [
  1962. "2A4A_I_0",
  1963. "2A4A_K_0",
  1964. "2A4A_M_0",
  1965. "2A4A_O_0",
  1966. "2A4A_Q_0",
  1967. "2A4A_S_36",
  1968. "2A4A_U_36",
  1969. "2A4A_W_40",
  1970. "2A4A_Y_44",
  1971. "2A4A_AA_46"
  1972. ]
  1973. },
  1974. {
  1975. "id": "2A4A_AC_47",
  1976. "title": "End of logic leading to result",
  1977. "condition": "!IsFullReversal",
  1978. "result": "Result.2A4A.480",
  1979. "predecessors": [
  1980. "2A4A_I_0",
  1981. "2A4A_K_0",
  1982. "2A4A_M_0",
  1983. "2A4A_O_0",
  1984. "2A4A_Q_0",
  1985. "2A4A_S_36",
  1986. "2A4A_U_36",
  1987. "2A4A_W_40",
  1988. "2A4A_Y_44",
  1989. "2A4A_AA_46"
  1990. ]
  1991. }
  1992. ]
  1993. }
  1994. ]
  1995. }
  1996. ]
  1997. }
  1998. ]
  1999. },
  2000. {
  2001. "id": "2A4A_U_48",
  2002. "title": "What is the currency of transaction - is this a home transaction",
  2003. "condition": "CONDITIONUSE",
  2004. "logic": [
  2005. "Define(`MerchantName`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Name : IN.MerchantData.Name)",
  2006. "Define(`MerchantLocation`, IsEmpty(IN.MerchantData) ? LastRow.MerchantData.Address.City : IN.MerchantData.Address.City)"
  2007. ],
  2008. "predecessors": [
  2009. "2A4A_I_0",
  2010. "2A4A_K_0",
  2011. "2A4A_M_0",
  2012. "2A4A_O_0",
  2013. "2A4A_Q_0",
  2014. "2A4A_S_36"
  2015. ],
  2016. "children": [
  2017. {
  2018. "id": "2A4A_W_48",
  2019. "title": "Is this a full reversal",
  2020. "condition": "IN.NewAmount.Currency == MAIN.Currency",
  2021. "logic": [
  2022. "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
  2023. ],
  2024. "predecessors": [
  2025. "2A4A_I_0",
  2026. "2A4A_K_0",
  2027. "2A4A_M_0",
  2028. "2A4A_O_0",
  2029. "2A4A_Q_0",
  2030. "2A4A_S_36",
  2031. "2A4A_U_48"
  2032. ],
  2033. "children": [
  2034. {
  2035. "id": "2A4A_Y_48",
  2036. "title": "Is this partial reversal amount",
  2037. "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
  2038. "logic": [
  2039. "Define(`NewStandingAmount`, IN.NewAmount)",
  2040. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
  2041. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  2042. ],
  2043. "predecessors": [
  2044. "2A4A_I_0",
  2045. "2A4A_K_0",
  2046. "2A4A_M_0",
  2047. "2A4A_O_0",
  2048. "2A4A_Q_0",
  2049. "2A4A_S_36",
  2050. "2A4A_U_48",
  2051. "2A4A_W_48"
  2052. ],
  2053. "children": [
  2054. {
  2055. "id": "2A4A_AA_48",
  2056. "title": "Call T24?",
  2057. "condition": "!IsFullReversal",
  2058. "logic": [
  2059. "Define(`REVO`, GetOverdraft())",
  2060. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  2061. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  2062. ],
  2063. "predecessors": [
  2064. "2A4A_I_0",
  2065. "2A4A_K_0",
  2066. "2A4A_M_0",
  2067. "2A4A_O_0",
  2068. "2A4A_Q_0",
  2069. "2A4A_S_36",
  2070. "2A4A_U_48",
  2071. "2A4A_W_48",
  2072. "2A4A_Y_48"
  2073. ],
  2074. "children": [
  2075. {
  2076. "id": "2A4A_AC_48",
  2077. "title": "End of logic leading to result",
  2078. "condition": "UNAUTHORIZED",
  2079. "result": "Result.2A4A.490",
  2080. "predecessors": [
  2081. "2A4A_I_0",
  2082. "2A4A_K_0",
  2083. "2A4A_M_0",
  2084. "2A4A_O_0",
  2085. "2A4A_Q_0",
  2086. "2A4A_S_36",
  2087. "2A4A_U_48",
  2088. "2A4A_W_48",
  2089. "2A4A_Y_48",
  2090. "2A4A_AA_48"
  2091. ]
  2092. },
  2093. {
  2094. "id": "2A4A_AC_49",
  2095. "title": "Set MaturityDate?",
  2096. "condition": "!UNAUTHORIZED",
  2097. "logic": [
  2098. "Define(`CustomerPackage`, GetCustomerPackage())",
  2099. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  2100. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  2101. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  2102. "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))",
  2103. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  2104. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  2105. "Define(`BOOKING_DATE`, GetBookingDate())",
  2106. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  2107. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  2108. ],
  2109. "predecessors": [
  2110. "2A4A_I_0",
  2111. "2A4A_K_0",
  2112. "2A4A_M_0",
  2113. "2A4A_O_0",
  2114. "2A4A_Q_0",
  2115. "2A4A_S_36",
  2116. "2A4A_U_48",
  2117. "2A4A_W_48",
  2118. "2A4A_Y_48",
  2119. "2A4A_AA_48"
  2120. ],
  2121. "children": [
  2122. {
  2123. "id": "2A4A_AE_49",
  2124. "title": "End of logic leading to result",
  2125. "condition": "RESETDATE",
  2126. "result": "Result.2A4A.500",
  2127. "predecessors": [
  2128. "2A4A_I_0",
  2129. "2A4A_K_0",
  2130. "2A4A_M_0",
  2131. "2A4A_O_0",
  2132. "2A4A_Q_0",
  2133. "2A4A_S_36",
  2134. "2A4A_U_48",
  2135. "2A4A_W_48",
  2136. "2A4A_Y_48",
  2137. "2A4A_AA_48",
  2138. "2A4A_AC_49"
  2139. ]
  2140. },
  2141. {
  2142. "id": "2A4A_AE_50",
  2143. "title": "End of logic leading to result",
  2144. "condition": "!RESETDATE",
  2145. "result": "Result.2A4A.510",
  2146. "predecessors": [
  2147. "2A4A_I_0",
  2148. "2A4A_K_0",
  2149. "2A4A_M_0",
  2150. "2A4A_O_0",
  2151. "2A4A_Q_0",
  2152. "2A4A_S_36",
  2153. "2A4A_U_48",
  2154. "2A4A_W_48",
  2155. "2A4A_Y_48",
  2156. "2A4A_AA_48",
  2157. "2A4A_AC_49"
  2158. ]
  2159. }
  2160. ]
  2161. }
  2162. ]
  2163. },
  2164. {
  2165. "id": "2A4A_AA_51",
  2166. "title": "End of logic leading to result",
  2167. "condition": "IsFullReversal",
  2168. "result": "Result.2A4A.520",
  2169. "predecessors": [
  2170. "2A4A_I_0",
  2171. "2A4A_K_0",
  2172. "2A4A_M_0",
  2173. "2A4A_O_0",
  2174. "2A4A_Q_0",
  2175. "2A4A_S_36",
  2176. "2A4A_U_48",
  2177. "2A4A_W_48",
  2178. "2A4A_Y_48"
  2179. ]
  2180. }
  2181. ]
  2182. },
  2183. {
  2184. "id": "2A4A_Y_52",
  2185. "title": "Is this full reversal amount",
  2186. "condition": "IN.UpdateType == `REVERSAL`",
  2187. "logic": [
  2188. "Define(`NewStandingAmount`, IN.NewAmount)",
  2189. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - IN.NewAmount.Amount, IN.NewAmount.Currency))",
  2190. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  2191. ],
  2192. "predecessors": [
  2193. "2A4A_I_0",
  2194. "2A4A_K_0",
  2195. "2A4A_M_0",
  2196. "2A4A_O_0",
  2197. "2A4A_Q_0",
  2198. "2A4A_S_36",
  2199. "2A4A_U_48",
  2200. "2A4A_W_48"
  2201. ],
  2202. "children": [
  2203. {
  2204. "id": "2A4A_AA_52",
  2205. "title": "Call T24?",
  2206. "condition": "IsFullReversal",
  2207. "logic": [
  2208. "Define(`REVO`, GetOverdraft())",
  2209. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  2210. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  2211. ],
  2212. "predecessors": [
  2213. "2A4A_I_0",
  2214. "2A4A_K_0",
  2215. "2A4A_M_0",
  2216. "2A4A_O_0",
  2217. "2A4A_Q_0",
  2218. "2A4A_S_36",
  2219. "2A4A_U_48",
  2220. "2A4A_W_48",
  2221. "2A4A_Y_52"
  2222. ],
  2223. "children": [
  2224. {
  2225. "id": "2A4A_AC_52",
  2226. "title": "End of logic leading to result",
  2227. "condition": "UNAUTHORIZED",
  2228. "result": "Result.2A4A.530",
  2229. "predecessors": [
  2230. "2A4A_I_0",
  2231. "2A4A_K_0",
  2232. "2A4A_M_0",
  2233. "2A4A_O_0",
  2234. "2A4A_Q_0",
  2235. "2A4A_S_36",
  2236. "2A4A_U_48",
  2237. "2A4A_W_48",
  2238. "2A4A_Y_52",
  2239. "2A4A_AA_52"
  2240. ]
  2241. },
  2242. {
  2243. "id": "2A4A_AC_53",
  2244. "title": "Set MaturityDate?",
  2245. "condition": "!UNAUTHORIZED",
  2246. "logic": [
  2247. "Define(`CustomerPackage`, GetCustomerPackage())",
  2248. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  2249. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  2250. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  2251. "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))",
  2252. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  2253. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  2254. "Define(`BOOKING_DATE`, GetBookingDate())",
  2255. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  2256. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  2257. ],
  2258. "predecessors": [
  2259. "2A4A_I_0",
  2260. "2A4A_K_0",
  2261. "2A4A_M_0",
  2262. "2A4A_O_0",
  2263. "2A4A_Q_0",
  2264. "2A4A_S_36",
  2265. "2A4A_U_48",
  2266. "2A4A_W_48",
  2267. "2A4A_Y_52",
  2268. "2A4A_AA_52"
  2269. ],
  2270. "children": [
  2271. {
  2272. "id": "2A4A_AE_53",
  2273. "title": "End of logic leading to result",
  2274. "condition": "RESETDATE",
  2275. "result": "Result.2A4A.540",
  2276. "predecessors": [
  2277. "2A4A_I_0",
  2278. "2A4A_K_0",
  2279. "2A4A_M_0",
  2280. "2A4A_O_0",
  2281. "2A4A_Q_0",
  2282. "2A4A_S_36",
  2283. "2A4A_U_48",
  2284. "2A4A_W_48",
  2285. "2A4A_Y_52",
  2286. "2A4A_AA_52",
  2287. "2A4A_AC_53"
  2288. ]
  2289. },
  2290. {
  2291. "id": "2A4A_AE_54",
  2292. "title": "End of logic leading to result",
  2293. "condition": "!RESETDATE",
  2294. "result": "Result.2A4A.550",
  2295. "predecessors": [
  2296. "2A4A_I_0",
  2297. "2A4A_K_0",
  2298. "2A4A_M_0",
  2299. "2A4A_O_0",
  2300. "2A4A_Q_0",
  2301. "2A4A_S_36",
  2302. "2A4A_U_48",
  2303. "2A4A_W_48",
  2304. "2A4A_Y_52",
  2305. "2A4A_AA_52",
  2306. "2A4A_AC_53"
  2307. ]
  2308. }
  2309. ]
  2310. }
  2311. ]
  2312. },
  2313. {
  2314. "id": "2A4A_AA_55",
  2315. "title": "End of logic leading to result",
  2316. "condition": "!IsFullReversal",
  2317. "result": "Result.2A4A.560",
  2318. "predecessors": [
  2319. "2A4A_I_0",
  2320. "2A4A_K_0",
  2321. "2A4A_M_0",
  2322. "2A4A_O_0",
  2323. "2A4A_Q_0",
  2324. "2A4A_S_36",
  2325. "2A4A_U_48",
  2326. "2A4A_W_48",
  2327. "2A4A_Y_52"
  2328. ]
  2329. }
  2330. ]
  2331. }
  2332. ]
  2333. },
  2334. {
  2335. "id": "2A4A_W_56",
  2336. "title": "Is this a full reversal",
  2337. "condition": "IN.NewAmount.Currency != MAIN.Currency",
  2338. "logic": [
  2339. "Define(`NewTransactionStatus`, IN.UpdateType == `REVERSAL` ? `CLOSED_FULLY_REVERSED` : `OPEN_MODIFIED`)"
  2340. ],
  2341. "predecessors": [
  2342. "2A4A_I_0",
  2343. "2A4A_K_0",
  2344. "2A4A_M_0",
  2345. "2A4A_O_0",
  2346. "2A4A_Q_0",
  2347. "2A4A_S_36",
  2348. "2A4A_U_48"
  2349. ],
  2350. "children": [
  2351. {
  2352. "id": "2A4A_Y_56",
  2353. "title": "What is the transaction rate source",
  2354. "condition": "IN.UpdateType == `PARTIAL_REVERSAL`",
  2355. "predecessors": [
  2356. "2A4A_I_0",
  2357. "2A4A_K_0",
  2358. "2A4A_M_0",
  2359. "2A4A_O_0",
  2360. "2A4A_Q_0",
  2361. "2A4A_S_36",
  2362. "2A4A_U_48",
  2363. "2A4A_W_56"
  2364. ],
  2365. "children": [
  2366. {
  2367. "id": "2A4A_AA_56",
  2368. "title": "Is this partial reversal amount",
  2369. "condition": "FirstRow.TransactionRateSource == `FX`",
  2370. "logic": [
  2371. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
  2372. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  2373. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  2374. ],
  2375. "predecessors": [
  2376. "2A4A_I_0",
  2377. "2A4A_K_0",
  2378. "2A4A_M_0",
  2379. "2A4A_O_0",
  2380. "2A4A_Q_0",
  2381. "2A4A_S_36",
  2382. "2A4A_U_48",
  2383. "2A4A_W_56",
  2384. "2A4A_Y_56"
  2385. ],
  2386. "children": [
  2387. {
  2388. "id": "2A4A_AC_56",
  2389. "title": "Call T24?",
  2390. "condition": "!IsFullReversal",
  2391. "logic": [
  2392. "Define(`REVO`, GetOverdraft())",
  2393. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  2394. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  2395. ],
  2396. "predecessors": [
  2397. "2A4A_I_0",
  2398. "2A4A_K_0",
  2399. "2A4A_M_0",
  2400. "2A4A_O_0",
  2401. "2A4A_Q_0",
  2402. "2A4A_S_36",
  2403. "2A4A_U_48",
  2404. "2A4A_W_56",
  2405. "2A4A_Y_56",
  2406. "2A4A_AA_56"
  2407. ],
  2408. "children": [
  2409. {
  2410. "id": "2A4A_AE_56",
  2411. "title": "End of logic leading to result",
  2412. "condition": "UNAUTHORIZED",
  2413. "result": "Result.2A4A.570",
  2414. "predecessors": [
  2415. "2A4A_I_0",
  2416. "2A4A_K_0",
  2417. "2A4A_M_0",
  2418. "2A4A_O_0",
  2419. "2A4A_Q_0",
  2420. "2A4A_S_36",
  2421. "2A4A_U_48",
  2422. "2A4A_W_56",
  2423. "2A4A_Y_56",
  2424. "2A4A_AA_56",
  2425. "2A4A_AC_56"
  2426. ]
  2427. },
  2428. {
  2429. "id": "2A4A_AE_57",
  2430. "title": "Set MaturityDate?",
  2431. "condition": "!UNAUTHORIZED",
  2432. "logic": [
  2433. "Define(`CustomerPackage`, GetCustomerPackage())",
  2434. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  2435. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  2436. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  2437. "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))",
  2438. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  2439. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  2440. "Define(`BOOKING_DATE`, GetBookingDate())",
  2441. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  2442. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  2443. ],
  2444. "predecessors": [
  2445. "2A4A_I_0",
  2446. "2A4A_K_0",
  2447. "2A4A_M_0",
  2448. "2A4A_O_0",
  2449. "2A4A_Q_0",
  2450. "2A4A_S_36",
  2451. "2A4A_U_48",
  2452. "2A4A_W_56",
  2453. "2A4A_Y_56",
  2454. "2A4A_AA_56",
  2455. "2A4A_AC_56"
  2456. ],
  2457. "children": [
  2458. {
  2459. "id": "2A4A_AG_57",
  2460. "title": "End of logic leading to result",
  2461. "condition": "RESETDATE",
  2462. "result": "Result.2A4A.580",
  2463. "predecessors": [
  2464. "2A4A_I_0",
  2465. "2A4A_K_0",
  2466. "2A4A_M_0",
  2467. "2A4A_O_0",
  2468. "2A4A_Q_0",
  2469. "2A4A_S_36",
  2470. "2A4A_U_48",
  2471. "2A4A_W_56",
  2472. "2A4A_Y_56",
  2473. "2A4A_AA_56",
  2474. "2A4A_AC_56",
  2475. "2A4A_AE_57"
  2476. ]
  2477. },
  2478. {
  2479. "id": "2A4A_AG_58",
  2480. "title": "End of logic leading to result",
  2481. "condition": "!RESETDATE",
  2482. "result": "Result.2A4A.590",
  2483. "predecessors": [
  2484. "2A4A_I_0",
  2485. "2A4A_K_0",
  2486. "2A4A_M_0",
  2487. "2A4A_O_0",
  2488. "2A4A_Q_0",
  2489. "2A4A_S_36",
  2490. "2A4A_U_48",
  2491. "2A4A_W_56",
  2492. "2A4A_Y_56",
  2493. "2A4A_AA_56",
  2494. "2A4A_AC_56",
  2495. "2A4A_AE_57"
  2496. ]
  2497. }
  2498. ]
  2499. }
  2500. ]
  2501. },
  2502. {
  2503. "id": "2A4A_AC_59",
  2504. "title": "End of logic leading to result",
  2505. "condition": "IsFullReversal",
  2506. "result": "Result.2A4A.600",
  2507. "predecessors": [
  2508. "2A4A_I_0",
  2509. "2A4A_K_0",
  2510. "2A4A_M_0",
  2511. "2A4A_O_0",
  2512. "2A4A_Q_0",
  2513. "2A4A_S_36",
  2514. "2A4A_U_48",
  2515. "2A4A_W_56",
  2516. "2A4A_Y_56",
  2517. "2A4A_AA_56"
  2518. ]
  2519. }
  2520. ]
  2521. },
  2522. {
  2523. "id": "2A4A_AA_60",
  2524. "title": "Is this partial reversal amount",
  2525. "condition": "FirstRow.TransactionRateSource == `MC`",
  2526. "logic": [
  2527. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
  2528. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  2529. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  2530. ],
  2531. "predecessors": [
  2532. "2A4A_I_0",
  2533. "2A4A_K_0",
  2534. "2A4A_M_0",
  2535. "2A4A_O_0",
  2536. "2A4A_Q_0",
  2537. "2A4A_S_36",
  2538. "2A4A_U_48",
  2539. "2A4A_W_56",
  2540. "2A4A_Y_56"
  2541. ],
  2542. "children": [
  2543. {
  2544. "id": "2A4A_AC_60",
  2545. "title": "Call T24?",
  2546. "condition": "!IsFullReversal",
  2547. "logic": [
  2548. "Define(`REVO`, GetOverdraft())",
  2549. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  2550. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  2551. ],
  2552. "predecessors": [
  2553. "2A4A_I_0",
  2554. "2A4A_K_0",
  2555. "2A4A_M_0",
  2556. "2A4A_O_0",
  2557. "2A4A_Q_0",
  2558. "2A4A_S_36",
  2559. "2A4A_U_48",
  2560. "2A4A_W_56",
  2561. "2A4A_Y_56",
  2562. "2A4A_AA_60"
  2563. ],
  2564. "children": [
  2565. {
  2566. "id": "2A4A_AE_60",
  2567. "title": "End of logic leading to result",
  2568. "condition": "UNAUTHORIZED",
  2569. "result": "Result.2A4A.610",
  2570. "predecessors": [
  2571. "2A4A_I_0",
  2572. "2A4A_K_0",
  2573. "2A4A_M_0",
  2574. "2A4A_O_0",
  2575. "2A4A_Q_0",
  2576. "2A4A_S_36",
  2577. "2A4A_U_48",
  2578. "2A4A_W_56",
  2579. "2A4A_Y_56",
  2580. "2A4A_AA_60",
  2581. "2A4A_AC_60"
  2582. ]
  2583. },
  2584. {
  2585. "id": "2A4A_AE_61",
  2586. "title": "Set MaturityDate?",
  2587. "condition": "!UNAUTHORIZED",
  2588. "logic": [
  2589. "Define(`CustomerPackage`, GetCustomerPackage())",
  2590. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  2591. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  2592. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  2593. "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))",
  2594. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  2595. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  2596. "Define(`BOOKING_DATE`, GetBookingDate())",
  2597. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  2598. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  2599. ],
  2600. "predecessors": [
  2601. "2A4A_I_0",
  2602. "2A4A_K_0",
  2603. "2A4A_M_0",
  2604. "2A4A_O_0",
  2605. "2A4A_Q_0",
  2606. "2A4A_S_36",
  2607. "2A4A_U_48",
  2608. "2A4A_W_56",
  2609. "2A4A_Y_56",
  2610. "2A4A_AA_60",
  2611. "2A4A_AC_60"
  2612. ],
  2613. "children": [
  2614. {
  2615. "id": "2A4A_AG_61",
  2616. "title": "End of logic leading to result",
  2617. "condition": "RESETDATE",
  2618. "result": "Result.2A4A.620",
  2619. "predecessors": [
  2620. "2A4A_I_0",
  2621. "2A4A_K_0",
  2622. "2A4A_M_0",
  2623. "2A4A_O_0",
  2624. "2A4A_Q_0",
  2625. "2A4A_S_36",
  2626. "2A4A_U_48",
  2627. "2A4A_W_56",
  2628. "2A4A_Y_56",
  2629. "2A4A_AA_60",
  2630. "2A4A_AC_60",
  2631. "2A4A_AE_61"
  2632. ]
  2633. },
  2634. {
  2635. "id": "2A4A_AG_62",
  2636. "title": "End of logic leading to result",
  2637. "condition": "!RESETDATE",
  2638. "result": "Result.2A4A.630",
  2639. "predecessors": [
  2640. "2A4A_I_0",
  2641. "2A4A_K_0",
  2642. "2A4A_M_0",
  2643. "2A4A_O_0",
  2644. "2A4A_Q_0",
  2645. "2A4A_S_36",
  2646. "2A4A_U_48",
  2647. "2A4A_W_56",
  2648. "2A4A_Y_56",
  2649. "2A4A_AA_60",
  2650. "2A4A_AC_60",
  2651. "2A4A_AE_61"
  2652. ]
  2653. }
  2654. ]
  2655. }
  2656. ]
  2657. },
  2658. {
  2659. "id": "2A4A_AC_63",
  2660. "title": "End of logic leading to result",
  2661. "condition": "IsFullReversal",
  2662. "result": "Result.2A4A.640",
  2663. "predecessors": [
  2664. "2A4A_I_0",
  2665. "2A4A_K_0",
  2666. "2A4A_M_0",
  2667. "2A4A_O_0",
  2668. "2A4A_Q_0",
  2669. "2A4A_S_36",
  2670. "2A4A_U_48",
  2671. "2A4A_W_56",
  2672. "2A4A_Y_56",
  2673. "2A4A_AA_60"
  2674. ]
  2675. }
  2676. ]
  2677. }
  2678. ]
  2679. },
  2680. {
  2681. "id": "2A4A_Y_64",
  2682. "title": "What is the transaction rate source",
  2683. "condition": "IN.UpdateType == `REVERSAL`",
  2684. "predecessors": [
  2685. "2A4A_I_0",
  2686. "2A4A_K_0",
  2687. "2A4A_M_0",
  2688. "2A4A_O_0",
  2689. "2A4A_Q_0",
  2690. "2A4A_S_36",
  2691. "2A4A_U_48",
  2692. "2A4A_W_56"
  2693. ],
  2694. "children": [
  2695. {
  2696. "id": "2A4A_AA_64",
  2697. "title": "Is this full reversal amount",
  2698. "condition": "FirstRow.TransactionRateSource == `FX`",
  2699. "logic": [
  2700. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateFx, MAIN.Currency), MAIN.Currency))",
  2701. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  2702. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  2703. ],
  2704. "predecessors": [
  2705. "2A4A_I_0",
  2706. "2A4A_K_0",
  2707. "2A4A_M_0",
  2708. "2A4A_O_0",
  2709. "2A4A_Q_0",
  2710. "2A4A_S_36",
  2711. "2A4A_U_48",
  2712. "2A4A_W_56",
  2713. "2A4A_Y_64"
  2714. ],
  2715. "children": [
  2716. {
  2717. "id": "2A4A_AC_64",
  2718. "title": "Call T24?",
  2719. "condition": "IsFullReversal",
  2720. "logic": [
  2721. "Define(`REVO`, GetOverdraft())",
  2722. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  2723. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  2724. ],
  2725. "predecessors": [
  2726. "2A4A_I_0",
  2727. "2A4A_K_0",
  2728. "2A4A_M_0",
  2729. "2A4A_O_0",
  2730. "2A4A_Q_0",
  2731. "2A4A_S_36",
  2732. "2A4A_U_48",
  2733. "2A4A_W_56",
  2734. "2A4A_Y_64",
  2735. "2A4A_AA_64"
  2736. ],
  2737. "children": [
  2738. {
  2739. "id": "2A4A_AE_64",
  2740. "title": "End of logic leading to result",
  2741. "condition": "UNAUTHORIZED",
  2742. "result": "Result.2A4A.650",
  2743. "predecessors": [
  2744. "2A4A_I_0",
  2745. "2A4A_K_0",
  2746. "2A4A_M_0",
  2747. "2A4A_O_0",
  2748. "2A4A_Q_0",
  2749. "2A4A_S_36",
  2750. "2A4A_U_48",
  2751. "2A4A_W_56",
  2752. "2A4A_Y_64",
  2753. "2A4A_AA_64",
  2754. "2A4A_AC_64"
  2755. ]
  2756. },
  2757. {
  2758. "id": "2A4A_AE_65",
  2759. "title": "Set MaturityDate?",
  2760. "condition": "!UNAUTHORIZED",
  2761. "logic": [
  2762. "Define(`CustomerPackage`, GetCustomerPackage())",
  2763. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  2764. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  2765. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  2766. "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))",
  2767. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  2768. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  2769. "Define(`BOOKING_DATE`, GetBookingDate())",
  2770. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  2771. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  2772. ],
  2773. "predecessors": [
  2774. "2A4A_I_0",
  2775. "2A4A_K_0",
  2776. "2A4A_M_0",
  2777. "2A4A_O_0",
  2778. "2A4A_Q_0",
  2779. "2A4A_S_36",
  2780. "2A4A_U_48",
  2781. "2A4A_W_56",
  2782. "2A4A_Y_64",
  2783. "2A4A_AA_64",
  2784. "2A4A_AC_64"
  2785. ],
  2786. "children": [
  2787. {
  2788. "id": "2A4A_AG_65",
  2789. "title": "End of logic leading to result",
  2790. "condition": "RESETDATE",
  2791. "result": "Result.2A4A.660",
  2792. "predecessors": [
  2793. "2A4A_I_0",
  2794. "2A4A_K_0",
  2795. "2A4A_M_0",
  2796. "2A4A_O_0",
  2797. "2A4A_Q_0",
  2798. "2A4A_S_36",
  2799. "2A4A_U_48",
  2800. "2A4A_W_56",
  2801. "2A4A_Y_64",
  2802. "2A4A_AA_64",
  2803. "2A4A_AC_64",
  2804. "2A4A_AE_65"
  2805. ]
  2806. },
  2807. {
  2808. "id": "2A4A_AG_66",
  2809. "title": "End of logic leading to result",
  2810. "condition": "!RESETDATE",
  2811. "result": "Result.2A4A.670",
  2812. "predecessors": [
  2813. "2A4A_I_0",
  2814. "2A4A_K_0",
  2815. "2A4A_M_0",
  2816. "2A4A_O_0",
  2817. "2A4A_Q_0",
  2818. "2A4A_S_36",
  2819. "2A4A_U_48",
  2820. "2A4A_W_56",
  2821. "2A4A_Y_64",
  2822. "2A4A_AA_64",
  2823. "2A4A_AC_64",
  2824. "2A4A_AE_65"
  2825. ]
  2826. }
  2827. ]
  2828. }
  2829. ]
  2830. },
  2831. {
  2832. "id": "2A4A_AC_67",
  2833. "title": "End of logic leading to result",
  2834. "condition": "!IsFullReversal",
  2835. "result": "Result.2A4A.680",
  2836. "predecessors": [
  2837. "2A4A_I_0",
  2838. "2A4A_K_0",
  2839. "2A4A_M_0",
  2840. "2A4A_O_0",
  2841. "2A4A_Q_0",
  2842. "2A4A_S_36",
  2843. "2A4A_U_48",
  2844. "2A4A_W_56",
  2845. "2A4A_Y_64",
  2846. "2A4A_AA_64"
  2847. ]
  2848. }
  2849. ]
  2850. },
  2851. {
  2852. "id": "2A4A_AA_68",
  2853. "title": "Is this full reversal amount",
  2854. "condition": "FirstRow.TransactionRateSource == `MC`",
  2855. "logic": [
  2856. "Define(`NewStandingAmount`, NewMoney(RoundMoney(IN.NewAmount.Amount * FirstRow.TransactionRateMc, MAIN.Currency), MAIN.Currency))",
  2857. "Define(`ReversalAmount`, NewMoney(LastRow.StandingAmount.Amount - NewStandingAmount.Amount, MAIN.Currency))",
  2858. "Define(`IsFullReversal`, IN.NewAmount.Amount == Decimal(0))"
  2859. ],
  2860. "predecessors": [
  2861. "2A4A_I_0",
  2862. "2A4A_K_0",
  2863. "2A4A_M_0",
  2864. "2A4A_O_0",
  2865. "2A4A_Q_0",
  2866. "2A4A_S_36",
  2867. "2A4A_U_48",
  2868. "2A4A_W_56",
  2869. "2A4A_Y_64"
  2870. ],
  2871. "children": [
  2872. {
  2873. "id": "2A4A_AC_68",
  2874. "title": "Call T24?",
  2875. "condition": "IsFullReversal",
  2876. "logic": [
  2877. "Define(`REVO`, GetOverdraft())",
  2878. "Define(`FUNDS`, GetAvailableFunds(MAIN.InternalName))",
  2879. "Define(`UNAUTHORIZED`, FUNDS.AvailableFunds.Amount + ReversalAmount.Amount \u003c= Decimal(0) || FUNDS.Balance.Amount \u003e= Decimal(0))"
  2880. ],
  2881. "predecessors": [
  2882. "2A4A_I_0",
  2883. "2A4A_K_0",
  2884. "2A4A_M_0",
  2885. "2A4A_O_0",
  2886. "2A4A_Q_0",
  2887. "2A4A_S_36",
  2888. "2A4A_U_48",
  2889. "2A4A_W_56",
  2890. "2A4A_Y_64",
  2891. "2A4A_AA_68"
  2892. ],
  2893. "children": [
  2894. {
  2895. "id": "2A4A_AE_68",
  2896. "title": "End of logic leading to result",
  2897. "condition": "UNAUTHORIZED",
  2898. "result": "Result.2A4A.690",
  2899. "predecessors": [
  2900. "2A4A_I_0",
  2901. "2A4A_K_0",
  2902. "2A4A_M_0",
  2903. "2A4A_O_0",
  2904. "2A4A_Q_0",
  2905. "2A4A_S_36",
  2906. "2A4A_U_48",
  2907. "2A4A_W_56",
  2908. "2A4A_Y_64",
  2909. "2A4A_AA_68",
  2910. "2A4A_AC_68"
  2911. ]
  2912. },
  2913. {
  2914. "id": "2A4A_AE_69",
  2915. "title": "Set MaturityDate?",
  2916. "condition": "!UNAUTHORIZED",
  2917. "logic": [
  2918. "Define(`CustomerPackage`, GetCustomerPackage())",
  2919. "Define(`PackageRetail`, CustomerPackage.Package == `RETAIL_PREMIUM` || CustomerPackage.Package == `RETAIL_STANDARD`)",
  2920. "Define(`OVERDRAFT_LIMIT`, GetOverdraftLimit(MAIN.InternalName))",
  2921. "Define(`RESETDATE`, BALANCE.Amount + ReversalAmount.Amount \u003e= Decimal(0) \u0026\u0026 PackageRetail)",
  2922. "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))",
  2923. "Define(`MAXREVOBOOKAMOUNT`, REVOBOOKAMOUNT\u003e OVERDRAFT_LIMIT.Amount ? OVERDRAFT_LIMIT.Amount : REVOBOOKAMOUNT)",
  2924. "Define(`REVOBOOK`, NewMoney(MAXREVOBOOKAMOUNT, MAIN.Currency))",
  2925. "Define(`BOOKING_DATE`, GetBookingDate())",
  2926. "Define(`BOOKING_DATE_FORMAT`, BOOKING_DATE.Format(`2006-01-02`))",
  2927. "Define(`Maturity_Date`, Time.AddDate(BOOKING_DATE, 1, 0, 0))"
  2928. ],
  2929. "predecessors": [
  2930. "2A4A_I_0",
  2931. "2A4A_K_0",
  2932. "2A4A_M_0",
  2933. "2A4A_O_0",
  2934. "2A4A_Q_0",
  2935. "2A4A_S_36",
  2936. "2A4A_U_48",
  2937. "2A4A_W_56",
  2938. "2A4A_Y_64",
  2939. "2A4A_AA_68",
  2940. "2A4A_AC_68"
  2941. ],
  2942. "children": [
  2943. {
  2944. "id": "2A4A_AG_69",
  2945. "title": "End of logic leading to result",
  2946. "condition": "RESETDATE",
  2947. "result": "Result.2A4A.700",
  2948. "predecessors": [
  2949. "2A4A_I_0",
  2950. "2A4A_K_0",
  2951. "2A4A_M_0",
  2952. "2A4A_O_0",
  2953. "2A4A_Q_0",
  2954. "2A4A_S_36",
  2955. "2A4A_U_48",
  2956. "2A4A_W_56",
  2957. "2A4A_Y_64",
  2958. "2A4A_AA_68",
  2959. "2A4A_AC_68",
  2960. "2A4A_AE_69"
  2961. ]
  2962. },
  2963. {
  2964. "id": "2A4A_AG_70",
  2965. "title": "End of logic leading to result",
  2966. "condition": "!RESETDATE",
  2967. "result": "Result.2A4A.710",
  2968. "predecessors": [
  2969. "2A4A_I_0",
  2970. "2A4A_K_0",
  2971. "2A4A_M_0",
  2972. "2A4A_O_0",
  2973. "2A4A_Q_0",
  2974. "2A4A_S_36",
  2975. "2A4A_U_48",
  2976. "2A4A_W_56",
  2977. "2A4A_Y_64",
  2978. "2A4A_AA_68",
  2979. "2A4A_AC_68",
  2980. "2A4A_AE_69"
  2981. ]
  2982. }
  2983. ]
  2984. }
  2985. ]
  2986. },
  2987. {
  2988. "id": "2A4A_AC_71",
  2989. "title": "End of logic leading to result",
  2990. "condition": "!IsFullReversal",
  2991. "result": "Result.2A4A.720",
  2992. "predecessors": [
  2993. "2A4A_I_0",
  2994. "2A4A_K_0",
  2995. "2A4A_M_0",
  2996. "2A4A_O_0",
  2997. "2A4A_Q_0",
  2998. "2A4A_S_36",
  2999. "2A4A_U_48",
  3000. "2A4A_W_56",
  3001. "2A4A_Y_64",
  3002. "2A4A_AA_68"
  3003. ]
  3004. }
  3005. ]
  3006. }
  3007. ]
  3008. }
  3009. ]
  3010. }
  3011. ]
  3012. }
  3013. ]
  3014. }
  3015. ]
  3016. },
  3017. {
  3018. "id": "2A4A_Q_72",
  3019. "title": "End of logic leading to result",
  3020. "condition": "!AMOUNTOK",
  3021. "result": "Result.2A4A.730",
  3022. "predecessors": [
  3023. "2A4A_I_0",
  3024. "2A4A_K_0",
  3025. "2A4A_M_0",
  3026. "2A4A_O_0"
  3027. ]
  3028. }
  3029. ]
  3030. },
  3031. {
  3032. "id": "2A4A_O_73",
  3033. "title": "End of logic leading to result",
  3034. "condition": "IsEmpty(FirstRow)",
  3035. "result": "Result.2A4A.740",
  3036. "predecessors": [
  3037. "2A4A_I_0",
  3038. "2A4A_K_0",
  3039. "2A4A_M_0"
  3040. ]
  3041. }
  3042. ]
  3043. },
  3044. {
  3045. "id": "2A4A_M_74",
  3046. "title": "Provide transaction Group Id",
  3047. "condition": "IsEmpty(IN.TransactionGroupId)",
  3048. "logic": [
  3049. "Define(`GROUP_ID`,T24.GenerateTemenosID())"
  3050. ],
  3051. "predecessors": [
  3052. "2A4A_I_0",
  3053. "2A4A_K_0"
  3054. ],
  3055. "children": [
  3056. {
  3057. "id": "2A4A_O_74",
  3058. "title": "End of logic leading to result",
  3059. "condition": "true",
  3060. "result": "Result.2A4A.750",
  3061. "predecessors": [
  3062. "2A4A_I_0",
  3063. "2A4A_K_0",
  3064. "2A4A_M_74"
  3065. ]
  3066. },
  3067. {
  3068. "id": "2A4A_O_75",
  3069. "title": "End of logic leading to result",
  3070. "condition": "false",
  3071. "result": "Result.2A4A.760",
  3072. "predecessors": [
  3073. "2A4A_I_0",
  3074. "2A4A_K_0",
  3075. "2A4A_M_74"
  3076. ]
  3077. }
  3078. ]
  3079. }
  3080. ]
  3081. },
  3082. {
  3083. "id": "2A4A_K_76",
  3084. "title": "End of logic leading to result",
  3085. "condition": "!CardExistsByRBS(IN.RbsNumber)",
  3086. "result": "Result.2A4A.770",
  3087. "predecessors": [
  3088. "2A4A_I_0"
  3089. ]
  3090. }
  3091. ]
  3092. },
  3093. "results": [
  3094. {
  3095. "code": "Result.2A4A.10",
  3096. "bookings": [
  3097. {
  3098. "id": "MC.2A4A.10_1_0",
  3099. "schema": "CardsAuthorization",
  3100. "copyObject": "LastRow",
  3101. "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)",
  3102. "mapping": {
  3103. "InitialAmountFlag": "true",
  3104. "MptsData": "IN.MptsData",
  3105. "SenderAccountName": "MAIN.InternalName",
  3106. "SenderAddress": "ADDRESS",
  3107. "SenderBank": "PARAMETERS.TenantBank",
  3108. "SenderFullName": "FULLNAME",
  3109. "StandingAmount": "NewStandingAmount",
  3110. "TransactionStatus": "NewTransactionStatus"
  3111. }
  3112. },
  3113. {
  3114. "id": "MC.2A4A.10_1_1",
  3115. "schema": "Empty",
  3116. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3117. "mapping": {}
  3118. },
  3119. {
  3120. "id": "MC.2A4A.10_1_2",
  3121. "schema": "Empty",
  3122. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3123. "mapping": {}
  3124. },
  3125. {
  3126. "id": "MC.2A4A.10_1_3",
  3127. "schema": "Empty",
  3128. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3129. "mapping": {}
  3130. },
  3131. {
  3132. "id": "Exit.2A4A.10",
  3133. "schema": "Empty",
  3134. "function": "Exit(`10`, `10`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  3135. "mapping": {}
  3136. }
  3137. ]
  3138. },
  3139. {
  3140. "code": "Result.2A4A.20",
  3141. "bookings": [
  3142. {
  3143. "id": "Exit.2A4A.20",
  3144. "schema": "Empty",
  3145. "function": "Exit(`20`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  3146. "mapping": {}
  3147. }
  3148. ]
  3149. },
  3150. {
  3151. "code": "Result.2A4A.30",
  3152. "bookings": [
  3153. {
  3154. "id": "MC.2A4A.30_1_0",
  3155. "schema": "CardsAuthorization",
  3156. "copyObject": "LastRow",
  3157. "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)",
  3158. "mapping": {
  3159. "InitialAmountFlag": "true",
  3160. "MptsData": "IN.MptsData",
  3161. "SenderAccountName": "MAIN.InternalName",
  3162. "SenderAddress": "ADDRESS",
  3163. "SenderBank": "PARAMETERS.TenantBank",
  3164. "SenderFullName": "FULLNAME",
  3165. "StandingAmount": "NewStandingAmount",
  3166. "TransactionStatus": "NewTransactionStatus"
  3167. }
  3168. },
  3169. {
  3170. "id": "MC.2A4A.30_1_1",
  3171. "schema": "Empty",
  3172. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3173. "mapping": {}
  3174. },
  3175. {
  3176. "id": "MC.2A4A.30_1_2",
  3177. "schema": "Empty",
  3178. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3179. "mapping": {}
  3180. },
  3181. {
  3182. "id": "MC.2A4A.30_1_3",
  3183. "schema": "Empty",
  3184. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3185. "mapping": {}
  3186. },
  3187. {
  3188. "id": "Exit.2A4A.30",
  3189. "schema": "Empty",
  3190. "function": "Exit(`30`, `20`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
  3191. "mapping": {}
  3192. }
  3193. ]
  3194. },
  3195. {
  3196. "code": "Result.2A4A.40",
  3197. "bookings": [
  3198. {
  3199. "id": "Exit.2A4A.40",
  3200. "schema": "Empty",
  3201. "function": "Exit(`40`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  3202. "mapping": {}
  3203. }
  3204. ]
  3205. },
  3206. {
  3207. "code": "Result.2A4A.50",
  3208. "bookings": [
  3209. {
  3210. "id": "MC.2A4A.50_1_0",
  3211. "schema": "CardsAuthorization",
  3212. "copyObject": "LastRow",
  3213. "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)",
  3214. "mapping": {
  3215. "InitialAmountFlag": "true",
  3216. "MptsData": "IN.MptsData",
  3217. "SenderAccountName": "MAIN.InternalName",
  3218. "SenderAddress": "ADDRESS",
  3219. "SenderBank": "PARAMETERS.TenantBank",
  3220. "SenderFullName": "FULLNAME",
  3221. "StandingAmount": "NewStandingAmount",
  3222. "TransactionStatus": "NewTransactionStatus"
  3223. }
  3224. },
  3225. {
  3226. "id": "MC.2A4A.50_1_1",
  3227. "schema": "Empty",
  3228. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3229. "mapping": {}
  3230. },
  3231. {
  3232. "id": "MC.2A4A.50_1_2",
  3233. "schema": "Empty",
  3234. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3235. "mapping": {}
  3236. },
  3237. {
  3238. "id": "MC.2A4A.50_1_3",
  3239. "schema": "Empty",
  3240. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3241. "mapping": {}
  3242. },
  3243. {
  3244. "id": "Exit.2A4A.50",
  3245. "schema": "Empty",
  3246. "function": "Exit(`50`, `30`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  3247. "mapping": {}
  3248. }
  3249. ]
  3250. },
  3251. {
  3252. "code": "Result.2A4A.60",
  3253. "bookings": [
  3254. {
  3255. "id": "Exit.2A4A.60",
  3256. "schema": "Empty",
  3257. "function": "Exit(`60`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  3258. "mapping": {}
  3259. }
  3260. ]
  3261. },
  3262. {
  3263. "code": "Result.2A4A.70",
  3264. "bookings": [
  3265. {
  3266. "id": "MC.2A4A.70_1_0",
  3267. "schema": "CardsAuthorization",
  3268. "copyObject": "LastRow",
  3269. "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)",
  3270. "mapping": {
  3271. "InitialAmountFlag": "true",
  3272. "MptsData": "IN.MptsData",
  3273. "SenderAccountName": "MAIN.InternalName",
  3274. "SenderAddress": "ADDRESS",
  3275. "SenderBank": "PARAMETERS.TenantBank",
  3276. "SenderFullName": "FULLNAME",
  3277. "StandingAmount": "NewStandingAmount",
  3278. "TransactionStatus": "NewTransactionStatus"
  3279. }
  3280. },
  3281. {
  3282. "id": "MC.2A4A.70_1_1",
  3283. "schema": "Empty",
  3284. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3285. "mapping": {}
  3286. },
  3287. {
  3288. "id": "MC.2A4A.70_1_2",
  3289. "schema": "Empty",
  3290. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3291. "mapping": {}
  3292. },
  3293. {
  3294. "id": "MC.2A4A.70_1_3",
  3295. "schema": "Empty",
  3296. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3297. "mapping": {}
  3298. },
  3299. {
  3300. "id": "Exit.2A4A.70",
  3301. "schema": "Empty",
  3302. "function": "Exit(`70`, `40`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  3303. "mapping": {}
  3304. }
  3305. ]
  3306. },
  3307. {
  3308. "code": "Result.2A4A.80",
  3309. "bookings": [
  3310. {
  3311. "id": "Exit.2A4A.80",
  3312. "schema": "Empty",
  3313. "function": "Exit(`80`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  3314. "mapping": {}
  3315. }
  3316. ]
  3317. },
  3318. {
  3319. "code": "Result.2A4A.90",
  3320. "bookings": [
  3321. {
  3322. "id": "MC.2A4A.90_1_0",
  3323. "schema": "CardsAuthorization",
  3324. "copyObject": "LastRow",
  3325. "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)",
  3326. "mapping": {
  3327. "InitialAmountFlag": "true",
  3328. "MptsData": "IN.MptsData",
  3329. "SenderAccountName": "MAIN.InternalName",
  3330. "SenderAddress": "ADDRESS",
  3331. "SenderBank": "PARAMETERS.TenantBank",
  3332. "SenderFullName": "FULLNAME",
  3333. "StandingAmount": "NewStandingAmount",
  3334. "TransactionStatus": "NewTransactionStatus"
  3335. }
  3336. },
  3337. {
  3338. "id": "MC.2A4A.90_1_1",
  3339. "schema": "Empty",
  3340. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3341. "mapping": {}
  3342. },
  3343. {
  3344. "id": "MC.2A4A.90_1_2",
  3345. "schema": "Empty",
  3346. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3347. "mapping": {}
  3348. },
  3349. {
  3350. "id": "MC.2A4A.90_1_3",
  3351. "schema": "Empty",
  3352. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3353. "mapping": {}
  3354. },
  3355. {
  3356. "id": "Exit.2A4A.90",
  3357. "schema": "Empty",
  3358. "function": "Exit(`90`, `50`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
  3359. "mapping": {}
  3360. }
  3361. ]
  3362. },
  3363. {
  3364. "code": "Result.2A4A.100",
  3365. "bookings": [
  3366. {
  3367. "id": "Exit.2A4A.100",
  3368. "schema": "Empty",
  3369. "function": "Exit(`100`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  3370. "mapping": {}
  3371. }
  3372. ]
  3373. },
  3374. {
  3375. "code": "Result.2A4A.110",
  3376. "bookings": [
  3377. {
  3378. "id": "MC.2A4A.110_1_0",
  3379. "schema": "CardsAuthorization",
  3380. "copyObject": "LastRow",
  3381. "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)",
  3382. "mapping": {
  3383. "InitialAmountFlag": "true",
  3384. "MptsData": "IN.MptsData",
  3385. "SenderAccountName": "MAIN.InternalName",
  3386. "SenderAddress": "ADDRESS",
  3387. "SenderBank": "PARAMETERS.TenantBank",
  3388. "SenderFullName": "FULLNAME",
  3389. "StandingAmount": "NewStandingAmount",
  3390. "TransactionStatus": "NewTransactionStatus"
  3391. }
  3392. },
  3393. {
  3394. "id": "MC.2A4A.110_1_1",
  3395. "schema": "Empty",
  3396. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3397. "mapping": {}
  3398. },
  3399. {
  3400. "id": "MC.2A4A.110_1_2",
  3401. "schema": "Empty",
  3402. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3403. "mapping": {}
  3404. },
  3405. {
  3406. "id": "MC.2A4A.110_1_3",
  3407. "schema": "Empty",
  3408. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3409. "mapping": {}
  3410. },
  3411. {
  3412. "id": "Exit.2A4A.110",
  3413. "schema": "Empty",
  3414. "function": "Exit(`110`, `60`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  3415. "mapping": {}
  3416. }
  3417. ]
  3418. },
  3419. {
  3420. "code": "Result.2A4A.120",
  3421. "bookings": [
  3422. {
  3423. "id": "Exit.2A4A.120",
  3424. "schema": "Empty",
  3425. "function": "Exit(`120`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  3426. "mapping": {}
  3427. }
  3428. ]
  3429. },
  3430. {
  3431. "code": "Result.2A4A.130",
  3432. "bookings": [
  3433. {
  3434. "id": "MC.2A4A.130_1_0",
  3435. "schema": "CardsAuthorization",
  3436. "copyObject": "LastRow",
  3437. "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)",
  3438. "mapping": {
  3439. "InitialAmountFlag": "true",
  3440. "MptsData": "IN.MptsData",
  3441. "SenderAccountName": "MAIN.InternalName",
  3442. "SenderAddress": "ADDRESS",
  3443. "SenderBank": "PARAMETERS.TenantBank",
  3444. "SenderFullName": "FULLNAME",
  3445. "StandingAmount": "NewStandingAmount",
  3446. "TransactionStatus": "NewTransactionStatus"
  3447. }
  3448. },
  3449. {
  3450. "id": "MC.2A4A.130_1_1",
  3451. "schema": "Empty",
  3452. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3453. "mapping": {}
  3454. },
  3455. {
  3456. "id": "MC.2A4A.130_1_2",
  3457. "schema": "Empty",
  3458. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3459. "mapping": {}
  3460. },
  3461. {
  3462. "id": "MC.2A4A.130_1_3",
  3463. "schema": "Empty",
  3464. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3465. "mapping": {}
  3466. },
  3467. {
  3468. "id": "Exit.2A4A.130",
  3469. "schema": "Empty",
  3470. "function": "Exit(`130`, `70`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  3471. "mapping": {}
  3472. }
  3473. ]
  3474. },
  3475. {
  3476. "code": "Result.2A4A.140",
  3477. "bookings": [
  3478. {
  3479. "id": "MC.2A4A.140_4_0",
  3480. "schema": "CardsAuthorization",
  3481. "copyObject": "LastRow",
  3482. "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)",
  3483. "mapping": {
  3484. "InitialAmountFlag": "true",
  3485. "MptsData": "IN.MptsData",
  3486. "SenderAccountName": "MAIN.Name",
  3487. "SenderAddress": "ADDRESS",
  3488. "SenderBank": "PARAMETERS.TenantBank",
  3489. "SenderFullName": "FULLNAME",
  3490. "StandingAmount": "NewStandingAmount",
  3491. "TransactionStatus": "NewTransactionStatus"
  3492. }
  3493. },
  3494. {
  3495. "id": "MC.2A4A.140_4_1",
  3496. "schema": "Empty",
  3497. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3498. "mapping": {}
  3499. },
  3500. {
  3501. "id": "MC.2A4A.140_4_2",
  3502. "schema": "Empty",
  3503. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3504. "mapping": {}
  3505. },
  3506. {
  3507. "id": "MC.2A4A.140_4_3",
  3508. "schema": "Empty",
  3509. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3510. "mapping": {}
  3511. },
  3512. {
  3513. "id": "MC.2A4A.140_4_4",
  3514. "schema": "Empty",
  3515. "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)",
  3516. "mapping": {}
  3517. },
  3518. {
  3519. "id": "MC.2A4A.140_4_5",
  3520. "schema": "OverdraftMaturityDate",
  3521. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  3522. "mapping": {
  3523. "ArrangementId": "REVO.T24ReferenceId",
  3524. "Currency": "REVO.Currency",
  3525. "CustomerId": "CARD.CustomerId",
  3526. "EffectiveDate": "BOOKING_DATE_FORMAT",
  3527. "MaturityDate": "`2029-01-01`"
  3528. }
  3529. },
  3530. {
  3531. "id": "MC.2A4A.140_4_6",
  3532. "schema": "Overdraft",
  3533. "copyObject": "REVO",
  3534. "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  3535. "mapping": {
  3536. "MaturityDate": "``"
  3537. }
  3538. },
  3539. {
  3540. "id": "Exit.2A4A.140",
  3541. "schema": "Empty",
  3542. "function": "Exit(`140`, `80`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  3543. "mapping": {}
  3544. }
  3545. ]
  3546. },
  3547. {
  3548. "code": "Result.2A4A.150",
  3549. "bookings": [
  3550. {
  3551. "id": "MC.2A4A.150_3_0",
  3552. "schema": "CardsAuthorization",
  3553. "copyObject": "LastRow",
  3554. "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)",
  3555. "mapping": {
  3556. "InitialAmountFlag": "true",
  3557. "MptsData": "IN.MptsData",
  3558. "SenderAccountName": "MAIN.Name",
  3559. "SenderAddress": "ADDRESS",
  3560. "SenderBank": "PARAMETERS.TenantBank",
  3561. "SenderFullName": "FULLNAME",
  3562. "StandingAmount": "NewStandingAmount",
  3563. "TransactionStatus": "NewTransactionStatus"
  3564. }
  3565. },
  3566. {
  3567. "id": "MC.2A4A.150_3_1",
  3568. "schema": "Empty",
  3569. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3570. "mapping": {}
  3571. },
  3572. {
  3573. "id": "MC.2A4A.150_3_2",
  3574. "schema": "Empty",
  3575. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3576. "mapping": {}
  3577. },
  3578. {
  3579. "id": "MC.2A4A.150_3_3",
  3580. "schema": "Empty",
  3581. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3582. "mapping": {}
  3583. },
  3584. {
  3585. "id": "MC.2A4A.150_3_4",
  3586. "schema": "Empty",
  3587. "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)",
  3588. "mapping": {}
  3589. },
  3590. {
  3591. "id": "Exit.2A4A.150",
  3592. "schema": "Empty",
  3593. "function": "Exit(`150`, `90`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  3594. "mapping": {}
  3595. }
  3596. ]
  3597. },
  3598. {
  3599. "code": "Result.2A4A.160",
  3600. "bookings": [
  3601. {
  3602. "id": "Exit.2A4A.160",
  3603. "schema": "Empty",
  3604. "function": "Exit(`160`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  3605. "mapping": {}
  3606. }
  3607. ]
  3608. },
  3609. {
  3610. "code": "Result.2A4A.170",
  3611. "bookings": [
  3612. {
  3613. "id": "MC.2A4A.170_1_0",
  3614. "schema": "CardsAuthorization",
  3615. "copyObject": "LastRow",
  3616. "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)",
  3617. "mapping": {
  3618. "InitialAmountFlag": "true",
  3619. "MptsData": "IN.MptsData",
  3620. "SenderAccountName": "MAIN.InternalName",
  3621. "SenderAddress": "ADDRESS",
  3622. "SenderBank": "PARAMETERS.TenantBank",
  3623. "SenderFullName": "FULLNAME",
  3624. "StandingAmount": "NewStandingAmount",
  3625. "TransactionStatus": "NewTransactionStatus"
  3626. }
  3627. },
  3628. {
  3629. "id": "MC.2A4A.170_1_1",
  3630. "schema": "Empty",
  3631. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3632. "mapping": {}
  3633. },
  3634. {
  3635. "id": "MC.2A4A.170_1_2",
  3636. "schema": "Empty",
  3637. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3638. "mapping": {}
  3639. },
  3640. {
  3641. "id": "MC.2A4A.170_1_3",
  3642. "schema": "Empty",
  3643. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3644. "mapping": {}
  3645. },
  3646. {
  3647. "id": "Exit.2A4A.170",
  3648. "schema": "Empty",
  3649. "function": "Exit(`170`, `100`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
  3650. "mapping": {}
  3651. }
  3652. ]
  3653. },
  3654. {
  3655. "code": "Result.2A4A.180",
  3656. "bookings": [
  3657. {
  3658. "id": "MC.2A4A.180_4_0",
  3659. "schema": "CardsAuthorization",
  3660. "copyObject": "LastRow",
  3661. "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)",
  3662. "mapping": {
  3663. "InitialAmountFlag": "true",
  3664. "MptsData": "IN.MptsData",
  3665. "SenderAccountName": "MAIN.Name",
  3666. "SenderAddress": "ADDRESS",
  3667. "SenderBank": "PARAMETERS.TenantBank",
  3668. "SenderFullName": "FULLNAME",
  3669. "StandingAmount": "NewStandingAmount",
  3670. "TransactionStatus": "NewTransactionStatus"
  3671. }
  3672. },
  3673. {
  3674. "id": "MC.2A4A.180_4_1",
  3675. "schema": "Empty",
  3676. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3677. "mapping": {}
  3678. },
  3679. {
  3680. "id": "MC.2A4A.180_4_2",
  3681. "schema": "Empty",
  3682. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3683. "mapping": {}
  3684. },
  3685. {
  3686. "id": "MC.2A4A.180_4_3",
  3687. "schema": "Empty",
  3688. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3689. "mapping": {}
  3690. },
  3691. {
  3692. "id": "MC.2A4A.180_4_4",
  3693. "schema": "Empty",
  3694. "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)",
  3695. "mapping": {}
  3696. },
  3697. {
  3698. "id": "MC.2A4A.180_4_5",
  3699. "schema": "OverdraftMaturityDate",
  3700. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  3701. "mapping": {
  3702. "ArrangementId": "REVO.T24ReferenceId",
  3703. "Currency": "REVO.Currency",
  3704. "CustomerId": "CARD.CustomerId",
  3705. "EffectiveDate": "BOOKING_DATE_FORMAT",
  3706. "MaturityDate": "`2029-01-01`"
  3707. }
  3708. },
  3709. {
  3710. "id": "MC.2A4A.180_4_6",
  3711. "schema": "Overdraft",
  3712. "copyObject": "REVO",
  3713. "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  3714. "mapping": {
  3715. "MaturityDate": "``"
  3716. }
  3717. },
  3718. {
  3719. "id": "Exit.2A4A.180",
  3720. "schema": "Empty",
  3721. "function": "Exit(`180`, `110`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  3722. "mapping": {}
  3723. }
  3724. ]
  3725. },
  3726. {
  3727. "code": "Result.2A4A.190",
  3728. "bookings": [
  3729. {
  3730. "id": "MC.2A4A.190_3_0",
  3731. "schema": "CardsAuthorization",
  3732. "copyObject": "LastRow",
  3733. "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)",
  3734. "mapping": {
  3735. "InitialAmountFlag": "true",
  3736. "MptsData": "IN.MptsData",
  3737. "SenderAccountName": "MAIN.Name",
  3738. "SenderAddress": "ADDRESS",
  3739. "SenderBank": "PARAMETERS.TenantBank",
  3740. "SenderFullName": "FULLNAME",
  3741. "StandingAmount": "NewStandingAmount",
  3742. "TransactionStatus": "NewTransactionStatus"
  3743. }
  3744. },
  3745. {
  3746. "id": "MC.2A4A.190_3_1",
  3747. "schema": "Empty",
  3748. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3749. "mapping": {}
  3750. },
  3751. {
  3752. "id": "MC.2A4A.190_3_2",
  3753. "schema": "Empty",
  3754. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3755. "mapping": {}
  3756. },
  3757. {
  3758. "id": "MC.2A4A.190_3_3",
  3759. "schema": "Empty",
  3760. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3761. "mapping": {}
  3762. },
  3763. {
  3764. "id": "MC.2A4A.190_3_4",
  3765. "schema": "Empty",
  3766. "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)",
  3767. "mapping": {}
  3768. },
  3769. {
  3770. "id": "Exit.2A4A.190",
  3771. "schema": "Empty",
  3772. "function": "Exit(`190`, `120`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  3773. "mapping": {}
  3774. }
  3775. ]
  3776. },
  3777. {
  3778. "code": "Result.2A4A.200",
  3779. "bookings": [
  3780. {
  3781. "id": "Exit.2A4A.200",
  3782. "schema": "Empty",
  3783. "function": "Exit(`200`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  3784. "mapping": {}
  3785. }
  3786. ]
  3787. },
  3788. {
  3789. "code": "Result.2A4A.210",
  3790. "bookings": [
  3791. {
  3792. "id": "MC.2A4A.210_1_0",
  3793. "schema": "CardsAuthorization",
  3794. "copyObject": "LastRow",
  3795. "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)",
  3796. "mapping": {
  3797. "InitialAmountFlag": "true",
  3798. "MptsData": "IN.MptsData",
  3799. "SenderAccountName": "MAIN.InternalName",
  3800. "SenderAddress": "ADDRESS",
  3801. "SenderBank": "PARAMETERS.TenantBank",
  3802. "SenderFullName": "FULLNAME",
  3803. "StandingAmount": "NewStandingAmount",
  3804. "TransactionStatus": "NewTransactionStatus"
  3805. }
  3806. },
  3807. {
  3808. "id": "MC.2A4A.210_1_1",
  3809. "schema": "Empty",
  3810. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3811. "mapping": {}
  3812. },
  3813. {
  3814. "id": "MC.2A4A.210_1_2",
  3815. "schema": "Empty",
  3816. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3817. "mapping": {}
  3818. },
  3819. {
  3820. "id": "MC.2A4A.210_1_3",
  3821. "schema": "Empty",
  3822. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3823. "mapping": {}
  3824. },
  3825. {
  3826. "id": "Exit.2A4A.210",
  3827. "schema": "Empty",
  3828. "function": "Exit(`210`, `130`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  3829. "mapping": {}
  3830. }
  3831. ]
  3832. },
  3833. {
  3834. "code": "Result.2A4A.220",
  3835. "bookings": [
  3836. {
  3837. "id": "MC.2A4A.220_4_0",
  3838. "schema": "CardsAuthorization",
  3839. "copyObject": "LastRow",
  3840. "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)",
  3841. "mapping": {
  3842. "InitialAmountFlag": "true",
  3843. "MptsData": "IN.MptsData",
  3844. "SenderAccountName": "MAIN.Name",
  3845. "SenderAddress": "ADDRESS",
  3846. "SenderBank": "PARAMETERS.TenantBank",
  3847. "SenderFullName": "FULLNAME",
  3848. "StandingAmount": "NewStandingAmount",
  3849. "TransactionStatus": "NewTransactionStatus"
  3850. }
  3851. },
  3852. {
  3853. "id": "MC.2A4A.220_4_1",
  3854. "schema": "Empty",
  3855. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3856. "mapping": {}
  3857. },
  3858. {
  3859. "id": "MC.2A4A.220_4_2",
  3860. "schema": "Empty",
  3861. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3862. "mapping": {}
  3863. },
  3864. {
  3865. "id": "MC.2A4A.220_4_3",
  3866. "schema": "Empty",
  3867. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3868. "mapping": {}
  3869. },
  3870. {
  3871. "id": "MC.2A4A.220_4_4",
  3872. "schema": "Empty",
  3873. "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)",
  3874. "mapping": {}
  3875. },
  3876. {
  3877. "id": "MC.2A4A.220_4_5",
  3878. "schema": "OverdraftMaturityDate",
  3879. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  3880. "mapping": {
  3881. "ArrangementId": "REVO.T24ReferenceId",
  3882. "Currency": "REVO.Currency",
  3883. "CustomerId": "CARD.CustomerId",
  3884. "EffectiveDate": "BOOKING_DATE_FORMAT",
  3885. "MaturityDate": "`2029-01-01`"
  3886. }
  3887. },
  3888. {
  3889. "id": "MC.2A4A.220_4_6",
  3890. "schema": "Overdraft",
  3891. "copyObject": "REVO",
  3892. "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  3893. "mapping": {
  3894. "MaturityDate": "``"
  3895. }
  3896. },
  3897. {
  3898. "id": "Exit.2A4A.220",
  3899. "schema": "Empty",
  3900. "function": "Exit(`220`, `140`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  3901. "mapping": {}
  3902. }
  3903. ]
  3904. },
  3905. {
  3906. "code": "Result.2A4A.230",
  3907. "bookings": [
  3908. {
  3909. "id": "MC.2A4A.230_3_0",
  3910. "schema": "CardsAuthorization",
  3911. "copyObject": "LastRow",
  3912. "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)",
  3913. "mapping": {
  3914. "InitialAmountFlag": "true",
  3915. "MptsData": "IN.MptsData",
  3916. "SenderAccountName": "MAIN.Name",
  3917. "SenderAddress": "ADDRESS",
  3918. "SenderBank": "PARAMETERS.TenantBank",
  3919. "SenderFullName": "FULLNAME",
  3920. "StandingAmount": "NewStandingAmount",
  3921. "TransactionStatus": "NewTransactionStatus"
  3922. }
  3923. },
  3924. {
  3925. "id": "MC.2A4A.230_3_1",
  3926. "schema": "Empty",
  3927. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3928. "mapping": {}
  3929. },
  3930. {
  3931. "id": "MC.2A4A.230_3_2",
  3932. "schema": "Empty",
  3933. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3934. "mapping": {}
  3935. },
  3936. {
  3937. "id": "MC.2A4A.230_3_3",
  3938. "schema": "Empty",
  3939. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3940. "mapping": {}
  3941. },
  3942. {
  3943. "id": "MC.2A4A.230_3_4",
  3944. "schema": "Empty",
  3945. "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)",
  3946. "mapping": {}
  3947. },
  3948. {
  3949. "id": "Exit.2A4A.230",
  3950. "schema": "Empty",
  3951. "function": "Exit(`230`, `150`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  3952. "mapping": {}
  3953. }
  3954. ]
  3955. },
  3956. {
  3957. "code": "Result.2A4A.240",
  3958. "bookings": [
  3959. {
  3960. "id": "Exit.2A4A.240",
  3961. "schema": "Empty",
  3962. "function": "Exit(`240`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  3963. "mapping": {}
  3964. }
  3965. ]
  3966. },
  3967. {
  3968. "code": "Result.2A4A.250",
  3969. "bookings": [
  3970. {
  3971. "id": "MC.2A4A.250_1_0",
  3972. "schema": "CardsAuthorization",
  3973. "copyObject": "LastRow",
  3974. "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)",
  3975. "mapping": {
  3976. "InitialAmountFlag": "true",
  3977. "MptsData": "IN.MptsData",
  3978. "SenderAccountName": "MAIN.InternalName",
  3979. "SenderAddress": "ADDRESS",
  3980. "SenderBank": "PARAMETERS.TenantBank",
  3981. "SenderFullName": "FULLNAME",
  3982. "StandingAmount": "NewStandingAmount",
  3983. "TransactionStatus": "NewTransactionStatus"
  3984. }
  3985. },
  3986. {
  3987. "id": "MC.2A4A.250_1_1",
  3988. "schema": "Empty",
  3989. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  3990. "mapping": {}
  3991. },
  3992. {
  3993. "id": "MC.2A4A.250_1_2",
  3994. "schema": "Empty",
  3995. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  3996. "mapping": {}
  3997. },
  3998. {
  3999. "id": "MC.2A4A.250_1_3",
  4000. "schema": "Empty",
  4001. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4002. "mapping": {}
  4003. },
  4004. {
  4005. "id": "Exit.2A4A.250",
  4006. "schema": "Empty",
  4007. "function": "Exit(`250`, `160`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  4008. "mapping": {}
  4009. }
  4010. ]
  4011. },
  4012. {
  4013. "code": "Result.2A4A.260",
  4014. "bookings": [
  4015. {
  4016. "id": "MC.2A4A.260_4_0",
  4017. "schema": "CardsAuthorization",
  4018. "copyObject": "LastRow",
  4019. "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)",
  4020. "mapping": {
  4021. "InitialAmountFlag": "true",
  4022. "MptsData": "IN.MptsData",
  4023. "SenderAccountName": "MAIN.Name",
  4024. "SenderAddress": "ADDRESS",
  4025. "SenderBank": "PARAMETERS.TenantBank",
  4026. "SenderFullName": "FULLNAME",
  4027. "StandingAmount": "NewStandingAmount",
  4028. "TransactionStatus": "NewTransactionStatus"
  4029. }
  4030. },
  4031. {
  4032. "id": "MC.2A4A.260_4_1",
  4033. "schema": "Empty",
  4034. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4035. "mapping": {}
  4036. },
  4037. {
  4038. "id": "MC.2A4A.260_4_2",
  4039. "schema": "Empty",
  4040. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  4041. "mapping": {}
  4042. },
  4043. {
  4044. "id": "MC.2A4A.260_4_3",
  4045. "schema": "Empty",
  4046. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4047. "mapping": {}
  4048. },
  4049. {
  4050. "id": "MC.2A4A.260_4_4",
  4051. "schema": "Empty",
  4052. "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)",
  4053. "mapping": {}
  4054. },
  4055. {
  4056. "id": "MC.2A4A.260_4_5",
  4057. "schema": "OverdraftMaturityDate",
  4058. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  4059. "mapping": {
  4060. "ArrangementId": "REVO.T24ReferenceId",
  4061. "Currency": "REVO.Currency",
  4062. "CustomerId": "CARD.CustomerId",
  4063. "EffectiveDate": "BOOKING_DATE_FORMAT",
  4064. "MaturityDate": "`2029-01-01`"
  4065. }
  4066. },
  4067. {
  4068. "id": "MC.2A4A.260_4_6",
  4069. "schema": "Overdraft",
  4070. "copyObject": "REVO",
  4071. "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  4072. "mapping": {
  4073. "MaturityDate": "``"
  4074. }
  4075. },
  4076. {
  4077. "id": "Exit.2A4A.260",
  4078. "schema": "Empty",
  4079. "function": "Exit(`260`, `170`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  4080. "mapping": {}
  4081. }
  4082. ]
  4083. },
  4084. {
  4085. "code": "Result.2A4A.270",
  4086. "bookings": [
  4087. {
  4088. "id": "MC.2A4A.270_3_0",
  4089. "schema": "CardsAuthorization",
  4090. "copyObject": "LastRow",
  4091. "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)",
  4092. "mapping": {
  4093. "InitialAmountFlag": "true",
  4094. "MptsData": "IN.MptsData",
  4095. "SenderAccountName": "MAIN.Name",
  4096. "SenderAddress": "ADDRESS",
  4097. "SenderBank": "PARAMETERS.TenantBank",
  4098. "SenderFullName": "FULLNAME",
  4099. "StandingAmount": "NewStandingAmount",
  4100. "TransactionStatus": "NewTransactionStatus"
  4101. }
  4102. },
  4103. {
  4104. "id": "MC.2A4A.270_3_1",
  4105. "schema": "Empty",
  4106. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4107. "mapping": {}
  4108. },
  4109. {
  4110. "id": "MC.2A4A.270_3_2",
  4111. "schema": "Empty",
  4112. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  4113. "mapping": {}
  4114. },
  4115. {
  4116. "id": "MC.2A4A.270_3_3",
  4117. "schema": "Empty",
  4118. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4119. "mapping": {}
  4120. },
  4121. {
  4122. "id": "MC.2A4A.270_3_4",
  4123. "schema": "Empty",
  4124. "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)",
  4125. "mapping": {}
  4126. },
  4127. {
  4128. "id": "Exit.2A4A.270",
  4129. "schema": "Empty",
  4130. "function": "Exit(`270`, `180`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  4131. "mapping": {}
  4132. }
  4133. ]
  4134. },
  4135. {
  4136. "code": "Result.2A4A.280",
  4137. "bookings": [
  4138. {
  4139. "id": "Exit.2A4A.280",
  4140. "schema": "Empty",
  4141. "function": "Exit(`280`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4142. "mapping": {}
  4143. }
  4144. ]
  4145. },
  4146. {
  4147. "code": "Result.2A4A.290",
  4148. "bookings": [
  4149. {
  4150. "id": "MC.2A4A.290_1_0",
  4151. "schema": "CardsAuthorization",
  4152. "copyObject": "LastRow",
  4153. "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)",
  4154. "mapping": {
  4155. "InitialAmountFlag": "true",
  4156. "MptsData": "IN.MptsData",
  4157. "SenderAccountName": "MAIN.InternalName",
  4158. "SenderAddress": "ADDRESS",
  4159. "SenderBank": "PARAMETERS.TenantBank",
  4160. "SenderFullName": "FULLNAME",
  4161. "StandingAmount": "NewStandingAmount",
  4162. "TransactionStatus": "NewTransactionStatus"
  4163. }
  4164. },
  4165. {
  4166. "id": "MC.2A4A.290_1_1",
  4167. "schema": "Empty",
  4168. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4169. "mapping": {}
  4170. },
  4171. {
  4172. "id": "MC.2A4A.290_1_2",
  4173. "schema": "Empty",
  4174. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  4175. "mapping": {}
  4176. },
  4177. {
  4178. "id": "MC.2A4A.290_1_3",
  4179. "schema": "Empty",
  4180. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4181. "mapping": {}
  4182. },
  4183. {
  4184. "id": "Exit.2A4A.290",
  4185. "schema": "Empty",
  4186. "function": "Exit(`290`, `190`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
  4187. "mapping": {}
  4188. }
  4189. ]
  4190. },
  4191. {
  4192. "code": "Result.2A4A.300",
  4193. "bookings": [
  4194. {
  4195. "id": "MC.2A4A.300_4_0",
  4196. "schema": "CardsAuthorization",
  4197. "copyObject": "LastRow",
  4198. "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)",
  4199. "mapping": {
  4200. "InitialAmountFlag": "true",
  4201. "MptsData": "IN.MptsData",
  4202. "SenderAccountName": "MAIN.Name",
  4203. "SenderAddress": "ADDRESS",
  4204. "SenderBank": "PARAMETERS.TenantBank",
  4205. "SenderFullName": "FULLNAME",
  4206. "StandingAmount": "NewStandingAmount",
  4207. "TransactionStatus": "NewTransactionStatus"
  4208. }
  4209. },
  4210. {
  4211. "id": "MC.2A4A.300_4_1",
  4212. "schema": "Empty",
  4213. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4214. "mapping": {}
  4215. },
  4216. {
  4217. "id": "MC.2A4A.300_4_2",
  4218. "schema": "Empty",
  4219. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  4220. "mapping": {}
  4221. },
  4222. {
  4223. "id": "MC.2A4A.300_4_3",
  4224. "schema": "Empty",
  4225. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4226. "mapping": {}
  4227. },
  4228. {
  4229. "id": "MC.2A4A.300_4_4",
  4230. "schema": "Empty",
  4231. "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)",
  4232. "mapping": {}
  4233. },
  4234. {
  4235. "id": "MC.2A4A.300_4_5",
  4236. "schema": "OverdraftMaturityDate",
  4237. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  4238. "mapping": {
  4239. "ArrangementId": "REVO.T24ReferenceId",
  4240. "Currency": "REVO.Currency",
  4241. "CustomerId": "CARD.CustomerId",
  4242. "EffectiveDate": "BOOKING_DATE_FORMAT",
  4243. "MaturityDate": "`2029-01-01`"
  4244. }
  4245. },
  4246. {
  4247. "id": "MC.2A4A.300_4_6",
  4248. "schema": "Overdraft",
  4249. "copyObject": "REVO",
  4250. "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  4251. "mapping": {
  4252. "MaturityDate": "``"
  4253. }
  4254. },
  4255. {
  4256. "id": "Exit.2A4A.300",
  4257. "schema": "Empty",
  4258. "function": "Exit(`300`, `200`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  4259. "mapping": {}
  4260. }
  4261. ]
  4262. },
  4263. {
  4264. "code": "Result.2A4A.310",
  4265. "bookings": [
  4266. {
  4267. "id": "MC.2A4A.310_3_0",
  4268. "schema": "CardsAuthorization",
  4269. "copyObject": "LastRow",
  4270. "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)",
  4271. "mapping": {
  4272. "InitialAmountFlag": "true",
  4273. "MptsData": "IN.MptsData",
  4274. "SenderAccountName": "MAIN.Name",
  4275. "SenderAddress": "ADDRESS",
  4276. "SenderBank": "PARAMETERS.TenantBank",
  4277. "SenderFullName": "FULLNAME",
  4278. "StandingAmount": "NewStandingAmount",
  4279. "TransactionStatus": "NewTransactionStatus"
  4280. }
  4281. },
  4282. {
  4283. "id": "MC.2A4A.310_3_1",
  4284. "schema": "Empty",
  4285. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4286. "mapping": {}
  4287. },
  4288. {
  4289. "id": "MC.2A4A.310_3_2",
  4290. "schema": "Empty",
  4291. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  4292. "mapping": {}
  4293. },
  4294. {
  4295. "id": "MC.2A4A.310_3_3",
  4296. "schema": "Empty",
  4297. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4298. "mapping": {}
  4299. },
  4300. {
  4301. "id": "MC.2A4A.310_3_4",
  4302. "schema": "Empty",
  4303. "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)",
  4304. "mapping": {}
  4305. },
  4306. {
  4307. "id": "Exit.2A4A.310",
  4308. "schema": "Empty",
  4309. "function": "Exit(`310`, `210`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  4310. "mapping": {}
  4311. }
  4312. ]
  4313. },
  4314. {
  4315. "code": "Result.2A4A.320",
  4316. "bookings": [
  4317. {
  4318. "id": "Exit.2A4A.320",
  4319. "schema": "Empty",
  4320. "function": "Exit(`320`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4321. "mapping": {}
  4322. }
  4323. ]
  4324. },
  4325. {
  4326. "code": "Result.2A4A.330",
  4327. "bookings": [
  4328. {
  4329. "id": "MC.2A4A.330_1_0",
  4330. "schema": "CardsAuthorization",
  4331. "copyObject": "LastRow",
  4332. "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)",
  4333. "mapping": {
  4334. "InitialAmountFlag": "true",
  4335. "MptsData": "IN.MptsData",
  4336. "SenderAccountName": "MAIN.InternalName",
  4337. "SenderAddress": "ADDRESS",
  4338. "SenderBank": "PARAMETERS.TenantBank",
  4339. "SenderFullName": "FULLNAME",
  4340. "StandingAmount": "NewStandingAmount",
  4341. "TransactionStatus": "NewTransactionStatus"
  4342. }
  4343. },
  4344. {
  4345. "id": "MC.2A4A.330_1_1",
  4346. "schema": "Empty",
  4347. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4348. "mapping": {}
  4349. },
  4350. {
  4351. "id": "MC.2A4A.330_1_2",
  4352. "schema": "Empty",
  4353. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  4354. "mapping": {}
  4355. },
  4356. {
  4357. "id": "MC.2A4A.330_1_3",
  4358. "schema": "Empty",
  4359. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4360. "mapping": {}
  4361. },
  4362. {
  4363. "id": "Exit.2A4A.330",
  4364. "schema": "Empty",
  4365. "function": "Exit(`330`, `220`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  4366. "mapping": {}
  4367. }
  4368. ]
  4369. },
  4370. {
  4371. "code": "Result.2A4A.340",
  4372. "bookings": [
  4373. {
  4374. "id": "MC.2A4A.340_4_0",
  4375. "schema": "CardsAuthorization",
  4376. "copyObject": "LastRow",
  4377. "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)",
  4378. "mapping": {
  4379. "InitialAmountFlag": "true",
  4380. "MptsData": "IN.MptsData",
  4381. "SenderAccountName": "MAIN.Name",
  4382. "SenderAddress": "ADDRESS",
  4383. "SenderBank": "PARAMETERS.TenantBank",
  4384. "SenderFullName": "FULLNAME",
  4385. "StandingAmount": "NewStandingAmount",
  4386. "TransactionStatus": "NewTransactionStatus"
  4387. }
  4388. },
  4389. {
  4390. "id": "MC.2A4A.340_4_1",
  4391. "schema": "Empty",
  4392. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4393. "mapping": {}
  4394. },
  4395. {
  4396. "id": "MC.2A4A.340_4_2",
  4397. "schema": "Empty",
  4398. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  4399. "mapping": {}
  4400. },
  4401. {
  4402. "id": "MC.2A4A.340_4_3",
  4403. "schema": "Empty",
  4404. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4405. "mapping": {}
  4406. },
  4407. {
  4408. "id": "MC.2A4A.340_4_4",
  4409. "schema": "Empty",
  4410. "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)",
  4411. "mapping": {}
  4412. },
  4413. {
  4414. "id": "MC.2A4A.340_4_5",
  4415. "schema": "OverdraftMaturityDate",
  4416. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  4417. "mapping": {
  4418. "ArrangementId": "REVO.T24ReferenceId",
  4419. "Currency": "REVO.Currency",
  4420. "CustomerId": "CARD.CustomerId",
  4421. "EffectiveDate": "BOOKING_DATE_FORMAT",
  4422. "MaturityDate": "`2029-01-01`"
  4423. }
  4424. },
  4425. {
  4426. "id": "MC.2A4A.340_4_6",
  4427. "schema": "Overdraft",
  4428. "copyObject": "REVO",
  4429. "function": "Book(`MC.2A4A.4`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  4430. "mapping": {
  4431. "MaturityDate": "``"
  4432. }
  4433. },
  4434. {
  4435. "id": "Exit.2A4A.340",
  4436. "schema": "Empty",
  4437. "function": "Exit(`340`, `230`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  4438. "mapping": {}
  4439. }
  4440. ]
  4441. },
  4442. {
  4443. "code": "Result.2A4A.350",
  4444. "bookings": [
  4445. {
  4446. "id": "MC.2A4A.350_3_0",
  4447. "schema": "CardsAuthorization",
  4448. "copyObject": "LastRow",
  4449. "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)",
  4450. "mapping": {
  4451. "InitialAmountFlag": "true",
  4452. "MptsData": "IN.MptsData",
  4453. "SenderAccountName": "MAIN.Name",
  4454. "SenderAddress": "ADDRESS",
  4455. "SenderBank": "PARAMETERS.TenantBank",
  4456. "SenderFullName": "FULLNAME",
  4457. "StandingAmount": "NewStandingAmount",
  4458. "TransactionStatus": "NewTransactionStatus"
  4459. }
  4460. },
  4461. {
  4462. "id": "MC.2A4A.350_3_1",
  4463. "schema": "Empty",
  4464. "function": "DecrementCounter(CARD.ProductId,`UseGlobalProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4465. "mapping": {}
  4466. },
  4467. {
  4468. "id": "MC.2A4A.350_3_2",
  4469. "schema": "Empty",
  4470. "function": "DecrementCounter(CARD.ProductId,`UseGlobalLimitValue`,ReversalAmount.Amount,`E1M1D`)",
  4471. "mapping": {}
  4472. },
  4473. {
  4474. "id": "MC.2A4A.350_3_3",
  4475. "schema": "Empty",
  4476. "function": "DecrementCounter(CARD.ProductId,`UsePosProductLimit`,ReversalAmount.Amount,`E1M1D`)",
  4477. "mapping": {}
  4478. },
  4479. {
  4480. "id": "MC.2A4A.350_3_4",
  4481. "schema": "Empty",
  4482. "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)",
  4483. "mapping": {}
  4484. },
  4485. {
  4486. "id": "Exit.2A4A.350",
  4487. "schema": "Empty",
  4488. "function": "Exit(`350`, `240`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  4489. "mapping": {}
  4490. }
  4491. ]
  4492. },
  4493. {
  4494. "code": "Result.2A4A.360",
  4495. "bookings": [
  4496. {
  4497. "id": "Exit.2A4A.360",
  4498. "schema": "Empty",
  4499. "function": "Exit(`360`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4500. "mapping": {}
  4501. }
  4502. ]
  4503. },
  4504. {
  4505. "code": "Result.2A4A.370",
  4506. "bookings": [
  4507. {
  4508. "id": "MC.2A4A.370_5_1",
  4509. "schema": "CardsAuthorization",
  4510. "copyObject": "LastRow",
  4511. "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)",
  4512. "mapping": {
  4513. "InitialAmountFlag": "true",
  4514. "MptsData": "IN.MptsData",
  4515. "SenderAccountName": "MAIN.InternalName",
  4516. "SenderAddress": "ADDRESS",
  4517. "SenderBank": "PARAMETERS.TenantBank",
  4518. "SenderFullName": "FULLNAME",
  4519. "StandingAmount": "NewStandingAmount",
  4520. "TransactionStatus": "NewTransactionStatus"
  4521. }
  4522. },
  4523. {
  4524. "id": "Exit.2A4A.370",
  4525. "schema": "Empty",
  4526. "function": "Exit(`370`, `250`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  4527. "mapping": {}
  4528. }
  4529. ]
  4530. },
  4531. {
  4532. "code": "Result.2A4A.380",
  4533. "bookings": [
  4534. {
  4535. "id": "Exit.2A4A.380",
  4536. "schema": "Empty",
  4537. "function": "Exit(`380`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4538. "mapping": {}
  4539. }
  4540. ]
  4541. },
  4542. {
  4543. "code": "Result.2A4A.390",
  4544. "bookings": [
  4545. {
  4546. "id": "MC.2A4A.390_5_1",
  4547. "schema": "CardsAuthorization",
  4548. "copyObject": "LastRow",
  4549. "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)",
  4550. "mapping": {
  4551. "InitialAmountFlag": "true",
  4552. "MptsData": "IN.MptsData",
  4553. "SenderAccountName": "MAIN.InternalName",
  4554. "SenderAddress": "ADDRESS",
  4555. "SenderBank": "PARAMETERS.TenantBank",
  4556. "SenderFullName": "FULLNAME",
  4557. "StandingAmount": "NewStandingAmount",
  4558. "TransactionStatus": "NewTransactionStatus"
  4559. }
  4560. },
  4561. {
  4562. "id": "Exit.2A4A.390",
  4563. "schema": "Empty",
  4564. "function": "Exit(`390`, `260`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
  4565. "mapping": {}
  4566. }
  4567. ]
  4568. },
  4569. {
  4570. "code": "Result.2A4A.400",
  4571. "bookings": [
  4572. {
  4573. "id": "Exit.2A4A.400",
  4574. "schema": "Empty",
  4575. "function": "Exit(`400`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4576. "mapping": {}
  4577. }
  4578. ]
  4579. },
  4580. {
  4581. "code": "Result.2A4A.410",
  4582. "bookings": [
  4583. {
  4584. "id": "MC.2A4A.410_5_1",
  4585. "schema": "CardsAuthorization",
  4586. "copyObject": "LastRow",
  4587. "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)",
  4588. "mapping": {
  4589. "InitialAmountFlag": "true",
  4590. "MptsData": "IN.MptsData",
  4591. "SenderAccountName": "MAIN.InternalName",
  4592. "SenderAddress": "ADDRESS",
  4593. "SenderBank": "PARAMETERS.TenantBank",
  4594. "SenderFullName": "FULLNAME",
  4595. "StandingAmount": "NewStandingAmount",
  4596. "TransactionStatus": "NewTransactionStatus"
  4597. }
  4598. },
  4599. {
  4600. "id": "Exit.2A4A.410",
  4601. "schema": "Empty",
  4602. "function": "Exit(`410`, `270`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  4603. "mapping": {}
  4604. }
  4605. ]
  4606. },
  4607. {
  4608. "code": "Result.2A4A.420",
  4609. "bookings": [
  4610. {
  4611. "id": "Exit.2A4A.420",
  4612. "schema": "Empty",
  4613. "function": "Exit(`420`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4614. "mapping": {}
  4615. }
  4616. ]
  4617. },
  4618. {
  4619. "code": "Result.2A4A.430",
  4620. "bookings": [
  4621. {
  4622. "id": "MC.2A4A.430_5_1",
  4623. "schema": "CardsAuthorization",
  4624. "copyObject": "LastRow",
  4625. "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)",
  4626. "mapping": {
  4627. "InitialAmountFlag": "true",
  4628. "MptsData": "IN.MptsData",
  4629. "SenderAccountName": "MAIN.InternalName",
  4630. "SenderAddress": "ADDRESS",
  4631. "SenderBank": "PARAMETERS.TenantBank",
  4632. "SenderFullName": "FULLNAME",
  4633. "StandingAmount": "NewStandingAmount",
  4634. "TransactionStatus": "NewTransactionStatus"
  4635. }
  4636. },
  4637. {
  4638. "id": "Exit.2A4A.430",
  4639. "schema": "Empty",
  4640. "function": "Exit(`430`, `280`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  4641. "mapping": {}
  4642. }
  4643. ]
  4644. },
  4645. {
  4646. "code": "Result.2A4A.440",
  4647. "bookings": [
  4648. {
  4649. "id": "Exit.2A4A.440",
  4650. "schema": "Empty",
  4651. "function": "Exit(`440`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4652. "mapping": {}
  4653. }
  4654. ]
  4655. },
  4656. {
  4657. "code": "Result.2A4A.450",
  4658. "bookings": [
  4659. {
  4660. "id": "MC.2A4A.450_5_1",
  4661. "schema": "CardsAuthorization",
  4662. "copyObject": "LastRow",
  4663. "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)",
  4664. "mapping": {
  4665. "InitialAmountFlag": "true",
  4666. "MptsData": "IN.MptsData",
  4667. "SenderAccountName": "MAIN.InternalName",
  4668. "SenderAddress": "ADDRESS",
  4669. "SenderBank": "PARAMETERS.TenantBank",
  4670. "SenderFullName": "FULLNAME",
  4671. "StandingAmount": "NewStandingAmount",
  4672. "TransactionStatus": "NewTransactionStatus"
  4673. }
  4674. },
  4675. {
  4676. "id": "Exit.2A4A.450",
  4677. "schema": "Empty",
  4678. "function": "Exit(`450`, `290`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
  4679. "mapping": {}
  4680. }
  4681. ]
  4682. },
  4683. {
  4684. "code": "Result.2A4A.460",
  4685. "bookings": [
  4686. {
  4687. "id": "Exit.2A4A.460",
  4688. "schema": "Empty",
  4689. "function": "Exit(`460`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4690. "mapping": {}
  4691. }
  4692. ]
  4693. },
  4694. {
  4695. "code": "Result.2A4A.470",
  4696. "bookings": [
  4697. {
  4698. "id": "MC.2A4A.470_5_1",
  4699. "schema": "CardsAuthorization",
  4700. "copyObject": "LastRow",
  4701. "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)",
  4702. "mapping": {
  4703. "InitialAmountFlag": "true",
  4704. "MptsData": "IN.MptsData",
  4705. "SenderAccountName": "MAIN.InternalName",
  4706. "SenderAddress": "ADDRESS",
  4707. "SenderBank": "PARAMETERS.TenantBank",
  4708. "SenderFullName": "FULLNAME",
  4709. "StandingAmount": "NewStandingAmount",
  4710. "TransactionStatus": "NewTransactionStatus"
  4711. }
  4712. },
  4713. {
  4714. "id": "Exit.2A4A.470",
  4715. "schema": "Empty",
  4716. "function": "Exit(`470`, `300`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  4717. "mapping": {}
  4718. }
  4719. ]
  4720. },
  4721. {
  4722. "code": "Result.2A4A.480",
  4723. "bookings": [
  4724. {
  4725. "id": "Exit.2A4A.480",
  4726. "schema": "Empty",
  4727. "function": "Exit(`480`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4728. "mapping": {}
  4729. }
  4730. ]
  4731. },
  4732. {
  4733. "code": "Result.2A4A.490",
  4734. "bookings": [
  4735. {
  4736. "id": "MC.2A4A.490_5_1",
  4737. "schema": "CardsAuthorization",
  4738. "copyObject": "LastRow",
  4739. "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)",
  4740. "mapping": {
  4741. "InitialAmountFlag": "true",
  4742. "MptsData": "IN.MptsData",
  4743. "SenderAccountName": "MAIN.InternalName",
  4744. "SenderAddress": "ADDRESS",
  4745. "SenderBank": "PARAMETERS.TenantBank",
  4746. "SenderFullName": "FULLNAME",
  4747. "StandingAmount": "NewStandingAmount",
  4748. "TransactionStatus": "NewTransactionStatus"
  4749. }
  4750. },
  4751. {
  4752. "id": "Exit.2A4A.490",
  4753. "schema": "Empty",
  4754. "function": "Exit(`490`, `310`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  4755. "mapping": {}
  4756. }
  4757. ]
  4758. },
  4759. {
  4760. "code": "Result.2A4A.500",
  4761. "bookings": [
  4762. {
  4763. "id": "MC.2A4A.500_7_0",
  4764. "schema": "CardsAuthorization",
  4765. "copyObject": "LastRow",
  4766. "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)",
  4767. "mapping": {
  4768. "InitialAmountFlag": "true",
  4769. "MptsData": "IN.MptsData",
  4770. "SenderAccountName": "MAIN.Name",
  4771. "SenderAddress": "ADDRESS",
  4772. "SenderBank": "PARAMETERS.TenantBank",
  4773. "SenderFullName": "FULLNAME",
  4774. "StandingAmount": "NewStandingAmount",
  4775. "TransactionStatus": "NewTransactionStatus"
  4776. }
  4777. },
  4778. {
  4779. "id": "MC.2A4A.500_7_1",
  4780. "schema": "Empty",
  4781. "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)",
  4782. "mapping": {}
  4783. },
  4784. {
  4785. "id": "MC.2A4A.500_7_2",
  4786. "schema": "OverdraftMaturityDate",
  4787. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  4788. "mapping": {
  4789. "ArrangementId": "REVO.T24ReferenceId",
  4790. "Currency": "REVO.Currency",
  4791. "CustomerId": "CARD.CustomerId",
  4792. "EffectiveDate": "BOOKING_DATE_FORMAT",
  4793. "MaturityDate": "`2029-01-01`"
  4794. }
  4795. },
  4796. {
  4797. "id": "MC.2A4A.500_7_3",
  4798. "schema": "Overdraft",
  4799. "copyObject": "REVO",
  4800. "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  4801. "mapping": {
  4802. "MaturityDate": "``"
  4803. }
  4804. },
  4805. {
  4806. "id": "Exit.2A4A.500",
  4807. "schema": "Empty",
  4808. "function": "Exit(`500`, `320`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  4809. "mapping": {}
  4810. }
  4811. ]
  4812. },
  4813. {
  4814. "code": "Result.2A4A.510",
  4815. "bookings": [
  4816. {
  4817. "id": "MC.2A4A.510_6_0",
  4818. "schema": "CardsAuthorization",
  4819. "copyObject": "LastRow",
  4820. "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)",
  4821. "mapping": {
  4822. "InitialAmountFlag": "true",
  4823. "MptsData": "IN.MptsData",
  4824. "SenderAccountName": "MAIN.Name",
  4825. "SenderAddress": "ADDRESS",
  4826. "SenderBank": "PARAMETERS.TenantBank",
  4827. "SenderFullName": "FULLNAME",
  4828. "StandingAmount": "NewStandingAmount",
  4829. "TransactionStatus": "NewTransactionStatus"
  4830. }
  4831. },
  4832. {
  4833. "id": "MC.2A4A.510_6_1",
  4834. "schema": "Empty",
  4835. "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)",
  4836. "mapping": {}
  4837. },
  4838. {
  4839. "id": "Exit.2A4A.510",
  4840. "schema": "Empty",
  4841. "function": "Exit(`510`, `330`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  4842. "mapping": {}
  4843. }
  4844. ]
  4845. },
  4846. {
  4847. "code": "Result.2A4A.520",
  4848. "bookings": [
  4849. {
  4850. "id": "Exit.2A4A.520",
  4851. "schema": "Empty",
  4852. "function": "Exit(`520`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4853. "mapping": {}
  4854. }
  4855. ]
  4856. },
  4857. {
  4858. "code": "Result.2A4A.530",
  4859. "bookings": [
  4860. {
  4861. "id": "MC.2A4A.530_5_1",
  4862. "schema": "CardsAuthorization",
  4863. "copyObject": "LastRow",
  4864. "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)",
  4865. "mapping": {
  4866. "InitialAmountFlag": "true",
  4867. "MptsData": "IN.MptsData",
  4868. "SenderAccountName": "MAIN.InternalName",
  4869. "SenderAddress": "ADDRESS",
  4870. "SenderBank": "PARAMETERS.TenantBank",
  4871. "SenderFullName": "FULLNAME",
  4872. "StandingAmount": "NewStandingAmount",
  4873. "TransactionStatus": "NewTransactionStatus"
  4874. }
  4875. },
  4876. {
  4877. "id": "Exit.2A4A.530",
  4878. "schema": "Empty",
  4879. "function": "Exit(`530`, `340`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
  4880. "mapping": {}
  4881. }
  4882. ]
  4883. },
  4884. {
  4885. "code": "Result.2A4A.540",
  4886. "bookings": [
  4887. {
  4888. "id": "MC.2A4A.540_7_0",
  4889. "schema": "CardsAuthorization",
  4890. "copyObject": "LastRow",
  4891. "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)",
  4892. "mapping": {
  4893. "InitialAmountFlag": "true",
  4894. "MptsData": "IN.MptsData",
  4895. "SenderAccountName": "MAIN.Name",
  4896. "SenderAddress": "ADDRESS",
  4897. "SenderBank": "PARAMETERS.TenantBank",
  4898. "SenderFullName": "FULLNAME",
  4899. "StandingAmount": "NewStandingAmount",
  4900. "TransactionStatus": "NewTransactionStatus"
  4901. }
  4902. },
  4903. {
  4904. "id": "MC.2A4A.540_7_1",
  4905. "schema": "Empty",
  4906. "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)",
  4907. "mapping": {}
  4908. },
  4909. {
  4910. "id": "MC.2A4A.540_7_2",
  4911. "schema": "OverdraftMaturityDate",
  4912. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  4913. "mapping": {
  4914. "ArrangementId": "REVO.T24ReferenceId",
  4915. "Currency": "REVO.Currency",
  4916. "CustomerId": "CARD.CustomerId",
  4917. "EffectiveDate": "BOOKING_DATE_FORMAT",
  4918. "MaturityDate": "`2029-01-01`"
  4919. }
  4920. },
  4921. {
  4922. "id": "MC.2A4A.540_7_3",
  4923. "schema": "Overdraft",
  4924. "copyObject": "REVO",
  4925. "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  4926. "mapping": {
  4927. "MaturityDate": "``"
  4928. }
  4929. },
  4930. {
  4931. "id": "Exit.2A4A.540",
  4932. "schema": "Empty",
  4933. "function": "Exit(`540`, `350`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  4934. "mapping": {}
  4935. }
  4936. ]
  4937. },
  4938. {
  4939. "code": "Result.2A4A.550",
  4940. "bookings": [
  4941. {
  4942. "id": "MC.2A4A.550_6_0",
  4943. "schema": "CardsAuthorization",
  4944. "copyObject": "LastRow",
  4945. "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)",
  4946. "mapping": {
  4947. "InitialAmountFlag": "true",
  4948. "MptsData": "IN.MptsData",
  4949. "SenderAccountName": "MAIN.Name",
  4950. "SenderAddress": "ADDRESS",
  4951. "SenderBank": "PARAMETERS.TenantBank",
  4952. "SenderFullName": "FULLNAME",
  4953. "StandingAmount": "NewStandingAmount",
  4954. "TransactionStatus": "NewTransactionStatus"
  4955. }
  4956. },
  4957. {
  4958. "id": "MC.2A4A.550_6_1",
  4959. "schema": "Empty",
  4960. "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)",
  4961. "mapping": {}
  4962. },
  4963. {
  4964. "id": "Exit.2A4A.550",
  4965. "schema": "Empty",
  4966. "function": "Exit(`550`, `360`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  4967. "mapping": {}
  4968. }
  4969. ]
  4970. },
  4971. {
  4972. "code": "Result.2A4A.560",
  4973. "bookings": [
  4974. {
  4975. "id": "Exit.2A4A.560",
  4976. "schema": "Empty",
  4977. "function": "Exit(`560`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  4978. "mapping": {}
  4979. }
  4980. ]
  4981. },
  4982. {
  4983. "code": "Result.2A4A.570",
  4984. "bookings": [
  4985. {
  4986. "id": "MC.2A4A.570_5_1",
  4987. "schema": "CardsAuthorization",
  4988. "copyObject": "LastRow",
  4989. "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)",
  4990. "mapping": {
  4991. "InitialAmountFlag": "true",
  4992. "MptsData": "IN.MptsData",
  4993. "SenderAccountName": "MAIN.InternalName",
  4994. "SenderAddress": "ADDRESS",
  4995. "SenderBank": "PARAMETERS.TenantBank",
  4996. "SenderFullName": "FULLNAME",
  4997. "StandingAmount": "NewStandingAmount",
  4998. "TransactionStatus": "NewTransactionStatus"
  4999. }
  5000. },
  5001. {
  5002. "id": "Exit.2A4A.570",
  5003. "schema": "Empty",
  5004. "function": "Exit(`570`, `370`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  5005. "mapping": {}
  5006. }
  5007. ]
  5008. },
  5009. {
  5010. "code": "Result.2A4A.580",
  5011. "bookings": [
  5012. {
  5013. "id": "MC.2A4A.580_7_0",
  5014. "schema": "CardsAuthorization",
  5015. "copyObject": "LastRow",
  5016. "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)",
  5017. "mapping": {
  5018. "InitialAmountFlag": "true",
  5019. "MptsData": "IN.MptsData",
  5020. "SenderAccountName": "MAIN.Name",
  5021. "SenderAddress": "ADDRESS",
  5022. "SenderBank": "PARAMETERS.TenantBank",
  5023. "SenderFullName": "FULLNAME",
  5024. "StandingAmount": "NewStandingAmount",
  5025. "TransactionStatus": "NewTransactionStatus"
  5026. }
  5027. },
  5028. {
  5029. "id": "MC.2A4A.580_7_1",
  5030. "schema": "Empty",
  5031. "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)",
  5032. "mapping": {}
  5033. },
  5034. {
  5035. "id": "MC.2A4A.580_7_2",
  5036. "schema": "OverdraftMaturityDate",
  5037. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  5038. "mapping": {
  5039. "ArrangementId": "REVO.T24ReferenceId",
  5040. "Currency": "REVO.Currency",
  5041. "CustomerId": "CARD.CustomerId",
  5042. "EffectiveDate": "BOOKING_DATE_FORMAT",
  5043. "MaturityDate": "`2029-01-01`"
  5044. }
  5045. },
  5046. {
  5047. "id": "MC.2A4A.580_7_3",
  5048. "schema": "Overdraft",
  5049. "copyObject": "REVO",
  5050. "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  5051. "mapping": {
  5052. "MaturityDate": "``"
  5053. }
  5054. },
  5055. {
  5056. "id": "Exit.2A4A.580",
  5057. "schema": "Empty",
  5058. "function": "Exit(`580`, `380`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  5059. "mapping": {}
  5060. }
  5061. ]
  5062. },
  5063. {
  5064. "code": "Result.2A4A.590",
  5065. "bookings": [
  5066. {
  5067. "id": "MC.2A4A.590_6_0",
  5068. "schema": "CardsAuthorization",
  5069. "copyObject": "LastRow",
  5070. "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)",
  5071. "mapping": {
  5072. "InitialAmountFlag": "true",
  5073. "MptsData": "IN.MptsData",
  5074. "SenderAccountName": "MAIN.Name",
  5075. "SenderAddress": "ADDRESS",
  5076. "SenderBank": "PARAMETERS.TenantBank",
  5077. "SenderFullName": "FULLNAME",
  5078. "StandingAmount": "NewStandingAmount",
  5079. "TransactionStatus": "NewTransactionStatus"
  5080. }
  5081. },
  5082. {
  5083. "id": "MC.2A4A.590_6_1",
  5084. "schema": "Empty",
  5085. "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)",
  5086. "mapping": {}
  5087. },
  5088. {
  5089. "id": "Exit.2A4A.590",
  5090. "schema": "Empty",
  5091. "function": "Exit(`590`, `390`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  5092. "mapping": {}
  5093. }
  5094. ]
  5095. },
  5096. {
  5097. "code": "Result.2A4A.600",
  5098. "bookings": [
  5099. {
  5100. "id": "Exit.2A4A.600",
  5101. "schema": "Empty",
  5102. "function": "Exit(`600`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  5103. "mapping": {}
  5104. }
  5105. ]
  5106. },
  5107. {
  5108. "code": "Result.2A4A.610",
  5109. "bookings": [
  5110. {
  5111. "id": "MC.2A4A.610_5_1",
  5112. "schema": "CardsAuthorization",
  5113. "copyObject": "LastRow",
  5114. "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)",
  5115. "mapping": {
  5116. "InitialAmountFlag": "true",
  5117. "MptsData": "IN.MptsData",
  5118. "SenderAccountName": "MAIN.InternalName",
  5119. "SenderAddress": "ADDRESS",
  5120. "SenderBank": "PARAMETERS.TenantBank",
  5121. "SenderFullName": "FULLNAME",
  5122. "StandingAmount": "NewStandingAmount",
  5123. "TransactionStatus": "NewTransactionStatus"
  5124. }
  5125. },
  5126. {
  5127. "id": "Exit.2A4A.610",
  5128. "schema": "Empty",
  5129. "function": "Exit(`610`, `400`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  5130. "mapping": {}
  5131. }
  5132. ]
  5133. },
  5134. {
  5135. "code": "Result.2A4A.620",
  5136. "bookings": [
  5137. {
  5138. "id": "MC.2A4A.620_7_0",
  5139. "schema": "CardsAuthorization",
  5140. "copyObject": "LastRow",
  5141. "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)",
  5142. "mapping": {
  5143. "InitialAmountFlag": "true",
  5144. "MptsData": "IN.MptsData",
  5145. "SenderAccountName": "MAIN.Name",
  5146. "SenderAddress": "ADDRESS",
  5147. "SenderBank": "PARAMETERS.TenantBank",
  5148. "SenderFullName": "FULLNAME",
  5149. "StandingAmount": "NewStandingAmount",
  5150. "TransactionStatus": "NewTransactionStatus"
  5151. }
  5152. },
  5153. {
  5154. "id": "MC.2A4A.620_7_1",
  5155. "schema": "Empty",
  5156. "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)",
  5157. "mapping": {}
  5158. },
  5159. {
  5160. "id": "MC.2A4A.620_7_2",
  5161. "schema": "OverdraftMaturityDate",
  5162. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  5163. "mapping": {
  5164. "ArrangementId": "REVO.T24ReferenceId",
  5165. "Currency": "REVO.Currency",
  5166. "CustomerId": "CARD.CustomerId",
  5167. "EffectiveDate": "BOOKING_DATE_FORMAT",
  5168. "MaturityDate": "`2029-01-01`"
  5169. }
  5170. },
  5171. {
  5172. "id": "MC.2A4A.620_7_3",
  5173. "schema": "Overdraft",
  5174. "copyObject": "REVO",
  5175. "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  5176. "mapping": {
  5177. "MaturityDate": "``"
  5178. }
  5179. },
  5180. {
  5181. "id": "Exit.2A4A.620",
  5182. "schema": "Empty",
  5183. "function": "Exit(`620`, `410`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  5184. "mapping": {}
  5185. }
  5186. ]
  5187. },
  5188. {
  5189. "code": "Result.2A4A.630",
  5190. "bookings": [
  5191. {
  5192. "id": "MC.2A4A.630_6_0",
  5193. "schema": "CardsAuthorization",
  5194. "copyObject": "LastRow",
  5195. "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)",
  5196. "mapping": {
  5197. "InitialAmountFlag": "true",
  5198. "MptsData": "IN.MptsData",
  5199. "SenderAccountName": "MAIN.Name",
  5200. "SenderAddress": "ADDRESS",
  5201. "SenderBank": "PARAMETERS.TenantBank",
  5202. "SenderFullName": "FULLNAME",
  5203. "StandingAmount": "NewStandingAmount",
  5204. "TransactionStatus": "NewTransactionStatus"
  5205. }
  5206. },
  5207. {
  5208. "id": "MC.2A4A.630_6_1",
  5209. "schema": "Empty",
  5210. "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)",
  5211. "mapping": {}
  5212. },
  5213. {
  5214. "id": "Exit.2A4A.630",
  5215. "schema": "Empty",
  5216. "function": "Exit(`630`, `420`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  5217. "mapping": {}
  5218. }
  5219. ]
  5220. },
  5221. {
  5222. "code": "Result.2A4A.640",
  5223. "bookings": [
  5224. {
  5225. "id": "Exit.2A4A.640",
  5226. "schema": "Empty",
  5227. "function": "Exit(`640`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  5228. "mapping": {}
  5229. }
  5230. ]
  5231. },
  5232. {
  5233. "code": "Result.2A4A.650",
  5234. "bookings": [
  5235. {
  5236. "id": "MC.2A4A.650_5_1",
  5237. "schema": "CardsAuthorization",
  5238. "copyObject": "LastRow",
  5239. "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)",
  5240. "mapping": {
  5241. "InitialAmountFlag": "true",
  5242. "MptsData": "IN.MptsData",
  5243. "SenderAccountName": "MAIN.InternalName",
  5244. "SenderAddress": "ADDRESS",
  5245. "SenderBank": "PARAMETERS.TenantBank",
  5246. "SenderFullName": "FULLNAME",
  5247. "StandingAmount": "NewStandingAmount",
  5248. "TransactionStatus": "NewTransactionStatus"
  5249. }
  5250. },
  5251. {
  5252. "id": "Exit.2A4A.650",
  5253. "schema": "Empty",
  5254. "function": "Exit(`650`, `430`, true, `Change transaction status to \"CLOSED - reversed fully\"\nReverse the authorization booking`)",
  5255. "mapping": {}
  5256. }
  5257. ]
  5258. },
  5259. {
  5260. "code": "Result.2A4A.660",
  5261. "bookings": [
  5262. {
  5263. "id": "MC.2A4A.660_7_0",
  5264. "schema": "CardsAuthorization",
  5265. "copyObject": "LastRow",
  5266. "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)",
  5267. "mapping": {
  5268. "InitialAmountFlag": "true",
  5269. "MptsData": "IN.MptsData",
  5270. "SenderAccountName": "MAIN.Name",
  5271. "SenderAddress": "ADDRESS",
  5272. "SenderBank": "PARAMETERS.TenantBank",
  5273. "SenderFullName": "FULLNAME",
  5274. "StandingAmount": "NewStandingAmount",
  5275. "TransactionStatus": "NewTransactionStatus"
  5276. }
  5277. },
  5278. {
  5279. "id": "MC.2A4A.660_7_1",
  5280. "schema": "Empty",
  5281. "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)",
  5282. "mapping": {}
  5283. },
  5284. {
  5285. "id": "MC.2A4A.660_7_2",
  5286. "schema": "OverdraftMaturityDate",
  5287. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  5288. "mapping": {
  5289. "ArrangementId": "REVO.T24ReferenceId",
  5290. "Currency": "REVO.Currency",
  5291. "CustomerId": "CARD.CustomerId",
  5292. "EffectiveDate": "BOOKING_DATE_FORMAT",
  5293. "MaturityDate": "`2029-01-01`"
  5294. }
  5295. },
  5296. {
  5297. "id": "MC.2A4A.660_7_3",
  5298. "schema": "Overdraft",
  5299. "copyObject": "REVO",
  5300. "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  5301. "mapping": {
  5302. "MaturityDate": "``"
  5303. }
  5304. },
  5305. {
  5306. "id": "Exit.2A4A.660",
  5307. "schema": "Empty",
  5308. "function": "Exit(`660`, `440`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  5309. "mapping": {}
  5310. }
  5311. ]
  5312. },
  5313. {
  5314. "code": "Result.2A4A.670",
  5315. "bookings": [
  5316. {
  5317. "id": "MC.2A4A.670_6_0",
  5318. "schema": "CardsAuthorization",
  5319. "copyObject": "LastRow",
  5320. "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)",
  5321. "mapping": {
  5322. "InitialAmountFlag": "true",
  5323. "MptsData": "IN.MptsData",
  5324. "SenderAccountName": "MAIN.Name",
  5325. "SenderAddress": "ADDRESS",
  5326. "SenderBank": "PARAMETERS.TenantBank",
  5327. "SenderFullName": "FULLNAME",
  5328. "StandingAmount": "NewStandingAmount",
  5329. "TransactionStatus": "NewTransactionStatus"
  5330. }
  5331. },
  5332. {
  5333. "id": "MC.2A4A.670_6_1",
  5334. "schema": "Empty",
  5335. "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)",
  5336. "mapping": {}
  5337. },
  5338. {
  5339. "id": "Exit.2A4A.670",
  5340. "schema": "Empty",
  5341. "function": "Exit(`670`, `450`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  5342. "mapping": {}
  5343. }
  5344. ]
  5345. },
  5346. {
  5347. "code": "Result.2A4A.680",
  5348. "bookings": [
  5349. {
  5350. "id": "Exit.2A4A.680",
  5351. "schema": "Empty",
  5352. "function": "Exit(`680`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  5353. "mapping": {}
  5354. }
  5355. ]
  5356. },
  5357. {
  5358. "code": "Result.2A4A.690",
  5359. "bookings": [
  5360. {
  5361. "id": "MC.2A4A.690_5_1",
  5362. "schema": "CardsAuthorization",
  5363. "copyObject": "LastRow",
  5364. "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)",
  5365. "mapping": {
  5366. "InitialAmountFlag": "true",
  5367. "MptsData": "IN.MptsData",
  5368. "SenderAccountName": "MAIN.InternalName",
  5369. "SenderAddress": "ADDRESS",
  5370. "SenderBank": "PARAMETERS.TenantBank",
  5371. "SenderFullName": "FULLNAME",
  5372. "StandingAmount": "NewStandingAmount",
  5373. "TransactionStatus": "NewTransactionStatus"
  5374. }
  5375. },
  5376. {
  5377. "id": "Exit.2A4A.690",
  5378. "schema": "Empty",
  5379. "function": "Exit(`690`, `460`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference`)",
  5380. "mapping": {}
  5381. }
  5382. ]
  5383. },
  5384. {
  5385. "code": "Result.2A4A.700",
  5386. "bookings": [
  5387. {
  5388. "id": "MC.2A4A.700_7_0",
  5389. "schema": "CardsAuthorization",
  5390. "copyObject": "LastRow",
  5391. "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)",
  5392. "mapping": {
  5393. "InitialAmountFlag": "true",
  5394. "MptsData": "IN.MptsData",
  5395. "SenderAccountName": "MAIN.Name",
  5396. "SenderAddress": "ADDRESS",
  5397. "SenderBank": "PARAMETERS.TenantBank",
  5398. "SenderFullName": "FULLNAME",
  5399. "StandingAmount": "NewStandingAmount",
  5400. "TransactionStatus": "NewTransactionStatus"
  5401. }
  5402. },
  5403. {
  5404. "id": "MC.2A4A.700_7_1",
  5405. "schema": "Empty",
  5406. "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)",
  5407. "mapping": {}
  5408. },
  5409. {
  5410. "id": "MC.2A4A.700_7_2",
  5411. "schema": "OverdraftMaturityDate",
  5412. "function": "T24.UpdateOverdraftMaturityDateRetail(OUT)",
  5413. "mapping": {
  5414. "ArrangementId": "REVO.T24ReferenceId",
  5415. "Currency": "REVO.Currency",
  5416. "CustomerId": "CARD.CustomerId",
  5417. "EffectiveDate": "BOOKING_DATE_FORMAT",
  5418. "MaturityDate": "`2029-01-01`"
  5419. }
  5420. },
  5421. {
  5422. "id": "MC.2A4A.700_7_3",
  5423. "schema": "Overdraft",
  5424. "copyObject": "REVO",
  5425. "function": "Book(`MC.2A4A.7`,`DEF`,0,``,``,`D`,`PRODUCT-` # REVO.ProductId,``,``,``,`Products Payload`,true,``,Decimal(0),ReversalAmount.Currency,[`CARD`],OUT,``,Decimal(0),``,Decimal(0),``)",
  5426. "mapping": {
  5427. "MaturityDate": "``"
  5428. }
  5429. },
  5430. {
  5431. "id": "Exit.2A4A.700",
  5432. "schema": "Empty",
  5433. "function": "Exit(`700`, `470`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24. Set date.`)",
  5434. "mapping": {}
  5435. }
  5436. ]
  5437. },
  5438. {
  5439. "code": "Result.2A4A.710",
  5440. "bookings": [
  5441. {
  5442. "id": "MC.2A4A.710_6_0",
  5443. "schema": "CardsAuthorization",
  5444. "copyObject": "LastRow",
  5445. "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)",
  5446. "mapping": {
  5447. "InitialAmountFlag": "true",
  5448. "MptsData": "IN.MptsData",
  5449. "SenderAccountName": "MAIN.Name",
  5450. "SenderAddress": "ADDRESS",
  5451. "SenderBank": "PARAMETERS.TenantBank",
  5452. "SenderFullName": "FULLNAME",
  5453. "StandingAmount": "NewStandingAmount",
  5454. "TransactionStatus": "NewTransactionStatus"
  5455. }
  5456. },
  5457. {
  5458. "id": "MC.2A4A.710_6_1",
  5459. "schema": "Empty",
  5460. "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)",
  5461. "mapping": {}
  5462. },
  5463. {
  5464. "id": "Exit.2A4A.710",
  5465. "schema": "Empty",
  5466. "function": "Exit(`710`, `480`, true, `Change transaction status to \"OPEN - modified\"\nDeduct the difference. Call T24.`)",
  5467. "mapping": {}
  5468. }
  5469. ]
  5470. },
  5471. {
  5472. "code": "Result.2A4A.720",
  5473. "bookings": [
  5474. {
  5475. "id": "Exit.2A4A.720",
  5476. "schema": "Empty",
  5477. "function": "Exit(`720`, `INVALID_UPDATE_TYPE`, false, `Reversal transaction amount does not match update type (REVERSAL, PARTIAL_REVERSAL)`)",
  5478. "mapping": {}
  5479. }
  5480. ]
  5481. },
  5482. {
  5483. "code": "Result.2A4A.730",
  5484. "bookings": [
  5485. {
  5486. "id": "Exit.2A4A.730",
  5487. "schema": "Empty",
  5488. "function": "Exit(`730`, `INVALID_AMOUNT`, false, `Wrong amount`)",
  5489. "mapping": {}
  5490. }
  5491. ]
  5492. },
  5493. {
  5494. "code": "Result.2A4A.740",
  5495. "bookings": [
  5496. {
  5497. "id": "Exit.2A4A.740",
  5498. "schema": "Empty",
  5499. "function": "Exit(`740`, `INVALID_MATCHING`, false, `Could not fincd matching transaction for provided transaction_group_id`)",
  5500. "mapping": {}
  5501. }
  5502. ]
  5503. },
  5504. {
  5505. "code": "Result.2A4A.750",
  5506. "bookings": [
  5507. {
  5508. "id": "MC.2A4A.750_2_1",
  5509. "schema": "CardsAuthorization",
  5510. "copyObject": "IN",
  5511. "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)",
  5512. "mapping": {
  5513. "MptsData": "IN.MptsData",
  5514. "RejectionReason": "`REVERSAL NOT MATCHED`",
  5515. "TransactionGroupId": "GROUP_ID",
  5516. "TransactionStatus": "`CLOSED_NOT_MATCHED`"
  5517. }
  5518. },
  5519. {
  5520. "id": "Exit.2A4A.750",
  5521. "schema": "Empty",
  5522. "function": "Exit(`750`, `490`, false, `Transaction not matched`)",
  5523. "mapping": {}
  5524. }
  5525. ]
  5526. },
  5527. {
  5528. "code": "Result.2A4A.760",
  5529. "bookings": [
  5530. {
  5531. "id": "Exit.2A4A.760",
  5532. "schema": "Empty",
  5533. "function": "Exit(`760`, `500`, false, `empty`)",
  5534. "mapping": {}
  5535. }
  5536. ]
  5537. },
  5538. {
  5539. "code": "Result.2A4A.770",
  5540. "bookings": [
  5541. {
  5542. "id": "Exit.2A4A.770",
  5543. "schema": "Empty",
  5544. "function": "Exit(`770`, `CARD_NOT_FOUND`, false, `No card`)",
  5545. "mapping": {}
  5546. }
  5547. ]
  5548. }
  5549. ],
  5550. "response": {
  5551. "schema": "CardsAuthorizationResponses",
  5552. "mapping": {
  5553. "AuthorizationCode": "``",
  5554. "AvailableFunds": "Extract(GetAvailableFunds(MAIN.InternalName), `AvailableFunds`)"
  5555. }
  5556. }
  5557. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement