Hi .
I have a form having itemid and inventdimid of an item stock stored in table lets say .ReqITemTable.
I need to show this on a cutom enquiry form which is simple.
Now the complex part is that I need to also show the sales order which is having that same item and inventdimid on a separate tab in a grid just like we have custinvoice journal form.
So for eg. if a SO123 is having an item ABC with site A and warehouse W1 then this will show in the tab against an item with ABC and site A and warehouse W1 however SO123 should not be shown for warehouse W2.
Same way I also need to show the sales quotation on a 3rd tab.
There is no direct relation between "ReqITemTable" and Sales table .So I will have to check the sales line and link it to the reqitemtable in the form .
I tried to do it int he form but I think i am doing something wrong with the relations.
I think in this case we can only specify links and relation in the code level only . Can anyone help me with the solution please.