Skip to Content
0

how to make join purchase request to purchase order table in sap business one.

Oct 30, 2017 at 08:13 AM

82

avatar image
Former Member

Hi Friend,

i am newer in sap.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Marini Shen Dec 15, 2017 at 04:17 AM
1

Hi,
If you mean it's for query, you can create this query in SAP Business One Query Generator:


SELECT T0.[DocEntry] [RequestDocEntry], T0.[DocNum] [RequestNumber], T2.[DocEntry] [POEntry], T2.[DocNum] [PONumber]
FROM OPRQ T0
INNER JOIN PRQ1 T1 ON T0.[DocEntry] = T1.[DocEntry]
LEFT OUTER JOIN OPOR T2 ON T2.[DocEntry] = T1.[TrgetEntry] AND T1.[TargetType] = 22

Above query will show all Purchase Request and its Purchase Order (if any) in one report.

But if you mean to join in in transaction, you can follow below steps:
1. Create Purchase Request document
2. Copy to Purchase Order
or
1. Create Purchase Request document
2. Copy to Purchase Quotation
3. Open Purchase Quotation document
4. Copy to Purchase Order

At last, on the Purchase Order detail screen you can right click, then choose Relationship Maps.
These steps will show you the link of Purchase Request until Purchase Order.

Please also mark this answer if this can solve your problem.
Thanks

Share
10 |10000 characters needed characters left characters exceeded