Hi, You will need to consider both the Work tables and the History tables, so you will need to use the UNION or Matched Tables concept. I think you will probably be better served to use views. Start with the PurchaseLineItems view. You also may need the Receipt Line tables POP30310 – Receipt Line History (line detail) and POP10500 – Receipt Line Quantities (line detail). Kind regards, Leslie
↧