Hi,
I want to get details on all sales orders including invoiced/non invoiced. I need to know which tables are the data it stored in.
I used below tables for that, not sure the logic is correct.
To get non-invoiced SOs,
Sales Header and Sales Line (by aggregating into order level) tables, by filtering the records via Sales Header,“Document Type” = 1
To get invoiced SOs,
Sales Invoice Header and Sales Invoice Line tables by filtering out the records via Sales Invoice Header.“Order No_” IS NOT NULL
Any help will be greatly appreciated.