public class MxPacs00800102_MT103_Translation extends
Modifier | Constructor and Description |
---|---|
|
MxPacs00800102_MT103_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MxPacs00800102_MT103_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(MxPacs00800102 source)
Message criteria check
This method checks the content of the source MxPacs00800102 and determines if it can be translated to the target MT103 |
List<PreconditionError> |
preconditionsCheck(MxPacs00800102 source)
Precondition check
This method checks the precondition on the content of the source MxPacs00800102 |
void |
preconditionSR10Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR10 on the content of the source MxPacs00800102 IF (((CreditTransferTransactionInformation[1]\ChargeBearer IsSameString 'DEBT') And (CreditTransferTransactionInformation[1]\ChargesInformation[*] IsPresent)) And ((((CreditTransferTransactionInformation[*]\ChargesInformation[*]\Amount\Amount SumOfNodes) FormatDecimal 'MT') Length) GreaterThan '15')) THEN Fail ('01024', 'If CreditTransferTransactionInformation/ChargeBearer contains DEBT, then must the sum of CreditTransferTransactionInformation/ChargesInformation/ChargesAmount occurrences not contain more than 14 significant digits.', CreditTransferTransactionInformation[*]\ChargesInformation[*]\Amount\Amount, CreditTransferTransactionInformation[1]\ChargeBearer) END |
void |
preconditionSR11Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR11 on the content of the source MxPacs00800102 IF ((CreditTransferTransactionInformation[1]\InstructingAgent IsPresent) And (Not (CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\BIC IsPresent))) THEN Fail ('01020', 'If CreditTransferTransactionInformation/InstructingAgent is present, then it must at the minimum contain a BIC.', CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\BIC) END |
void |
preconditionSR12Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR12 on the content of the source MxPacs00800102 IF ((CreditTransferTransactionInformation[1]\InstructedAgent IsPresent) And (Not (CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\BIC IsPresent))) THEN Fail ('01019', 'If CreditTransferTransactionInformation/InstructedAgent is present, then it must at the minimum contain a BIC.', CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\BIC) END |
void |
preconditionSR13Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR13 on the content of the source MxPacs00800102 IF (CreditTransferTransactionInformation[1]\IntermediaryAgent2 IsPresent) THEN Fail ('01025', 'CreditTransferTransactionInformation/IntermediaryAgent2 is not allowed.', CreditTransferTransactionInformation[1]\IntermediaryAgent2) END |
void |
preconditionSR14Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR14 on the content of the source MxPacs00800102 IF (CreditTransferTransactionInformation[1]\IntermediaryAgent3 IsPresent) THEN Fail ('01026', 'CreditTransferTransactionInformation/IntermediaryAgent3 is not allowed.', CreditTransferTransactionInformation[*]\IntermediaryAgent3) END |
void |
preconditionSR15Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR15 on the content of the source MxPacs00800102 IF ((Not (CreditTransferTransactionInformation[1]\Creditor\Identification\OrganisationIdentification\BICOrBEI IsPresent)) And (Not (CreditTransferTransactionInformation[1]\Creditor\Name IsPresent))) THEN Fail ('01027', 'If CreditTransferTransactionInformation/Creditor does not contain a BIC or BEI, then at a minimum it must contain Name.', CreditTransferTransactionInformation[1]\Creditor\Name) END |
void |
preconditionSR16Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR16 on the content of the source MxPacs00800102 IF (((((GroupHeader\MessageIdentification Substring ('1', '1')) IsSameString '/') Or (((GroupHeader\MessageIdentification Substring ('1', '16')) Find '//') GreaterThan '0')) Or (((GroupHeader\MessageIdentification Substring ((GroupHeader\MessageIdentification Length), '1')) IsSameString '/') And ((GroupHeader\MessageIdentification Length) LessThanOrEqualTo '16'))) Or ((GroupHeader\MessageIdentification Substring ('16', '1')) IsSameString '/')) 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 |
preconditionSR17Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR17 on the content of the source MxPacs00800102 IF (CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification IsPresent) THEN IF (((((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Substring ('1', '1')) IsSameString '/') Or (((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Substring ('1', '16')) Find '//') GreaterThan '0')) Or (((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Substring ((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Length), '1')) IsSameString '/') And ((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Length) LessThanOrEqualTo '16'))) Or ((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Substring ('16', '1')) IsSameString '/')) THEN Fail ('01013', 'If CreditTransferTransactionInformation/PaymentIdentification/InstructionIdentification is present and the length 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 |
preconditionSR18Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR18 on the content of the source MxPacs00800102 IF (Not (CreditTransferTransactionInformation[*]\Debtor\Identification\OrganisationIdentification\BICOrBEI IsPresent)) THEN IF (Not (CreditTransferTransactionInformation[1]\Debtor\Name IsPresent)) THEN Fail ('01028', 'If CreditTransferTransactionInformation/Debtor does not contain a BIC or BEI, then at a minimum it must contain Name.', CreditTransferTransactionInformation[1]\Debtor\Name) END END |
void |
preconditionSR19Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR19 on the content of the source MxPacs00800102 IF (GroupHeader\InstructingAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((GroupHeader\InstructingAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (GroupHeader\InstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (GroupHeader\InstructingAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (GroupHeader\InstructingAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', GroupHeader\InstructingAgent\FinancialInstitutionIdentification\BIC, GroupHeader\InstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, GroupHeader\InstructingAgent\FinancialInstitutionIdentification\Name, GroupHeader\InstructingAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR1Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR1 on the content of the source MxPacs00800102 IF (Not ((GroupHeader\NumberOfTransactions Substring '1') IsSameNumber '1')) THEN Fail ('01014', 'NumberOfTransactions must equal 1.', GroupHeader\NumberOfTransactions) END |
void |
preconditionSR20Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR20 on the content of the source MxPacs00800102 IF (GroupHeader\InstructedAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((GroupHeader\InstructedAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (GroupHeader\InstructedAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (GroupHeader\InstructedAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (GroupHeader\InstructedAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', GroupHeader\InstructedAgent\FinancialInstitutionIdentification\BIC, GroupHeader\InstructedAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, GroupHeader\InstructedAgent\FinancialInstitutionIdentification\Name, GroupHeader\InstructedAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR21Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR21 on the content of the source MxPacs00800102 IF (CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR22Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR22 on the content of the source MxPacs00800102 IF (CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR23Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR23 on the content of the source MxPacs00800102 IF (CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR24Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR24 on the content of the source MxPacs00800102 IF (CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR25Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR25 on the content of the source MxPacs00800102 IF (CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR26Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR26 on the content of the source MxPacs00800102 IF (CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR27Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR27 on the content of the source MxPacs00800102 IF (GroupHeader\SettlementInformation\InstructingReimbursementAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((GroupHeader\SettlementInformation\InstructingReimbursementAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (GroupHeader\SettlementInformation\InstructingReimbursementAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (GroupHeader\SettlementInformation\InstructingReimbursementAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (GroupHeader\SettlementInformation\InstructingReimbursementAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', GroupHeader\SettlementInformation\InstructingReimbursementAgent\FinancialInstitutionIdentification\BIC, GroupHeader\SettlementInformation\InstructingReimbursementAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, GroupHeader\SettlementInformation\InstructingReimbursementAgent\FinancialInstitutionIdentification\Name, GroupHeader\SettlementInformation\InstructingReimbursementAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR28Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR28 on the content of the source MxPacs00800102 IF (GroupHeader\SettlementInformation\InstructedReimbursementAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((GroupHeader\SettlementInformation\InstructedReimbursementAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (GroupHeader\SettlementInformation\InstructedReimbursementAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (GroupHeader\SettlementInformation\InstructedReimbursementAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (GroupHeader\SettlementInformation\InstructedReimbursementAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', GroupHeader\SettlementInformation\InstructedReimbursementAgent\FinancialInstitutionIdentification\BIC, GroupHeader\SettlementInformation\InstructedReimbursementAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, GroupHeader\SettlementInformation\InstructedReimbursementAgent\FinancialInstitutionIdentification\Name, GroupHeader\SettlementInformation\InstructedReimbursementAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR29Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR29 on the content of the source MxPacs00800102 IF (GroupHeader\SettlementInformation\ThirdReimbursementAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((GroupHeader\SettlementInformation\ThirdReimbursementAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (GroupHeader\SettlementInformation\ThirdReimbursementAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (GroupHeader\SettlementInformation\ThirdReimbursementAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (GroupHeader\SettlementInformation\ThirdReimbursementAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', GroupHeader\SettlementInformation\ThirdReimbursementAgent\FinancialInstitutionIdentification\BIC, GroupHeader\SettlementInformation\ThirdReimbursementAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, GroupHeader\SettlementInformation\ThirdReimbursementAgent\FinancialInstitutionIdentification\Name, GroupHeader\SettlementInformation\ThirdReimbursementAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR2Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR2 on the content of the source MxPacs00800102 IF (Not ((GroupHeader\InstructingAgent IsPresent) Or (CreditTransferTransactionInformation[1]\InstructingAgent IsPresent))) THEN Fail ('01015', 'InstructingAgent must be present at either GroupHeader or CreditTransferTransactionInformation level.', GroupHeader\InstructingAgent, CreditTransferTransactionInformation[1]\InstructingAgent) END |
void |
preconditionSR3Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR3 on the content of the source MxPacs00800102 IF ((GroupHeader\InstructingAgent IsPresent) And (Not (GroupHeader\InstructingAgent\FinancialInstitutionIdentification\BIC IsPresent))) THEN Fail ('01017', 'If GroupHeader/InstructingAgent is present, then it must at the minimum contain a BIC.', GroupHeader\InstructingAgent\FinancialInstitutionIdentification\BIC) END |
void |
preconditionSR4Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR4 on the content of the source MxPacs00800102 IF (Not ((GroupHeader\InstructedAgent IsPresent) Or (CreditTransferTransactionInformation[1]\InstructedAgent IsPresent))) THEN Fail ('01016', 'InstructedAgent must be present at either GroupHeader or CreditTransferTransactionInformation level.', GroupHeader\InstructedAgent, CreditTransferTransactionInformation[1]\InstructedAgent) END |
void |
preconditionSR5Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR5 on the content of the source MxPacs00800102 IF ((GroupHeader\InstructedAgent IsPresent) And (Not (GroupHeader\InstructedAgent\FinancialInstitutionIdentification\BIC IsPresent))) THEN Fail ('01018', 'If GroupHeader/InstructedAgent is present, then it must at the minimum contain a BIC.', GroupHeader\InstructedAgent\FinancialInstitutionIdentification\BIC) END |
void |
preconditionSR6Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR6 on the content of the source MxPacs00800102 IF (((CreditTransferTransactionInformation[1]\InterbankSettlementAmount\Amount FormatDecimal 'MT') Length) GreaterThan '15') THEN Fail ('01029', 'CreditTransferTransactionInformation/InterbankSettlementAmount must not contain more than 14 significant digits.', CreditTransferTransactionInformation[1]\InterbankSettlementAmount\Amount) END |
void |
preconditionSR7Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR7 on the content of the source MxPacs00800102 IF ((Not (CreditTransferTransactionInformation[1]\SettlementTimeRequest\CLSTime Matches '[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]*)?[+-][0-9]{2}:[0-9]{2}')) And (CreditTransferTransactionInformation[1]\SettlementTimeRequest\CLSTime IsPresent)) THEN Fail ('01021', 'If CreditTransferTransactionInformation/SettlementTimeRequest/CLSTime is present, then the offset against UTC must be present.', CreditTransferTransactionInformation[1]\SettlementTimeRequest\CLSTime) END |
void |
preconditionSR8Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR8 on the content of the source MxPacs00800102 IF (((CreditTransferTransactionInformation[1]\InstructedAmount\Amount FormatDecimal 'MT') Length) GreaterThan '15') THEN Fail ('01022', 'CreditTransferTransactionInformation/InstructedAmount must not contain more than 14 significant digits.', CreditTransferTransactionInformation[*]\InstructedAmount\Amount) END |
void |
preconditionSR9Check(MxPacs00800102 source)
Precondition check
This method checks the precondition SR9 on the content of the source MxPacs00800102 IF ((CreditTransferTransactionInformation[1]\ChargeBearer IsSameString 'CRED') Or (CreditTransferTransactionInformation[1]\ChargeBearer IsSameString 'SHAR')) THEN FOREACH CreditTransferTransactionInformation[1]\ChargesInformation[*] DO IF (((Amount\Amount FormatDecimal 'MT') Length) GreaterThan '15') THEN Fail ('01023', 'CreditTransferTransactionInformation/ChargesInformation/Amount must not contain more than 14 significant digits.', Amount\Amount) END END END |
MT103 |
translate(MxPacs00800102 source)
Main entry point for the translation
|
protected void |
translateActiveCurrencyAndAmount_32A_Default(String targetElement,
XmlNode node)
Translate method ActiveCurrencyAndAmount -> 32A : Default
115 TRANSLATE(ActiveCurrencyAndAmount, 32A) 116 RULE 117 NODE (Currency) 118 Currency CopyTo Currency 119 END 120 NODE (Amount) 121 (Amount FormatDecimal 'MT') CopyTo Amount 122 END 123 END 124 END |
protected void |
translateActiveCurrencyAndAmount_33B_Default(String targetElement,
XmlNode node)
Translate method ActiveCurrencyAndAmount -> 33B : Default
125 TRANSLATE(ActiveCurrencyAndAmount, 33B) 126 RULE 127 NODE (Currency) 128 Currency CopyTo Currency 129 END 130 NODE (Amount) 131 (Amount FormatDecimal 'MT') CopyTo Amount 132 END 133 END 134 END |
protected void |
translateActiveOrHistoricCurrencyAndAmount_33B_Default(String targetElement,
XmlNode node)
Translate method ActiveOrHistoricCurrencyAndAmount -> 33B : Default
135 TRANSLATE(ActiveOrHistoricCurrencyAndAmount, 33B) 136 RULE 137 NODE (Currency) 138 Currency CopyTo Currency 139 END 140 NODE (Amount) 141 (Amount FormatDecimal 'MT') CopyTo Amount 142 END 143 END 144 END |
protected void |
translateActiveOrHistoricCurrencyAndAmount_71F_Default(String targetElement,
XmlNode node)
Translate method ActiveOrHistoricCurrencyAndAmount -> 71F : Default
2109 TRANSLATE(ActiveOrHistoricCurrencyAndAmount, 71F) 2110 RULE 2111 NODE (Currency) 2112 Currency CopyTo Currency 2113 END 2114 NODE (Amount) 2115 (Amount FormatDecimal 'MT') CopyTo Amount 2116 END 2117 END 2118 END |
protected void |
translateBaseOneRate_36_Default(String targetElement,
XmlNode node)
Translate method BaseOneRate -> 36 : Default
145 TRANSLATE(BaseOneRate, 36) 146 RULE 147 IF (((BaseOneRate Substring ('1', '1')) IsSameString '+') Or ((BaseOneRate Substring ('1', '1')) IsSameString '-')) 148 THEN 149 ((BaseOneRate Substring '2') FormatDecimal 'MT') CopyTo 36 150 ELSE 151 (BaseOneRate FormatDecimal 'MT') CopyTo 36 152 END 153 END 154 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Complex_Code_Narrative_2_BIC(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Complex_Code_Narrative_2 : BIC
2119 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Complex_Code_Narrative_2) 2120 RULE 2121 NODE (Code) 2122 IF (FinancialInstitutionIdentification\BIC IsPresent) 2123 THEN 2124 'INS' CopyTo Code 2125 END 2126 END 2127 NODE (Narrative) 2128 FinancialInstitutionIdentification\BIC CopyTo Narrative 2129 END 2130 END 2131 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Complex_Code_Narrative_2_Clearing(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Complex_Code_Narrative_2 : Clearing
2132 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Complex_Code_Narrative_2) 2133 RULE 2134 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) 2135 THEN 2136 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Complex_Code_Narrative_2 2137 END 2138 END 2139 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Identifier_BICFI_BIC(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Identifier_BICFI : BIC
1178 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Identifier_BICFI) 1179 RULE 1180 IF (FinancialInstitutionIdentification\BIC IsPresent) 1181 THEN 1182 FinancialInstitutionIdentification\BIC CopyTo Identifier_BICFI 1183 END 1184 END 1185 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Default(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_FIN_4M35x : Default
1186 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_FIN_4M35x) 1187 RULE 1188 NODE (Line) 1189 IF ((FinancialInstitutionIdentification\Name IsPresent) And (FinancialInstitutionIdentification\PostalAddress IsPresent)) 1190 THEN 1191 (FinancialInstitutionIdentification\Name Substring ('1', '35')) CopyTo Line[1] 1192 ELSE 1193 IF (FinancialInstitutionIdentification\Name IsPresent) 1194 THEN 1195 (FinancialInstitutionIdentification\Name Substring ('1', '35')) CopyTo Line[1] 1196 END 1197 END 1198 END 1199 NODE (Line) 1200 IF ((FinancialInstitutionIdentification\Name Length) GreaterThan '35') 1201 THEN 1202 (FinancialInstitutionIdentification\Name Substring '36') CopyTo Line[2] 1203 ELSE 1204 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 1205 THEN 1206 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 1207 THEN 1208 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[2] 1209 ELSE 1210 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 1211 THEN 1212 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[2] 1213 ELSE 1214 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 1215 THEN 1216 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[2] 1217 END 1218 END 1219 END 1220 END 1221 END 1222 END 1223 NODE (Line) 1224 IF ((FinancialInstitutionIdentification\Name Length) GreaterThan '35') 1225 THEN 1226 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 1227 THEN 1228 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 1229 THEN 1230 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 1231 ELSE 1232 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 1233 THEN 1234 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 1235 ELSE 1236 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 1237 THEN 1238 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 1239 END 1240 END 1241 END 1242 END 1243 ELSE 1244 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 1245 THEN 1246 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 1247 THEN 1248 IF (((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) GreaterThan '35') 1249 THEN 1250 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 1251 ELSE 1252 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 1253 THEN 1254 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 1255 END 1256 END 1257 ELSE 1258 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 1259 THEN 1260 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 1261 END 1262 END 1263 END 1264 END 1265 END 1266 NODE (Line) 1267 IF ((FinancialInstitutionIdentification\Name Length) GreaterThan '35') 1268 THEN 1269 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 1270 THEN 1271 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 1272 THEN 1273 IF (((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) GreaterThan '35') 1274 THEN 1275 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 1276 ELSE 1277 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 1278 THEN 1279 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 1280 END 1281 END 1282 ELSE 1283 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 1284 THEN 1285 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 1286 END 1287 END 1288 END 1289 ELSE 1290 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 1291 THEN 1292 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 1293 THEN 1294 IF ((((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) GreaterThan '35') And (((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) LessThan '71')) 1295 THEN 1296 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 1297 THEN 1298 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 1299 END 1300 ELSE 1301 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 1302 END 1303 ELSE 1304 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 1305 THEN 1306 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 1307 END 1308 END 1309 END 1310 END 1311 END 1312 END 1313 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
1319 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_FIN_4M35x) 1320 RULE 1321 NODE (Line) 1322 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) 1323 THEN 1324 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code WithinList 'ClearingSystemList') 1325 THEN 1326 (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) CopyTo Line[1] 1327 FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification CopyTo Line[1] 1328 ELSE 1329 (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) CopyTo Line[1] 1330 END 1331 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Proprietary IsPresent) 1332 THEN 1333 (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Proprietary Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) CopyTo Line[1] 1334 END 1335 ELSE 1336 FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification CopyTo Line[1] 1337 END 1338 END 1339 END 1340 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Othr_without_Name(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_FIN_4M35x : Othr without Name
1341 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_FIN_4M35x) 1342 RULE 1343 NODE (Line) 1344 IF (Not (FinancialInstitutionIdentification\Other\Issuer IsPresent)) 1345 THEN 1346 IF (FinancialInstitutionIdentification\Other\SchemeName\Code IsPresent) 1347 THEN 1348 ((FinancialInstitutionIdentification\Other\SchemeName\Code Concatenate ('/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 1349 ELSE 1350 IF (FinancialInstitutionIdentification\Other\SchemeName\Proprietary IsPresent) 1351 THEN 1352 ((FinancialInstitutionIdentification\Other\SchemeName\Proprietary Concatenate ('/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 1353 ELSE 1354 (FinancialInstitutionIdentification\Other\Identification Substring ('1', '35')) CopyTo Line[1] 1355 END 1356 END 1357 ELSE 1358 IF (FinancialInstitutionIdentification\Other\SchemeName\Code IsPresent) 1359 THEN 1360 ((FinancialInstitutionIdentification\Other\SchemeName\Code Concatenate ('/', FinancialInstitutionIdentification\Other\SchemeName\Proprietary, '/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 1361 ELSE 1362 IF (FinancialInstitutionIdentification\Other\SchemeName\Proprietary IsPresent) 1363 THEN 1364 ((FinancialInstitutionIdentification\Other\SchemeName\Proprietary Concatenate ('/', FinancialInstitutionIdentification\Other\Issuer, '/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 1365 ELSE 1366 ((FinancialInstitutionIdentification\Other\Issuer Concatenate ('/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 1367 END 1368 END 1369 END 1370 END 1371 END 1372 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_PartyId_MX_To_MTClearingIdentifier(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_PartyId : MX_To_MTClearingIdentifier
1117 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_PartyId) 1118 RULE 1119 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) And (Not ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'USABA') And (FinancialInstitutionIdentification\BIC IsPresent)))) 1120 THEN 1121 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 1122 ELSE 1123 IF ((FinancialInstitutionIdentification\BIC IsPresent) And ((FinancialInstitutionIdentification\BIC Substring ('5', '2')) IsSameString 'US')) 1124 THEN 1125 '//FW' CopyTo Text_PartyId 1126 END 1127 END 1128 END 1129 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_PartyId_MX_To_MTClearingIdentifierAndChannel(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_PartyId : MX_To_MTClearingIdentifierAndChannel
1429 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_PartyId) 1430 RULE 1431 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) 1432 THEN 1433 IF (((FinancialInstitutionIdentification\BIC IsPresent) And (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsPresent)) And ((((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'RUCBC') Or (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'CHBCC')) Or (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'CHSIC')) Or (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'USPID'))) 1434 THEN 1435 '//RT' CopyTo Text_PartyId 1436 ELSE 1437 IF ((FinancialInstitutionIdentification\BIC IsPresent) And ((FinancialInstitutionIdentification\BIC Substring ('5', '2')) IsSameString 'US')) 1438 THEN 1439 '//FW' CopyTo Text_PartyId 1440 ELSE 1441 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsPresent) And (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'USABA')) 1442 THEN 1443 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 1444 ELSE 1445 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsPresent) And (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code WithinList 'ClearingSystemList')) 1446 THEN 1447 IF ((((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) Length) LessThan '33') 1448 THEN 1449 '//RT' CopyTo Text_PartyId 1450 END 1451 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 1452 ELSE 1453 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsPresent) And (Not (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code WithinList 'ClearingSystemList'))) 1454 THEN 1455 IF (((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) Length) LessThan '29') 1456 THEN 1457 '//RT' CopyTo Text_PartyId 1458 END 1459 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 1460 ELSE 1461 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Proprietary IsPresent) And (((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Proprietary Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) Length) LessThan '29')) 1462 THEN 1463 '//RT' CopyTo Text_PartyId 1464 END 1465 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 1466 END 1467 END 1468 END 1469 END 1470 END 1471 ELSE 1472 IF ((FinancialInstitutionIdentification\BIC IsPresent) And ((FinancialInstitutionIdentification\BIC Substring ('5', '2')) IsSameString 'US')) 1473 THEN 1474 '//FW' CopyTo Text_PartyId 1475 ELSE 1476 '//RT' CopyTo Text_PartyId 1477 END 1478 END 1479 END 1480 END |
protected void |
translateCashAccount16_Identifier_FIN_34x_50F(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Identifier_FIN_34x : 50F
186 TRANSLATE(CashAccount16, Identifier_FIN_34x) 187 RULE 188 IF (Identification\IBAN IsPresent) 189 THEN 190 Identification\IBAN CopyTo Identifier_FIN_34x 191 ELSE 192 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 193 THEN 194 Identification\Other\Identification CopyTo Identifier_FIN_34x 195 ELSE 196 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) 197 THEN 198 (Identification\Other\SchemeName\Code Concatenate Identification\Other\Identification) CopyTo Identifier_FIN_34x 199 ELSE 200 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 201 THEN 202 (Identification\Other\SchemeName\Proprietary Concatenate Identification\Other\Identification) CopyTo Identifier_FIN_34x 203 END 204 END 205 END 206 END 207 END 208 END |
protected void |
translateCashAccount16_Text_FIN_34x_CUID(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_FIN_34x : CUID
1481 TRANSLATE(CashAccount16, Text_FIN_34x) 1482 RULE 1483 ('/' Concatenate ('CH', Identification\Other\Identification)) CopyTo Text_FIN_34x 1484 END 1485 END |
protected void |
translateCashAccount16_Text_FIN_34x_Default(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_FIN_34x : Default
155 TRANSLATE(CashAccount16, Text_FIN_34x) 156 RULE 157 IF (Identification\IBAN IsPresent) 158 THEN 159 Identification\IBAN CopyTo Text_FIN_34x 160 ELSE 161 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 162 THEN 163 Identification\Other\Identification CopyTo Text_FIN_34x 164 ELSE 165 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) 166 THEN 167 (Identification\Other\SchemeName\Code Concatenate Identification\Other\Identification) CopyTo Text_FIN_34x 168 ELSE 169 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 170 THEN 171 (Identification\Other\SchemeName\Proprietary Concatenate Identification\Other\Identification) CopyTo Text_FIN_34x 172 END 173 END 174 END 175 END 176 END 177 END |
protected void |
translateCashAccount16_Text_PartyId_Default(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_PartyId : Default
1089 TRANSLATE(CashAccount16, Text_PartyId) 1090 RULE 1091 IF (Identification\IBAN IsPresent) 1092 THEN 1093 ('/' Concatenate Identification\IBAN) CopyTo Text_PartyId 1094 ELSE 1095 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 1096 THEN 1097 ('/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1098 ELSE 1099 IF (((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) And (Not (Identification\Other\SchemeName\Code IsSameString 'CUID'))) 1100 THEN 1101 ('/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1102 ELSE 1103 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 1104 THEN 1105 ('/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1106 ELSE 1107 IF ((Identification\Other\SchemeName\Code IsSameString 'CUID') And ((Identification\Other\Identification Length) Matches '6')) 1108 THEN 1109 ('//CH' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1110 END 1111 END 1112 END 1113 END 1114 END 1115 END 1116 END |
protected void |
translateCashAccount16_Text_PartyId_INDA(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_PartyId : INDA
1373 TRANSLATE(CashAccount16, Text_PartyId) 1374 RULE 1375 IF (Identification\IBAN IsPresent) 1376 THEN 1377 ('/D/' Concatenate Identification\IBAN) CopyTo Text_PartyId 1378 ELSE 1379 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 1380 THEN 1381 ('/D/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1382 ELSE 1383 IF (((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) And (Not (Identification\Other\SchemeName\Code IsSameString 'CUID'))) 1384 THEN 1385 ('/D/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1386 ELSE 1387 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 1388 THEN 1389 ('/D/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1390 ELSE 1391 IF ((Identification\Other\SchemeName\Code IsSameString 'CUID') And ((Identification\Other\Identification Length) Matches '6')) 1392 THEN 1393 ('//CH' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1394 END 1395 END 1396 END 1397 END 1398 END 1399 END 1400 END |
protected void |
translateCashAccount16_Text_PartyId_INGA(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_PartyId : INGA
1401 TRANSLATE(CashAccount16, Text_PartyId) 1402 RULE 1403 IF (Identification\IBAN IsPresent) 1404 THEN 1405 ('/C/' Concatenate Identification\IBAN) CopyTo Text_PartyId 1406 ELSE 1407 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 1408 THEN 1409 ('/C/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1410 ELSE 1411 IF (((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) And (Not (Identification\Other\SchemeName\Code IsSameString 'CUID'))) 1412 THEN 1413 ('/C/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1414 ELSE 1415 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 1416 THEN 1417 ('/C/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1418 ELSE 1419 IF ((Identification\Other\SchemeName\Code IsSameString 'CUID') And ((Identification\Other\Identification Length) Matches '6')) 1420 THEN 1421 ('//CH' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 1422 END 1423 END 1424 END 1425 END 1426 END 1427 END 1428 END |
protected void |
translateCategoryPurpose1Choice_Code_4c_13_CORT(String targetElement,
XmlNode node)
Translate method CategoryPurpose1Choice -> Code_4!c_13 : CORT
68 TRANSLATE(CategoryPurpose1Choice, Code_4!c_13) 69 RULE 70 'CORT' CopyTo Code_4!c_13 71 END 72 END |
protected void |
translateCategoryPurpose1Choice_Code_4c_13_INTC(String targetElement,
XmlNode node)
Translate method CategoryPurpose1Choice -> Code_4!c_13 : INTC
63 TRANSLATE(CategoryPurpose1Choice, Code_4!c_13) 64 RULE 65 'INTC' CopyTo Code_4!c_13 66 END 67 END |
protected void |
translateChargeBearerType1Code_71A_5_Default(String targetElement,
XmlNode node)
Translate method ChargeBearerType1Code -> 71A_5 : Default
2101 TRANSLATE(ChargeBearerType1Code, 71A_5) 2102 RULE 2103 'CRED' EquivalentTo 'BEN' 2104 'DEBT' EquivalentTo 'OUR' 2105 'SHAR' EquivalentTo 'SHA' 2106 'SLEV' EquivalentTo 'SHA' 2107 END 2108 END |
protected void |
translateClearingSystemList_MTClearingSystemList_Default(String targetElement,
XmlNode node)
Translate method ClearingSystemList -> MTClearingSystemList : Default
1154 TRANSLATE(ClearingSystemList, MTClearingSystemList) 1155 RULE 1156 'AUBSB' EquivalentTo 'AU' 1157 'ATBLZ' EquivalentTo 'AT' 1158 'CACPA' EquivalentTo 'CC' 1159 'DEBLZ' EquivalentTo 'BL' 1160 'GRBIC' EquivalentTo 'GR' 1161 'HKNCC' EquivalentTo 'HK' 1162 'INFSC' EquivalentTo 'IN' 1163 'IENCC' EquivalentTo 'IE' 1164 'ITNCC' EquivalentTo 'IT' 1165 'NZNCC' EquivalentTo 'NZ' 1166 'PLKNR' EquivalentTo 'PL' 1167 'PTNCC' EquivalentTo 'PT' 1168 'RUCBC' EquivalentTo 'RU' 1169 'ZANCC' EquivalentTo 'ZA' 1170 'ESNCC' EquivalentTo 'ES' 1171 'CHBCC' EquivalentTo 'SW' 1172 'CHSIC' EquivalentTo 'SW' 1173 'GBDSC' EquivalentTo 'SC' 1174 'USPID' EquivalentTo 'CP' 1175 'USABA' EquivalentTo 'FW' 1176 END 1177 END |
protected void |
translateClearingSystemMemberIdentification2_Complex_Code_Narrative_2_Default(String targetElement,
XmlNode node)
Translate method ClearingSystemMemberIdentification2 -> Complex_Code_Narrative_2 : Default
2140 TRANSLATE(ClearingSystemMemberIdentification2, Complex_Code_Narrative_2) 2141 RULE 2142 NODE (Code) 2143 IF (ClearingSystemMemberIdentification2 IsPresent) 2144 THEN 2145 IF ((ClearingSystemIdentification\Code Substring ('1', '5')) WithinList 'ClearingSystemList') 2146 THEN 2147 'INS' CopyTo Code 2148 ELSE 2149 'INS' CopyTo Code 2150 END 2151 END 2152 END 2153 NODE (Narrative) 2154 IF (ClearingSystemMemberIdentification2 IsPresent) 2155 THEN 2156 IF ((ClearingSystemIdentification\Code Substring ('1', '5')) WithinList 'ClearingSystemList') 2157 THEN 2158 ((((ClearingSystemIdentification\Code Substring ('1', '5')) EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) Concatenate MemberIdentification) Substring ('1', '30')) CopyTo Narrative 2159 ELSE 2160 ((ClearingSystemIdentification\Proprietary Concatenate MemberIdentification) Substring ('1', '30')) CopyTo Narrative 2161 END 2162 END 2163 END 2164 END 2165 END |
protected void |
translateClearingSystemMemberIdentification2_Text_PartyId_Default(String targetElement,
XmlNode node)
Translate method ClearingSystemMemberIdentification2 -> Text_PartyId : Default
1130 TRANSLATE(ClearingSystemMemberIdentification2, Text_PartyId) 1131 RULE 1132 IF (ClearingSystemIdentification IsPresent) 1133 THEN 1134 IF (ClearingSystemIdentification\Code IsPresent) 1135 THEN 1136 IF (ClearingSystemIdentification\Code WithinList 'ClearingSystemList') 1137 THEN 1138 '//' CopyTo Text_PartyId 1139 (ClearingSystemIdentification\Code EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) CopyTo Text_PartyId 1140 MemberIdentification CopyTo Text_PartyId 1141 ELSE 1142 ('//' Concatenate (ClearingSystemIdentification\Code, MemberIdentification)) CopyTo Text_PartyId 1143 END 1144 END 1145 IF (ClearingSystemIdentification\Proprietary IsPresent) 1146 THEN 1147 ('//' Concatenate (ClearingSystemIdentification\Proprietary Concatenate MemberIdentification)) CopyTo Text_PartyId 1148 END 1149 ELSE 1150 ('//' Concatenate MemberIdentification) CopyTo Text_PartyId 1151 END 1152 END 1153 END |
protected void |
translateDateAndPlaceOfBirth_Complex_Number_Details_MTCountryOfBirth(String targetElement,
XmlNode node)
Translate method DateAndPlaceOfBirth -> Complex_Number_Details : MTCountryOfBirth
647 TRANSLATE(DateAndPlaceOfBirth, Complex_Number_Details) 648 RULE 649 NODE (Number) 650 '5' CopyTo Number 651 END 652 NODE (Details) 653 ((CountryOfBirth Concatenate ('/', CityOfBirth)) Substring ('1', '33')) CopyTo Details 654 END 655 END 656 END |
protected void |
translateImpl(MxPacs00800102 source)
Translation rules implementation
|
protected void |
translateInstruction3Code_Code_4c_13_Default(String targetElement,
XmlNode node)
Translate method Instruction3Code -> Code_4!c_13 : Default
83 TRANSLATE(Instruction3Code, Code_4!c_13) 84 RULE 85 'HOLD' EquivalentTo 'HOLD' 86 'PHOB' EquivalentTo 'PHOB' 87 'TELB' EquivalentTo 'TELB' 88 END 89 END |
protected void |
translateInstructionForCreditorAgent1_23E_11_Default(String targetElement,
XmlNode node)
Translate method InstructionForCreditorAgent1 -> 23E_11 : Default
73 TRANSLATE(InstructionForCreditorAgent1, 23E_11) 74 RULE 75 NODE (Instruction Code) 76 Code TranslateTo Instruction Code 77 END 78 NODE (Additional Information) 79 InstructionInformation TranslateTo Additional Information 80 END 81 END 82 END |
protected void |
translateInstructionForCreditorAgent1_Code_4c_13_CHQB(String targetElement,
XmlNode node)
Translate method InstructionForCreditorAgent1 -> Code_4!c_13 : CHQB
95 TRANSLATE(InstructionForCreditorAgent1, Code_4!c_13) 96 RULE 97 'CHQB' CopyTo Code_4!c_13 98 END 99 END |
protected void |
translateInstructionForNextAgent1_23E_11_default(String targetElement,
XmlNode node,
String code)
Translate method InstructionForNextAgent1 -> 23E_11 : default
100 TRANSLATE(InstructionForNextAgent1, 23E_11, code:Max4Text) 101 RULE 102 NODE (Instruction Code) 103 $code CopyTo Instruction Code 104 END 105 NODE (Additional Information) 106 InstructionInformation TranslateTo Additional Information 107 END 108 END 109 END |
protected void |
translateISODate_Complex_Number_Details_MTDateOfBirth(String targetElement,
XmlNode node)
Translate method ISODate -> Complex_Number_Details : MTDateOfBirth
551 TRANSLATE(ISODate, Complex_Number_Details) 552 RULE 553 NODE (Number) 554 '4' CopyTo Number 555 END 556 NODE (Details) 557 (ISODate FormatDateTime ('MX_Date', 'MT_YYYYMMDD')) CopyTo Details 558 END 559 END 560 END |
protected void |
translateISODate_DateTime_YYMMDD_Default(String targetElement,
XmlNode node)
Translate method ISODate -> DateTime_YYMMDD : Default
110 TRANSLATE(ISODate, DateTime_YYMMDD) 111 RULE 112 (ISODate FormatDateTime ('MX_Date', 'MT_YYMMDD')) CopyTo DateTime_YYMMDD 113 END 114 END |
protected void |
translateISODateTime_13C_1_default(String targetElement,
XmlNode node,
String code)
Translate method ISODateTime -> 13C_1 : default
6 TRANSLATE(ISODateTime, 13C_1, code:Max16Text) 7 RULE 8 NODE (Code) 9 $code CopyTo Code 10 END 11 NODE (Time indication) 12 (ISODateTime FormatDateTime ('MX_DateTime', 'MT_HHMM')) CopyTo Time indication 13 END 14 NODE (Sign) 15 IF (((ISODateTime FormatDateTime ('MX_DateTime', 'MT_TimeOffset')) Substring ('1', '1')) IsSameString '-') 16 THEN 17 '-' CopyTo Sign 18 ELSE 19 '+' CopyTo Sign 20 END 21 END 22 NODE (Time offset) 23 IF (((ISODateTime FormatDateTime ('MX_DateTime', 'MT_TimeOffset')) Substring ('1', '1')) IsSameString '-') 24 THEN 25 ((ISODateTime FormatDateTime ('MX_DateTime', 'MT_TimeOffset')) Substring '2') CopyTo Time offset 26 ELSE 27 (ISODateTime FormatDateTime ('MX_DateTime', 'MT_TimeOffset')) CopyTo Time offset 28 END 29 END 30 END 31 END |
protected void |
translateISOTime_13C_1_CLSTIME(String targetElement,
XmlNode node)
Translate method ISOTime -> 13C_1 : CLSTIME
32 TRANSLATE(ISOTime, 13C_1) 33 RULE 34 NODE (Code) 35 'CLSTIME' CopyTo Code 36 END 37 NODE (Time indication) 38 (ISOTime FormatDateTime ('MX_Time', 'MT_HHMM')) CopyTo Time indication 39 END 40 NODE (Sign) 41 IF (((ISOTime FormatDateTime ('MX_Time', 'MT_TimeOffset')) Substring ('1', '1')) IsSameString '-') 42 THEN 43 '-' CopyTo Sign 44 ELSE 45 '+' CopyTo Sign 46 END 47 END 48 NODE (Time offset) 49 IF (((ISOTime FormatDateTime ('MX_Time', 'MT_TimeOffset')) Substring ('1', '1')) IsSameString '-') 50 THEN 51 ((ISOTime FormatDateTime ('MX_Time', 'MT_TimeOffset')) Substring '2') CopyTo Time offset 52 ELSE 53 (ISOTime FormatDateTime ('MX_Time', 'MT_TimeOffset')) CopyTo Time offset 54 END 55 END 56 END 57 END |
protected void |
translateMax140Text_70_2_Default(String targetElement,
XmlNode node,
String paramRemitId,
String paramEndToEndId)
Translate method Max140Text -> 70_2 : Default
2030 TRANSLATE(Max140Text, 70_2, paramRemitId:Max35Text, paramEndToEndId:Max35Text) 2031 RULE 2032 NODE (Narrative) 2033 NODE (Line) 2034 IF (($paramRemitId Length) GreaterThan '0') 2035 THEN 2036 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Substring ('1', '35')) CopyTo Narrative\Line[1] 2037 ELSE 2038 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Substring ('1', '35')) CopyTo Narrative\Line[1] 2039 END 2040 END 2041 NODE (Line) 2042 IF (($paramRemitId Length) GreaterThan '0') 2043 THEN 2044 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Length) GreaterThan '35') 2045 THEN 2046 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Substring ('36', '35')) CopyTo Narrative\Line[2] 2047 END 2048 ELSE 2049 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Length) GreaterThan '35') 2050 THEN 2051 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Substring ('36', '35')) CopyTo Narrative\Line[2] 2052 END 2053 END 2054 END 2055 NODE (Line) 2056 IF (($paramRemitId Length) GreaterThan '0') 2057 THEN 2058 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Length) GreaterThan '70') 2059 THEN 2060 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Substring ('71', '35')) CopyTo Narrative\Line[3] 2061 END 2062 ELSE 2063 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Length) GreaterThan '70') 2064 THEN 2065 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Substring ('71', '35')) CopyTo Narrative\Line[3] 2066 END 2067 END 2068 END 2069 NODE (Line) 2070 IF (($paramRemitId Length) GreaterThan '0') 2071 THEN 2072 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Length) GreaterThan '105') 2073 THEN 2074 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', Max140Text)) Substring ('106', '35')) CopyTo Narrative\Line[4] 2075 END 2076 ELSE 2077 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Length) GreaterThan '105') 2078 THEN 2079 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', Max140Text)) Substring ('106', '35')) CopyTo Narrative\Line[4] 2080 END 2081 END 2082 END 2083 END 2084 END 2085 END |
protected void |
translateMax140Text_Complex_Number_Details_MTNameLine1(String targetElement,
XmlNode node)
Translate method Max140Text -> Complex_Number_Details : MTNameLine1
504 TRANSLATE(Max140Text, Complex_Number_Details) 505 RULE 506 NODE (Number) 507 '1' CopyTo Number 508 END 509 NODE (Details) 510 (Max140Text Substring ('1', '33')) CopyTo Details 511 END 512 END 513 END |
protected void |
translateMax140Text_Complex_Number_Details_MTNameLine2(String targetElement,
XmlNode node)
Translate method Max140Text -> Complex_Number_Details : MTNameLine2
514 TRANSLATE(Max140Text, Complex_Number_Details) 515 RULE 516 NODE (Number) 517 '1' CopyTo Number 518 END 519 NODE (Details) 520 IF ((Max140Text Length) GreaterThan '33') 521 THEN 522 (Max140Text Substring ('34', '33')) CopyTo Details 523 END 524 END 525 END 526 END |
protected void |
translateMax140Text_Text_FIN_30x_Default(String targetElement,
XmlNode node)
Translate method Max140Text -> Text_FIN_30x : Default
90 TRANSLATE(Max140Text, Text_FIN_30x) 91 RULE 92 (Max140Text Substring ('1', '30')) CopyTo Text_FIN_30x 93 END 94 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_70_2_ROC(String targetElement,
XmlNode node)
Translate method Max35Text -> 70_2 : ROC
2086 TRANSLATE(Max35Text, 70_2) 2087 RULE 2088 NODE (Narrative) 2089 NODE (Line) 2090 (('/ROC/' Concatenate Max35Text) Substring ('1', '35')) CopyTo Narrative\Line[1] 2091 END 2092 NODE (Line) 2093 IF ((('/ROC/' Concatenate Max35Text) Length) GreaterThan '35') 2094 THEN 2095 (('/ROC/' Concatenate Max35Text) Substring '36') CopyTo Narrative\Line[2] 2096 END 2097 END 2098 END 2099 END 2100 END |
protected void |
translatePartyIdentification32_Code_4a_4_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Code_4!a_4 : Default
209 TRANSLATE(PartyIdentification32, Code_4!a_4) 210 RULE 211 IF ((Identification\OrganisationIdentification\Other[1]\SchemeName\Code IsSameString 'DUNS') Or (Identification\OrganisationIdentification\Other[1]\SchemeName\Code IsSameString 'GS1G')) 212 THEN 213 'CUST' CopyTo Code_4!a_4 214 ELSE 215 IF (Identification\OrganisationIdentification\Other[1]\SchemeName\Code IsSameString 'TXID') 216 THEN 217 'TXID' CopyTo Code_4!a_4 218 ELSE 219 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'EMPL') 220 THEN 221 'EMPL' CopyTo Code_4!a_4 222 ELSE 223 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'DRLC') 224 THEN 225 'DRLC' CopyTo Code_4!a_4 226 ELSE 227 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST') 228 THEN 229 'CUST' CopyTo Code_4!a_4 230 ELSE 231 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'SOSE') 232 THEN 233 'SOSE' CopyTo Code_4!a_4 234 ELSE 235 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'ARNU') 236 THEN 237 'ARNU' CopyTo Code_4!a_4 238 ELSE 239 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CCPT') 240 THEN 241 'CCPT' CopyTo Code_4!a_4 242 ELSE 243 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'TXID') 244 THEN 245 'TXID' CopyTo Code_4!a_4 246 ELSE 247 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN') 248 THEN 249 'NIDN' CopyTo Code_4!a_4 250 END 251 END 252 END 253 END 254 END 255 END 256 END 257 END 258 END 259 END 260 END 261 END |
protected void |
translatePartyIdentification32_Complex_Number_Details_MTCustomerNumberLine(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Complex_Number_Details : MTCustomerNumberLine
561 TRANSLATE(PartyIdentification32, Complex_Number_Details) 562 RULE 563 NODE (Number) 564 '6' CopyTo Number 565 END 566 NODE (Details) 567 IF ((Identification\PrivateIdentification\Other[*]\Issuer Select ((..\SchemeName\Code IsSameString 'CUST'), '1')) IsPresent) 568 THEN 569 ((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 570 END 571 END 572 END 573 END |
protected void |
translatePartyIdentification32_Complex_Number_Details_MTCustomerNumberLine8(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Complex_Number_Details : MTCustomerNumberLine8
657 TRANSLATE(PartyIdentification32, Complex_Number_Details) 658 RULE 659 NODE (Number) 660 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') 661 THEN 662 '8' CopyTo Number 663 END 664 END 665 NODE (Details) 666 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') 667 THEN 668 ((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 669 END 670 END 671 END 672 END |
protected void |
translatePartyIdentification32_Complex_Number_Details_MTIdentityCardLine(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Complex_Number_Details : MTIdentityCardLine
574 TRANSLATE(PartyIdentification32, Complex_Number_Details) 575 RULE 576 NODE (Number) 577 '7' CopyTo Number 578 END 579 NODE (Details) 580 ((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Substring ('1', '33')) CopyTo Details 581 END 582 END 583 END |
protected void |
translatePartyIdentification32_Complex_Number_Details_MTIdentityCardLine8(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Complex_Number_Details : MTIdentityCardLine8
673 TRANSLATE(PartyIdentification32, Complex_Number_Details) 674 RULE 675 NODE (Number) 676 IF (((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Length) GreaterThan '33') 677 THEN 678 '8' CopyTo Number 679 END 680 END 681 NODE (Details) 682 IF (((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Length) GreaterThan '33') 683 THEN 684 ((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Substring ('34', '33')) CopyTo Details 685 END 686 END 687 END 688 END |
protected void |
translatePartyIdentification32_Complex_Number_Details_PartyIdentifierLine8(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Complex_Number_Details : PartyIdentifierLine8
863 TRANSLATE(PartyIdentification32, Complex_Number_Details) 864 RULE 865 NODE (Number) 866 '8' CopyTo Number 867 END 868 NODE (Details) 869 IF (((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Identification)) Length) GreaterThan '35') 870 THEN 871 ((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Identification)) Substring ('36', '33')) CopyTo Details 872 ELSE 873 IF (((Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST') Or (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'DRLC')) Or (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'EMPL')) 874 THEN 875 IF (((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Issuer, '/', Identification\PrivateIdentification\Other[1]\Identification)) Length) GreaterThan '35') 876 THEN 877 ((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Issuer, '/', Identification\PrivateIdentification\Other[1]\Identification)) Substring ('36', '33')) CopyTo Details 878 END 879 END 880 END 881 END 882 END 883 END |
protected void |
translatePartyIdentification32_Country_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Country : Default
262 TRANSLATE(PartyIdentification32, Country) 263 RULE 264 IF (PostalAddress\Country IsCountry) 265 THEN 266 PostalAddress\Country CopyTo Country 267 END 268 END 269 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
356 TRANSLATE(PartyIdentification32, F50F_3_Name and Address) 357 RULE 358 NODE (Line 2-5) 359 Name TranslateTo Line 2-5[1] 360 END 361 NODE (Line 2-5) 362 IF ((Name Length) GreaterThan '33') 363 THEN 364 Name TranslateTo Line 2-5[2] 365 ELSE 366 IF ((((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And (PostalAddress\Country IsPresent)) And (PostalAddress\TownName IsPresent)) 367 THEN 368 PostalAddress TranslateTo Line 2-5[2] 369 ELSE 370 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 371 THEN 372 Identification\PrivateIdentification\DateAndPlaceOfBirth\BirthDate TranslateTo Line 2-5[2] 373 ELSE 374 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST')) 375 THEN 376 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'CUST') And (PostalAddress\Country IsPresent)) 377 THEN 378 PartyIdentification32 TranslateTo Line 2-5[2] 379 END 380 ELSE 381 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN') 382 THEN 383 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'NIDN') And (PostalAddress IsPresent)) 384 THEN 385 PartyIdentification32 TranslateTo Line 2-5[2] 386 END 387 ELSE 388 IF (((PostalAddress\Country IsPresent) And (PostalAddress\TownName IsPresent)) And (Not ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)))) 389 THEN 390 PostalAddress TranslateTo Line 2-5[2] 391 END 392 END 393 END 394 END 395 END 396 END 397 END 398 NODE (Line 2-5) 399 IF ((Name Length) GreaterThan '33') 400 THEN 401 IF (((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And ((PostalAddress\Country IsPresent) And (PostalAddress\TownName IsPresent))) 402 THEN 403 PostalAddress TranslateTo Line 2-5[3] 404 ELSE 405 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 406 THEN 407 Identification\PrivateIdentification\DateAndPlaceOfBirth\BirthDate TranslateTo Line 2-5[3] 408 ELSE 409 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST')) 410 THEN 411 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'CUST') And (PostalAddress\Country IsPresent)) 412 THEN 413 PartyIdentification32 TranslateTo Line 2-5[3] 414 END 415 ELSE 416 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN')) 417 THEN 418 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'NIDN') And (PostalAddress\Country IsPresent)) 419 THEN 420 PartyIdentification32 TranslateTo Line 2-5[3] 421 END 422 ELSE 423 IF ((PostalAddress\Country IsPresent) And ((PostalAddress\TownName IsPresent) And (Not ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent))))) 424 THEN 425 PostalAddress TranslateTo Line 2-5[3] 426 END 427 END 428 END 429 END 430 END 431 ELSE 432 IF ((((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And (PostalAddress\Country IsPresent)) And (PostalAddress\TownName IsPresent)) 433 THEN 434 IF ((((PostalAddress\AddressLine[1] Length) GreaterThan '33') Or (PostalAddress\AddressLine[2] IsPresent)) Or (((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) GreaterThan '33')) 435 THEN 436 PostalAddress TranslateTo Line 2-5[3] 437 ELSE 438 PostalAddress TranslateTo Line 2-5[3] 439 END 440 ELSE 441 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 442 THEN 443 Identification\PrivateIdentification\DateAndPlaceOfBirth TranslateTo Line 2-5[3] 444 ELSE 445 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST')) 446 THEN 447 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')) 448 THEN 449 PartyIdentification32 TranslateTo Line 2-5[3] 450 END 451 ELSE 452 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN')) 453 THEN 454 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')) 455 THEN 456 PartyIdentification32 TranslateTo Line 2-5[3] 457 END 458 END 459 END 460 END 461 END 462 END 463 END 464 NODE (Line 2-5) 465 IF ((Name Length) GreaterThan '33') 466 THEN 467 IF ((((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And (PostalAddress\Country IsPresent)) And (PostalAddress\TownName IsPresent)) 468 THEN 469 PostalAddress TranslateTo Line 2-5[4] 470 ELSE 471 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 472 THEN 473 Identification\PrivateIdentification\DateAndPlaceOfBirth TranslateTo Line 2-5[4] 474 ELSE 475 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST')) 476 THEN 477 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')) 478 THEN 479 PartyIdentification32 TranslateTo Line 2-5[4] 480 END 481 ELSE 482 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN')) 483 THEN 484 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')) 485 THEN 486 PartyIdentification32 TranslateTo Line 2-5[4] 487 END 488 END 489 END 490 END 491 END 492 ELSE 493 IF ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) 494 THEN 495 IF ((((PostalAddress\AddressLine[1] Length) GreaterThan '33') Or (PostalAddress\AddressLine[2] IsPresent)) Or (((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) GreaterThan '33')) 496 THEN 497 PostalAddress TranslateTo Line 2-5[4] 498 END 499 END 500 END 501 END 502 END 503 END |
protected void |
translatePartyIdentification32_F50F_3_Name_and_Address_IdentifierNumber8_fromsubfield1(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> F50F_3_Name and Address : IdentifierNumber8_fromsubfield1
689 TRANSLATE(PartyIdentification32, F50F_3_Name and Address) 690 RULE 691 NODE (Line 2-5) 692 Name TranslateTo Line 2-5[1] 693 END 694 NODE (Line 2-5) 695 IF ((Name Length) GreaterThan '33') 696 THEN 697 Name TranslateTo Line 2-5[2] 698 ELSE 699 IF ((((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And (PostalAddress\Country IsPresent)) And (PostalAddress\TownName IsPresent)) 700 THEN 701 PostalAddress TranslateTo Line 2-5[2] 702 ELSE 703 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 704 THEN 705 Identification\PrivateIdentification\DateAndPlaceOfBirth\BirthDate TranslateTo Line 2-5[2] 706 ELSE 707 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'CUST') And (PostalAddress\Country IsPresent)) 708 THEN 709 PartyIdentification32 TranslateTo Line 2-5[2] 710 ELSE 711 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'NIDN') And (PostalAddress IsPresent)) 712 THEN 713 PartyIdentification32 TranslateTo Line 2-5[2] 714 ELSE 715 IF (((PostalAddress\Country IsPresent) And (PostalAddress\TownName IsPresent)) And (Not ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)))) 716 THEN 717 PostalAddress TranslateTo Line 2-5[2] 718 END 719 END 720 END 721 END 722 END 723 END 724 IF ((((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Identification)) Length) GreaterThan '35') Or (((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Issuer, '/', Identification\PrivateIdentification\Other[1]\Identification)) Length) GreaterThan '35')) 725 THEN 726 IF (((PostalAddress\Country IsPresent) And (Not (PostalAddress\TownName IsPresent))) And (Not ((PostalAddress\StreetName IsPresent) Or (PostalAddress\AddressLine[*] IsPresent)))) 727 THEN 728 PartyIdentification32 TranslateTo Line 2-5[2] 729 END 730 END 731 END 732 NODE (Line 2-5) 733 IF ((Name Length) GreaterThan '33') 734 THEN 735 IF (((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And ((PostalAddress\Country IsPresent) And (PostalAddress\TownName IsPresent))) 736 THEN 737 PostalAddress TranslateTo Line 2-5[3] 738 ELSE 739 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 740 THEN 741 Identification\PrivateIdentification\DateAndPlaceOfBirth\BirthDate TranslateTo Line 2-5[3] 742 ELSE 743 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'CUST') And (PostalAddress\Country IsPresent)) 744 THEN 745 PartyIdentification32 TranslateTo Line 2-5[3] 746 ELSE 747 IF ((Identification\PrivateIdentification\Other[*]\SchemeName\Code ContainsString 'NIDN') And (PostalAddress\Country IsPresent)) 748 THEN 749 PartyIdentification32 TranslateTo Line 2-5[3] 750 ELSE 751 IF ((PostalAddress\Country IsPresent) And ((PostalAddress\TownName IsPresent) And (Not ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent))))) 752 THEN 753 PostalAddress TranslateTo Line 2-5[3] 754 END 755 END 756 END 757 END 758 END 759 ELSE 760 IF ((((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And (PostalAddress\Country IsPresent)) And (PostalAddress\TownName IsPresent)) 761 THEN 762 IF ((((PostalAddress\AddressLine[1] Length) GreaterThan '33') Or (PostalAddress\AddressLine[2] IsPresent)) Or (((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) GreaterThan '33')) 763 THEN 764 PostalAddress TranslateTo Line 2-5[3] 765 ELSE 766 PostalAddress TranslateTo Line 2-5[3] 767 END 768 ELSE 769 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 770 THEN 771 Identification\PrivateIdentification\DateAndPlaceOfBirth TranslateTo Line 2-5[3] 772 ELSE 773 IF (Not ((((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Identification)) Length) GreaterThan '35') Or (((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Issuer, '/', Identification\PrivateIdentification\Other[1]\Identification)) Length) GreaterThan '35'))) 774 THEN 775 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST')) 776 THEN 777 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')) 778 THEN 779 PartyIdentification32 TranslateTo Line 2-5[3] 780 ELSE 781 IF (Not ((((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Identification)) Length) GreaterThan '35') Or (((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Issuer, '/', Identification\PrivateIdentification\Other[1]\Identification)) Length) GreaterThan '35'))) 782 THEN 783 IF (Not (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN')) 784 THEN 785 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')) 786 THEN 787 PartyIdentification32 TranslateTo Line 2-5[3] 788 END 789 END 790 END 791 END 792 END 793 END 794 END 795 END 796 END 797 IF ((((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Identification)) Length) GreaterThan '35') Or (((Identification\PrivateIdentification\Other[1]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[1]\Issuer, '/', Identification\PrivateIdentification\Other[1]\Identification)) Length) GreaterThan '35')) 798 THEN 799 IF (((PostalAddress\Country IsPresent) And (PostalAddress\TownName IsPresent)) And (Not ((PostalAddress\StreetName IsPresent) Or (PostalAddress\AddressLine[*] IsPresent)))) 800 THEN 801 PartyIdentification32 TranslateTo Line 2-5[3] 802 END 803 END 804 END 805 NODE (Line 2-5) 806 IF ((Name Length) GreaterThan '33') 807 THEN 808 IF ((((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) And (PostalAddress\Country IsPresent)) And (PostalAddress\TownName IsPresent)) 809 THEN 810 PostalAddress TranslateTo Line 2-5[4] 811 ELSE 812 IF (Identification\PrivateIdentification\DateAndPlaceOfBirth IsPresent) 813 THEN 814 Identification\PrivateIdentification\DateAndPlaceOfBirth TranslateTo Line 2-5[4] 815 ELSE 816 IF (Not (((Identification\PrivateIdentification\Other[*]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[*]\Issuer, '/', Identification\PrivateIdentification\Other[*]\Identification)) Length) GreaterThan '35')) 817 THEN 818 IF (((Identification\PrivateIdentification\Other[*]\SchemeName\Code IsSameString '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')) 819 THEN 820 PartyIdentification32 TranslateTo Line 2-5[4] 821 ELSE 822 IF (Not (((Identification\PrivateIdentification\Other[*]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[*]\Identification)) Length) GreaterThan '35')) 823 THEN 824 IF (((Identification\PrivateIdentification\Other[*]\SchemeName\Code IsSameString 'NIDN') And (PostalAddress\Country IsPresent)) And (((PostalAddress\Country Concatenate ('/', (Identification\PrivateIdentification\Other[*]\Identification Select ((..\SchemeName\Code IsSameString 'NIDN'), '1')))) Length) GreaterThan '33')) 825 THEN 826 PartyIdentification32 TranslateTo Line 2-5[4] 827 END 828 END 829 END 830 END 831 END 832 END 833 ELSE 834 IF ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)) 835 THEN 836 IF ((((PostalAddress\AddressLine[1] Length) GreaterThan '33') Or (PostalAddress\AddressLine[2] IsPresent)) Or (((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) GreaterThan '33')) 837 THEN 838 PostalAddress TranslateTo Line 2-5[4] 839 END 840 END 841 END 842 IF ((Name Length) GreaterThan '33') 843 THEN 844 IF ((((Identification\PrivateIdentification\Other[*]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[*]\Identification)) Length) GreaterThan '35') Or (((Identification\PrivateIdentification\Other[*]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[*]\Issuer, '/', Identification\PrivateIdentification\Other[*]\Identification)) Length) GreaterThan '35')) 845 THEN 846 IF (((PostalAddress\Country IsPresent) And (PostalAddress\TownName IsPresent)) And (Not ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent)))) 847 THEN 848 PartyIdentification32 TranslateTo Line 2-5[4] 849 END 850 END 851 ELSE 852 IF ((((Identification\PrivateIdentification\Other[*]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[*]\Identification)) Length) GreaterThan '35') Or (((Identification\PrivateIdentification\Other[*]\SchemeName\Code Concatenate ('/', PostalAddress\Country, '/', Identification\PrivateIdentification\Other[*]\Issuer, '/', Identification\PrivateIdentification\Other[*]\Identification)) Length) GreaterThan '35')) 853 THEN 854 IF (((PostalAddress\Country IsPresent) And (PostalAddress\TownName IsPresent)) And ((PostalAddress\AddressLine[*] IsPresent) Or (PostalAddress\StreetName IsPresent))) 855 THEN 856 PartyIdentification32 TranslateTo Line 2-5[4] 857 END 858 END 859 END 860 END 861 END 862 END |
protected void |
translatePartyIdentification32_Identifier_BICFIOrNonFI_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Identifier_BICFIOrNonFI : Default
178 TRANSLATE(PartyIdentification32, Identifier_BICFIOrNonFI) 179 RULE 180 IF (Identification\OrganisationIdentification\BICOrBEI IsPresent) 181 THEN 182 Identification\OrganisationIdentification\BICOrBEI CopyTo Identifier_BICFIOrNonFI 183 END 184 END 185 END |
protected void |
translatePartyIdentification32_Identifier_FIN_27x_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Identifier_FIN_27x : Default
270 TRANSLATE(PartyIdentification32, Identifier_FIN_27x) 271 RULE 272 IF (Identification\OrganisationIdentification\Other[1]\SchemeName\Code IsSameString 'DUNS') 273 THEN 274 ('DUNS/' Concatenate Identification\OrganisationIdentification\Other[1]\Identification) CopyTo Identifier_FIN_27x 275 ELSE 276 IF (Identification\OrganisationIdentification\Other[1]\SchemeName\Code IsSameString 'GS1G') 277 THEN 278 ('GS1G/' Concatenate Identification\OrganisationIdentification\Other[1]\Identification) CopyTo Identifier_FIN_27x 279 ELSE 280 IF (Identification\OrganisationIdentification\Other[1]\SchemeName\Code IsSameString 'TXID') 281 THEN 282 Identification\OrganisationIdentification\Other[1]\Identification CopyTo Identifier_FIN_27x 283 ELSE 284 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'DRLC') 285 THEN 286 IF (Identification\PrivateIdentification\Other[1]\Issuer IsPresent) 287 THEN 288 ((Identification\PrivateIdentification\Other[1]\Issuer Concatenate ('/', Identification\PrivateIdentification\Other[1]\Identification)) Substring ('1', '27')) CopyTo Identifier_FIN_27x 289 END 290 ELSE 291 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CUST') 292 THEN 293 IF (Identification\PrivateIdentification\Other[1]\Issuer IsPresent) 294 THEN 295 ((Identification\PrivateIdentification\Other[1]\Issuer Concatenate ('/', Identification\PrivateIdentification\Other[1]\Identification)) Substring ('1', '27')) CopyTo Identifier_FIN_27x 296 ELSE 297 (Identification\PrivateIdentification\Other[1]\Identification Substring ('1', '27')) CopyTo Identifier_FIN_27x 298 END 299 ELSE 300 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'SOSE') 301 THEN 302 (Identification\PrivateIdentification\Other[1]\Identification Substring ('1', '27')) CopyTo Identifier_FIN_27x 303 ELSE 304 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'ARNU') 305 THEN 306 (Identification\PrivateIdentification\Other[1]\Identification Substring ('1', '27')) CopyTo Identifier_FIN_27x 307 ELSE 308 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'CCPT') 309 THEN 310 (Identification\PrivateIdentification\Other[1]\Identification Substring ('1', '27')) CopyTo Identifier_FIN_27x 311 ELSE 312 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'ARNU') 313 THEN 314 (Identification\PrivateIdentification\Other[1]\Identification Substring ('1', '27')) CopyTo Identifier_FIN_27x 315 ELSE 316 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'TXID') 317 THEN 318 (Identification\PrivateIdentification\Other[1]\Identification Substring ('1', '27')) CopyTo Identifier_FIN_27x 319 ELSE 320 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'NIDN') 321 THEN 322 (Identification\PrivateIdentification\Other[1]\Identification Substring ('1', '27')) CopyTo Identifier_FIN_27x 323 ELSE 324 IF (Identification\PrivateIdentification\Other[1]\SchemeName\Code IsSameString 'EMPL') 325 THEN 326 IF (Identification\PrivateIdentification\Other[1]\Issuer IsPresent) 327 THEN 328 ((Identification\PrivateIdentification\Other[1]\Issuer Concatenate ('/', Identification\PrivateIdentification\Other[1]\Identification)) Substring ('1', '27')) CopyTo Identifier_FIN_27x 329 ELSE 330 (Identification\PrivateIdentification\Other[1]\Identification Substring ('1', '27')) CopyTo Identifier_FIN_27x 331 END 332 ELSE 333 IF (Identification\OrganisationIdentification\Other[1]\SchemeName\Code IsSameString 'CUST') 334 THEN 335 ((Identification\OrganisationIdentification\Other[1]\Issuer Concatenate ('/', Identification\OrganisationIdentification\Other[1]\Identification)) Substring ('1', '27')) CopyTo Identifier_FIN_27x 336 ELSE 337 IF (Identification\OrganisationIdentification\Other[1]\SchemeName\Code IsSameString 'EMPL') 338 THEN 339 ((Identification\OrganisationIdentification\Other[1]\Issuer Concatenate ('/', Identification\OrganisationIdentification\Other[1]\Identification)) Substring ('1', '27')) CopyTo Identifier_FIN_27x 340 END 341 END 342 END 343 END 344 END 345 END 346 END 347 END 348 END 349 END 350 END 351 END 352 END 353 END 354 END 355 END |
protected void |
translatePartyIdentification32_Text_FIN_4M35x_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification32 -> Text_FIN_4M35x : Default
884 TRANSLATE(PartyIdentification32, Text_FIN_4M35x) 885 RULE 886 NODE (Line) 887 IF ((Name IsPresent) And (PostalAddress IsPresent)) 888 THEN 889 (Name Substring ('1', '35')) CopyTo Line[1] 890 ELSE 891 IF (Name IsPresent) 892 THEN 893 (Name Substring ('1', '35')) CopyTo Line[1] 894 END 895 END 896 END 897 NODE (Line) 898 IF ((Name Length) GreaterThan '35') 899 THEN 900 (Name Substring ('36', '35')) CopyTo Line[2] 901 ELSE 902 IF (PostalAddress IsPresent) 903 THEN 904 IF (PostalAddress\StreetName IsPresent) 905 THEN 906 PostalAddress TranslateTo Line[2] 907 ELSE 908 IF ((PostalAddress\Country IsPresent) Or (PostalAddress\TownName IsPresent)) 909 THEN 910 PostalAddress TranslateTo Line[2] 911 ELSE 912 IF (PostalAddress\AddressLine[*] IsPresent) 913 THEN 914 PostalAddress TranslateTo Line[2] 915 END 916 END 917 END 918 END 919 END 920 END 921 NODE (Line) 922 IF ((Name Length) GreaterThan '35') 923 THEN 924 IF (PostalAddress IsPresent) 925 THEN 926 IF (PostalAddress\StreetName IsPresent) 927 THEN 928 PostalAddress TranslateTo Line[3] 929 ELSE 930 IF ((PostalAddress\Country IsPresent) Or (PostalAddress\TownName IsPresent)) 931 THEN 932 PostalAddress TranslateTo Line[3] 933 ELSE 934 IF (PostalAddress\AddressLine[*] IsPresent) 935 THEN 936 PostalAddress TranslateTo Line[3] 937 END 938 END 939 END 940 END 941 ELSE 942 IF (PostalAddress IsPresent) 943 THEN 944 IF (PostalAddress\StreetName IsPresent) 945 THEN 946 IF (((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) GreaterThan '35') 947 THEN 948 PostalAddress TranslateTo Line[3] 949 ELSE 950 IF ((PostalAddress\Country IsPresent) Or (PostalAddress\TownName IsPresent)) 951 THEN 952 PostalAddress TranslateTo Line[3] 953 END 954 END 955 ELSE 956 IF (PostalAddress\AddressLine[*] IsPresent) 957 THEN 958 PostalAddress TranslateTo Line[3] 959 END 960 END 961 END 962 END 963 END 964 NODE (Line) 965 IF ((Name Length) GreaterThan '35') 966 THEN 967 IF (PostalAddress IsPresent) 968 THEN 969 IF (PostalAddress\StreetName IsPresent) 970 THEN 971 IF ((PostalAddress\Country IsPresent) Or (PostalAddress\TownName IsPresent)) 972 THEN 973 PostalAddress TranslateTo Line[4] 974 END 975 ELSE 976 IF (PostalAddress\AddressLine[*] IsPresent) 977 THEN 978 PostalAddress TranslateTo Line[4] 979 END 980 END 981 END 982 ELSE 983 IF (PostalAddress IsPresent) 984 THEN 985 IF (PostalAddress\StreetName IsPresent) 986 THEN 987 IF ((((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) GreaterThan '35') And (((PostalAddress\StreetName Concatenate (' ', PostalAddress\BuildingNumber)) Length) LessThan '71')) 988 THEN 989 IF ((PostalAddress\Country IsPresent) Or (PostalAddress\TownName IsPresent)) 990 THEN 991 PostalAddress TranslateTo Line[4] 992 END 993 END 994 ELSE 995 IF (PostalAddress\AddressLine[*] IsPresent) 996 THEN 997 PostalAddress TranslateTo Line[4] 998 END 999 END 1000 END 1001 END 1002 END 1003 END 1004 END |
protected void |
translatePostalAddress6_Complex_Number_Details_MTAddressLine1(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Complex_Number_Details : MTAddressLine1
527 TRANSLATE(PostalAddress6, Complex_Number_Details) 528 RULE 529 NODE (Number) 530 IF ((Country IsPresent) And (TownName IsPresent)) 531 THEN 532 '2' CopyTo Number 533 END 534 END 535 NODE (Details) 536 IF ((Country IsPresent) And (TownName IsPresent)) 537 THEN 538 IF (StreetName IsPresent) 539 THEN 540 ((StreetName Concatenate (' ', BuildingNumber)) Substring ('1', '33')) CopyTo Details 541 ELSE 542 IF (AddressLine[1] IsPresent) 543 THEN 544 (AddressLine[1] Substring ('1', '33')) CopyTo Details 545 END 546 END 547 END 548 END 549 END 550 END |
protected void |
translatePostalAddress6_Complex_Number_Details_MTAddressLine2(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Complex_Number_Details : MTAddressLine2
610 TRANSLATE(PostalAddress6, Complex_Number_Details) 611 RULE 612 NODE (Number) 613 IF (AddressLine[*] IsPresent) 614 THEN 615 IF ((StreetName IsPresent) And (((StreetName Concatenate (' ', BuildingNumber)) Length) GreaterThan '33')) 616 THEN 617 '2' CopyTo Number 618 ELSE 619 IF (((AddressLine[1] Length) GreaterThan '33') Or (AddressLine[2] IsPresent)) 620 THEN 621 '2' CopyTo Number 622 END 623 END 624 END 625 END 626 NODE (Details) 627 IF ((StreetName IsPresent) And (((StreetName Concatenate (' ', BuildingNumber)) Length) GreaterThan '33')) 628 THEN 629 ((StreetName Concatenate (' ', BuildingNumber)) Substring ('34', '33')) CopyTo Details 630 ELSE 631 IF (AddressLine[*] IsPresent) 632 THEN 633 IF ((AddressLine[1] Length) GreaterThan '33') 634 THEN 635 (AddressLine[1] Substring ('34', '33')) CopyTo Details 636 ELSE 637 IF (AddressLine[2] IsPresent) 638 THEN 639 (AddressLine[2] Substring ('1', '33')) CopyTo Details 640 END 641 END 642 END 643 END 644 END 645 END 646 END |
protected void |
translatePostalAddress6_Complex_Number_Details_MTCountryTown(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Complex_Number_Details : MTCountryTown
584 TRANSLATE(PostalAddress6, Complex_Number_Details) 585 RULE 586 NODE (Number) 587 IF ((Country IsPresent) And (TownName IsPresent)) 588 THEN 589 '3' CopyTo Number 590 END 591 END 592 NODE (Details) 593 IF (TownName IsPresent) 594 THEN 595 IF (((Country Concatenate ('/', TownName, '/', PostCode)) Length) GreaterThan '33') 596 THEN 597 ((Country Concatenate ('/', TownName)) Substring ('1', '33')) CopyTo Details 598 ELSE 599 IF (PostCode IsPresent) 600 THEN 601 (Country Concatenate ('/', TownName, '/', PostCode)) CopyTo Details 602 ELSE 603 (Country Concatenate ('/', TownName)) CopyTo Details 604 END 605 END 606 END 607 END 608 END 609 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine1_Unstructured(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine1_Unstructured
1048 TRANSLATE(PostalAddress6, Text_FIN_35x) 1049 RULE 1050 (AddressLine[1] Substring ('1', '35')) CopyTo Text_FIN_35x 1051 END 1052 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine1(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine1
1005 TRANSLATE(PostalAddress6, Text_FIN_35x) 1006 RULE 1007 ((StreetName Concatenate (' ', BuildingNumber)) Substring ('1', '35')) CopyTo Text_FIN_35x 1008 END 1009 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine2_Unstructured(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine2_Unstructured
1061 TRANSLATE(PostalAddress6, Text_FIN_35x) 1062 RULE 1063 IF ((AddressLine[1] Length) GreaterThan '35') 1064 THEN 1065 (AddressLine[1] Substring ('36', '35')) CopyTo Text_FIN_35x 1066 ELSE 1067 (AddressLine[2] Substring ('1', '35')) CopyTo Text_FIN_35x 1068 END 1069 END 1070 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine2(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine2
1053 TRANSLATE(PostalAddress6, Text_FIN_35x) 1054 RULE 1055 IF ((StreetName IsPresent) And (((StreetName Concatenate (' ', BuildingNumber)) Length) GreaterThan '35')) 1056 THEN 1057 ((StreetName Concatenate (' ', BuildingNumber)) Substring ('36', '35')) CopyTo Text_FIN_35x 1058 END 1059 END 1060 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine3_Unstructured(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine3_Unstructured
1071 TRANSLATE(PostalAddress6, Text_FIN_35x) 1072 RULE 1073 IF ((AddressLine[1] IsPresent) And ((AddressLine[1] Length) GreaterThan '35')) 1074 THEN 1075 IF (AddressLine[2] IsPresent) 1076 THEN 1077 (AddressLine[2] Substring ('1', '35')) CopyTo Text_FIN_35x 1078 END 1079 ELSE 1080 IF ((AddressLine[2] IsPresent) And ((AddressLine[2] Length) GreaterThan '35')) 1081 THEN 1082 (AddressLine[2] Substring ('36', '35')) CopyTo Text_FIN_35x 1083 ELSE 1084 (AddressLine[3] Substring ('1', '35')) CopyTo Text_FIN_35x 1085 END 1086 END 1087 END 1088 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine3(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine3
1314 TRANSLATE(PostalAddress6, Text_FIN_35x) 1315 RULE 1316 ((StreetName Concatenate (' ', BuildingNumber)) Substring '71') CopyTo Text_FIN_35x 1317 END 1318 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTCountryTown(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTCountryTown
1010 TRANSLATE(PostalAddress6, Text_FIN_35x) 1011 RULE 1012 IF (Country IsPresent) 1013 THEN 1014 IF (TownName IsPresent) 1015 THEN 1016 IF (((Country Concatenate ('/', TownName, '/', PostCode)) Length) GreaterThan '35') 1017 THEN 1018 ((Country Concatenate ('/', TownName)) Substring ('1', '32')) CopyTo Text_FIN_35x 1019 ELSE 1020 IF (PostCode IsPresent) 1021 THEN 1022 (Country Concatenate ('/', TownName, '/', PostCode)) CopyTo Text_FIN_35x 1023 ELSE 1024 (Country Concatenate ('/', TownName)) CopyTo Text_FIN_35x 1025 END 1026 END 1027 ELSE 1028 Country CopyTo Text_FIN_35x 1029 END 1030 ELSE 1031 IF ((TownName IsPresent) And (((TownName Concatenate PostCode) Length) GreaterThan '35')) 1032 THEN 1033 TownName CopyTo Text_FIN_35x 1034 ELSE 1035 IF ((PostCode IsPresent) And (TownName IsPresent)) 1036 THEN 1037 (TownName Concatenate ('/', PostCode)) CopyTo Text_FIN_35x 1038 ELSE 1039 IF (TownName IsPresent) 1040 THEN 1041 TownName CopyTo Text_FIN_35x 1042 END 1043 END 1044 END 1045 END 1046 END 1047 END |
protected void |
translateServiceLevel8Choice_Code_4c_13_SDVA(String targetElement,
XmlNode node)
Translate method ServiceLevel8Choice -> Code_4!c_13 : SDVA
58 TRANSLATE(ServiceLevel8Choice, Code_4!c_13) 59 RULE 60 'SDVA' CopyTo Code_4!c_13 61 END 62 END |
protected void |
translateStructuredRemittanceInformation7_70_2_Default(String targetElement,
XmlNode node,
String paramEndToEndId,
String paramRemitId)
Translate method StructuredRemittanceInformation7 -> 70_2 : Default
1486 TRANSLATE(StructuredRemittanceInformation7, 70_2, paramEndToEndId:Max35Text, paramRemitId:Max35Text) 1487 RULE 1488 NODE (Narrative) 1489 NODE (Line) 1490 IF (($paramRemitId Length) GreaterThan '0') 1491 THEN 1492 IF (ReferredDocumentInformation[*]\Number IsPresent) 1493 THEN 1494 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1495 THEN 1496 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1497 THEN 1498 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1499 THEN 1500 (('/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] 1501 ELSE 1502 (('/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] 1503 END 1504 ELSE 1505 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1506 THEN 1507 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1508 ELSE 1509 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1510 END 1511 END 1512 ELSE 1513 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1514 THEN 1515 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1516 THEN 1517 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', (ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')), ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1518 ELSE 1519 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', (ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')), ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1520 END 1521 ELSE 1522 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1523 THEN 1524 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1525 ELSE 1526 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1527 END 1528 END 1529 END 1530 ELSE 1531 IF (CreditorReferenceInformation\Reference IsPresent) 1532 THEN 1533 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1534 END 1535 END 1536 ELSE 1537 IF (ReferredDocumentInformation[*]\Number IsPresent) 1538 THEN 1539 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1540 THEN 1541 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1542 THEN 1543 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1544 THEN 1545 (('/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] 1546 ELSE 1547 (('/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] 1548 END 1549 ELSE 1550 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1551 THEN 1552 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1553 ELSE 1554 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('1', '35')) CopyTo Narrative\Line[1] 1555 END 1556 END 1557 ELSE 1558 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1559 THEN 1560 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1561 THEN 1562 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount\DuePayableAmount\Amount)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1563 ELSE 1564 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount\DuePayableAmount\Amount)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1565 END 1566 ELSE 1567 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1568 THEN 1569 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1570 ELSE 1571 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1572 END 1573 END 1574 END 1575 ELSE 1576 IF (CreditorReferenceInformation\Reference IsPresent) 1577 THEN 1578 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('1', '35')) CopyTo Narrative\Line[1] 1579 END 1580 END 1581 END 1582 END 1583 NODE (Line) 1584 IF (($paramRemitId Length) GreaterThan '0') 1585 THEN 1586 IF (ReferredDocumentInformation[*]\Number IsPresent) 1587 THEN 1588 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1589 THEN 1590 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1591 THEN 1592 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1593 THEN 1594 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') 1595 THEN 1596 (('/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] 1597 END 1598 ELSE 1599 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') 1600 THEN 1601 (('/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] 1602 END 1603 END 1604 ELSE 1605 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1606 THEN 1607 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '35') 1608 THEN 1609 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1610 END 1611 ELSE 1612 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '35') 1613 THEN 1614 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1615 END 1616 END 1617 END 1618 ELSE 1619 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1620 THEN 1621 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1622 THEN 1623 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '35') 1624 THEN 1625 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1626 END 1627 ELSE 1628 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount\DuePayableAmount\Amount)) Length) GreaterThan '35') 1629 THEN 1630 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1631 END 1632 END 1633 ELSE 1634 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1635 THEN 1636 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '35') 1637 THEN 1638 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1639 END 1640 ELSE 1641 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '35') 1642 THEN 1643 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1644 END 1645 END 1646 END 1647 END 1648 ELSE 1649 IF (CreditorReferenceInformation\Reference IsPresent) 1650 THEN 1651 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '35') 1652 THEN 1653 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1654 END 1655 END 1656 END 1657 ELSE 1658 IF (ReferredDocumentInformation[*]\Number IsPresent) 1659 THEN 1660 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1661 THEN 1662 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1663 THEN 1664 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1665 THEN 1666 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') 1667 THEN 1668 (('/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] 1669 END 1670 ELSE 1671 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') 1672 THEN 1673 (('/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] 1674 END 1675 END 1676 ELSE 1677 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1678 THEN 1679 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '35') 1680 THEN 1681 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1682 END 1683 ELSE 1684 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '35') 1685 THEN 1686 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('36', '35')) CopyTo Narrative\Line[2] 1687 END 1688 END 1689 END 1690 ELSE 1691 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1692 THEN 1693 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1694 THEN 1695 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '35') 1696 THEN 1697 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1698 END 1699 ELSE 1700 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '35') 1701 THEN 1702 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1703 END 1704 END 1705 ELSE 1706 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1707 THEN 1708 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '35') 1709 THEN 1710 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1711 END 1712 ELSE 1713 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '35') 1714 THEN 1715 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1716 END 1717 END 1718 END 1719 END 1720 ELSE 1721 IF (CreditorReferenceInformation\Reference IsPresent) 1722 THEN 1723 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '35') 1724 THEN 1725 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('36', '35')) CopyTo Narrative\Line[2] 1726 END 1727 END 1728 END 1729 END 1730 END 1731 NODE (Line) 1732 IF (($paramRemitId Length) GreaterThan '0') 1733 THEN 1734 IF (ReferredDocumentInformation[*]\Number IsPresent) 1735 THEN 1736 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1737 THEN 1738 IF (ReferredDocumentAmount\DuePayableAmount IsPresent) 1739 THEN 1740 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1741 THEN 1742 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') 1743 THEN 1744 (('/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] 1745 END 1746 ELSE 1747 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') 1748 THEN 1749 (('/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] 1750 END 1751 END 1752 ELSE 1753 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1754 THEN 1755 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '70') 1756 THEN 1757 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1758 END 1759 ELSE 1760 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '70') 1761 THEN 1762 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1763 END 1764 END 1765 END 1766 ELSE 1767 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1768 THEN 1769 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1770 THEN 1771 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '70') 1772 THEN 1773 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1774 END 1775 ELSE 1776 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '70') 1777 THEN 1778 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1779 END 1780 END 1781 ELSE 1782 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1783 THEN 1784 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '70') 1785 THEN 1786 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1787 END 1788 ELSE 1789 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '70') 1790 THEN 1791 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1792 END 1793 END 1794 END 1795 END 1796 ELSE 1797 IF (CreditorReferenceInformation\Reference IsPresent) 1798 THEN 1799 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '70') 1800 THEN 1801 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1802 END 1803 END 1804 END 1805 ELSE 1806 IF (ReferredDocumentInformation[*]\Number IsPresent) 1807 THEN 1808 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1809 THEN 1810 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1811 THEN 1812 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1813 THEN 1814 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') 1815 THEN 1816 (('/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] 1817 END 1818 ELSE 1819 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') 1820 THEN 1821 (('/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] 1822 END 1823 END 1824 ELSE 1825 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1826 THEN 1827 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '70') 1828 THEN 1829 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1830 END 1831 ELSE 1832 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '70') 1833 THEN 1834 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('71', '35')) CopyTo Narrative\Line[3] 1835 END 1836 END 1837 END 1838 ELSE 1839 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1840 THEN 1841 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1842 THEN 1843 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '70') 1844 THEN 1845 (('/ROC/' Concatenate ($paramEndToEndId, '//INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1846 END 1847 ELSE 1848 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '70') 1849 THEN 1850 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1851 END 1852 END 1853 ELSE 1854 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1855 THEN 1856 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '70') 1857 THEN 1858 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1859 END 1860 ELSE 1861 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '70') 1862 THEN 1863 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1864 END 1865 END 1866 END 1867 END 1868 ELSE 1869 IF (CreditorReferenceInformation\Reference IsPresent) 1870 THEN 1871 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '70') 1872 THEN 1873 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('71', '35')) CopyTo Narrative\Line[3] 1874 END 1875 END 1876 END 1877 END 1878 END 1879 NODE (Line) 1880 IF (($paramRemitId Length) GreaterThan '0') 1881 THEN 1882 IF (ReferredDocumentInformation[*]\Number IsPresent) 1883 THEN 1884 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1885 THEN 1886 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1887 THEN 1888 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1889 THEN 1890 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') 1891 THEN 1892 (('/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] 1893 END 1894 ELSE 1895 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') 1896 THEN 1897 (('/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] 1898 END 1899 END 1900 ELSE 1901 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1902 THEN 1903 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '105') 1904 THEN 1905 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1906 END 1907 ELSE 1908 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '105') 1909 THEN 1910 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1911 END 1912 END 1913 END 1914 ELSE 1915 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1916 THEN 1917 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1918 THEN 1919 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '105') 1920 THEN 1921 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1922 END 1923 ELSE 1924 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '105') 1925 THEN 1926 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1927 END 1928 END 1929 ELSE 1930 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1931 THEN 1932 IF ((('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '105') 1933 THEN 1934 (('/ROC/' Concatenate ($paramRemitId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1935 END 1936 ELSE 1937 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '105') 1938 THEN 1939 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1940 END 1941 END 1942 END 1943 END 1944 ELSE 1945 IF (CreditorReferenceInformation\Reference IsPresent) 1946 THEN 1947 IF ((('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '105') 1948 THEN 1949 (('/ROC/' Concatenate ($paramRemitId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1950 END 1951 END 1952 END 1953 ELSE 1954 IF (ReferredDocumentInformation[*]\Number IsPresent) 1955 THEN 1956 IF (ReferredDocumentInformation[*]\RelatedDate IsPresent) 1957 THEN 1958 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1959 THEN 1960 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1961 THEN 1962 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') 1963 THEN 1964 (('/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] 1965 END 1966 ELSE 1967 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') 1968 THEN 1969 (('/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] 1970 END 1971 END 1972 ELSE 1973 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1974 THEN 1975 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '105') 1976 THEN 1977 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1978 END 1979 ELSE 1980 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Length) GreaterThan '105') 1981 THEN 1982 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ((ReferredDocumentInformation[*]\RelatedDate Select (*NULL*, '1')) FormatDateTime ('MX_Date', 'MT_YYYYMMDD')))) Substring ('106', '35')) CopyTo Narrative\Line[4] 1983 END 1984 END 1985 END 1986 ELSE 1987 IF (ReferredDocumentAmount[*]\DuePayableAmount IsPresent) 1988 THEN 1989 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 1990 THEN 1991 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '105') 1992 THEN 1993 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1994 END 1995 ELSE 1996 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Length) GreaterThan '105') 1997 THEN 1998 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number, '/', ReferredDocumentAmount[*]\DuePayableAmount\Currency, ReferredDocumentAmount[*]\DuePayableAmount\Amount)) Substring ('106', '35')) CopyTo Narrative\Line[4] 1999 END 2000 END 2001 ELSE 2002 IF (ReferredDocumentInformation[*]\Type\CodeOrProprietary\Code IsSameString 'CINV') 2003 THEN 2004 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '105') 2005 THEN 2006 (('/ROC/' Concatenate ($paramEndToEndId, '///INV/', ReferredDocumentInformation[*]\Number)) Substring ('106', '35')) CopyTo Narrative\Line[4] 2007 END 2008 ELSE 2009 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Length) GreaterThan '105') 2010 THEN 2011 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', ReferredDocumentInformation[*]\Number)) Substring ('106', '35')) CopyTo Narrative\Line[4] 2012 END 2013 END 2014 END 2015 END 2016 ELSE 2017 IF (CreditorReferenceInformation\Reference IsPresent) 2018 THEN 2019 IF ((('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Length) GreaterThan '105') 2020 THEN 2021 (('/ROC/' Concatenate ($paramEndToEndId, '///RFB/', CreditorReferenceInformation\Reference)) Substring ('106', '35')) CopyTo Narrative\Line[4] 2022 END 2023 END 2024 END 2025 END 2026 END 2027 END 2028 END 2029 END |
public MxPacs00800102_MT103_Translation()
public final MT103 translate(MxPacs00800102 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MxPacs00800102 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MxPacs00800102 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MxPacs00800102 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 translateISODateTime_13C_1_default(String targetElement, XmlNode node, String code)
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 translateISOTime_13C_1_CLSTIME(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 translateServiceLevel8Choice_Code_4c_13_SDVA(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_13_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 translateCategoryPurpose1Choice_Code_4c_13_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_11_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 translateInstruction3Code_Code_4c_13_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 translateInstructionForCreditorAgent1_Code_4c_13_CHQB(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 translateInstructionForNextAgent1_23E_11_default(String targetElement, XmlNode node, String code)
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_DateTime_YYMMDD_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 translateActiveCurrencyAndAmount_32A_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 translateActiveCurrencyAndAmount_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 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 translateBaseOneRate_36_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_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_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 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_Code_4a_4_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_Country_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_FIN_27x_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_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 translatePartyIdentification32_F50F_3_Name_and_Address_IdentifierNumber8_fromsubfield1(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_PartyIdentifierLine8(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 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_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 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_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_PartyId_INDA(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_INGA(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_MTClearingIdentifierAndChannel(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 translateStructuredRemittanceInformation7_70_2_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_2_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_2_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 translateChargeBearerType1Code_71A_5_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 translateActiveOrHistoricCurrencyAndAmount_71F_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_Complex_Code_Narrative_2_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_Complex_Code_Narrative_2_Clearing(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_Complex_Code_Narrative_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 addedpublic final Boolean logicalMessageCriteriaCheck(MxPacs00800102 source)
source
- a well formed MxPacs00800102 objectpublic final void preconditionSR1Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR2Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR3Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR4Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR5Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR6Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR7Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR8Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR9Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR10Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR11Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR12Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR13Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR14Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR15Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR16Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR17Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR18Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR19Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR20Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR21Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR22Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR23Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR24Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR25Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR26Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR27Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR28Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final void preconditionSR29Check(MxPacs00800102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00800102 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MxPacs00800102 source)
preconditionSR1Check(MxPacs00800102)
,
preconditionSR2Check(MxPacs00800102)
,
preconditionSR3Check(MxPacs00800102)
,
preconditionSR4Check(MxPacs00800102)
,
preconditionSR5Check(MxPacs00800102)
,
preconditionSR6Check(MxPacs00800102)
,
preconditionSR7Check(MxPacs00800102)
,
preconditionSR8Check(MxPacs00800102)
,
preconditionSR9Check(MxPacs00800102)
,
preconditionSR10Check(MxPacs00800102)
,
preconditionSR11Check(MxPacs00800102)
,
preconditionSR12Check(MxPacs00800102)
,
preconditionSR13Check(MxPacs00800102)
,
preconditionSR14Check(MxPacs00800102)
,
preconditionSR15Check(MxPacs00800102)
,
preconditionSR16Check(MxPacs00800102)
,
preconditionSR17Check(MxPacs00800102)
,
preconditionSR18Check(MxPacs00800102)
,
preconditionSR19Check(MxPacs00800102)
,
preconditionSR20Check(MxPacs00800102)
,
preconditionSR21Check(MxPacs00800102)
,
preconditionSR22Check(MxPacs00800102)
,
preconditionSR23Check(MxPacs00800102)
,
preconditionSR24Check(MxPacs00800102)
,
preconditionSR25Check(MxPacs00800102)
,
preconditionSR26Check(MxPacs00800102)
,
preconditionSR27Check(MxPacs00800102)
,
preconditionSR28Check(MxPacs00800102)
,
return a list with a precondition errors for each failed check, or an empty list if all preconditions are satisfied