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