I have this situation where mapping an element from my input record results in two outputs.
It appears to be a function of looping even though there is only on record input
record structure Occurrences
zinvoice min 0 max 1
invoicestruct min 0 max *
tmp_RECORD min 0 max *
TMP min 1 max 1
I am mapping
ALE.zwalasn.z1invoiceStruct.belnr to <TMP TMP_INVOICE
input record
<ALE.zwalasn.e1edl20Struct.z1invoice>
– <ALE_zwalasn_z1invoiceStruct>
<ALE.zwalasn.z1invoiceStruct.belnr>0090643774</ALE.zwalasn.z1invoiceStruct.belnr>
</ALE_zwalasn_z1invoiceStruct>
</ALE.zwalasn.e1edl20Struct.z1invoice>
output
<TMP_RECORD>
<TMP TMP_INVOICE=”0090643774″ />
</TMP_RECORD>
– <TMP_RECORD>
<TMP TMP_INVOICE=”0090643774″ />
</TMP_RECORD>
I don’t understand why in the biztalk mapping process, it wants to output two TMP_Records especially when there is only 1 input field ( ALE.zwalasn.z1invoiceStruct.belnr)
I have tried multiple combinations of the min and max occurrences to no avail.
No matter what I try it seems to want to output 2 output records
Any help will be appreciated