Charan
11/30/2022, 10:31 AMClay Roper
11/30/2022, 3:25 PMinventoryassignment
Charan
11/30/2022, 6:07 PMClay Roper
11/30/2022, 6:13 PMbin
id
inventorynumber
inventorystatus
packcarton
pickcarton
quantity
quantitystaged
transaction
transactionline
You would use transaction
and transactionline
to join to your transaction linesClay Roper
11/30/2022, 6:14 PMSELECT * FROM inventoryassignment WHERE ROWNUM = 1
-- it's not a foolproof method, because I recall having some issues with SELECT *
in specific tables, but it can help when other resources are incomplete or corruptedCharan
11/30/2022, 6:17 PMClay Roper
11/30/2022, 6:19 PMCharan
11/30/2022, 6:21 PMCharan
11/30/2022, 6:22 PMCharan
11/30/2022, 6:23 PMClay Roper
11/30/2022, 6:26 PMCharan
11/30/2022, 6:29 PMCharan
12/01/2022, 10:45 AMSELECT transaction.Type, SUM(transactionLine.quantity) from
transaction,
transactionLine,
inventoryAssignment
WHERE
transactionLine.Transaction = transaction.ID
AND
inventoryAssignment.transactionLine = transactionLine.id
AND
transactionLine.item IN ('13920')
AND
BUILTIN.DF(inventoryAssignment.inventorynumber) = 'C6069106'
AND
(transaction.Type IN ('ItemShip'))
AND
TRUNC("TRANSACTION".trandate) <= TO_DATE('09-01-2022', 'MM-DD-YYYY')
GROUP BY
transaction.Type
Charan
12/01/2022, 10:47 AMClay Roper
12/01/2022, 3:01 PM