I was trying to create a BAQ and link talbles. i have APInvHed, APInvDtl, OrderHed, OrderDtl but there was OrderNum to link orderhed to apinvdtl.
Buy To Order is what your looking for? Then you’ll need to use the PORel to get the link from Order-2-PO then you can go PO-2-APInv
It will be in the OrderRel table, the PO/LN/Rel will be available there, you can then link directly to APInvDtl.
You can’t you need to use the OrderRel table to link to the PORel table to APInvDtl
Thanks Randy and Jennifer Will try that
You can manually make the link between the two tables yourself (not all tables autolink together in BAQ editor).
Because it’s an external field, those fields do not exist in the database and need to be manually created. For example, on this particular one, you’d want to make a subquery summing the shipped qtys on the shipdtl table for this order.
Thank you all for the help. I’ve figured it out. much appreciated


