I have an inbound file that is set up as:
Header – FRL
Detail – FRL – One or more
The outbound is roughly the same, with VRLs instead of FRLs. I have created the inbound HRL and it works fine:
{NAME Header} {TYPE fmt} { FMT {
{ RECORD Elite-SAP-InboundHeader.frl }
{ RECORD_TYPE frl }
}}
{NAME Detail} {TYPE fmt} { FMT {
{ RECORD Elite-SAP-InboundDetail.frl }
{ RECORD_TYPE frl }
{ REPEATWHILE {
{
{ FIELD Detail.RecordID }
{ VALUE D }
}
} }
}}
Basically, the repeat/while seems like it works fine in the translate, it sees the ‘Detail’ FRL as a group and I can select it as a basis for iteration.
Here is the outbound HRL:
{NAME Header} {TYPE fmt} { FMT {
{ RECORD Elite-SAP-InboundHeader.vrl }
{ RECORD_TYPE vrl }
}}
{NAME Detail} {TYPE fmt} { FMT {
{ RECORD Elite-SAP-InboundDetail.vrl }
{ RECORD_TYPE vrl }
{ REPEATWHILE {
{
{ FIELD Detail.RecordID }
{ VALUE D }
}
} }
}}
It’s basically the same, but when I go to copy values the translation configurator doesn’t seem to realize that the inbound or outbound ‘Detail’ groups repeat? I physically do not get the option to insert my iteration variable into the field name.
Why can I select ‘Detail’ as an basis for iteration if I can’t actually iterate over it?