feat(cardex): enhance stock movement retrieval with additional fields and optimized mapping
refactor(migration): update Stock_Movements table to include counterInventoryId and customerId, add foreign key constraints, and implement triggers for inventory management
This commit is contained in:
@@ -2403,7 +2403,9 @@ export const StockMovementScalarFieldEnum = {
|
||||
inventoryId: 'inventoryId',
|
||||
avgCost: 'avgCost',
|
||||
remainedInStock: 'remainedInStock',
|
||||
supplierId: 'supplierId'
|
||||
supplierId: 'supplierId',
|
||||
customerId: 'customerId',
|
||||
counterInventoryId: 'counterInventoryId'
|
||||
} as const
|
||||
|
||||
export type StockMovementScalarFieldEnum = (typeof StockMovementScalarFieldEnum)[keyof typeof StockMovementScalarFieldEnum]
|
||||
|
||||
Reference in New Issue
Block a user