Substitute Doc no for collective child.
When we generate invoicing for collective child system tag child invoicing with a substitute document no, my question is some times system will give same substitute doc no to all the child invoices for a mother but sometimes it will give unique substitute doc no.
What are criteria based on which system decides whether same substitute doc for all the child invoices or unique no?
Dhanbalan Sathyadeep replied
When you post an entry for the child account, system checks if any substitute document for the parent account with the same origin, posting date, due date, currency of the child account entry exists. If it exists same substitute document is used for the child account entry, otherwise a new substitute document is created and used in the child account entry. Also, when system finds an already existing substitute document to use, it should not have reversed or cleared or processed by EA10_Coll earlier.
I assume fqevent 2225 is called to determine creation of substitute document, you can check the same.