1
0

MWCONFIG_INITDB_SMS.sql 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. INSERT INTO MWCONFIG.CODEX (ID, XML, MODIFIED_BY, TIMESTAMP) VALUES ('iso-8583-sms',
  2. '<codex id="iso-8583-sms" escape="true">
  3. <field id="packetLength" type="groupLengthBinary" decimal-format="binary" length="2" />
  4. <field id="messageType" type="string" length="4" padding-mode="right" padding-char=" " />
  5. <field id="bitmap" type="bitmap">
  6. <field id="primaryAccountNumber" bit="2" type="string" length="19" format="llvar" />
  7. <field id="processingCode" bit="3" type="string" length="6" />
  8. <field id="amountTransaction" bit="4" type="string" length="12" padding-mode="left" padding-char="0" />
  9. <field id="amountSettlement" bit="5" type="string" length="12" padding-mode="left" padding-char="0" />
  10. <field id="amountCardholderBilling" bit="6" type="string" length="12" padding-mode="left" padding-char="0" />
  11. <field id="transmissionDateTime" bit="7" type="string" length="10" />
  12. <field id="amountCardholderBillingFee" bit="8" type="string" length="8" padding-mode="left" padding-char="0" />
  13. <field id="conversionRateSettlement" bit="9" type="string" length="8" padding-mode="left" padding-char="0" />
  14. <field id="conversionRateCardholderBilling" bit="10" type="string" length="8" padding-mode="left" padding-char="0" />
  15. <field id="systemsTraceAuditNumber" bit="11" type="string" length="6" />
  16. <field id="timeLocalTransaction" bit="12" type="string" length="6" />
  17. <field id="dateLocalTransaction" bit="13" type="string" length="4" />
  18. <field id="dateExpiration" bit="14" type="string" length="4" />
  19. <field id="dateSettlement" bit="15" type="string" length="4" />
  20. <field id="dateConversion" bit="16" type="string" length="4" />
  21. <field id="dateCapture" bit="17" type="string" length="4" />
  22. <field id="merchantType" bit="18" type="string" length="4" padding-mode="left" padding-char="0" />
  23. <field id="acquiringInstitutionCountryCode" bit="19" type="string" length="3" padding-mode="left" padding-char="0" />
  24. <field id="panExtendedCountryCode" bit="20" type="string" length="3" padding-mode="left" padding-char="0" />
  25. <field id="forwardingInstitutionCountryCode" bit="21" type="string" length="3" padding-mode="left" padding-char="0" />
  26. <field id="pointOfServiceEntryMode" bit="22" type="string" length="3" padding-mode="left" padding-char="0" />
  27. <field id="applicationPanNumber" bit="23" type="string" length="3" padding-mode="left" padding-char="0" />
  28. <field id="networkInternationalIdentifier" bit="24" type="string" length="3" padding-mode="left" padding-char="0" />
  29. <field id="pointOfServiceConditionCode" bit="25" type="string" length="2" padding-mode="left" padding-char="0" />
  30. <field id="pointOfServiceCaptureCode" bit="26" type="string" length="2" padding-mode="left" padding-char="0" />
  31. <field id="authorisingIdentificationResponseLength" bit="27" type="string" length="1" padding-mode="left" padding-char="0" />
  32. <field id="amountTransactionFee" bit="28" type="string" length="9" padding-mode="left" padding-char="0" />
  33. <field id="amountSettlementFee" bit="29" type="string" length="9" padding-mode="left" padding-char="0" />
  34. <field id="amountTransactionProcessingFee" bit="30" type="string" length="9" padding-mode="left" padding-char="0" />
  35. <field id="amountSettlementProcessingFee" bit="31" type="string" length="9" padding-mode="left" padding-char="0" />
  36. <field id="acquiringInstitutionIdentificationCode" bit="32" type="string" length="11" format="llvar" />
  37. <field id="forwardingInstitutionIdentificationCode" bit="33" type="string" length="11" format="llvar" />
  38. <field id="primaryAccountNumberExtended" bit="34" type="string" length="28" format="llvar" />
  39. <field id="track2Data" bit="35" type="string" length="37" format="llvar" />
  40. <field id="track3Data" bit="36" type="string" length="104" format="lllvar" />
  41. <field id="retrievalReferenceNumber" bit="37" type="string" length="12" />
  42. <field id="authorisationIdentificationResponse" bit="38" type="string" length="6" />
  43. <field id="responseCode" bit="39" type="string" length="2" padding-mode="left" />
  44. <field id="serviceRestrictionCode" bit="40" type="string" length="3" />
  45. <field id="cardAcceptorTerminalIdentification" bit="41" type="string" length="16" />
  46. <field id="cardAcceptorIdentificationCode" bit="42" type="string" length="15" />
  47. <field id="cardAcceptorName" bit="43" type="string" length="40" />
  48. <field id="additionalResponseData" bit="44" type="string" length="25" format="llvar" />
  49. <field id="track1Data" bit="45" type="string" length="76" format="llvar" />
  50. <field id="additionalDataIso" bit="46" type="string" length="999" format="lllvar" />
  51. <field id="additionalDataNational" bit="47" type="string" length="999" format="lllvar" />
  52. <field id="additionalDataPrivate" bit="48" type="string" length="999" format="lllvar" />
  53. <field id="currencyCodeTransaction" bit="49" type="string" length="3" />
  54. <field id="currencyCodeSettlement" bit="50" type="string" length="3" />
  55. <field id="currencyCodeCardholderBilling" bit="51" type="string" length="3" />
  56. <field id="personalIdentificationNumberData" bit="52" type="string" length="16" />
  57. <field id="securityRelatedControlInformation" bit="53" type="string" length="18" padding-mode="left" padding-char="0" />
  58. <field id="additionalAmounts" bit="54" type="string" length="999" format="lllvar" />
  59. <field id="reservedIso1" bit="55" type="string" length="999" format="lllvar" />
  60. <field id="reservedIso2" bit="56" type="string" length="999" format="lllvar" />
  61. <field id="reservedNational1" bit="57" type="string" length="999" format="lllvar" />
  62. <field id="reservedNational2" bit="58" type="string" length="999" format="lllvar" />
  63. <field id="reservedNational3" bit="59" type="string" length="999" format="lllvar" />
  64. <field id="reasonCode" bit="60" type="string" length="999" format="lllvar" />
  65. <field id="reservedPrivate1" bit="61" type="string" length="999" format="lllvar" />
  66. <field id="reservedPrivate2" bit="62" type="string" length="999" format="lllvar" />
  67. <field id="reservedPrivate3" bit="63" type="string" length="999" format="lllvar" />
  68. <field id="messageAuthenticationCode" bit="64" type="string" length="16" />
  69. <field id="bitMapTertiary" bit="65" type="string" length="16" />
  70. <field id="settlementCode" bit="66" type="string" length="1" padding-mode="left" padding-char="0" />
  71. <field id="extendedPaymentCode" bit="67" type="string" length="2" padding-mode="left" padding-char="0" />
  72. <field id="receivingInstitutionCountryCode" bit="68" type="string" length="3" />
  73. <field id="settlementInstitutionCountyCode" bit="69" type="string" length="3" />
  74. <field id="networkManagementInformationCode" bit="70" type="string" length="3" />
  75. <field id="messageNumber" bit="71" type="string" length="4" padding-mode="left" padding-char="0" />
  76. <field id="messageNumberLast" bit="72" type="string" length="4" padding-mode="left" padding-char="0" />
  77. <field id="dateAction" bit="73" type="string" length="6" />
  78. <field id="creditsNumber" bit="74" type="string" length="10" padding-mode="left" padding-char="0" />
  79. <field id="creditsReversalNumber" bit="75" type="string" length="10" padding-mode="left" padding-char="0" />
  80. <field id="debitsNumber" bit="76" type="string" length="10" padding-mode="left" padding-char="0" />
  81. <field id="debitsReversalNumber" bit="77" type="string" length="10" padding-mode="left" padding-char="0" />
  82. <field id="transferNumber" bit="78" type="string" length="10" padding-mode="left" padding-char="0" />
  83. <field id="transferReversalNumber" bit="79" type="string" length="10" padding-mode="left" padding-char="0" />
  84. <field id="inquiriesNumber" bit="80" type="string" length="10" padding-mode="left" padding-char="0" />
  85. <field id="authorisationsNumber" bit="81" type="string" length="10" padding-mode="left" padding-char="0" />
  86. <field id="creditsProcesssingFeeAmount" bit="82" type="string" length="14" padding-mode="left" padding-char="0" />
  87. <field id="creditsTransactionFeeAmount" bit="83" type="string" length="14" padding-mode="left" padding-char="0" />
  88. <field id="debitsProcessingFeeAmount" bit="84" type="string" length="14" padding-mode="left" padding-char="0" />
  89. <field id="debitsTransactionFeeAmount" bit="85" type="string" length="14" padding-mode="left" padding-char="0" />
  90. <field id="creditsAmount" bit="86" type="string" length="15" padding-mode="left" padding-char="0" />
  91. <field id="creditsReversalAmount" bit="87" type="string" length="15" padding-mode="left" padding-char="0" />
  92. <field id="debitsAmount" bit="88" type="string" length="15" padding-mode="left" padding-char="0" />
  93. <field id="debitsReversalAmount" bit="89" type="string" length="15" padding-mode="left" padding-char="0" />
  94. <field id="originalDataElements" bit="90" type="string" length="42" padding-mode="left" />
  95. <field id="fileUpdateCode" bit="91" type="string" length="1" />
  96. <field id="fileSecurityCode" bit="92" type="string" length="2" padding-mode="left" padding-char="0" />
  97. <field id="responseIndicator" bit="93" type="string" length="5" padding-mode="left" padding-char="0" />
  98. <field id="serviceIndicator" bit="94" type="string" length="7" />
  99. <field id="replacementAmounts" bit="95" type="string" length="42" />
  100. <field id="messageSecurityCode" bit="96" type="string" length="8" />
  101. <field id="amountNetSettlement" bit="97" type="string" length="16" padding-mode="left" padding-char="0" />
  102. <field id="payee" bit="98" type="string" length="25" />
  103. <field id="settlementInstitutionIdentificationCode" bit="99" type="string" length="11" format="llvar" />
  104. <field id="receivingInstitutionIdentificationCode" bit="100" type="string" length="11" format="llvar" />
  105. <field id="slipNumber" bit="101" type="string" length="11" format="llvar" />
  106. <field id="fromAccount" bit="102" type="string" length="28" format="llvar" />
  107. <field id="toAccount" bit="103" type="string" length="28" format="llvar" />
  108. <field id="transactionDescription" bit="104" type="string" length="100" format="lllvar" />
  109. <field id="reservedForIsoUse1" bit="105" type="string" length="999" format="lllvar" />
  110. <field id="reservedForIsoUse2" bit="106" type="string" length="999" format="lllvar" />
  111. <field id="reservedForIsoUse3" bit="107" type="string" length="999" format="lllvar" />
  112. <field id="reservedForIsoUse4" bit="108" type="string" length="999" format="lllvar" />
  113. <field id="reservedForIsoUse5" bit="109" type="string" length="999" format="lllvar" />
  114. <field id="reservedForIsoUse6" bit="110" type="string" length="999" format="lllvar" />
  115. <field id="reservedForIsoUse7" bit="111" type="string" length="999" format="lllvar" />
  116. <field id="reservedForNationalUse" bit="112" type="string" length="999" format="lllvar" />
  117. <field id="authorisingAgentInstitutionIdCode" bit="113" type="string" length="11" format="llvar" />
  118. <field id="reservedForNationalUse1" bit="114" type="string" length="999" format="lllvar" />
  119. <field id="reservedForNationalUse2" bit="115" type="string" length="999" format="lllvar" />
  120. <field id="reservedForNationalUse3" bit="116" type="string" length="999" format="lllvar" />
  121. <field id="reservedForNationalUse4" bit="117" type="string" length="999" format="lllvar" />
  122. <field id="reservedForNationalUse5" bit="118" type="string" length="999" format="lllvar" />
  123. <field id="reservedForNationalUse6" bit="119" type="string" length="999" format="lllvar" />
  124. <field id="reservedForPrivateUse1" bit="120" type="string" length="999" format="lllvar" />
  125. <field id="reservedForPrivateUse2" bit="121" type="string" length="999" format="lllvar" />
  126. <field id="reservedForPrivateUse3" bit="122" type="string" length="999" format="lllvar" />
  127. <field id="reservedForPrivateUse4" bit="123" type="string" length="999" format="lllvar" />
  128. <field id="infoText" bit="124" type="string" length="255" format="lllvar" />
  129. <field id="networkManagementInformation" bit="125" type="string" length="50" format="lllvar" />
  130. <field id="issuerTraceId" bit="126" type="string" length="6" format="lllvar" />
  131. <field id="reservedForPrivateUse" bit="127" type="string" length="11" format="lllvar" />
  132. <field id="messageAuthenticationCode2" bit="128" type="string" length="16" />
  133. </field>
  134. <field id="!type" type="script" encode="true">iso-8583-itm</field>
  135. <field id="!mid" type="script" encode="true">${msg.transmissionDateTime}.${msg.systemsTraceAuditNumber}</field>
  136. <field id="!code" type="script" encode="true">${dtree("SMS-CODE", "messageType")}</field>
  137. </codex>', CURRENT USER, CURRENT TIMESTAMP);
  138. INSERT INTO MWCONFIG.ADAPTOR (ID, DESCRIPTION, ASYNCHRONOUS, MODIFIED_BY, TIMESTAMP)
  139. VALUES
  140. ('sms-20801', 'SMS Adaptor', 1, CURRENT USER, CURRENT TIMESTAMP),
  141. ('sms-60802', 'BIS Adaptor', 1, CURRENT USER, CURRENT TIMESTAMP),
  142. ('core-sms', 'Core Adaptor from SMS channel', 0, CURRENT USER, CURRENT TIMESTAMP);
  143. INSERT INTO MWCONFIG.ADAPTOR_CODEX (ADAPTOR_ID, ID, CODEX_ID)
  144. VALUES
  145. ('sms-20801', 'incoming','iso-8583-sms'),
  146. ('sms-20801', 'outgoing','iso-8583-sms'),
  147. ('sms-60802', 'incoming','iso-8583-sms'),
  148. ('sms-60802', 'outgoing','iso-8583-sms'),
  149. ('core-sms', 'incoming', 'dsp-response'),
  150. ('core-sms', 'outgoing', 'dsp');
  151. INSERT INTO MWCONFIG.ADAPTOR_PARAM (ADAPTOR_ID, NAME, VALUE)
  152. VALUES
  153. ('sms-20801', 'maxConnection', '1'),
  154. ('sms-60802', 'maxConnection', '1'),
  155. ('core-sms', 'timeout', '40000'),
  156. ('core-sms', 'closeOnReply', 'true'),
  157. ('core-sms', 'maxConnection', '50');
  158. INSERT INTO MWCONFIG.SERVER_PORT (ADAPTOR_ID, PORT, SERVER, GROUP)
  159. VALUES
  160. ('sms-20801', 20801, 'server-1', 'sms'),
  161. ('sms-60802', 60802, 'server-1', 'sms');
  162. INSERT INTO MWCONFIG.CLIENT (ADAPTOR_ID, IDLE_WAIT, TIMEOUT, CLOSE_QUEUE, CONTROL_QUEUE, KEEP_CONN, REUSE_DELAY, NODE)
  163. VALUES
  164. ('core-sms', 30000, NULL, NULL, NULL, 0, NULL, 'core-client');
  165. INSERT INTO MWCONFIG.CLIENT_TARGET (CLIENT_ID, ID, HOST, SEQ, WEIGHT)
  166. VALUES
  167. ('core-sms', 'core-sms', 'BTNCOREKONVEN:13000', 1, NULL);
  168. INSERT INTO MWCONFIG.DTREE(GROUP, PATH, VALUE, MODIFIED_BY, TIMESTAMP, MODULE)
  169. VALUES
  170. ('SMS-CODE', '0800', '0800.${msg.networkManagementInformationCode?.padLeft(6, "0")}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  171. ('SMS-CODE', '0810', '0810.${msg.networkManagementInformationCode?.padLeft(6, "0")}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  172. ('SMS-CODE', '0200', '0200.${msg.processingCode?.startsWith("1")||msg.processingCode?.startsWith("3")?msg.processingCode?.padLeft(6, "0"):msg.processingCode?.substring(0,2).padRight(6, "0")}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  173. ('SMS-CODE', '0210', '0210.${msg.processingCode?.startsWith("1")||msg.processingCode?.startsWith("3")?msg.processingCode?.padLeft(6, "0"):msg.processingCode?.substring(0,2).padRight(6, "0")}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  174. ('SMS-CODE', '0400', '0400.${msg.processingCode?.startsWith("1")||msg.processingCode?.startsWith("3")?msg.processingCode?.padLeft(6, "0"):msg.processingCode?.substring(0,2).padRight(6, "0")}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  175. ('SMS-CODE', '0410', '0410.${msg.processingCode?.startsWith("1")||msg.processingCode?.startsWith("3")?msg.processingCode?.padLeft(6, "0"):msg.processingCode?.substring(0,2).padRight(6, "0")}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  176. ('SMS-CODE', '0220', '0220.${msg.processingCode?.startsWith("1")||msg.processingCode?.startsWith("3")?msg.processingCode?.padLeft(6, "0"):msg.processingCode?.substring(0,2).padRight(6, "0")}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  177. ('SMS-CODE', '0420', '0420.${msg.processingCode?.startsWith("1")||msg.processingCode?.startsWith("3")?msg.processingCode?.padLeft(6, "0"):msg.processingCode?.substring(0,2).padRight(6, "0")}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  178. ('SMS-CODE', '0230', '0230.${msg.processingCode?.startsWith("1")||msg.processingCode?.startsWith("3")?msg.processingCode?.padLeft(6, "0"):msg.processingCode?.substring(0,2).padRight(6, "0")}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  179. ('SMS-CODE', '0430', '0430.${msg.processingCode?.startsWith("1")||msg.processingCode?.startsWith("3")?msg.processingCode?.padLeft(6, "0"):msg.processingCode?.substring(0,2).padRight(6, "0")}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  180. ('SMS-CODE', '0200.800000', '0200.${msg.processingCode.substring(0,6)}.${msg.reservedPrivate2.substring(0,6)}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]'),
  181. ('SMS-CODE', '0210.800000', '0200.${msg.processingCode.substring(0,6)}.${msg.reservedPrivate2.substring(0,6)}', CURRENT USER, CURRENT TIMESTAMP, '[smsro]');
  182. INSERT INTO MWCONFIG.ROUTING_TABLE (CODE_START, CODE_END, CHANNEL, START_DATE, QUEUE, STATUS, REPLY_TO, REPLY_TO_QMGR, CREATE_BY, CREATE_DATE)
  183. VALUES
  184. ('0800.000000', '0800.999999', 'sms', CURRENT TIMESTAMP, 'ISO_NETWORK_IN', 'ACTIVE', 'ROUTER_OUT', 'SMSBROKER.QM', CURRENT USER, CURRENT TIMESTAMP),
  185. ('*', '*', 'sms', CURRENT TIMESTAMP, 'MDW_IN', 'ACTIVE', 'ROUTER_OUT', 'SMSBROKER.QM', CURRENT USER, CURRENT TIMESTAMP);
  186. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('res-core.sms', '[smsmd]', CURRENT USER, CURRENT TIMESTAMP);
  187. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID)
  188. VALUES ('res-core.sms', 1, '/data/body', '/data/body', NULL, NULL);
  189. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ)
  190. VALUES
  191. ('res-core.sms', 1, '@', 'copyMessage("../body", "request/data/body/original")', 10),
  192. ('res-core.sms', 1, '!CorrelId', '${head.CorrelId}', 20),
  193. ('res-core.sms', 1, '!connid', '${head.connid}', 20),
  194. ('res-core.sms', 1, '!group', '${head.request.data.group}', 20),
  195. ('res-core.sms', 1, '!mid', '${head.request.data.mid}', 20),
  196. ('res-core.sms', 1, '!reqtimestamp', '${head.reqtimestamp}', 20),
  197. ('res-core.sms', 1, '!sid', '${head.sid}', 20),
  198. ('res-core.sms', 1, '!source', '${head.request.data.source}', 20),
  199. ('res-core.sms', 1, '!timestamp', '${head.timestamp}', 20),
  200. ('res-core.sms', 1, 'acquiringInstitutionIdentificationCode', '${head.request.data.body.original.acquiringInstitutionIdentificationCode}', 20),
  201. ('res-core.sms', 1, 'additionalDataPrivate', '${head.request.data.body.original.additionalDataPrivate}', 20),
  202. ('res-core.sms', 1, 'amountCardholderBilling', '${head.request.data.body.original.amountCardholderBilling}', 20),
  203. ('res-core.sms', 1, 'amountTransaction', '${head.request.data.body.original.amountTransaction}', 20),
  204. ('res-core.sms', 1, 'amountTransactionFee', '${head.request.data.body.original.amountTransactionFee}', 20),
  205. ('res-core.sms', 1, 'cardAcceptorIdentificationCode', '${head.request.data.body.original.cardAcceptorIdentificationCode}', 20),
  206. ('res-core.sms', 1, 'cardAcceptorName', '${head.request.data.body.original.cardAcceptorName}', 20),
  207. ('res-core.sms', 1, 'cardAcceptorTerminalIdentification', '${head.request.data.body.original.cardAcceptorTerminalIdentification}', 20),
  208. ('res-core.sms', 1, 'conversionRateCardholderBilling', '${head.request.data.body.original.conversionRateCardholderBilling}', 20),
  209. ('res-core.sms', 1, 'currencyCodeTransaction', '${head.request.data.body.original.currencyCodeTransaction}', 20),
  210. ('res-core.sms', 1, 'dateCapture', '${head.request.data.body.original.dateCapture}', 20),
  211. ('res-core.sms', 1, 'dateLocalTransaction', '${head.request.data.body.original.dateLocalTransaction}', 20),
  212. ('res-core.sms', 1, 'forwardingInstitutionIdentificationCode', '${head.request.data.body.original.forwardingInstitutionIdentificationCode}', 20),
  213. ('res-core.sms', 1, 'fromAccount', '${head.request.data.body.original.fromAccount}', 20),
  214. ('res-core.sms', 1, 'merchantType', '${head.request.data.body.original.merchantType}', 20),
  215. ('res-core.sms', 1, 'messageType', '0210', 20),
  216. ('res-core.sms', 1, 'networkManagementInformation', '${head.request.data.body.original.networkManagementInformation}', 20),
  217. ('res-core.sms', 1, 'primaryAccountNumber', '${head.request.data.body.original.primaryAccountNumber}', 20),
  218. ('res-core.sms', 1, 'processingCode', '${head.request.data.body.original.processingCode}', 20),
  219. ('res-core.sms', 1, 'reasonCode', '${head.request.data.body.original.reasonCode}', 20),
  220. ('res-core.sms', 1, 'receivingInstitutionIdentificationCode', '${head.request.data.body.original.receivingInstitutionIdentificationCode}', 20),
  221. ('res-core.sms', 1, 'reservedForPrivateUse', '${head.request.data.body.original.reservedForPrivateUse}', 20),
  222. ('res-core.sms', 1, 'reservedForPrivateUse1', '${head.request.data.body.original.reservedForPrivateUse1}', 20),
  223. ('res-core.sms', 1, 'reservedPrivate1', '${head.request.data.body.original.reservedPrivate1}', 20),
  224. ('res-core.sms', 1, 'reservedPrivate2', '${head.request.data.body.original.reservedPrivate2}', 20),
  225. ('res-core.sms', 1, 'responseCode', '00', 20),
  226. ('res-core.sms', 1, 'retrievalReferenceNumber', '${head.request.data.body.original.retrievalReferenceNumber}', 20),
  227. ('res-core.sms', 1, 'systemsTraceAuditNumber', '${head.request.data.body.original.systemsTraceAuditNumber}', 20),
  228. ('res-core.sms', 1, 'timeLocalTransaction', '${head.request.data.body.original.timeLocalTransaction}', 20),
  229. ('res-core.sms', 1, 'toAccount', '${head.request.data.body.original.toAccount}', 20),
  230. ('res-core.sms', 1, 'track2Data', '${head.request.data.body.original.track2Data}', 20),
  231. ('res-core.sms', 1, 'transmissionDateTime', '${head.request.data.body.original.transmissionDateTime}', 20);
  232. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('res-core.sms.error', '[smsmd]', CURRENT USER, CURRENT TIMESTAMP);
  233. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID)
  234. VALUES ('res-core.sms.error', 1, '/data/body', '/data/body', 'res-core.sms', '1');
  235. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ)
  236. VALUES
  237. ('res-core.sms.error', 1, 'messageType', '0210', 10),
  238. ('res-core.sms.error', 1, '!code', '${head.request.data.body.original.processingCode?."!value".startsWith("1")||head.request.data.body.original.processingCode?."!value".startsWith("3")?head.request.data.code:tar.messageType."!value"+"."+tar.processingCode."!value"}', 20),
  239. ('res-core.sms.error', 1, '!error', '${head.error}', null),
  240. ('res-core.sms.error', 1, '!errorDetail', '${head.errorDetail}', null),
  241. ('res-core.sms.error', 1, 'responseCode', '${getParamValue("error_map|".concat(head.adaptor==null?head.destination."!value":head.adaptor."!value"), msg.responseCode."!value", "99")}', null);
  242. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('res-core.sms.0200.error', '[smsmd]', CURRENT USER, CURRENT TIMESTAMP);
  243. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID) VALUES ('res-core.sms.0200.error', 1, '/data/body', '/data/body', 'res-core.sms.error', '1');
  244. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ)
  245. VALUES
  246. ('res-core.sms.0200.error', 1, '!CorrelId', '${head.CorrelId!=null?head.CorrelId:head.request.data.CorrelId}', 10),
  247. ('res-core.sms.0200.error', 1, '!connid', '${head.connid!=null?head.connid:head.request.data.connid}', 10),
  248. ('res-core.sms.0200.error', 1, 'check_rc', '${head.adaptor!=null?head.adaptor."!value"=="bi-conn-konven"||head.adaptor."!value"=="bi-conn-syariah"?(msg.reasonCode?msg.reasonCode."!value"!=null?msg.reasonCode."!value":msg.responseCode."!value":msg.responseCode."!value"):msg.responseCode."!value":msg.responseCode."!value"}', 10),
  249. ('res-core.sms.0200.error', 1, 'responseCode', '${head.request.data.source."!value".substring(0,6).equals("sms-10")?"B1":getParamValue("error_map|".concat(head.adaptor==null?head.destination."!value":head.adaptor."!value"), tar.check_rc."!value", "99")}', 20),
  250. ('res-core.sms.0200.error', 1, 'reservedForPrivateUse2', '${getParamValue("error_map_detail|".concat(head.adaptor==null?head.destination."!value":head.adaptor."!value"), tar.check_rc."!value", null)}', 50),
  251. ('res-core.sms.0200.error', 1, '!ReplyToQ', '${head.request.data.body.ReplyToQ}', null),
  252. ('res-core.sms.0200.error', 1, '!ReplyToQmgr', '${head.request.data.body.ReplyToQmgr}', null),
  253. ('res-core.sms.0200.error', 1, 'messageType', '0210', null),
  254. ('res-core.sms.0200.error', 1, 'reservedForPrivateUse1', '${msg.reservedForPrivateUse1==null||msg.reservedForPrivateUse1."!value"==null||msg.reservedForPrivateUse1."!value"==""?null:msg.reservedForPrivateUse1."!value"}', null),
  255. ('res-core.sms.0200.error', 1, 'reservedPrivate3', '${head.request.data.body.original.reservedPrivate3!=null?head.request.data.body.original.reservedPrivate3."!value":(msg.reservedPrivate3!=null?msg.reservedPrivate3."!value":null)}', null);
  256. INSERT INTO MWCONFIG.MAPPING(ID, DESCRIPTION, MODIFIED_BY, TIMESTAMP, MODULE) VALUES ('checkRepeat', NULL, CURRENT USER, CURRENT TIMESTAMP, NULL);
  257. INSERT INTO MWCONFIG.MAPPING_GROUP(MAPPING_ID, ID, "SOURCE", TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID) VALUES ('checkRepeat', 1, '/data', '/data', null, null);
  258. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE(MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('checkRepeat', 1, '@', 'copyMessage()', null);
  259. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE(MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('checkRepeat', 1, 'isRepeat', '${getParamValue("isRepeat."+msg.source."!value", head.body.messageType."!value"+"."+head.body.responseCode."!value","no")}', null);
  260. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('itm-conn-cms-req.master', '[smsmd]', CURRENT USER, CURRENT TIMESTAMP);
  261. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID)
  262. VALUES ('itm-conn-cms-req.master', 1, '/data/body', '/data/body', NULL, NULL);
  263. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ)
  264. VALUES
  265. ('itm-conn-cms-req.master', 1, '@', 'copyMessage();copyMessageToChild("original");', 10),
  266. ('itm-conn-cms-req.master', 1, '!CorrelId', '${head.CorrelId} ', null),
  267. ('itm-conn-cms-req.master', 1, '!ReplyToQ', 'MDW_CORE_REPLY.SMS', null),
  268. ('itm-conn-cms-req.master', 1, '!ReplyToQMgr', 'ISOBROKER.QM', null),
  269. ('itm-conn-cms-req.master', 1, '!code', '${head.code}', null),
  270. ('itm-conn-cms-req.master', 1, '!connid', '${head.connid}', null),
  271. ('itm-conn-cms-req.master', 1, '!destination', 'itm-conn-cms', null),
  272. ('itm-conn-cms-req.master', 1, '!group', '${head.group}', null),
  273. ('itm-conn-cms-req.master', 1, '!mappingCode', '${head.code}', null),
  274. ('itm-conn-cms-req.master', 1, '!mid', '${head.mid}', null),
  275. ('itm-conn-cms-req.master', 1, '!queueName', 'BACKEND_ISO_IN.SMS', null),
  276. ('itm-conn-cms-req.master', 1, '!raw', '${head.raw}', null),
  277. ('itm-conn-cms-req.master', 1, '!reqtimestamp', '${head.reqtimestamp}', null),
  278. ('itm-conn-cms-req.master', 1, '!sid', '${head.sid}', null),
  279. ('itm-conn-cms-req.master', 1, '!source', '${head.source}', null),
  280. ('itm-conn-cms-req.master', 1, '!timestamp', '${head.timestamp}', null),
  281. ('itm-conn-cms-req.master', 1, '!type', 'iso-8583-itmibft', null),
  282. ('itm-conn-cms-req.master', 1, 'acquiringInstitutionIdentificationCode', '200', null),
  283. ('itm-conn-cms-req.master', 1, 'fullReverse', 'false', null),
  284. ('itm-conn-cms-req.master', 1, 'isMultipleRequest', '${null}', null);
  285. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('itm-conn-cms-res.master', '[smsmd]', CURRENT USER, CURRENT TIMESTAMP);
  286. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID)
  287. VALUES ('itm-conn-cms-res.master', 1, '/data/body', '/data/body', NULL, NULL);
  288. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ)
  289. VALUES
  290. ('itm-conn-cms-res.master', 1, '@', 'copyMessage("../body", "request/data/body/original")', 10),
  291. ('itm-conn-cms-res.master', 1, 'messageType', '${head.request.data.body.original.messageType."!value".substring(0,2).concat("10")}', 20),
  292. ('itm-conn-cms-res.master', 1, 'responseCode', '${getParamValue("error_map|"+head.source."!value", msg.responseCode."!value","99")}', 20),
  293. ('itm-conn-cms-res.master', 1, '!CorrelId', '${head.CorrelId}', null),
  294. ('itm-conn-cms-res.master', 1, '!code', '${head.code}', null),
  295. ('itm-conn-cms-res.master', 1, '!connid', '${head.connid}', null),
  296. ('itm-conn-cms-res.master', 1, '!group', '${head.request.data.group}', null),
  297. ('itm-conn-cms-res.master', 1, '!mid', '${head.request.data.mid}', null),
  298. ('itm-conn-cms-res.master', 1, '!reqtimestamp', '${head.reqtimestamp}', null),
  299. ('itm-conn-cms-res.master', 1, '!sid', '${head.request.data.sid}', null),
  300. ('itm-conn-cms-res.master', 1, '!source', '${head.request.data.source}', null),
  301. ('itm-conn-cms-res.master', 1, '!timestamp', '${head.reqtimestamp}', null);
  302. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('req-core.sms.0200.801000.001001', '[smsmd]', CURRENT USER, CURRENT TIMESTAMP);
  303. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID)
  304. VALUES ('req-core.sms.0200.801000.001001', 1, '/data/body', '/data/body', 'itm-conn-cms-req.master', '1');
  305. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ)
  306. VALUES
  307. ('req-core.sms.0200.801000.001001', 1, '@', 'copyMessage("frontOriginal", ".");', 10),
  308. ('req-core.sms.0200.801000.001001', 1, 'isMultipleRequest', 'true', null),
  309. ('req-core.sms.0200.801000.001001', 1, 'mappingCodeMultiple', 'konven', null),
  310. ('req-core.sms.0200.801000.001001', 1, 'processingCode', '101000', null);
  311. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('req-core.sms.0200.801000.001001.konven', '[smsmd]', CURRENT USER, CURRENT TIMESTAMP);
  312. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID)
  313. VALUES ('req-core.sms.0200.801000.001001.konven', 1, '/data/body', '/data/body', NULL, NULL);
  314. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ)
  315. VALUES
  316. ('req-core.sms.0200.801000.001001.konven', 1, '@', 'copyMessage("original", "request/data/body/original");copyMessage("resitm", "body");', 10),
  317. ('req-core.sms.0200.801000.001001.konven', 1, '!CorrelId', '${head.request.data.CorrelId}', null),
  318. ('req-core.sms.0200.801000.001001.konven', 1, '!ReplyToQ', 'MDW_CORE_REPLY.SMS', null),
  319. ('req-core.sms.0200.801000.001001.konven', 1, '!ReplyToQMgr', 'PAYBROKER.QM', null),
  320. ('req-core.sms.0200.801000.001001.konven', 1, '!RequestURL', '${getParamValue("sms-api-core","InqRegisMB","http://localhost:8094")}', null),
  321. ('req-core.sms.0200.801000.001001.konven', 1, '!code', '${head.request.data.mappingCode}', null),
  322. ('req-core.sms.0200.801000.001001.konven', 1, '!connid', '${head.request.data.connid}', null),
  323. ('req-core.sms.0200.801000.001001.konven', 1, '!destination', 'ActiveCardAndRegisMB', null),
  324. ('req-core.sms.0200.801000.001001.konven', 1, '!dir', 'O', null),
  325. ('req-core.sms.0200.801000.001001.konven', 1, '!group', '${head.request.data.group}', null),
  326. ('req-core.sms.0200.801000.001001.konven', 1, '!mappingCode', '${head.request.data.mappingCode}', null),
  327. ('req-core.sms.0200.801000.001001.konven', 1, '!mid', '${head.request.data.mid}', null),
  328. ('req-core.sms.0200.801000.001001.konven', 1, '!queueName', 'BACKEND_REST_IN', null),
  329. ('req-core.sms.0200.801000.001001.konven', 1, '!remaining', 'AAA=', null),
  330. ('req-core.sms.0200.801000.001001.konven', 1, '!remainingPos', '1268', null),
  331. ('req-core.sms.0200.801000.001001.konven', 1, '!reqtimestamp', '${head.request.data.reqtimestamp}', null),
  332. ('req-core.sms.0200.801000.001001.konven', 1, '!sid', '${head.request.data.sid}', null),
  333. ('req-core.sms.0200.801000.001001.konven', 1, '!source', '${head.request.data.source}', null),
  334. ('req-core.sms.0200.801000.001001.konven', 1, '!timestamp', '${head.request.data.timestamp}', null),
  335. ('req-core.sms.0200.801000.001001.konven', 1, '!type', '${head.request.data.type}', null),
  336. ('req-core.sms.0200.801000.001001.konven', 1, 'card', '${msg.primaryAccountNumber."!value".trim()}', null),
  337. ('req-core.sms.0200.801000.001001.konven', 1, 'dob', '${msg.reservedForPrivateUse1."!value".substring(15,21).trim()}', null),
  338. ('req-core.sms.0200.801000.001001.konven', 1, 'hp', '${msg.reservedForPrivateUse1."!value".substring(0,15).trim()}', null),
  339. ('req-core.sms.0200.801000.001001.konven', 1, 'isMultipleRequest', 'false', null),
  340. ('req-core.sms.0200.801000.001001.konven', 1, 'ref', '${msg.retrievalReferenceNumber."!value".padRight(12," ").trim()}', null),
  341. ('req-core.sms.0200.801000.001001.konven', 1, 'user', '${msg.cardAcceptorTerminalIdentification."!value".trim()}', null);
  342. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('res-core.sms.0200.801000.001001', '[smsmd]', CURRENT USER, CURRENT TIMESTAMP);
  343. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID) VALUES ('res-core.sms.0200.801000.001001', 1, '/data/body', '/data/body', 'itm-conn-cms-res.master', '1');
  344. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ)
  345. VALUES
  346. ('res-core.sms.0200.801000.001001', 1, 'responseCode', '${getParamValue("error_map|api-error-code",msg.rsp."!value","99")}', 10),
  347. ('res-core.sms.0200.801000.001001', 1, 'additionalDataNational', '${msg.cif==null||msg.cif."!value"==null?"".padRight(7," "):msg.cif."!value".padRight(7," ")}${msg.nid==null||msg.nid."!value"==null?"".padRight(12," "):msg.nid."!value".padRight(12," ")}${msg.cardtype==null||msg.cardtype."!value"==null?"".padRight(10," "):msg.cardtype."!value".padRight(10," ")}${msg.rsp==null||msg.rsp."!value"==null?"".padRight(3,"999"):msg.rsp."!value"}${msg.rspdesc==null||msg.rspdesc."!value"==null?"".padRight(50," "):msg.rspdesc."!value".padRight(50," ")}', null),
  348. ('res-core.sms.0200.801000.001001', 1, 'reservedForPrivateUse3', '${head.request.data.body.resitm.reservedForPrivateUse3==null||head.request.data.body.resitm.reservedForPrivateUse3."!value"==null?"":head.request.data.body.resitm.reservedForPrivateUse3."!value"}', null);
  349. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('resp-ln.sms', '[sms]', CURRENT USER, CURRENT TIMESTAMP);
  350. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID) VALUES ('resp-ln.sms', 1, '/data', '/data', NULL, NULL);
  351. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID) VALUES ('resp-ln.sms', 2, '/data/body', '/data/body', NULL, NULL);
  352. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('resp-ln.sms', 1, '@', 'copyMessage()', 1);
  353. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('resp-ln.sms', 2, 'messageType', '0210', 1);
  354. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('resp-ln.sms', 2, 'responseCode', '${head.source."!value".substring(0,6).equals("sms-10") && head.code."!value".substring(0,7) == "0200.1." && head.source."!value".substring(0,9) != "sms-10802"?"B1":"89"}', 2);
  355. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('resp-sp.sms', '[sms]', CURRENT USER, CURRENT TIMESTAMP);
  356. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID) VALUES ('resp-sp.sms', 1, '/data', '/data', NULL, NULL);
  357. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID) VALUES ('resp-sp.sms', 2, '/data/body', '/data/body', NULL, NULL);
  358. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('resp-sp.sms', 1, '@', 'copyMessage()', 1);
  359. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('resp-sp.sms', 2, 'messageType', '0210', 1);
  360. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('resp-sp.sms', 2, 'responseCode', '68', 2);
  361. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('resp-to.sms', '[sms]', CURRENT USER, CURRENT TIMESTAMP);
  362. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID) VALUES ('resp-to.sms', 1, '/data', '/data', NULL, NULL);
  363. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID) VALUES ('resp-to.sms', 2, '/data/body', '/data/body', NULL, NULL);
  364. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('resp-to.sms', 1, '@', 'copyMessage()', 1);
  365. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('resp-to.sms', 2, 'messageType', '0210', 1);
  366. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('resp-to.sms', 2, 'responseCode', '${head.source."!value".substring(0,6).equals("sms-10") && head.code."!value".substring(0,7) == "0200.1." && head.source."!value".substring(0,9) != "sms-10802"?"B1":"68"}', 2);
  367. INSERT INTO MWCONFIG.MAPPING (ID, MODULE, MODIFIED_BY, TIMESTAMP) VALUES ('checkBillerResp', '[sms]', CURRENT USER, CURRENT TIMESTAMP);
  368. INSERT INTO MWCONFIG.MAPPING_GROUP (MAPPING_ID, ID, SOURCE, TARGET, INCLUDE_MAPPING_ID, INCLUDE_ID) VALUES ('checkBillerResp', 1, '/data', '/data', NULL, NULL);
  369. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('checkBillerResp', 1, '@', 'copyMessage();', 1);
  370. INSERT INTO MWCONFIG.MAPPING_GROUP_LINE (MAPPING_ID, MAPPING_GROUP_ID, NAME, TEXT, SEQ) VALUES ('checkBillerResp', 1, 'coreAct', '${getParamValue("biller.rc.toReverse", msg.type."!value".startsWith("dsp")?msg.body.dspTransactionCode."!value"+"."+msg.body.TLBERR_F2?."!value":(msg.body.reservedPrivate3==null?msg.body.processingCode."!value":msg.body.reservedPrivate3?."!value")+"."+msg.body.messageType?."!value"+"."+msg.body.responseCode?."!value","not")}', 10);