feat: refs #6897 add EntryConfig model and enhance entry filtering with new parameters #3366
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#3366
Loading…
Reference in New Issue
No description provided.
Delete Branch "6897-refactorEntryBuyList"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
feat: refs #6897 add EntryConfig model and enhance entry filtering with new parametersto WIP: feat: refs #6897 add EntryConfig model and enhance entry filtering with new parametersWIP: feat: refs #6897 add EntryConfig model and enhance entry filtering with new parametersto feat: refs #6897 add EntryConfig model and enhance entry filtering with new parameters@ -0,0 +33,4 @@
myOptions.transaction = tx;
}
const entry = await Self.findById(entryFk, myOptions);
const entryConfig = await Self.app.models.EntryConfig.findOne(myOptions);
{}, myOptions
@ -0,0 +38,4 @@
if (entry.supplierFk === entryConfig.inventorySupplierFk) return;
try {
result = await Self.rawSql('CALL vn.buy_recalcPricesByEntry(?)', [entryFk], myOptions);
const [result]