How to run the example
This mx-mt translation will use the sample files to demonstrate the generation of SWIFT MT940 message output from a CBPR+ camt.053.001.08 XML message.
The cbprJnodesConfigIBM.tar.gz file is available either in IBM_financialpaymentsplus_vn.n.n.n.zip or in UIProjectImports directory.
- jnodes0.jar
- jackson-core-n.n.n.jar
- jackson-annotations-n.n.n.jar
- jackson-databind-n.n.n.jar
- Copy jars to <TX_install_dir>/extjar.
For TX V11.0.1 and up, native based Design Server installation,
- jvcwrap.jar
- jvalccyy.jar
Restart the running application ./ITX stop and then ./ITX start.
- docker cp jnodes0.jar <brand>-server:/opt/<company>/<brand>/libs/.
- Restart the design server, i.e., docker restart <brand>-server.
- podman cp jnodes0.jar <brand>-server:/opt/<company>/<brand>/libs/.
- Restart the design server, i.e., podman restart <brand>-server.
This example may generate audit.log.json log file to report the translation failure due to the pre-conversion checks:
<ElctrncSeqNb> must be present in <BkToCstmrStmt><Stmt><ElctrncSeqNb> and its length must be less than or equal to 5.
OR
<LglSeqNb> must be present in <BkToCstmrStmt><Stmt><LglSeqNb> and its length must be less than or equal to 5.
If <PgNb> in <BkToCstmrStmt><Stmt><StmtPgntn><PgNb> is equal to 1 then there must be only 1 occurrence of <Cd> with value OPBD in
<BkToCstmrStmt><Stmt><Bal><Tp><CdOrPrtry><Cd> and if <Cd> is present in <BkToCstmrStmt><Stmt><Bal><Tp><SubTp><Cd>, then the value must be different from INTM.
If <PgNb> in <BkToCstmrStmt><Stmt><StmtPgntn><PgNb> is greater than 1 then there must be only 1 occurrence of <Cd> with value OPBD in
<BkToCstmrStmt><Stmt><Bal><Tp><CdOrPrtry><Cd> and <Cd> must be present in <BkToCstmrStmt><Stmt><Bal><Tp><SubTp><Cd>, value must be INTM.
If <LastPgInd> in <BkToCstmrStmt><Stmt><StmtPgntn><LastPgInd> is equal to true then there must be only 1 occurrence of <Cd> with value CLBD in
<BkToCstmrStmt><Stmt><Bal><Tp><CdOrPrtry><Cd> and if <Cd> is present in <BkToCstmrStmt><Stmt><Bal><Tp><SubTp><Cd>, then the value must be different from INTM.
If <LastPgInd> in <BkToCstmrStmt><Stmt><StmtPgntn><LastPgInd> is equal to false then there must be only 1 occurrence of <Cd> with value CLBD in
<BkToCstmrStmt><Stmt><Bal><Tp><CdOrPrtry><Cd> and <Cd> must be present in <BkToCstmrStmt><Stmt><Bal><Tp><SubTp><Cd>, value must be INTM.
There must be only 1 occurrence of <Cd> with value CLAV in <BkToCstmrStmt><Stmt><Bal><Tp><CdOrPrtry><Cd>.
There must be a maximum 190 occurrence of <Ntry> in <BkToCstmrStmt><Stmt><Ntry>.
For all
occurrence of <BkToCstmrStmt><Stmt><Ntry>, value of
<Ccy> in
@<BkToCstmrStmt><Stmt><Ntry><Amt><Ccy>
must be
equal to value of <Ccy> in
<BkToCstmrStmt><Stmt><Acct><Ccy>,
TotalNumberOfDigits
<BkToCstmrStmt><Stmt><Ntry><Amt> must be less than or
equal to 14.
For the occurrence of <BkToCstmrStmt><Stmt><Bal>, if <Cd> is present with value OPBD in
<BkToCstmrStmt><Stmt><Bal><Tp><CdOrPrtry><Cd> then first two char of currency code must be the same for other occurrence of <BkToCstmrStmt><Stmt><Bal> in <BkToCstmrStmt><Stmt><Bal><Tp><CdOrPrtry><Cd> with value CLBD OR CLAV.