Hi All
I have a scenario where only certain order types are created using the Sales order screen and other order types are created directly in the Shippers Screen. For example, in the Sales Screen only order type RT transactions are done and in the Shippers Screen only SC transactions are done.
Now I want to be able to get all sales transactions (both RT and SC) in a report whether the transactions are cancelled, opened or closed.
I am looking at the SOshipHeader table and I am able get all sales transactions coming from the SOHeader table by querying the OrdNbr field on the SOshipheader table. So I did a condition that when that field is populated I know that the transaction came from the SOheader table and when that field is not populated, the transactions were created directly from the Shippers Screen.
However, while I am able to get the sale transactions from both tables, I am only able to get transactions from the Sales Screen when a shipper number is created. SO I am having difficulty in pulling transactions from the SOheader table when the transactions are opened and cancelled or before a shipper is created.
Has anyone had a scenario like this or have to create a report with this business logic?
It may be something simple that I cannot put my finger on at this point so I wondering if anyone can point me in a direction where I could get a report showing transactions from both screens whether the transactions are opened, cancelled or closed.
Any assistance will be greatly appreciated.
Thanks in advance.