feat: writing inventory cost lot of opening item quantity transaction.

This commit is contained in:
a.bouhuolia
2020-12-24 12:06:10 +02:00
parent 47b40f6940
commit af96d4bde4
3 changed files with 49 additions and 19 deletions

View File

@@ -10,7 +10,9 @@ export interface IInventoryTransaction {
transactionType: string,
transactionId: number,
lotNumber: string,
entryId: number
entryId: number,
createdAt?: Date,
updatedAt?: Date,
};
export interface IInventoryLotCost {
@@ -18,11 +20,12 @@ export interface IInventoryLotCost {
date: Date,
direction: string,
itemId: number,
quantity: number,
rate: number,
remaining: number,
cost: number,
lotNumber: string|number,
transactionType: string,
transactionId: string,
transactionId: number,
entryId: number
}