on 12-21-2020 9:46 AM
Hello all,
Kindly help me on that query like
Item code ,
Item Description
it's batch number ,
item Last inward Date (Goods receipt PO)
item dispatch date (Delivery note) ,
Warehouse.
Above details comes into single query. There is no production here. Only Goods receipt and delivery base document generated.
Version : SAP Business One HANA
Regards,
Nikunj Mehta
Hi,
you can start with the following tables :
with the following query you can get delivery and goods receipt.
SELECT b."ItemCode",l1."ItemName", "DistNumber",l1."DocEntry",l1."DocType",l1."DocLine", l1."CreateDate" FROM
OBTN b
INNER JOIN ITL1 l
ON
b."SysNumber" = l."SysNumber"
AND b."ItemCode" = l."ItemCode"
INNER JOIN OITL l1
ON l."LogEntry" = l1."LogEntry"
AND l."ItemCode" = l1."ItemCode" WHERE l1."DocType" in (15,20)
to get the warehouse, you'll need OBTW "Batch Attributes in Location"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.