I created a new table, that has InvoiceId, InvoiceDate, LedgerVoucher, SalesId, NumberSequenceGroup and a Boolean flag. I put a relation on the table with custInvoiceJour with the all fields i just mentioned except of the flag.
I inserted in this table one record with valid data based on the custInvoicJour.
Now i went to SalesInvoiceHeaderV2Entity and added this new table under custinvoicejour node datasources , I made the relation inner join with custInvoiceJour and added a relation based on InvoiceId,InvoiceDate and ledgerVoucher. Also i added range where boolean flag = false.
I made a composite entity with SalesInvoiceHeaderV2Entity and SalesInvoiceLineV2Entity that was working fine before i added this new table. Now when i added the table when i export it, i get succeeded but with 0 data and it says that child entities has failed status.
Why is that?