cancel
Showing results for 
Search instead for 
Did you mean: 

Query Generator SAP B1

0 Kudos

Hi,

We are using prefixes in numbering series while generating sales and purchasing documents, while I try to use the query generator to get some reports, how can I combine prefixes with a purchase order number???

View Entire Topic
Johan_H
Active Contributor
0 Kudos

Hi,

You need the NNM1 table.

Regards,

Johan

0 Kudos

SELECT T0.[DocNum], T0.[CANCELED], T0.[DocStatus], T0.[DocDate], T0.[DocDueDate], T0.[CardCode], T0.[CardName], T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[Price], T1.[LineTotal] FROM OPOR T0 INNER JOIN POR1 T1 ON T0.[DocEntry] = T1.[DocEntry]

Please suggest how to combine it in the above query...

Regards