Skip to main content
Answer

Purchase Request History (GI)

  • June 29, 2022
  • 6 replies
  • 223 views

aborisova37
Semi-Pro I
Forum|alt.badge.img+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!

Best answer by hkabiri

@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

6 replies

hkabiri
Acumatica Moderator
Forum|alt.badge.img+8
  • Acumatica Support Team
  • Answer
  • June 29, 2022

@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


aborisova37
Semi-Pro I
Forum|alt.badge.img+1
  • Author
  • Semi-Pro I
  • June 29, 2022

Thank you very much Sam. That worked.


Forum|alt.badge.img
  • Jr Varsity II
  • June 11, 2024

Thank you very much Sam. That worked.

I have these in  the form of a report done in report designer , and there is one field which is not appearing on screen despite being on the report.

I have the Unit Cost field which I have from the POLine table (CuryUnitCost field).

 

I have a link between the POOrderReceiptLink and POLine tables as per the schema below and the links defined, however the Currency Unit Cost is not displayed when running the report (the field is marked as visible0 what could be the challenge?

 


  • October 29, 2025

@aborisova37 ​@hkabiri I have added the data sources. The relation isn't working for some reason. Can I get a copy of your XML file? 


hkabiri
Acumatica Moderator
Forum|alt.badge.img+8
  • Acumatica Support Team
  • October 29, 2025

@SunnyM Please share your Inquiry xml as this post is more than 3 years old and I am not sure if I can find my inquiry.


  • October 29, 2025

@hkabiri File is attached. Thank you for the help.