Files
psp_api/prisma/views/pos/inventory_overview.sql
T
ahasani 807f6c2087 feat: implement purchase receipt items management with create, update, find, and delete functionalities
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
2025-12-09 13:59:07 +03:30

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`