fix(logistics): historical issue where it was being really weird

This commit is contained in:
2026-04-17 08:02:44 -05:00
parent fb3cd85b41
commit cfbc156517
3 changed files with 14 additions and 26 deletions

View File

@@ -66,7 +66,10 @@ const historicalInvImport = async () => {
const { data: inv, error: invError } = await tryCatch(
//prodQuery(sqlQuery.query, "Inventory data"),
runDatamartQuery({ name: "inventory", options: { historical: "x" } }),
runDatamartQuery({
name: "inventory",
options: { lots: "x", locations: "x" },
}),
);
const { data: av, error: avError } = (await tryCatch(