Hi Eva,
Thank you for posting this issue.
If you open the Credit Transfer format in designer and navigate to the ISO20022CTReports/XMLHeader/Document/CstmrCdtTrfInitn/PmtInf/CdtTrfTxInf then select Mapping from right side, you will find the following:
1) Next to the tag you will see a question mark (or not depending on the format) and this means that there is a condition defined on the right bottom where you find label Enabled and depending on this condition met or not, the tag is printed.
2) The value printed is written like this CdtTrfTxInf? = @.lines. Click on View formula to see complete formula. For the example I chose I see:
'$PaymentByDebtor'.lines
If I expand CdtTrfTxInf to choose RmtInf | Strd |RfrdDocInf| Nb | DocumentNumber for example I find that this is coming from '$PaymentByDebtor'.lines.Remittance.StructuredRemittances.ReferredDocuments.Number
Then I use this path to search and navigate in mapping
If I want to see from where this data is coming from, I need to open Payment model mapping 1611.
So duplicate tab and open the mapping in designer, Definition=CustomerCreditTransferInitiation as we are looking into the Vendor payment format., click Designer.
Navigate on the right side to Payments| Remittance|Structured Remittances | Referred Documents| Number I find this formula:
'$notSentTransactions'.'$allRemittancevendTransactions'.Invoice
Then I take this formula to search in data sources. Expand $notSentTransactions. For each node you can see the formula. For example here
WHERE(transactions, OR(transactions.PaymentStatus=CustVendPaymStatus.None, transactions.PaymentStatus=CustVendPaymStatus.Rejected))
Meaning payments chosen for processing are the ones with status None or rejected.
What Transactions mean? You will find it in the datasource and if you click on View formula then you see it is table LedgerJournalTrans.
$allRemittancevendTransactions has formula LISTJOIN('$notSentTransactions'.'$notPromissoryVendTransactions', '$notSentTransactions'.'$promissoryNoteVendTransactions')
Hope this makes sense. So first make note of the path from the credit transfer and then search for the same path in the model mapping 1611 to understand what is the validation done or from where the data is coming from.
Let me know if you need any other information and I will be more than happy to assist.