807f6c2087
feat: add purchase receipts management with create, update, find, and delete functionalities feat: implement sales invoice items management with create, update, find, and delete functionalities feat: add sales invoices management with create, update, find, and delete functionalities feat: implement stock adjustments management with create, update, find, and delete functionalities feat: add stock balance retrieval functionality feat: implement stock movements management with create, update, find, and delete functionalities
8 lines
294 B
SQL
8 lines
294 B
SQL
SELECT
|
|
`pos`.`stock_balance`.`ProductId` AS `ProductId`,
|
|
`pos`.`stock_balance`.`quantity` AS `stock_quantity`,
|
|
`pos`.`stock_balance`.`avgCost` AS `avgCost`,
|
|
`pos`.`stock_balance`.`totalCost` AS `totalCost`,
|
|
`pos`.`stock_balance`.`updatedAt` AS `updatedAt`
|
|
FROM
|
|
`pos`.`stock_balance` |