To solve the typical situation when you need a collection as output related to a Data Provider Group statement, when each member structure has a header and some lines, that is, a subgroup/child (i.e. all documents with headers and lines, but only for those documents which have lines).
'['OutputIfDetail']'
View Syntax conventions
Documents
{
DocumentHeader [OutputIfDetail]
{
DocId
DocDate
DocLines
{
DocLineId
DocLineDetail
DocLineQuantity
}
}
}