public class MxPain00100103_MT101_Translation extends
Modifier | Constructor and Description |
---|---|
|
MxPain00100103_MT101_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MxPain00100103_MT101_Translation(MxId mxId,
String mxDescription)
This constructor is intended for subclasses to override the translation rules for other versions of MX.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
logicalMessageCriteriaCheck(MxPain00100103 source)
Message criteria check
This method checks the content of the source MxPain00100103 and determines if it can be translated to the target MT101 |
List<PreconditionError> |
preconditionsCheck(MxPain00100103 source)
Precondition check
This method checks the precondition on the content of the source MxPain00100103 |
void |
preconditionSR1Check(MxPain00100103 source)
Precondition check
This method checks the precondition SR1 on the content of the source MxPain00100103 IF ((PaymentInformation[*] Count) IsSameNumber '1') THEN IF ((PaymentInformation[1]\PaymentInformationIdentification Length) LessThanOrEqualTo '16') THEN IF (((PaymentInformation[1]\PaymentInformationIdentification Substring ('1', '1')) IsSameString '/') Or (((PaymentInformation[1]\PaymentInformationIdentification Substring ((PaymentInformation[1]\PaymentInformationIdentification Length), '1')) IsSameString '/') Or ((PaymentInformation[1]\PaymentInformationIdentification Find '//') GreaterThan '0'))) THEN Fail ('01099', 'If PaymentInformation occurs only once and the length of PaymentInformation/PaymentInformationIdentification is less than or equal to 16 characters, then it must not start or end with a slash '/' and must not contain a double slash '//'. |
void |
preconditionSR2Check(MxPain00100103 source)
Precondition check
This method checks the precondition SR2 on the content of the source MxPain00100103 IF ((GroupHeader\MessageIdentification Length) LessThanOrEqualTo '16') THEN IF (((GroupHeader\MessageIdentification Substring ('1', '1')) IsSameString '/') Or (((GroupHeader\MessageIdentification Substring ((GroupHeader\MessageIdentification Length), '1')) IsSameString '/') Or ((GroupHeader\MessageIdentification Find '//') GreaterThan '0'))) THEN Fail ('01012', 'If the length of GroupHeader/MessageIdentification is less than or equal to 16 characters, then it must not start or end with a slash '/' and must not contain a double slash '//'. |
void |
preconditionSR3Check(MxPain00100103 source)
Precondition check
This method checks the precondition SR3 on the content of the source MxPain00100103 IF ((PaymentInformation[*] Count) GreaterThan '1') THEN FOREACH PaymentInformation[*] DO IF (Not (RequestedExecutionDate IsSameDateTime (PaymentInformation[1]\RequestedExecutionDate, 'MX_Date', 'MX_Date'))) THEN Fail ('01043', 'If the PaymentInformation block is repeated, then PI\RequestedExecutionDate must be the same for all occurences.', RequestedExecutionDate) END END END |
void |
preconditionSR4Check(MxPain00100103 source)
Precondition check
This method checks the precondition SR4 on the content of the source MxPain00100103 FOREACH PaymentInformation[*] DO FOREACH CreditTransferTransactionInformation[*] DO IF ((..\UltimateDebtor IsPresent) And (UltimateDebtor IsPresent)) THEN Fail ('01045', 'If PI\UltimateDebtor is present then TX\UltimateDebtor must not be present.', UltimateDebtor, ..\UltimateDebtor) END IF (Amount\EquivalentAmount IsPresent) THEN IF (Amount\EquivalentAmount\Amount\Currency IsSameString Amount\EquivalentAmount\CurrencyOfTransfer) THEN Fail ('01046', 'Currency of Amount must be different than the CurrencyOfTransfer in TX\EquivalentAmount.', Amount\EquivalentAmount\CurrencyOfTransfer, Amount\EquivalentAmount\Amount\Currency) END END IF (IntermediaryAgent3 IsPresent) THEN Fail ('01026', 'CreditTransferTransactionInformation/IntermediaryAgent3 is not allowed.', IntermediaryAgent3) END IF ((((PaymentIdentification\InstructionIdentification Substring ('1', '1')) IsSameString '/') Or (((PaymentIdentification\InstructionIdentification Substring ((PaymentIdentification\InstructionIdentification Length), '1')) IsSameString '/') And ((PaymentIdentification\InstructionIdentification Length) LessThanOrEqualTo '16'))) Or (((PaymentIdentification\InstructionIdentification Substring ('1', '16')) Find '//') GreaterThan '0')) THEN Fail ('01013', 'If the length of CreditTransferTransactionInformation/PaymentIdentification/InstructionIdentification is less than or equal to 16 characters, then it must not start or end with a slash '/' and must not contain a double slash '//'. |
MT101 |
translate(MxPain00100103 source)
Main entry point for the translation
|
protected void |
translateActiveOrHistoricCurrencyAndAmount_32B_Default(String targetElement,
XmlNode node)
Translate method ActiveOrHistoricCurrencyAndAmount -> 32B : Default
101 TRANSLATE(ActiveOrHistoricCurrencyAndAmount, 32B) 102 RULE 103 NODE (Currency) 104 Currency CopyTo Currency 105 END 106 NODE (Amount) 107 (Amount FormatDecimal 'MT') CopyTo Amount 108 END 109 END 110 END |
protected void |
translateActiveOrHistoricCurrencyAndAmount_33B_Default(String targetElement,
XmlNode node)
Translate method ActiveOrHistoricCurrencyAndAmount -> 33B : Default
1661 TRANSLATE(ActiveOrHistoricCurrencyAndAmount, 33B) 1662 RULE 1663 NODE (Currency) 1664 Currency CopyTo Currency 1665 END 1666 NODE (Amount) 1667 (Amount FormatDecimal 'MT') CopyTo Amount 1668 END 1669 END 1670 END |
protected void |
translateActiveOrHistoricCurrencyCode_32B_Default(String targetElement,
XmlNode node)
Translate method ActiveOrHistoricCurrencyCode -> 32B : Default
111 TRANSLATE(ActiveOrHistoricCurrencyCode, 32B) 112 RULE 113 NODE (Currency) 114 ActiveOrHistoricCurrencyCode CopyTo Currency 115 END 116 NODE (Amount) 117 '0,' CopyTo Amount 118 END 119 END 120 END |
protected void |
translateAuthorisation1Choice_25_1_Default(String targetElement,
XmlNode node)
Translate method Authorisation1Choice -> 25_1 : Default
16 TRANSLATE(Authorisation1Choice, 25_1) 17 RULE 18 IF (Proprietary IsPresent) 19 THEN 20 (Proprietary Substring ('1', '35')) CopyTo 25_1 21 ELSE 22 IF (Code IsPresent) 23 THEN 24 Code CopyTo 25_1 25 END 26 END 27 END 28 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_52C_6_Default(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> 52C_6 : Default
817 TRANSLATE(BranchAndFinancialInstitutionIdentification4, 52C_6) 818 RULE 819 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) 820 THEN 821 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo 52C_6 822 END 823 END 824 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Identifier_BICFI_BIC(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Identifier_BICFI : BIC
809 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Identifier_BICFI) 810 RULE 811 IF (FinancialInstitutionIdentification\BIC IsPresent) 812 THEN 813 FinancialInstitutionIdentification\BIC CopyTo Identifier_BICFI 814 END 815 END 816 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Default(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_FIN_4M35x : Default
846 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_FIN_4M35x) 847 RULE 848 NODE (Line) 849 IF ((FinancialInstitutionIdentification\Name IsPresent) And (FinancialInstitutionIdentification\PostalAddress IsPresent)) 850 THEN 851 (FinancialInstitutionIdentification\Name Substring ('1', '35')) CopyTo Line[1] 852 ELSE 853 IF (FinancialInstitutionIdentification\Name IsPresent) 854 THEN 855 (FinancialInstitutionIdentification\Name Substring ('1', '35')) CopyTo Line[1] 856 END 857 END 858 END 859 NODE (Line) 860 IF ((FinancialInstitutionIdentification\Name Length) GreaterThan '35') 861 THEN 862 (FinancialInstitutionIdentification\Name Substring '36') CopyTo Line[2] 863 ELSE 864 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 865 THEN 866 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 867 THEN 868 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[2] 869 ELSE 870 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 871 THEN 872 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[2] 873 ELSE 874 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 875 THEN 876 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[2] 877 END 878 END 879 END 880 END 881 END 882 END 883 NODE (Line) 884 IF ((FinancialInstitutionIdentification\Name Length) GreaterThan '35') 885 THEN 886 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 887 THEN 888 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 889 THEN 890 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 891 ELSE 892 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 893 THEN 894 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 895 ELSE 896 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 897 THEN 898 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 899 END 900 END 901 END 902 END 903 ELSE 904 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 905 THEN 906 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 907 THEN 908 IF (((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) GreaterThan '35') 909 THEN 910 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 911 ELSE 912 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 913 THEN 914 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 915 END 916 END 917 ELSE 918 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 919 THEN 920 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 921 END 922 END 923 END 924 END 925 END 926 NODE (Line) 927 IF ((FinancialInstitutionIdentification\Name Length) GreaterThan '35') 928 THEN 929 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 930 THEN 931 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 932 THEN 933 IF (((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) GreaterThan '35') 934 THEN 935 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 936 ELSE 937 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 938 THEN 939 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 940 END 941 END 942 ELSE 943 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 944 THEN 945 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 946 END 947 END 948 END 949 ELSE 950 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 951 THEN 952 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 953 THEN 954 IF ((((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) GreaterThan '35') And (((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) LessThan '71')) 955 THEN 956 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 957 THEN 958 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 959 END 960 ELSE 961 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 962 END 963 ELSE 964 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 965 THEN 966 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 967 END 968 END 969 END 970 END 971 END 972 END 973 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Only_ClrSysMmbId_or_ClrSysMmbId_and_PstlAdr(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_FIN_4M35x : Only ClrSysMmbId or ClrSysMmbId and PstlAdr
979 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_FIN_4M35x) 980 RULE 981 NODE (Line) 982 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) 983 THEN 984 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code WithinList 'ClearingSystemList') 985 THEN 986 (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) CopyTo Line[1] 987 FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification CopyTo Line[1] 988 ELSE 989 (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) CopyTo Line[1] 990 END 991 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Proprietary IsPresent) 992 THEN 993 (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Proprietary Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) CopyTo Line[1] 994 END 995 ELSE 996 FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification CopyTo Line[1] 997 END 998 END 999 END 1000 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Othr_without_Name(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_FIN_4M35x : Othr without Name
1001 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_FIN_4M35x) 1002 RULE 1003 NODE (Line) 1004 IF (Not (FinancialInstitutionIdentification\Other\Issuer IsPresent)) 1005 THEN 1006 IF (FinancialInstitutionIdentification\Other\SchemeName\Code IsPresent) 1007 THEN 1008 ((FinancialInstitutionIdentification\Other\SchemeName\Code Concatenate ('/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 1009 ELSE 1010 IF (FinancialInstitutionIdentification\Other\SchemeName\Proprietary IsPresent) 1011 THEN 1012 ((FinancialInstitutionIdentification\Other\SchemeName\Proprietary Concatenate ('/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 1013 ELSE 1014 (FinancialInstitutionIdentification\Other\Identification Substring ('1', '35')) CopyTo Line[1] 1015 END 1016 END 1017 ELSE 1018 IF (FinancialInstitutionIdentification\Other\SchemeName\Code IsPresent) 1019 THEN 1020 ((FinancialInstitutionIdentification\Other\SchemeName\Code Concatenate ('/', FinancialInstitutionIdentification\Other\SchemeName\Proprietary, '/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 1021 ELSE 1022 IF (FinancialInstitutionIdentification\Other\SchemeName\Proprietary IsPresent) 1023 THEN 1024 ((FinancialInstitutionIdentification\Other\SchemeName\Proprietary Concatenate ('/', FinancialInstitutionIdentification\Other\Issuer, '/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 1025 ELSE 1026 ((FinancialInstitutionIdentification\Other\Issuer Concatenate ('/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 1027 END 1028 END 1029 END 1030 END 1031 END 1032 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_PartyId_MX_To_MTClearingIdentifier(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_PartyId : MX_To_MTClearingIdentifier
720 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_PartyId) 721 RULE 722 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) And (Not ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'USABA') And (FinancialInstitutionIdentification\BIC IsPresent)))) 723 THEN 724 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 725 ELSE 726 IF ((FinancialInstitutionIdentification\BIC IsPresent) And ((FinancialInstitutionIdentification\BIC Substring ('5', '2')) IsSameString 'US')) 727 THEN 728 '//FW' CopyTo Text_PartyId 729 END 730 END 731 END 732 END |
protected void |
translateCashAccount16_25A_1_Default(String targetElement,
XmlNode node)
Translate method CashAccount16 -> 25A_1 : Default
1679 TRANSLATE(CashAccount16, 25A_1) 1680 RULE 1681 IF (Identification\IBAN IsPresent) 1682 THEN 1683 Identification\IBAN CopyTo 25A_1 1684 ELSE 1685 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 1686 THEN 1687 Identification\Other\Identification CopyTo 25A_1 1688 ELSE 1689 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) 1690 THEN 1691 (Identification\Other\SchemeName\Code Concatenate Identification\Other\Identification) CopyTo 25A_1 1692 ELSE 1693 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 1694 THEN 1695 (Identification\Other\SchemeName\Proprietary Concatenate Identification\Other\Identification) CopyTo 25A_1 1696 END 1697 END 1698 END 1699 END 1700 END 1701 END |
protected void |
translateCashAccount16_Identifier_FIN_34x_50F(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Identifier_FIN_34x : 50F
131 TRANSLATE(CashAccount16, Identifier_FIN_34x) 132 RULE 133 IF (Identification\IBAN IsPresent) 134 THEN 135 Identification\IBAN CopyTo Identifier_FIN_34x 136 ELSE 137 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 138 THEN 139 Identification\Other\Identification CopyTo Identifier_FIN_34x 140 ELSE 141 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) 142 THEN 143 (Identification\Other\SchemeName\Code Concatenate Identification\Other\Identification) CopyTo Identifier_FIN_34x 144 ELSE 145 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 146 THEN 147 (Identification\Other\SchemeName\Proprietary Concatenate Identification\Other\Identification) CopyTo Identifier_FIN_34x 148 END 149 END 150 END 151 END 152 END 153 END |
protected void |
translateCashAccount16_Text_FIN_34x_CUID(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_FIN_34x : CUID
1033 TRANSLATE(CashAccount16, Text_FIN_34x) 1034 RULE 1035 ('/' Concatenate ('CH', Identification\Other\Identification)) CopyTo Text_FIN_34x 1036 END 1037 END |
protected void |
translateCashAccount16_Text_FIN_34x_Default(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_FIN_34x : Default
487 TRANSLATE(CashAccount16, Text_FIN_34x) 488 RULE 489 IF (Identification\IBAN IsPresent) 490 THEN 491 Identification\IBAN CopyTo Text_FIN_34x 492 ELSE 493 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 494 THEN 495 Identification\Other\Identification CopyTo Text_FIN_34x 496 ELSE 497 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) 498 THEN 499 (Identification\Other\SchemeName\Code Concatenate Identification\Other\Identification) CopyTo Text_FIN_34x 500 ELSE 501 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 502 THEN 503 (Identification\Other\SchemeName\Proprietary Concatenate Identification\Other\Identification) CopyTo Text_FIN_34x 504 END 505 END 506 END 507 END 508 END 509 END |
protected void |
translateCashAccount16_Text_PartyId_Default(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_PartyId : Default
781 TRANSLATE(CashAccount16, Text_PartyId) 782 RULE 783 IF (Identification\IBAN IsPresent) 784 THEN 785 ('/' Concatenate Identification\IBAN) CopyTo Text_PartyId 786 ELSE 787 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 788 THEN 789 ('/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 790 ELSE 791 IF (((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) And (Not (Identification\Other\SchemeName\Code IsSameString 'CUID'))) 792 THEN 793 ('/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 794 ELSE 795 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 796 THEN 797 ('/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 798 ELSE 799 IF ((Identification\Other\SchemeName\Code IsSameString 'CUID') And ((Identification\Other\Identification Length) Matches '6')) 800 THEN 801 ('//CH' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 802 END 803 END 804 END 805 END 806 END 807 END 808 END |
protected void |
translateCategoryPurpose1Choice_Code_4c_22_CORT(String targetElement,
XmlNode node)
Translate method CategoryPurpose1Choice -> Code_4!c_22 : CORT
64 TRANSLATE(CategoryPurpose1Choice, Code_4!c_22) 65 RULE 66 'CORT' CopyTo Code_4!c_22 67 END 68 END |
protected void |
translateCategoryPurpose1Choice_Code_4c_22_INTC(String targetElement,
XmlNode node)
Translate method CategoryPurpose1Choice -> Code_4!c_22 : INTC
96 TRANSLATE(CategoryPurpose1Choice, Code_4!c_22) 97 RULE 98 'INTC' CopyTo Code_4!c_22 99 END 100 END |
protected void |
translateChargeBearerType1Code_71A_Default(String targetElement,
XmlNode node)
Translate method ChargeBearerType1Code -> 71A : Default
1671 TRANSLATE(ChargeBearerType1Code, 71A) 1672 RULE 1673 'CRED' EquivalentTo 'BEN' 1674 'DEBT' EquivalentTo 'OUR' 1675 'SHAR' EquivalentTo 'SHA' 1676 'SLEV' EquivalentTo 'SHA' 1677 END 1678 END |
protected void |
translateClearingSystemList_MTClearingSystemList_Default(String targetElement,
XmlNode node)
Translate method ClearingSystemList -> MTClearingSystemList : Default
757 TRANSLATE(ClearingSystemList, MTClearingSystemList) 758 RULE 759 'AUBSB' EquivalentTo 'AU' 760 'ATBLZ' EquivalentTo 'AT' 761 'CACPA' EquivalentTo 'CC' 762 'DEBLZ' EquivalentTo 'BL' 763 'GRBIC' EquivalentTo 'GR' 764 'HKNCC' EquivalentTo 'HK' 765 'INFSC' EquivalentTo 'IN' 766 'IENCC' EquivalentTo 'IE' 767 'ITNCC' EquivalentTo 'IT' 768 'NZNCC' EquivalentTo 'NZ' 769 'PLKNR' EquivalentTo 'PL' 770 'PTNCC' EquivalentTo 'PT' 771 'RUCBC' EquivalentTo 'RU' 772 'ZANCC' EquivalentTo 'ZA' 773 'ESNCC' EquivalentTo 'ES' 774 'CHBCC' EquivalentTo 'SW' 775 'CHSIC' EquivalentTo 'SW' 776 'GBDSC' EquivalentTo 'SC' 777 'USPID' EquivalentTo 'CP' 778 'USABA' EquivalentTo 'FW' 779 END 780 END |
protected void |
translateClearingSystemMemberIdentification2_52C_6_Default(String targetElement,
XmlNode node)
Translate method ClearingSystemMemberIdentification2 -> 52C_6 : Default
825 TRANSLATE(ClearingSystemMemberIdentification2, 52C_6) 826 RULE 827 IF (ClearingSystemIdentification IsPresent) 828 THEN 829 IF (ClearingSystemIdentification\Code WithinList 'ClearingSystemList') 830 THEN 831 '/' CopyTo 52C_6 832 (ClearingSystemIdentification\Code EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) CopyTo 52C_6 833 MemberIdentification CopyTo 52C_6 834 ELSE 835 ('/' Concatenate (ClearingSystemIdentification\Code Concatenate MemberIdentification)) CopyTo 52C_6 836 END 837 IF (ClearingSystemIdentification\Proprietary IsPresent) 838 THEN 839 ('/' Concatenate (ClearingSystemIdentification\Proprietary, MemberIdentification)) CopyTo 52C_6 840 END 841 ELSE 842 ('/' Concatenate MemberIdentification) CopyTo 52C_6 843 END 844 END 845 END |
protected void |
translateClearingSystemMemberIdentification2_Text_PartyId_Default(String targetElement,
XmlNode node)
Translate method ClearingSystemMemberIdentification2 -> Text_PartyId : Default
733 TRANSLATE(ClearingSystemMemberIdentification2, Text_PartyId) 734 RULE 735 IF (ClearingSystemIdentification IsPresent) 736 THEN 737 IF (ClearingSystemIdentification\Code IsPresent) 738 THEN 739 IF (ClearingSystemIdentification\Code WithinList 'ClearingSystemList') 740 THEN 741 '//' CopyTo Text_PartyId 742 (ClearingSystemIdentification\Code EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) CopyTo Text_PartyId 743 MemberIdentification CopyTo Text_PartyId 744 ELSE 745 ('//' Concatenate (ClearingSystemIdentification\Code, MemberIdentification)) CopyTo Text_PartyId 746 END 747 END 748 IF (ClearingSystemIdentification\Proprietary IsPresent) 749 THEN 750 ('//' Concatenate (ClearingSystemIdentification\Proprietary Concatenate MemberIdentification)) CopyTo Text_PartyId 751 END 752 ELSE 753 ('//' Concatenate MemberIdentification) CopyTo Text_PartyId 754 END 755 END 756 END |
protected void |
translateDateAndPlaceOfBirth_Complex_Number_Details_MTCountryOfBirth(String targetElement,
XmlNode node)
Translate method DateAndPlaceOfBirth -> Complex_Number_Details : MTCountryOfBirth
445 TRANSLATE(DateAndPlaceOfBirth, Complex_Number_Details) 446 RULE 447 NODE (Number) 448 '5' CopyTo Number 449 END 450 NODE (Details) 451 ((CountryOfBirth Concatenate ('/', CityOfBirth)) Substring ('1', '33')) CopyTo Details 452 END 453 END 454 END |
protected void |
translateEquivalentAmount2_Code_4c_22_EQUI(String targetElement,
XmlNode node)
Translate method EquivalentAmount2 -> Code_4!c_22 : EQUI
91 TRANSLATE(EquivalentAmount2, Code_4!c_22) 92 RULE 93 'EQUI' CopyTo Code_4!c_22 94 END 95 END |
protected void |
translateExternalServiceLevel1Code_23E_2_Default(String targetElement,
XmlNode node)
Translate method ExternalServiceLevel1Code -> 23E_2 : Default
49 TRANSLATE(ExternalServiceLevel1Code, 23E_2) 50 RULE 51 NODE (Instruction Code) 52 IF (ExternalServiceLevel1Code IsSameString 'URGP') 53 THEN 54 'RTGS' CopyTo Instruction Code 55 ELSE 56 IF (ExternalServiceLevel1Code IsSameString 'URNS') 57 THEN 58 'NETS' CopyTo Instruction Code 59 END 60 END 61 END 62 END 63 END |
protected void |
translateImpl(MxPain00100103 source)
Translation rules implementation
|
protected void |
translateInstructionForCreditorAgent1_23E_2_Default(String targetElement,
XmlNode node)
Translate method InstructionForCreditorAgent1 -> 23E_2 : Default
69 TRANSLATE(InstructionForCreditorAgent1, 23E_2) 70 RULE 71 NODE (Instruction Code) 72 IF ((Code IsSameString 'PHOB') And (Not (Code IsSameString 'CHQB'))) 73 THEN 74 'PHON' CopyTo Instruction Code 75 END 76 IF (Code IsSameString 'CHQB') 77 THEN 78 'CHQB' CopyTo Instruction Code 79 END 80 END 81 NODE (Additional Information) 82 InstructionInformation TranslateTo Additional Information 83 END 84 END 85 END |
protected void |
translateISODate_30_Default(String targetElement,
XmlNode node)
Translate method ISODate -> 30 : Default
11 TRANSLATE(ISODate, 30) 12 RULE 13 (ISODate FormatDateTime ('MX_Date', 'MT_YYMMDD')) CopyTo 30 14 END 15 END |
protected void |
translateISODate_Complex_Number_Details_MTDateOfBirth(String targetElement,
XmlNode node)
Translate method ISODate -> Complex_Number_Details : MTDateOfBirth
349 TRANSLATE(ISODate, Complex_Number_Details) 350 RULE 351 NODE (Number) 352 '4' CopyTo Number 353 END 354 NODE (Details) 355 (ISODate FormatDateTime ('MX_Date', 'MT_YYYYMMDD')) CopyTo Details 356 END 357 END 358 END |
protected void |
translateMax140Text_23E_2_Default(String targetElement,
XmlNode node)
Translate method Max140Text -> 23E_2 : Default
39 TRANSLATE(Max140Text, 23E_2) 40 RULE 41 NODE (Instruction Code) 42 'OTHR' CopyTo Instruction Code 43 END 44 NODE (Additional Information) 45 (Max140Text Substring ('1', '30')) CopyTo Additional Information 46 END 47 END 48 END |
protected void |
translateMax140Text_70_1_Default(String targetElement,
XmlNode node,
String paramRemitId,
String paramEndToEndId)
Translate method Max140Text -> 70_1 : Default
1590 TRANSLATE(Max140Text, 70_1, paramRemitId:Max35Text, paramEndToEndId:Max35Text) 1591 RULE 1592 NODE (Narrative) 1593 NODE (Line) 1594 IF (($paramRemitId Length) GreaterThan '0') 1595 THEN 1596 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1597 ELSE 1598 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1599 END 1600 END 1601 NODE (Line) 1602 IF (($paramRemitId Length) GreaterThan '0') 1603 THEN 1604 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Length) GreaterThan '35') 1605 THEN 1606 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1607 END 1608 ELSE 1609 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Length) GreaterThan '35') 1610 THEN 1611 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1612 END 1613 END 1614 END 1615 NODE (Line) 1616 IF (($paramRemitId Length) GreaterThan '0') 1617 THEN 1618 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Length) GreaterThan '70') 1619 THEN 1620 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1621 END 1622 ELSE 1623 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Length) GreaterThan '70') 1624 THEN 1625 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1626 END 1627 END 1628 END 1629 NODE (Line) 1630 IF (($paramRemitId Length) GreaterThan '0') 1631 THEN 1632 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Length) GreaterThan '105') 1633 THEN 1634 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1635 END 1636 ELSE 1637 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Length) GreaterThan '105') 1638 THEN 1639 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1640 END 1641 END 1642 END 1643 END 1644 END 1645 END |
protected void |
translateMax140Text_Complex_Number_Details_MTNameLine1(String targetElement,
XmlNode node)
Translate method Max140Text -> Complex_Number_Details : MTNameLine1
302 TRANSLATE(Max140Text, Complex_Number_Details) 303 RULE 304 NODE (Number) 305 '1' CopyTo Number 306 END 307 NODE (Details) 308 (Max140Text Substring ('1', '33')) CopyTo Details 309 END 310 END 311 END |
protected void |
translateMax140Text_Complex_Number_Details_MTNameLine2(String targetElement,
XmlNode node)
Translate method Max140Text -> Complex_Number_Details : MTNameLine2
312 TRANSLATE(Max140Text, Complex_Number_Details) 313 RULE 314 NODE (Number) 315 '1' CopyTo Number 316 END 317 NODE (Details) 318 IF ((Max140Text Length) GreaterThan '33') 319 THEN 320 (Max140Text Substring ('34', '33')) CopyTo Details 321 END 322 END 323 END 324 END |
protected void |
translateMax140Text_Text_FIN_30x_Default(String targetElement,
XmlNode node)
Translate method Max140Text -> Text_FIN_30x : Default
86 TRANSLATE(Max140Text, Text_FIN_30x) 87 RULE 88 (Max140Text Substring ('1', '30')) CopyTo Text_FIN_30x 89 END 90 END |
protected void |
translateMax35Text_20_Default(String targetElement,
XmlNode node)
Translate method Max35Text -> 20 : Default
1 TRANSLATE(Max35Text, 20) 2 RULE 3 (Max35Text Substring ('1', '16')) CopyTo 20 4 END 5 END |
protected void |
translateMax35Text_21_8_Default(String targetElement,
XmlNode node)
Translate method Max35Text -> 21_8 : Default
29 TRANSLATE(Max35Text, 21_8) 30 RULE 31 (Max35Text Substring ('1', '16')) CopyTo 21_8 32 END 33 END |
protected void |
translateMax35Text_21F_1_Default(String targetElement,
XmlNode node)
Translate method Max35Text -> 21F_1 : Default
34 TRANSLATE(Max35Text, 21F_1) 35 RULE 36 (Max35Text Substring ('1', '16')) CopyTo 21F_1 37 END 38 END |
protected void |
translateMax35Text_21R_Default(String targetElement,
XmlNode node)
Translate method Max35Text -> 21R : Default
6 TRANSLATE(Max35Text, 21R) 7 RULE 8 (Max35Text Substring ('1', '16')) CopyTo 21R 9 END 10 END |
protected void |
translateMax35Text_70_1_ROC(String targetElement,
XmlNode node)
Translate method Max35Text -> 70_1 : ROC
1646 TRANSLATE(Max35Text, 70_1) 1647 RULE 1648 NODE (Narrative) 1649 NODE (Line) 1650 (('/ROC/' Concatenate Max35Text) Substring ('1', '35')) CopyTo Narrative\Line[1] 1651 END 1652 NODE (Line) 1653 IF ((('/ROC/' Concatenate Max35Text) Length) GreaterThan '35') 1654 THEN 1655 (('/ROC/' Concatenate Max35Text) Substring '36') CopyTo Narrative\Line[2] 1656 END 1657 END 1658 END 1659 END 1660 END |
protected void |
translatePartyIdentification32_50C_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> 50C : Default
121 TRANSLATE(PartyIdentification32, 50C) 122 RULE 123 Identification\OrganisationIdentification\BICOrBEI CopyTo 50C 124 END 125 END |
protected void |
translatePartyIdentification32_50L_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> 50L : Default
126 TRANSLATE(PartyIdentification32, 50L) 127 RULE 128 (Name Substring ('1', '35')) CopyTo 50L 129 END 130 END |
protected void |
translatePartyIdentification32_Complex_Number_Details_MTCustomerNumberLine(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Complex_Number_Details : MTCustomerNumberLine
359 TRANSLATE(PartyIdentification32, Complex_Number_Details) 360 RULE 361 NODE (Number) 362 '6' CopyTo Number 363 END 364 NODE (Details) 365 IF ((Identification\PrivateIdentification\Other[*]\Issuer Select ((..\SchemeName\Code IsSameString 'CUST'), '1')) IsPresent) 366 THEN 367 ((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Issuer Select ((..\SchemeName\Code IsSameString 'CUST'), '1')), '/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'CUST'), '1')))) Substring ('1', '33')) CopyTo Details 368 END 369 END 370 END 371 END |
protected void |
translatePartyIdentification32_Complex_Number_Details_MTCustomerNumberLine8(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Complex_Number_Details : MTCustomerNumberLine8
455 TRANSLATE(PartyIdentification32, Complex_Number_Details) 456 RULE 457 NODE (Number) 458 IF (((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Issuer Select ((..\SchemeName\Code IsSameString 'CUST'), '1')), '/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'CUST'), '1')))) Length) GreaterThan '33') 459 THEN 460 '8' CopyTo Number 461 END 462 END 463 NODE (Details) 464 IF (((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Issuer Select ((..\SchemeName\Code IsSameString 'CUST'), '1')), '/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'CUST'), '1')))) Length) GreaterThan '33') 465 THEN 466 ((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Issuer Select ((..\SchemeName\Code IsSameString 'CUST'), '1')), '/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'CUST'), '1')))) Substring ('34', '33')) CopyTo Details 467 END 468 END 469 END 470 END |
protected void |
translatePartyIdentification32_Complex_Number_Details_MTIdentityCardLine(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Complex_Number_Details : MTIdentityCardLine
372 TRANSLATE(PartyIdentification32, Complex_Number_Details) 373 RULE 374 NODE (Number) 375 '7' CopyTo Number 376 END 377 NODE (Details) 378 ((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Substring ('1', '33')) CopyTo Details 379 END 380 END 381 END |
protected void |
translatePartyIdentification32_Complex_Number_Details_MTIdentityCardLine8(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Complex_Number_Details : MTIdentityCardLine8
471 TRANSLATE(PartyIdentification32, Complex_Number_Details) 472 RULE 473 NODE (Number) 474 IF (((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Length) GreaterThan '33') 475 THEN 476 '8' CopyTo Number 477 END 478 END 479 NODE (Details) 480 IF (((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Length) GreaterThan '33') 481 THEN 482 ((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Substring ('34', '33')) CopyTo Details 483 END 484 END 485 END 486 END |
protected void |
translatePartyIdentification32_F50F_3_Name_and_Address_Account_NoIdentifier_8fromsubfield1(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> F50F_3_Name and Address : Account_NoIdentifier_8fromsubfield1
154 TRANSLATE(PartyIdentification32, F50F_3_Name and Address) 155 RULE 156 NODE (Line 2-5) 157 Name TranslateTo Line 2-5[1] 158 END 159 NODE (Line 2-5) 160 IF ((Name Length) GreaterThan '33') 161 THEN 162 Name TranslateTo Line 2-5[2] 163 ELSE 164 IF ((((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And (PostalAddress\Country IsPresent)) And (PostalAddress\TownName IsPresent)) 165 THEN 166 PostalAddress TranslateTo Line 2-5[2] 167 ELSE 168 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 169 THEN 170 Identification\PrivateIdentification\DateAndPlaceOfBirth\BirthDate TranslateTo Line 2-5[2] 171 ELSE 172 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST')) 173 THEN 174 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'CUST') And (PostalAddress\Country IsPresent)) 175 THEN 176 PartyIdentification32 TranslateTo Line 2-5[2] 177 END 178 ELSE 179 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN') 180 THEN 181 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'NIDN') And (PostalAddress IsPresent)) 182 THEN 183 PartyIdentification32 TranslateTo Line 2-5[2] 184 END 185 ELSE 186 IF (((PostalAddress\Country IsPresent) And (PostalAddress\TownName IsPresent)) And (Not ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)))) 187 THEN 188 PostalAddress TranslateTo Line 2-5[2] 189 END 190 END 191 END 192 END 193 END 194 END 195 END 196 NODE (Line 2-5) 197 IF ((Name Length) GreaterThan '33') 198 THEN 199 IF (((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And ((PostalAddress\Country IsPresent) And (PostalAddress\TownName IsPresent))) 200 THEN 201 PostalAddress TranslateTo Line 2-5[3] 202 ELSE 203 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 204 THEN 205 Identification\PrivateIdentification\DateAndPlaceOfBirth\BirthDate TranslateTo Line 2-5[3] 206 ELSE 207 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST')) 208 THEN 209 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'CUST') And (PostalAddress\Country IsPresent)) 210 THEN 211 PartyIdentification32 TranslateTo Line 2-5[3] 212 END 213 ELSE 214 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN')) 215 THEN 216 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'NIDN') And (PostalAddress\Country IsPresent)) 217 THEN 218 PartyIdentification32 TranslateTo Line 2-5[3] 219 END 220 ELSE 221 IF ((PostalAddress\Country IsPresent) And ((PostalAddress\TownName IsPresent) And (Not ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent))))) 222 THEN 223 PostalAddress TranslateTo Line 2-5[3] 224 END 225 END 226 END 227 END 228 END 229 ELSE 230 IF ((((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And (PostalAddress\Country IsPresent)) And (PostalAddress\TownName IsPresent)) 231 THEN 232 IF ((((PostalAddress\AddressLine[1] Length) GreaterThan '33') Or (PostalAddress\AddressLine[2] IsPresent)) Or (((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) GreaterThan '33')) 233 THEN 234 PostalAddress TranslateTo Line 2-5[3] 235 ELSE 236 PostalAddress TranslateTo Line 2-5[3] 237 END 238 ELSE 239 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 240 THEN 241 Identification\PrivateIdentification\DateAndPlaceOfBirth TranslateTo Line 2-5[3] 242 ELSE 243 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST')) 244 THEN 245 IF (((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'CUST') And (PostalAddress\Country IsPresent)) And (((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Issuer Select ((..\SchemeName\Code IsSameString 'CUST'), '1')), (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'CUST'), '1')))) Length) GreaterThan '33')) 246 THEN 247 PartyIdentification32 TranslateTo Line 2-5[3] 248 END 249 ELSE 250 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN')) 251 THEN 252 IF (((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'NIDN') And (PostalAddress\Country IsPresent)) And (((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Length) GreaterThan '33')) 253 THEN 254 PartyIdentification32 TranslateTo Line 2-5[3] 255 END 256 END 257 END 258 END 259 END 260 END 261 END 262 NODE (Line 2-5) 263 IF ((Name Length) GreaterThan '33') 264 THEN 265 IF ((((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And (PostalAddress\Country IsPresent)) And (PostalAddress\TownName IsPresent)) 266 THEN 267 PostalAddress TranslateTo Line 2-5[4] 268 ELSE 269 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 270 THEN 271 Identification\PrivateIdentification\DateAndPlaceOfBirth TranslateTo Line 2-5[4] 272 ELSE 273 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST')) 274 THEN 275 IF (((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'CUST') And (PostalAddress\Country IsPresent)) And ((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Issuer Select ((..\SchemeName\Code IsSameString 'CUST'), '1')), (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'CUST'), '1')))) GreaterThan '33')) 276 THEN 277 PartyIdentification32 TranslateTo Line 2-5[4] 278 END 279 ELSE 280 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN')) 281 THEN 282 IF (((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'NIDN') And (PostalAddress\Country IsPresent)) And (((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Length) GreaterThan '33')) 283 THEN 284 PartyIdentification32 TranslateTo Line 2-5[4] 285 END 286 END 287 END 288 END 289 END 290 ELSE 291 IF ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) 292 THEN 293 IF ((((PostalAddress\AddressLine[1] Length) GreaterThan '33') Or (PostalAddress\AddressLine[2] IsPresent)) Or (((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) GreaterThan '33')) 294 THEN 295 PostalAddress TranslateTo Line 2-5[4] 296 END 297 END 298 END 299 END 300 END 301 END |
protected void |
translatePartyIdentification32_Identifier_BICFIOrNonFI_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Identifier_BICFIOrNonFI : Default
1038 TRANSLATE(PartyIdentification32, Identifier_BICFIOrNonFI) 1039 RULE 1040 IF (Identification\OrganisationIdentification\BICOrBEI IsPresent) 1041 THEN 1042 Identification\OrganisationIdentification\BICOrBEI CopyTo Identifier_BICFIOrNonFI 1043 END 1044 END 1045 END |
protected void |
translatePartyIdentification32_Identifier_BICNonFI_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Identifier_BICNonFI : Default
510 TRANSLATE(PartyIdentification32, Identifier_BICNonFI) 511 RULE 512 Identification\OrganisationIdentification\BICOrBEI CopyTo Identifier_BICNonFI 513 END 514 END |
protected void |
translatePartyIdentification32_Text_FIN_4M35x_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Text_FIN_4M35x : Default
515 TRANSLATE(PartyIdentification32, Text_FIN_4M35x) 516 RULE 517 NODE (Line) 518 IF ((Name IsPresent) And (PostalAddress IsPresent)) 519 THEN 520 (Name Substring ('1', '35')) CopyTo Line[1] 521 ELSE 522 IF (Name IsPresent) 523 THEN 524 (Name Substring ('1', '35')) CopyTo Line[1] 525 END 526 END 527 END 528 NODE (Line) 529 IF ((Name Length) GreaterThan '35') 530 THEN 531 (Name Substring ('36', '35')) CopyTo Line[2] 532 ELSE 533 IF (PostalAddress IsPresent) 534 THEN 535 IF (PostalAddress\StreetName IsPresent) 536 THEN 537 PostalAddress TranslateTo Line[2] 538 ELSE 539 IF ((PostalAddress\Country IsPresent) Or (PostalAddress\TownName IsPresent)) 540 THEN 541 PostalAddress TranslateTo Line[2] 542 ELSE 543 IF (PostalAddress\AddressLine[*] IsPresent) 544 THEN 545 PostalAddress TranslateTo Line[2] 546 END 547 END 548 END 549 END 550 END 551 END 552 NODE (Line) 553 IF ((Name Length) GreaterThan '35') 554 THEN 555 IF (PostalAddress IsPresent) 556 THEN 557 IF (PostalAddress\StreetName IsPresent) 558 THEN 559 PostalAddress TranslateTo Line[3] 560 ELSE 561 IF ((PostalAddress\Country IsPresent) Or (PostalAddress\TownName IsPresent)) 562 THEN 563 PostalAddress TranslateTo Line[3] 564 ELSE 565 IF (PostalAddress\AddressLine[*] IsPresent) 566 THEN 567 PostalAddress TranslateTo Line[3] 568 END 569 END 570 END 571 END 572 ELSE 573 IF (PostalAddress IsPresent) 574 THEN 575 IF (PostalAddress\StreetName IsPresent) 576 THEN 577 IF (((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) GreaterThan '35') 578 THEN 579 PostalAddress TranslateTo Line[3] 580 ELSE 581 IF ((PostalAddress\Country IsPresent) Or (PostalAddress\TownName IsPresent)) 582 THEN 583 PostalAddress TranslateTo Line[3] 584 END 585 END 586 ELSE 587 IF (PostalAddress\AddressLine[*] IsPresent) 588 THEN 589 PostalAddress TranslateTo Line[3] 590 END 591 END 592 END 593 END 594 END 595 NODE (Line) 596 IF ((Name Length) GreaterThan '35') 597 THEN 598 IF (PostalAddress IsPresent) 599 THEN 600 IF (PostalAddress\StreetName IsPresent) 601 THEN 602 IF ((PostalAddress\Country IsPresent) Or (PostalAddress\TownName IsPresent)) 603 THEN 604 PostalAddress TranslateTo Line[4] 605 END 606 ELSE 607 IF (PostalAddress\AddressLine[*] IsPresent) 608 THEN 609 PostalAddress TranslateTo Line[4] 610 END 611 END 612 END 613 ELSE 614 IF (PostalAddress IsPresent) 615 THEN 616 IF (PostalAddress\StreetName IsPresent) 617 THEN 618 IF ((((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) GreaterThan '35') And (((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) LessThan '71')) 619 THEN 620 IF ((PostalAddress\Country IsPresent) Or (PostalAddress\TownName IsPresent)) 621 THEN 622 PostalAddress TranslateTo Line[4] 623 END 624 END 625 ELSE 626 IF (PostalAddress\AddressLine[*] IsPresent) 627 THEN 628 PostalAddress TranslateTo Line[4] 629 END 630 END 631 END 632 END 633 END 634 END 635 END |
protected void |
translatePostalAddress6_Complex_Number_Details_MTAddressLine1(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Complex_Number_Details : MTAddressLine1
325 TRANSLATE(PostalAddress6, Complex_Number_Details) 326 RULE 327 NODE (Number) 328 IF ((Country IsPresent) And (TownName IsPresent)) 329 THEN 330 '2' CopyTo Number 331 END 332 END 333 NODE (Details) 334 IF ((Country IsPresent) And (TownName IsPresent)) 335 THEN 336 IF (StreetName IsPresent) 337 THEN 338 ((StreetName Concatenate (' ', BuildingNumber)) Substring ('1', '33')) CopyTo Details 339 ELSE 340 IF (AddressLine[1] IsPresent) 341 THEN 342 (AddressLine[1] Substring ('1', '33')) CopyTo Details 343 END 344 END 345 END 346 END 347 END 348 END |
protected void |
translatePostalAddress6_Complex_Number_Details_MTAddressLine2(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Complex_Number_Details : MTAddressLine2
408 TRANSLATE(PostalAddress6, Complex_Number_Details) 409 RULE 410 NODE (Number) 411 IF (AddressLine[*] IsPresent) 412 THEN 413 IF ((StreetName IsPresent) And (((StreetName Concatenate (' ', BuildingNumber)) Length) GreaterThan '33')) 414 THEN 415 '2' CopyTo Number 416 ELSE 417 IF (((AddressLine[1] Length) GreaterThan '33') Or (AddressLine[2] IsPresent)) 418 THEN 419 '2' CopyTo Number 420 END 421 END 422 END 423 END 424 NODE (Details) 425 IF ((StreetName IsPresent) And (((StreetName Concatenate (' ', BuildingNumber)) Length) GreaterThan '33')) 426 THEN 427 ((StreetName Concatenate (' ', BuildingNumber)) Substring ('34', '33')) CopyTo Details 428 ELSE 429 IF (AddressLine[*] IsPresent) 430 THEN 431 IF ((AddressLine[1] Length) GreaterThan '33') 432 THEN 433 (AddressLine[1] Substring ('34', '33')) CopyTo Details 434 ELSE 435 IF (AddressLine[2] IsPresent) 436 THEN 437 (AddressLine[2] Substring ('1', '33')) CopyTo Details 438 END 439 END 440 END 441 END 442 END 443 END 444 END |
protected void |
translatePostalAddress6_Complex_Number_Details_MTCountryTown(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Complex_Number_Details : MTCountryTown
382 TRANSLATE(PostalAddress6, Complex_Number_Details) 383 RULE 384 NODE (Number) 385 IF ((Country IsPresent) And (TownName IsPresent)) 386 THEN 387 '3' CopyTo Number 388 END 389 END 390 NODE (Details) 391 IF (TownName IsPresent) 392 THEN 393 IF (((Country Concatenate ('/', TownName, '/', PostCode)) Length) GreaterThan '33') 394 THEN 395 ((Country Concatenate ('/', TownName)) Substring ('1', '33')) CopyTo Details 396 ELSE 397 IF (PostCode IsPresent) 398 THEN 399 (Country Concatenate ('/', TownName, '/', PostCode)) CopyTo Details 400 ELSE 401 (Country Concatenate ('/', TownName)) CopyTo Details 402 END 403 END 404 END 405 END 406 END 407 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine1_Unstructured(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine1_Unstructured
679 TRANSLATE(PostalAddress6, Text_FIN_35x) 680 RULE 681 (AddressLine[1] Substring ('1', '35')) CopyTo Text_FIN_35x 682 END 683 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine1(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine1
636 TRANSLATE(PostalAddress6, Text_FIN_35x) 637 RULE 638 ((StreetName Concatenate (' ', BuildingNumber)) Substring ('1', '35')) CopyTo Text_FIN_35x 639 END 640 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine2_Unstructured(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine2_Unstructured
692 TRANSLATE(PostalAddress6, Text_FIN_35x) 693 RULE 694 IF ((AddressLine[1] Length) GreaterThan '35') 695 THEN 696 (AddressLine[1] Substring ('36', '35')) CopyTo Text_FIN_35x 697 ELSE 698 (AddressLine[2] Substring ('1', '35')) CopyTo Text_FIN_35x 699 END 700 END 701 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine2(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine2
684 TRANSLATE(PostalAddress6, Text_FIN_35x) 685 RULE 686 IF ((StreetName IsPresent) And (((StreetName Concatenate (' ', BuildingNumber)) Length) GreaterThan '35')) 687 THEN 688 ((StreetName Concatenate (' ', BuildingNumber)) Substring ('36', '35')) CopyTo Text_FIN_35x 689 END 690 END 691 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine3_Unstructured(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine3_Unstructured
702 TRANSLATE(PostalAddress6, Text_FIN_35x) 703 RULE 704 IF ((AddressLine[1] IsPresent) And ((AddressLine[1] Length) GreaterThan '35')) 705 THEN 706 IF (AddressLine[2] IsPresent) 707 THEN 708 (AddressLine[2] Substring ('1', '35')) CopyTo Text_FIN_35x 709 END 710 ELSE 711 IF ((AddressLine[2] IsPresent) And ((AddressLine[2] Length) GreaterThan '35')) 712 THEN 713 (AddressLine[2] Substring ('36', '35')) CopyTo Text_FIN_35x 714 ELSE 715 (AddressLine[3] Substring ('1', '35')) CopyTo Text_FIN_35x 716 END 717 END 718 END 719 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine3(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine3
974 TRANSLATE(PostalAddress6, Text_FIN_35x) 975 RULE 976 ((StreetName Concatenate (' ', BuildingNumber)) Substring '71') CopyTo Text_FIN_35x 977 END 978 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTCountryTown(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTCountryTown
641 TRANSLATE(PostalAddress6, Text_FIN_35x) 642 RULE 643 IF (Country IsPresent) 644 THEN 645 IF (TownName IsPresent) 646 THEN 647 IF (((Country Concatenate ('/', TownName, '/', PostCode)) Length) GreaterThan '35') 648 THEN 649 ((Country Concatenate ('/', TownName)) Substring ('1', '32')) CopyTo Text_FIN_35x 650 ELSE 651 IF (PostCode IsPresent) 652 THEN 653 (Country Concatenate ('/', TownName, '/', PostCode)) CopyTo Text_FIN_35x 654 ELSE 655 (Country Concatenate ('/', TownName)) CopyTo Text_FIN_35x 656 END 657 END 658 ELSE 659 Country CopyTo Text_FIN_35x 660 END 661 ELSE 662 IF ((TownName IsPresent) And (((TownName Concatenate PostCode) Length) GreaterThan '35')) 663 THEN 664 TownName CopyTo Text_FIN_35x 665 ELSE 666 IF ((PostCode IsPresent) And (TownName IsPresent)) 667 THEN 668 (TownName Concatenate ('/', PostCode)) CopyTo Text_FIN_35x 669 ELSE 670 IF (TownName IsPresent) 671 THEN 672 TownName CopyTo Text_FIN_35x 673 END 674 END 675 END 676 END 677 END 678 END |
protected void |
translateStructuredRemittanceInformation7_70_1_Default(String targetElement,
XmlNode node,
String paramEndToEndId,
String paramRemitId)
Translate method StructuredRemittanceInformation7 -> 70_1 : Default
1046 TRANSLATE(StructuredRemittanceInformation7, 70_1, paramEndToEndId:Max35Text, paramRemitId:Max35Text) 1047 RULE 1048 NODE (Narrative) 1049 NODE (Line) 1050 IF (($paramRemitId Length) GreaterThan '0') 1051 THEN 1052 IF (ReferredDocumentInformation[*]\Number IsPresent) 1053 THEN 1054 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1055 THEN 1056 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1057 THEN 1058 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1059 THEN 1060 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1061 ELSE 1062 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1063 END 1064 ELSE 1065 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1066 THEN 1067 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1068 ELSE 1069 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1070 END 1071 END 1072 ELSE 1073 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1074 THEN 1075 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1076 THEN 1077 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', (ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')), ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1078 ELSE 1079 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', (ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')), ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1080 END 1081 ELSE 1082 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1083 THEN 1084 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1085 ELSE 1086 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1087 END 1088 END 1089 END 1090 ELSE 1091 IF (CreditorReferenceInformation\Reference IsPresent) 1092 THEN 1093 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1094 END 1095 END 1096 ELSE 1097 IF (ReferredDocumentInformation[*]\Number IsPresent) 1098 THEN 1099 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1100 THEN 1101 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1102 THEN 1103 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1104 THEN 1105 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount\DuePayableAmount\Currency, (ReferredDocumentAmount\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1106 ELSE 1107 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount\DuePayableAmount\Currency, (ReferredDocumentAmount\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1108 END 1109 ELSE 1110 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1111 THEN 1112 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1113 ELSE 1114 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1115 END 1116 END 1117 ELSE 1118 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1119 THEN 1120 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1121 THEN 1122 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount\DuePayableAmount\Amount)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1123 ELSE 1124 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount\DuePayableAmount\Amount)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1125 END 1126 ELSE 1127 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1128 THEN 1129 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1130 ELSE 1131 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1132 END 1133 END 1134 END 1135 ELSE 1136 IF (CreditorReferenceInformation\Reference IsPresent) 1137 THEN 1138 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1139 END 1140 END 1141 END 1142 END 1143 NODE (Line) 1144 IF (($paramRemitId Length) GreaterThan '0') 1145 THEN 1146 IF (ReferredDocumentInformation[*]\Number IsPresent) 1147 THEN 1148 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1149 THEN 1150 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1151 THEN 1152 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1153 THEN 1154 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '35') 1155 THEN 1156 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1157 END 1158 ELSE 1159 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '35') 1160 THEN 1161 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1162 END 1163 END 1164 ELSE 1165 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1166 THEN 1167 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '35') 1168 THEN 1169 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1170 END 1171 ELSE 1172 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '35') 1173 THEN 1174 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1175 END 1176 END 1177 END 1178 ELSE 1179 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1180 THEN 1181 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1182 THEN 1183 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '35') 1184 THEN 1185 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1186 END 1187 ELSE 1188 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount\DuePayableAmount\Amount)) Length) GreaterThan '35') 1189 THEN 1190 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1191 END 1192 END 1193 ELSE 1194 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1195 THEN 1196 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '35') 1197 THEN 1198 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1199 END 1200 ELSE 1201 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '35') 1202 THEN 1203 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1204 END 1205 END 1206 END 1207 END 1208 ELSE 1209 IF (CreditorReferenceInformation\Reference IsPresent) 1210 THEN 1211 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '35') 1212 THEN 1213 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1214 END 1215 END 1216 END 1217 ELSE 1218 IF (ReferredDocumentInformation[*]\Number IsPresent) 1219 THEN 1220 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1221 THEN 1222 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1223 THEN 1224 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1225 THEN 1226 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '35') 1227 THEN 1228 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1229 END 1230 ELSE 1231 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '35') 1232 THEN 1233 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1234 END 1235 END 1236 ELSE 1237 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1238 THEN 1239 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '35') 1240 THEN 1241 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1242 END 1243 ELSE 1244 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '35') 1245 THEN 1246 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1247 END 1248 END 1249 END 1250 ELSE 1251 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1252 THEN 1253 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1254 THEN 1255 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '35') 1256 THEN 1257 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1258 END 1259 ELSE 1260 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '35') 1261 THEN 1262 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1263 END 1264 END 1265 ELSE 1266 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1267 THEN 1268 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '35') 1269 THEN 1270 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1271 END 1272 ELSE 1273 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '35') 1274 THEN 1275 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1276 END 1277 END 1278 END 1279 END 1280 ELSE 1281 IF (CreditorReferenceInformation\Reference IsPresent) 1282 THEN 1283 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '35') 1284 THEN 1285 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1286 END 1287 END 1288 END 1289 END 1290 END 1291 NODE (Line) 1292 IF (($paramRemitId Length) GreaterThan '0') 1293 THEN 1294 IF (ReferredDocumentInformation[*]\Number IsPresent) 1295 THEN 1296 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1297 THEN 1298 IF (ReferredDocumentAmount\DuePayableAmount IsPresent) 1299 THEN 1300 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1301 THEN 1302 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount\DuePayableAmount\Currency, (ReferredDocumentAmount\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '70') 1303 THEN 1304 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1305 END 1306 ELSE 1307 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '70') 1308 THEN 1309 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1310 END 1311 END 1312 ELSE 1313 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1314 THEN 1315 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '70') 1316 THEN 1317 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1318 END 1319 ELSE 1320 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '70') 1321 THEN 1322 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1323 END 1324 END 1325 END 1326 ELSE 1327 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1328 THEN 1329 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1330 THEN 1331 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '70') 1332 THEN 1333 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1334 END 1335 ELSE 1336 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '70') 1337 THEN 1338 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1339 END 1340 END 1341 ELSE 1342 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1343 THEN 1344 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '70') 1345 THEN 1346 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1347 END 1348 ELSE 1349 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '70') 1350 THEN 1351 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1352 END 1353 END 1354 END 1355 END 1356 ELSE 1357 IF (CreditorReferenceInformation\Reference IsPresent) 1358 THEN 1359 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '70') 1360 THEN 1361 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1362 END 1363 END 1364 END 1365 ELSE 1366 IF (ReferredDocumentInformation[*]\Number IsPresent) 1367 THEN 1368 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1369 THEN 1370 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1371 THEN 1372 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1373 THEN 1374 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '70') 1375 THEN 1376 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1377 END 1378 ELSE 1379 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '70') 1380 THEN 1381 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1382 END 1383 END 1384 ELSE 1385 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1386 THEN 1387 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '70') 1388 THEN 1389 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1390 END 1391 ELSE 1392 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '70') 1393 THEN 1394 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1395 END 1396 END 1397 END 1398 ELSE 1399 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1400 THEN 1401 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1402 THEN 1403 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '70') 1404 THEN 1405 (('/ROC/' Concatenate ($paramEndToEndId, '//INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1406 END 1407 ELSE 1408 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '70') 1409 THEN 1410 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1411 END 1412 END 1413 ELSE 1414 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1415 THEN 1416 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '70') 1417 THEN 1418 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1419 END 1420 ELSE 1421 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '70') 1422 THEN 1423 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1424 END 1425 END 1426 END 1427 END 1428 ELSE 1429 IF (CreditorReferenceInformation\Reference IsPresent) 1430 THEN 1431 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '70') 1432 THEN 1433 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1434 END 1435 END 1436 END 1437 END 1438 END 1439 NODE (Line) 1440 IF (($paramRemitId Length) GreaterThan '0') 1441 THEN 1442 IF (ReferredDocumentInformation[*]\Number IsPresent) 1443 THEN 1444 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1445 THEN 1446 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1447 THEN 1448 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1449 THEN 1450 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '105') 1451 THEN 1452 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1453 END 1454 ELSE 1455 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '105') 1456 THEN 1457 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1458 END 1459 END 1460 ELSE 1461 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1462 THEN 1463 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '105') 1464 THEN 1465 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1466 END 1467 ELSE 1468 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '105') 1469 THEN 1470 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1471 END 1472 END 1473 END 1474 ELSE 1475 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1476 THEN 1477 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1478 THEN 1479 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '105') 1480 THEN 1481 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1482 END 1483 ELSE 1484 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '105') 1485 THEN 1486 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1487 END 1488 END 1489 ELSE 1490 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1491 THEN 1492 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '105') 1493 THEN 1494 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1495 END 1496 ELSE 1497 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '105') 1498 THEN 1499 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1500 END 1501 END 1502 END 1503 END 1504 ELSE 1505 IF (CreditorReferenceInformation\Reference IsPresent) 1506 THEN 1507 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '105') 1508 THEN 1509 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1510 END 1511 END 1512 END 1513 ELSE 1514 IF (ReferredDocumentInformation[*]\Number IsPresent) 1515 THEN 1516 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1517 THEN 1518 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1519 THEN 1520 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1521 THEN 1522 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '105') 1523 THEN 1524 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1525 END 1526 ELSE 1527 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Length) GreaterThan '105') 1528 THEN 1529 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')), '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, (ReferredDocumentAmount[*]\DuePayableAmount\Amount FormatDecimal 'MT'))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1530 END 1531 END 1532 ELSE 1533 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1534 THEN 1535 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '105') 1536 THEN 1537 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1538 END 1539 ELSE 1540 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '105') 1541 THEN 1542 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1543 END 1544 END 1545 END 1546 ELSE 1547 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1548 THEN 1549 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1550 THEN 1551 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '105') 1552 THEN 1553 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1554 END 1555 ELSE 1556 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '105') 1557 THEN 1558 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1559 END 1560 END 1561 ELSE 1562 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1563 THEN 1564 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '105') 1565 THEN 1566 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1567 END 1568 ELSE 1569 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '105') 1570 THEN 1571 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1572 END 1573 END 1574 END 1575 END 1576 ELSE 1577 IF (CreditorReferenceInformation\Reference IsPresent) 1578 THEN 1579 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '105') 1580 THEN 1581 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1582 END 1583 END 1584 END 1585 END 1586 END 1587 END 1588 END 1589 END |
public MxPain00100103_MT101_Translation()
public final MT101 translate(MxPain00100103 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MxPain00100103 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MxPain00100103 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MxPain00100103 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected void translateMax35Text_20_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateMax35Text_21R_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateISODate_30_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateAuthorisation1Choice_25_1_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateMax35Text_21_8_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateMax35Text_21F_1_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateMax140Text_23E_2_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateExternalServiceLevel1Code_23E_2_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCategoryPurpose1Choice_Code_4c_22_CORT(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateInstructionForCreditorAgent1_23E_2_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateMax140Text_Text_FIN_30x_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateEquivalentAmount2_Code_4c_22_EQUI(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCategoryPurpose1Choice_Code_4c_22_INTC(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateActiveOrHistoricCurrencyAndAmount_32B_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateActiveOrHistoricCurrencyCode_32B_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification32_50C_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification32_50L_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCashAccount16_Identifier_FIN_34x_50F(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification32_F50F_3_Name_and_Address_Account_NoIdentifier_8fromsubfield1(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateMax140Text_Complex_Number_Details_MTNameLine1(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateMax140Text_Complex_Number_Details_MTNameLine2(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePostalAddress6_Complex_Number_Details_MTAddressLine1(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateISODate_Complex_Number_Details_MTDateOfBirth(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification32_Complex_Number_Details_MTCustomerNumberLine(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification32_Complex_Number_Details_MTIdentityCardLine(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePostalAddress6_Complex_Number_Details_MTCountryTown(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePostalAddress6_Complex_Number_Details_MTAddressLine2(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateDateAndPlaceOfBirth_Complex_Number_Details_MTCountryOfBirth(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification32_Complex_Number_Details_MTCustomerNumberLine8(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification32_Complex_Number_Details_MTIdentityCardLine8(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCashAccount16_Text_FIN_34x_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification32_Identifier_BICNonFI_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification32_Text_FIN_4M35x_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePostalAddress6_Text_FIN_35x_MTAddressLine1(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePostalAddress6_Text_FIN_35x_MTCountryTown(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePostalAddress6_Text_FIN_35x_MTAddressLine1_Unstructured(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePostalAddress6_Text_FIN_35x_MTAddressLine2(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePostalAddress6_Text_FIN_35x_MTAddressLine2_Unstructured(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePostalAddress6_Text_FIN_35x_MTAddressLine3_Unstructured(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateBranchAndFinancialInstitutionIdentification4_Text_PartyId_MX_To_MTClearingIdentifier(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateClearingSystemMemberIdentification2_Text_PartyId_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateClearingSystemList_MTClearingSystemList_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCashAccount16_Text_PartyId_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateBranchAndFinancialInstitutionIdentification4_Identifier_BICFI_BIC(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateBranchAndFinancialInstitutionIdentification4_52C_6_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateClearingSystemMemberIdentification2_52C_6_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePostalAddress6_Text_FIN_35x_MTAddressLine3(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Only_ClrSysMmbId_or_ClrSysMmbId_and_PstlAdr(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Othr_without_Name(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCashAccount16_Text_FIN_34x_CUID(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification32_Identifier_BICFIOrNonFI_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateStructuredRemittanceInformation7_70_1_Default(String targetElement, XmlNode node, String paramEndToEndId, String paramRemitId)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateMax140Text_70_1_Default(String targetElement, XmlNode node, String paramRemitId, String paramEndToEndId)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateMax35Text_70_1_ROC(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateActiveOrHistoricCurrencyAndAmount_33B_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateChargeBearerType1Code_71A_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCashAccount16_25A_1_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedpublic final Boolean logicalMessageCriteriaCheck(MxPain00100103 source)
source
- a well formed MxPain00100103 objectpublic final void preconditionSR1Check(MxPain00100103 source) throws TranslationPreconditionException
source
- a well formed MxPain00100103 objectTranslationPreconditionException
public final void preconditionSR2Check(MxPain00100103 source) throws TranslationPreconditionException
source
- a well formed MxPain00100103 objectTranslationPreconditionException
public final void preconditionSR3Check(MxPain00100103 source) throws TranslationPreconditionException
source
- a well formed MxPain00100103 objectTranslationPreconditionException
public final void preconditionSR4Check(MxPain00100103 source) throws TranslationPreconditionException
source
- a well formed MxPain00100103 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MxPain00100103 source)