Solved

Purchase Request History (GI)

  • 29 June 2022
  • 2 replies
  • 100 views

Userlevel 5
Badge +1

We need an generic inquiry that will show users statuses of their PO Requests all the way up to related PO Receipts.

Please help us to link the Request Line table to Requisition Line table.

There is a button on the Requests screen that will open up the Requisition detail. What fields should we use to link together Request Line to the related Requisition Line in the GI?

Many thanks in advance!

icon

Best answer by hkabiri 29 June 2022, 18:59

View original

2 replies

Userlevel 6
Badge +5

@aborisova37  

You need to link Requisition Lines DAC/Table  (RQRequisitionLine) to Requsition Content DAC/Table (RQRequisitionContent) using ReqNbr and ReqLineNbr as the link and OrderNbr and LineNbr on RQRequisitionContent will be your Request Number and Line Number.

SQL query can be something as followed:

SELECT * FROM
RQRequisitionLine R LEFT JOIN RQRequisitionContent C
ON R.ReqNbr=C.ReqNbr

AND R.LineNbr= C.ReqLineNbr

AND R.CompanyID=C.CompanyID -- Not necessary on GI

Userlevel 5
Badge +1

Thank you very much Sam. That worked.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved