I am trying to add the bin location of an item to our Purchase Order form.
Has anyone ever done this? If so, is it an easy process? I am a bit nervous to do this as I don't see the table included in the query for the Purchase Order.
You would need to add the IM2 and link it to the PO_20 to get the bin location. HOWEVER since there is already one left outer join (to the terms table) you can either 1) remove the terms table 2) change the terms table link to equal which would require each purchase order to have a term code 3) create a sub-report to get the bin location. My choice would be to change the terms table link to equal almost all purchases orders will have terms and then link the table with a left out join on item and warehouse. Then you can add the bin location.
Well I was hoping this little project would go away, but they asked me again to add it. UGH!
Anyway I was looking again at what you suggested and when I look at the code (Unless I am looking at something wrong), I think the link to the terms table is set to equal.
Here is the From clause in the sql view of the code.
FROM
"PO_20CRWPurchOrderDetail" PO_20CRWPurchOrderDetail,
"PO_25CRWPurchaseOrderHeader" PO_25CRWPurchaseOrderHeader,
"IM2_InventoryItemWhseDetl" IM2_InventoryItemWhseDetl,
"SY0_CompanyParameters" SY0_CompanyParameters,
{ oj "PO1_PurchaseOrderEntryHeader" PO1_PurchaseOrderEntryHeader LEFT OUTER JOIN "APE_TermsCodeMasterfile" APE_TermsCodeMasterfile ON
PO1_PurchaseOrderEntryHeader."TermsCode" = APE_TermsCodeMasterfile."TermsCode"}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.