Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

chore: refactor expiry override label

Sidwebworks8b30dba7da75
diff --git a/apps/erp/app/components/Form/Item.tsx b/apps/erp/app/components/Form/Item.tsx
index 03b79ae173..70774864cc 100644
--- a/apps/erp/app/components/Form/Item.tsx
+++ b/apps/erp/app/components/Form/Item.tsx
@@ -405,7 +405,7 @@ const Item = ({
: "Make to Order",
unitCost: 0,
lotSize: 0,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
}}
/>
@@ -427,7 +427,7 @@ const Item = ({
replenishmentSystem: "Buy",
defaultMethodType: "Pull from Inventory",
unitCost: 0,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
}}
/>
@@ -451,7 +451,7 @@ const Item = ({
replenishmentSystem: "Buy",
defaultMethodType: "Pull from Inventory",
unitCost: 0,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
}}
/>
@@ -478,7 +478,7 @@ const Item = ({
? "Pull from Inventory"
: "Make to Order",
unitCost: 0,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
}}
/>
diff --git a/apps/erp/app/components/Form/Items.tsx b/apps/erp/app/components/Form/Items.tsx
index abacb74f90..b6f32b511c 100644
--- a/apps/erp/app/components/Form/Items.tsx
+++ b/apps/erp/app/components/Form/Items.tsx
@@ -142,7 +142,7 @@ const Items = (props: ItemsSelectProps) => {
defaultMethodType: "Make to Order",
unitCost: 0,
lotSize: 0,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
}}
/>
@@ -162,7 +162,7 @@ const Items = (props: ItemsSelectProps) => {
replenishmentSystem: "Buy",
defaultMethodType: "Pull from Inventory",
unitCost: 0,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
}}
/>
@@ -181,7 +181,7 @@ const Items = (props: ItemsSelectProps) => {
replenishmentSystem: "Buy",
defaultMethodType: "Pull from Inventory",
unitCost: 0,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
}}
/>
@@ -199,7 +199,7 @@ const Items = (props: ItemsSelectProps) => {
replenishmentSystem: "Buy",
defaultMethodType: "Pull from Inventory",
unitCost: 0,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
}}
/>
diff --git a/apps/erp/app/components/Form/Part.tsx b/apps/erp/app/components/Form/Part.tsx
index c9d21a3115..817fc112f1 100644
--- a/apps/erp/app/components/Form/Part.tsx
+++ b/apps/erp/app/components/Form/Part.tsx
@@ -57,7 +57,7 @@ const Part = ({ itemReplenishmentSystem, ...props }: PartSelectProps) => {
unitOfMeasureCode: "EA",
unitCost: 0,
lotSize: 0,
- shelfLifeInheritEarliestInputExpiry: false
+ shelfLifeCalculateFromBom: false
}}
/>
)}
diff --git a/apps/erp/app/components/Form/Tool.tsx b/apps/erp/app/components/Form/Tool.tsx
index f1e8c1e2b8..79958cc4f0 100644
--- a/apps/erp/app/components/Form/Tool.tsx
+++ b/apps/erp/app/components/Form/Tool.tsx
@@ -130,7 +130,7 @@ const Tool = ({ name, label, helperText, ...props }: ToolSelectProps) => {
replenishmentSystem: "Buy",
defaultMethodType: "Pull from Inventory",
unitCost: 0,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
}}
/>
diff --git a/apps/erp/app/modules/inventory/ui/Traceability/ExpiryTracePopover.tsx b/apps/erp/app/modules/inventory/ui/Traceability/ExpiryTracePopover.tsx
index a4a573e2d6..fc5f6dda32 100644
--- a/apps/erp/app/modules/inventory/ui/Traceability/ExpiryTracePopover.tsx
+++ b/apps/erp/app/modules/inventory/ui/Traceability/ExpiryTracePopover.tsx
@@ -68,7 +68,7 @@ type ExpiryTracePopoverProps = {
policy?: {
mode: "Fixed Duration" | "Calculated" | "Set on Receipt" | null;
days?: number | null;
- inheritEarliestInputExpiry?: boolean | null;
+ calculateFromBom?: boolean | null;
} | null;
/** Optional precomputed input expiries when the policy is Calculated. */
inputs?: Array<{ id: string; expirationDate: string | null; label?: string }>;
@@ -257,7 +257,7 @@ function buildSteps(
? "MIN expiry across consumed inputs"
: "Date entered at receipt";
const detailParts = [baseDetail];
- if (policy.mode === "Fixed Duration" && policy.inheritEarliestInputExpiry) {
+ if (policy.mode === "Fixed Duration" && policy.calculateFromBom) {
detailParts.push("Capped by earliest input expiry");
}
out.push({
diff --git a/apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx b/apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx
index 39689339b3..ae1054878d 100644
--- a/apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx
+++ b/apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx
@@ -33,7 +33,7 @@ import TrackedEntityStatus from "./TrackedEntityStatus";
type ShelfLifePolicy = {
mode: string;
days: number | null;
- inheritEarliestInputExpiry?: boolean | null;
+ calculateFromBom?: boolean | null;
};
type TrackedEntitiesTableProps = {
@@ -185,8 +185,7 @@ const TrackedEntitiesTable = memo(
| "Calculated"
| "Set on Receipt",
days: policy.days,
- inheritEarliestInputExpiry:
- policy.inheritEarliestInputExpiry ?? false
+ calculateFromBom: policy.calculateFromBom ?? false
}
: null
}
diff --git a/apps/erp/app/modules/items/items.models.ts b/apps/erp/app/modules/items/items.models.ts
index 909e1494c6..6b92154b48 100644
--- a/apps/erp/app/modules/items/items.models.ts
+++ b/apps/erp/app/modules/items/items.models.ts
@@ -128,7 +128,8 @@ export const itemValidator = z.object({
// Fixed Duration + Make items only: when true, the produced expiry is
// capped by the earliest input expiry — the output cannot outlast its
// raw materials. Falls back to today + days when no input has a date.
- shelfLifeInheritEarliestInputExpiry: zfd.checkbox(),
+ // Mirrors the inventory-settings "Calculate from BOM" copy.
+ shelfLifeCalculateFromBom: zfd.checkbox(),
requiresInspection: zfd.checkbox().optional()
});
@@ -203,22 +204,20 @@ const applyStorageAndShelfLifeRefines = <T extends z.AnyZodObject>(
)
.refine(
(data: z.infer<T>) =>
- !data.shelfLifeInheritEarliestInputExpiry ||
+ !data.shelfLifeCalculateFromBom ||
data.shelfLifeMode === "Fixed Duration",
{
- message:
- "Inheriting the earliest input expiry only applies to Fixed Duration shelf life",
- path: ["shelfLifeInheritEarliestInputExpiry"]
+ message: "Calculate from BOM only applies to Fixed Duration shelf life",
+ path: ["shelfLifeCalculateFromBom"]
}
)
.refine(
(data: z.infer<T>) =>
- !data.shelfLifeInheritEarliestInputExpiry ||
- data.replenishmentSystem !== "Buy",
+ !data.shelfLifeCalculateFromBom || data.replenishmentSystem !== "Buy",
{
message:
- "Inheriting input expiry requires a BoM - only Make or Buy and Make items qualify",
- path: ["shelfLifeInheritEarliestInputExpiry"]
+ "Calculate from BOM requires a BoM - only Make or Buy and Make items qualify",
+ path: ["shelfLifeCalculateFromBom"]
}
) as z.ZodEffects<z.ZodTypeAny, z.infer<T>, z.input<T>>;
@@ -665,7 +664,7 @@ export const pickMethodWithShelfLifeValidator = pickMethodValidator
shelfLifeDays: zfd.numeric(z.number().positive().optional()),
shelfLifeTriggerProcessId: zfd.text(z.string().optional()),
shelfLifeTriggerTiming: z.enum(shelfLifeTriggerTimings).optional(),
- shelfLifeInheritEarliestInputExpiry: zfd.checkbox()
+ shelfLifeCalculateFromBom: zfd.checkbox()
})
)
.refine(
@@ -700,12 +699,11 @@ export const pickMethodWithShelfLifeValidator = pickMethodValidator
)
.refine(
(data) =>
- !data.shelfLifeInheritEarliestInputExpiry ||
+ !data.shelfLifeCalculateFromBom ||
data.shelfLifeMode === "Fixed Duration",
{
- message:
- "Inheriting the earliest input expiry only applies to Fixed Duration shelf life",
- path: ["shelfLifeInheritEarliestInputExpiry"]
+ message: "Calculate from BOM only applies to Fixed Duration shelf life",
+ path: ["shelfLifeCalculateFromBom"]
}
);
diff --git a/apps/erp/app/modules/items/items.service.ts b/apps/erp/app/modules/items/items.service.ts
index dbdd81e941..16a6c95129 100644
--- a/apps/erp/app/modules/items/items.service.ts
+++ b/apps/erp/app/modules/items/items.service.ts
@@ -2137,9 +2137,7 @@ export async function getItemShelfLife(
) {
return client
.from("itemShelfLife")
- .select(
- "mode, days, triggerProcessId, triggerTiming, inheritEarliestInputExpiry"
- )
+ .select("mode, days, triggerProcessId, triggerTiming, calculateFromBom")
.eq("itemId", itemId)
.maybeSingle();
}
@@ -2154,7 +2152,7 @@ export async function upsertItemShelfLife(
days?: number;
triggerProcessId?: string;
triggerTiming?: (typeof shelfLifeTriggerTimings)[number];
- inheritEarliestInputExpiry?: boolean;
+ calculateFromBom?: boolean;
}
) {
if (args.mode === undefined) {
@@ -2174,13 +2172,11 @@ export async function upsertItemShelfLife(
const triggerTiming = triggerProcessId
? (args.triggerTiming ?? "After")
: "After";
- // Inherit-earliest-input is meaningful only on Fixed Duration; the table
+ // Calculate-from-BOM is meaningful only on Fixed Duration; the table
// CHECK enforces the same rule. Coerce any stale flag back to false on
// mode switches so the row never carries an inconsistent combo.
- const inheritEarliestInputExpiry =
- args.mode === "Fixed Duration"
- ? (args.inheritEarliestInputExpiry ?? false)
- : false;
+ const calculateFromBom =
+ args.mode === "Fixed Duration" ? (args.calculateFromBom ?? false) : false;
// Reject trigger processes that aren't on the item's active recipe.
// The set-shelf-life helper gates on processId equality, so a process
@@ -2222,7 +2218,7 @@ export async function upsertItemShelfLife(
days,
triggerProcessId,
triggerTiming,
- inheritEarliestInputExpiry,
+ calculateFromBom,
updatedBy: args.userId,
updatedAt: new Date().toISOString()
})
@@ -2246,7 +2242,7 @@ export async function upsertItemShelfLife(
days,
triggerProcessId,
triggerTiming,
- inheritEarliestInputExpiry,
+ calculateFromBom,
companyId: companyId!,
createdBy: args.userId
});
@@ -2274,7 +2270,7 @@ export async function upsertPickMethodWithShelfLife(
days?: number;
triggerProcessId?: string;
triggerTiming?: (typeof shelfLifeTriggerTimings)[number];
- inheritEarliestInputExpiry?: boolean;
+ calculateFromBom?: boolean;
};
}
) {
@@ -2293,13 +2289,8 @@ export async function upsertPickMethodWithShelfLife(
.where("locationId", "=", args.locationId)
.execute();
- const {
- mode,
- days,
- triggerProcessId,
- triggerTiming,
- inheritEarliestInputExpiry
- } = args.shelfLife;
+ const { mode, days, triggerProcessId, triggerTiming, calculateFromBom } =
+ args.shelfLife;
// mode undefined = caller didn't surface the field; leave any existing
// row alone (matches upsertItemShelfLife semantics).
@@ -2319,8 +2310,8 @@ export async function upsertPickMethodWithShelfLife(
const normalizedTriggerTiming = normalizedTriggerProcess
? (triggerTiming ?? "After")
: "After";
- const normalizedInherit =
- mode === "Fixed Duration" ? (inheritEarliestInputExpiry ?? false) : false;
+ const normalizedCalcFromBom =
+ mode === "Fixed Duration" ? (calculateFromBom ?? false) : false;
// Reject trigger processes that aren't on the item's active recipe.
// The set-shelf-life helper gates on processId equality, so picking a
@@ -2359,7 +2350,7 @@ export async function upsertPickMethodWithShelfLife(
days: normalizedDays,
triggerProcessId: normalizedTriggerProcess,
triggerTiming: normalizedTriggerTiming,
- inheritEarliestInputExpiry: normalizedInherit,
+ calculateFromBom: normalizedCalcFromBom,
updatedBy: args.userId,
updatedAt
})
@@ -2386,7 +2377,7 @@ export async function upsertPickMethodWithShelfLife(
days: normalizedDays,
triggerProcessId: normalizedTriggerProcess,
triggerTiming: normalizedTriggerTiming,
- inheritEarliestInputExpiry: normalizedInherit,
+ calculateFromBom: normalizedCalcFromBom,
companyId: itemRow.companyId,
createdBy: args.userId
})
@@ -2464,8 +2455,7 @@ export async function upsertConsumable(
days: consumable.shelfLifeDays,
triggerProcessId: consumable.shelfLifeTriggerProcessId,
triggerTiming: consumable.shelfLifeTriggerTiming,
- inheritEarliestInputExpiry:
- consumable.shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: consumable.shelfLifeCalculateFromBom
});
if (shelfLife.error) return shelfLife;
}
@@ -2528,7 +2518,7 @@ export async function upsertConsumable(
days: consumable.shelfLifeDays,
triggerProcessId: consumable.shelfLifeTriggerProcessId,
triggerTiming: consumable.shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: consumable.shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: consumable.shelfLifeCalculateFromBom
});
if (shelfLife.error) return shelfLife;
@@ -2619,7 +2609,7 @@ export async function upsertPart(
days: part.shelfLifeDays,
triggerProcessId: part.shelfLifeTriggerProcessId,
triggerTiming: part.shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: part.shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: part.shelfLifeCalculateFromBom
});
if (shelfLife.error) return shelfLife;
}
@@ -2682,7 +2672,7 @@ export async function upsertPart(
days: part.shelfLifeDays,
triggerProcessId: part.shelfLifeTriggerProcessId,
triggerTiming: part.shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: part.shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: part.shelfLifeCalculateFromBom
});
if (shelfLife.error) return shelfLife;
@@ -3275,7 +3265,7 @@ export async function upsertMaterial(
days: material.shelfLifeDays,
triggerProcessId: material.shelfLifeTriggerProcessId,
triggerTiming: material.shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: material.shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: material.shelfLifeCalculateFromBom
});
if (shelfLife.error) return shelfLife;
}
@@ -3361,7 +3351,7 @@ export async function upsertMaterial(
days: material.shelfLifeDays,
triggerProcessId: material.shelfLifeTriggerProcessId,
triggerTiming: material.shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: material.shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: material.shelfLifeCalculateFromBom
});
if (shelfLife.error) return shelfLife;
@@ -3803,7 +3793,7 @@ export async function upsertTool(
days: tool.shelfLifeDays,
triggerProcessId: tool.shelfLifeTriggerProcessId,
triggerTiming: tool.shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: tool.shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: tool.shelfLifeCalculateFromBom
});
if (shelfLife.error) return shelfLife;
}
@@ -3866,7 +3856,7 @@ export async function upsertTool(
days: tool.shelfLifeDays,
triggerProcessId: tool.shelfLifeTriggerProcessId,
triggerTiming: tool.shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: tool.shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: tool.shelfLifeCalculateFromBom
});
if (shelfLife.error) return shelfLife;
diff --git a/apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx b/apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx
index 30bf787fba..d36703f050 100644
--- a/apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx
+++ b/apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx
@@ -199,12 +199,8 @@ function ShelfLifeFields({
);
const [shelfLifeTriggerProcessId, setShelfLifeTriggerProcessId] =
useControlField<string | undefined>("shelfLifeTriggerProcessId");
- const [
- shelfLifeInheritEarliestInputExpiry,
- setShelfLifeInheritEarliestInputExpiry
- ] = useControlField<boolean | undefined>(
- "shelfLifeInheritEarliestInputExpiry"
- );
+ const [shelfLifeCalculateFromBom, setShelfLifeCalculateFromBom] =
+ useControlField<boolean | undefined>("shelfLifeCalculateFromBom");
const availableModes = useMemo<ManagedShelfLifeMode[]>(() => {
return ALL_SHELF_LIFE_MODES.filter((mode) => {
@@ -246,12 +242,12 @@ function ShelfLifeFields({
useEffect(() => {
if (replenishmentSystem === "Buy") {
setShelfLifeTriggerProcessId(undefined);
- setShelfLifeInheritEarliestInputExpiry(false);
+ setShelfLifeCalculateFromBom(false);
}
}, [
replenishmentSystem,
setShelfLifeTriggerProcessId,
- setShelfLifeInheritEarliestInputExpiry
+ setShelfLifeCalculateFromBom
]);
// Inherit-from-inputs only applies when mode is Fixed Duration. Coerce
@@ -260,9 +256,9 @@ function ShelfLifeFields({
// keeps the form submission clean).
useEffect(() => {
if (shelfLifeMode !== "Fixed Duration") {
- setShelfLifeInheritEarliestInputExpiry(false);
+ setShelfLifeCalculateFromBom(false);
}
- }, [shelfLifeMode, setShelfLifeInheritEarliestInputExpiry]);
+ }, [shelfLifeMode, setShelfLifeCalculateFromBom]);
const handleToggle = (next: boolean) => {
setHasShelfLife(next);
@@ -279,7 +275,7 @@ function ShelfLifeFields({
setShelfLifeMode("");
setShelfLifeDays(undefined);
setShelfLifeTriggerProcessId(undefined);
- setShelfLifeInheritEarliestInputExpiry(false);
+ setShelfLifeCalculateFromBom(false);
}
};
@@ -351,14 +347,15 @@ function ShelfLifeFields({
)}
{/* Make-only: optional input cap. Output expiry never outlasts
the earliest input expiry; falls back to the fixed clock
- when no input has a date. */}
+ when no input has a date. Mirrors the inventory-settings
+ "Calculate from BOM" copy. */}
<div className="lg:col-span-3">
<Boolean
- name="shelfLifeInheritEarliestInputExpiry"
- label={t`Inherit earliest input expiry`}
+ name="shelfLifeCalculateFromBom"
+ label={t`Calculate from BOM`}
description={t`Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date.`}
- value={!!shelfLifeInheritEarliestInputExpiry}
- onChange={(v) => setShelfLifeInheritEarliestInputExpiry(v)}
+ value={!!shelfLifeCalculateFromBom}
+ onChange={(v) => setShelfLifeCalculateFromBom(v)}
/>
</div>
</>
diff --git a/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json b/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json
index ffaa11fe4b..992d140f5b 100644
--- a/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json
+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json
@@ -1,5 +1,5 @@
{
- "generated": "2026-04-29T02:24:22.042Z",
+ "generated": "2026-04-29T09:46:59.492Z",
"totalTools": 1016,
"modules": 15,
"tools": [
diff --git a/apps/erp/app/routes/x+/consumable+/$itemId.inventory.tsx b/apps/erp/app/routes/x+/consumable+/$itemId.inventory.tsx
index 2283a74859..9d91d5f6fe 100644
--- a/apps/erp/app/routes/x+/consumable+/$itemId.inventory.tsx
+++ b/apps/erp/app/routes/x+/consumable+/$itemId.inventory.tsx
@@ -180,7 +180,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
shelfLifeDays,
shelfLifeTriggerProcessId,
shelfLifeTriggerTiming,
- shelfLifeInheritEarliestInputExpiry,
+ shelfLifeCalculateFromBom,
...pickMethodFields
} = validation.data;
@@ -196,7 +196,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
days: shelfLifeDays,
triggerProcessId: shelfLifeTriggerProcessId,
triggerTiming: shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: shelfLifeCalculateFromBom
}
});
} catch (err) {
@@ -242,8 +242,7 @@ export default function ConsumableInventoryRoute() {
shelfLifeDays: shelfLife?.days ?? undefined,
shelfLifeTriggerProcessId: shelfLife?.triggerProcessId ?? undefined,
shelfLifeTriggerTiming: shelfLife?.triggerTiming ?? undefined,
- shelfLifeInheritEarliestInputExpiry:
- shelfLife?.inheritEarliestInputExpiry ?? false,
+ shelfLifeCalculateFromBom: shelfLife?.calculateFromBom ?? false,
...getCustomFields(consumableInventory.customFields ?? {})
};
diff --git a/apps/erp/app/routes/x+/consumable+/new.tsx b/apps/erp/app/routes/x+/consumable+/new.tsx
index 95ce8c96e0..fd5243efad 100644
--- a/apps/erp/app/routes/x+/consumable+/new.tsx
+++ b/apps/erp/app/routes/x+/consumable+/new.tsx
@@ -75,7 +75,7 @@ export default function ConsumablesNewRoute() {
unitOfMeasureCode: "EA",
unitCost: 0,
active: true,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
};
diff --git a/apps/erp/app/routes/x+/inventory+/tracked-entities.tsx b/apps/erp/app/routes/x+/inventory+/tracked-entities.tsx
index c45df34122..834b8ac3ea 100644
--- a/apps/erp/app/routes/x+/inventory+/tracked-entities.tsx
+++ b/apps/erp/app/routes/x+/inventory+/tracked-entities.tsx
@@ -65,14 +65,14 @@ export async function loader({ request }: LoaderFunctionArgs) {
itemIds.length > 0
? await client
.from("itemShelfLife")
- .select("itemId, mode, days, inheritEarliestInputExpiry")
+ .select("itemId, mode, days, calculateFromBom")
.in("itemId", itemIds)
: {
data: [] as {
itemId: string;
mode: string;
days: number | null;
- inheritEarliestInputExpiry: boolean | null;
+ calculateFromBom: boolean | null;
}[]
};
const shelfLifePolicies: Record<
@@ -80,7 +80,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
{
mode: string;
days: number | null;
- inheritEarliestInputExpiry: boolean | null;
+ calculateFromBom: boolean | null;
}
> = {};
for (const row of shelfLifeRows.data ?? []) {
@@ -88,7 +88,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
shelfLifePolicies[row.itemId] = {
mode: row.mode,
days: row.days ?? null,
- inheritEarliestInputExpiry: row.inheritEarliestInputExpiry ?? false
+ calculateFromBom: row.calculateFromBom ?? false
};
}
}
diff --git a/apps/erp/app/routes/x+/material+/$itemId.inventory.tsx b/apps/erp/app/routes/x+/material+/$itemId.inventory.tsx
index 40d9004a46..3697951fac 100644
--- a/apps/erp/app/routes/x+/material+/$itemId.inventory.tsx
+++ b/apps/erp/app/routes/x+/material+/$itemId.inventory.tsx
@@ -176,7 +176,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
shelfLifeDays,
shelfLifeTriggerProcessId,
shelfLifeTriggerTiming,
- shelfLifeInheritEarliestInputExpiry,
+ shelfLifeCalculateFromBom,
...pickMethodFields
} = validation.data;
@@ -192,7 +192,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
days: shelfLifeDays,
triggerProcessId: shelfLifeTriggerProcessId,
triggerTiming: shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: shelfLifeCalculateFromBom
}
});
} catch (err) {
@@ -238,8 +238,7 @@ export default function MaterialInventoryRoute() {
shelfLifeDays: shelfLife?.days ?? undefined,
shelfLifeTriggerProcessId: shelfLife?.triggerProcessId ?? undefined,
shelfLifeTriggerTiming: shelfLife?.triggerTiming ?? undefined,
- shelfLifeInheritEarliestInputExpiry:
- shelfLife?.inheritEarliestInputExpiry ?? false,
+ shelfLifeCalculateFromBom: shelfLife?.calculateFromBom ?? false,
...getCustomFields(materialInventory.customFields ?? {})
};
diff --git a/apps/erp/app/routes/x+/material+/new.tsx b/apps/erp/app/routes/x+/material+/new.tsx
index e66c108948..2322960410 100644
--- a/apps/erp/app/routes/x+/material+/new.tsx
+++ b/apps/erp/app/routes/x+/material+/new.tsx
@@ -77,7 +77,7 @@ export default function MaterialsNewRoute() {
unitOfMeasureCode: "EA",
unitCost: 0,
active: true,
- shelfLifeInheritEarliestInputExpiry: false
+ shelfLifeCalculateFromBom: false
};
return (
diff --git a/apps/erp/app/routes/x+/part+/$itemId.inventory.tsx b/apps/erp/app/routes/x+/part+/$itemId.inventory.tsx
index 9b13cc4c4b..7446332a93 100644
--- a/apps/erp/app/routes/x+/part+/$itemId.inventory.tsx
+++ b/apps/erp/app/routes/x+/part+/$itemId.inventory.tsx
@@ -159,7 +159,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
shelfLifeDays,
shelfLifeTriggerProcessId,
shelfLifeTriggerTiming,
- shelfLifeInheritEarliestInputExpiry,
+ shelfLifeCalculateFromBom,
...pickMethodFields
} = validation.data;
@@ -175,7 +175,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
days: shelfLifeDays,
triggerProcessId: shelfLifeTriggerProcessId,
triggerTiming: shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: shelfLifeCalculateFromBom
}
});
} catch (err) {
@@ -220,8 +220,7 @@ export default function PartInventoryRoute() {
shelfLifeDays: shelfLife?.days ?? undefined,
shelfLifeTriggerProcessId: shelfLife?.triggerProcessId ?? undefined,
shelfLifeTriggerTiming: shelfLife?.triggerTiming ?? undefined,
- shelfLifeInheritEarliestInputExpiry:
- shelfLife?.inheritEarliestInputExpiry ?? false,
+ shelfLifeCalculateFromBom: shelfLife?.calculateFromBom ?? false,
...getCustomFields(partInventory.customFields ?? {})
};
diff --git a/apps/erp/app/routes/x+/part+/new.tsx b/apps/erp/app/routes/x+/part+/new.tsx
index cdbb728c48..a891c68c4c 100644
--- a/apps/erp/app/routes/x+/part+/new.tsx
+++ b/apps/erp/app/routes/x+/part+/new.tsx
@@ -79,7 +79,7 @@ export default function PartsNewRoute() {
unitCost: 0,
lotSize: 0,
active: true,
- shelfLifeInheritEarliestInputExpiry: false
+ shelfLifeCalculateFromBom: false
};
return (
diff --git a/apps/erp/app/routes/x+/quote+/$quoteId.drag.tsx b/apps/erp/app/routes/x+/quote+/$quoteId.drag.tsx
index 3fe7df4aec..dca32b8f3d 100644
--- a/apps/erp/app/routes/x+/quote+/$quoteId.drag.tsx
+++ b/apps/erp/app/routes/x+/quote+/$quoteId.drag.tsx
@@ -120,7 +120,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
replenishmentSystem: "Make" as const,
revision,
unitOfMeasureCode: "EA",
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
companyId,
createdBy: userId
};
diff --git a/apps/erp/app/routes/x+/tool+/$itemId.inventory.tsx b/apps/erp/app/routes/x+/tool+/$itemId.inventory.tsx
index 5a1b13c6e2..71677934c5 100644
--- a/apps/erp/app/routes/x+/tool+/$itemId.inventory.tsx
+++ b/apps/erp/app/routes/x+/tool+/$itemId.inventory.tsx
@@ -168,7 +168,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
shelfLifeDays,
shelfLifeTriggerProcessId,
shelfLifeTriggerTiming,
- shelfLifeInheritEarliestInputExpiry,
+ shelfLifeCalculateFromBom,
...pickMethodFields
} = validation.data;
@@ -184,7 +184,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
days: shelfLifeDays,
triggerProcessId: shelfLifeTriggerProcessId,
triggerTiming: shelfLifeTriggerTiming,
- inheritEarliestInputExpiry: shelfLifeInheritEarliestInputExpiry
+ calculateFromBom: shelfLifeCalculateFromBom
}
});
} catch (err) {
@@ -229,8 +229,7 @@ export default function ToolInventoryRoute() {
shelfLifeDays: shelfLife?.days ?? undefined,
shelfLifeTriggerProcessId: shelfLife?.triggerProcessId ?? undefined,
shelfLifeTriggerTiming: shelfLife?.triggerTiming ?? undefined,
- shelfLifeInheritEarliestInputExpiry:
- shelfLife?.inheritEarliestInputExpiry ?? false,
+ shelfLifeCalculateFromBom: shelfLife?.calculateFromBom ?? false,
...getCustomFields(toolInventory.customFields ?? {})
};
diff --git a/apps/erp/app/routes/x+/tool+/new.tsx b/apps/erp/app/routes/x+/tool+/new.tsx
index db3b916ed4..c387dbbb27 100644
--- a/apps/erp/app/routes/x+/tool+/new.tsx
+++ b/apps/erp/app/routes/x+/tool+/new.tsx
@@ -70,7 +70,7 @@ export default function ToolsNewRoute() {
unitOfMeasureCode: "EA",
unitCost: 0,
active: true,
- shelfLifeInheritEarliestInputExpiry: false,
+ shelfLifeCalculateFromBom: false,
tags: []
};
diff --git a/packages/database/src/swagger-docs-schema.ts b/packages/database/src/swagger-docs-schema.ts
index c2917c13fd..ac1acaca7f 100644
--- a/packages/database/src/swagger-docs-schema.ts
+++ b/packages/database/src/swagger-docs-schema.ts
@@ -27346,7 +27346,7 @@ export default {
$ref: "#/parameters/rowFilter.itemShelfLife.customFields"
},
{
- $ref: "#/parameters/rowFilter.itemShelfLife.inheritEarliestInputExpiry"
+ $ref: "#/parameters/rowFilter.itemShelfLife.calculateFromBom"
},
{
$ref: "#/parameters/select"
@@ -27441,7 +27441,7 @@ export default {
$ref: "#/parameters/rowFilter.itemShelfLife.customFields"
},
{
- $ref: "#/parameters/rowFilter.itemShelfLife.inheritEarliestInputExpiry"
+ $ref: "#/parameters/rowFilter.itemShelfLife.calculateFromBom"
},
{
$ref: "#/parameters/preferReturn"
@@ -27490,7 +27490,7 @@ export default {
$ref: "#/parameters/rowFilter.itemShelfLife.customFields"
},
{
- $ref: "#/parameters/rowFilter.itemShelfLife.inheritEarliestInputExpiry"
+ $ref: "#/parameters/rowFilter.itemShelfLife.calculateFromBom"
},
{
$ref: "#/parameters/body.itemShelfLife"
@@ -88306,7 +88306,7 @@ export default {
"companyId",
"createdBy",
"createdAt",
- "inheritEarliestInputExpiry"
+ "calculateFromBom"
],
properties: {
itemId: {
@@ -88366,7 +88366,7 @@ export default {
customFields: {
format: "jsonb"
},
- inheritEarliestInputExpiry: {
+ calculateFromBom: {
default: false,
format: "boolean",
type: "boolean"
@@ -122142,8 +122142,8 @@ export default {
in: "query",
type: "string"
},
- "rowFilter.itemShelfLife.inheritEarliestInputExpiry": {
- name: "inheritEarliestInputExpiry",
+ "rowFilter.itemShelfLife.calculateFromBom": {
+ name: "calculateFromBom",
required: false,
in: "query",
type: "string"
diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts
index d91f4bf617..933fb489a7 100644
--- a/packages/database/src/types.ts
+++ b/packages/database/src/types.ts
@@ -11654,7 +11654,7 @@ export type Database = {
createdBy: string
customFields: Json | null
days: number | null
- inheritEarliestInputExpiry: boolean
+ calculateFromBom: boolean
itemId: string
mode: Database["public"]["Enums"]["shelfLifeMode"]
triggerProcessId: string | null
@@ -11668,7 +11668,7 @@ export type Database = {
createdBy: string
customFields?: Json | null
days?: number | null
- inheritEarliestInputExpiry?: boolean
+ calculateFromBom?: boolean
itemId: string
mode: Database["public"]["Enums"]["shelfLifeMode"]
triggerProcessId?: string | null
@@ -11682,7 +11682,7 @@ export type Database = {
createdBy?: string
customFields?: Json | null
days?: number | null
- inheritEarliestInputExpiry?: boolean
+ calculateFromBom?: boolean
itemId?: string
mode?: Database["public"]["Enums"]["shelfLifeMode"]
triggerProcessId?: string | null
diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.ts
index d91f4bf617..933fb489a7 100644
--- a/packages/database/supabase/functions/lib/types.ts
+++ b/packages/database/supabase/functions/lib/types.ts
@@ -11654,7 +11654,7 @@ export type Database = {
createdBy: string
customFields: Json | null
days: number | null
- inheritEarliestInputExpiry: boolean
+ calculateFromBom: boolean
itemId: string
mode: Database["public"]["Enums"]["shelfLifeMode"]
triggerProcessId: string | null
@@ -11668,7 +11668,7 @@ export type Database = {
createdBy: string
customFields?: Json | null
days?: number | null
- inheritEarliestInputExpiry?: boolean
+ calculateFromBom?: boolean
itemId: string
mode: Database["public"]["Enums"]["shelfLifeMode"]
triggerProcessId?: string | null
@@ -11682,7 +11682,7 @@ export type Database = {
createdBy?: string
customFields?: Json | null
days?: number | null
- inheritEarliestInputExpiry?: boolean
+ calculateFromBom?: boolean
itemId?: string
mode?: Database["public"]["Enums"]["shelfLifeMode"]
triggerProcessId?: string | null
diff --git a/packages/database/supabase/migrations/20260429120000_rename-shelf-life-inherit-to-calculate-from-bom.sql b/packages/database/supabase/migrations/20260429120000_rename-shelf-life-inherit-to-calculate-from-bom.sql
new file mode 100644
index 0000000000..087358eb4c
--- /dev/null
+++ b/packages/database/supabase/migrations/20260429120000_rename-shelf-life-inherit-to-calculate-from-bom.sql
@@ -0,0 +1,201 @@
+-- ============================================================================
+-- Migration: rename `itemShelfLife.inheritEarliestInputExpiry` to
+-- `itemShelfLife.calculateFromBom`
+--
+-- The flag was originally introduced in
+-- 20260427010000_inventory-shelf-life-settings-and-inherit-input-expiry.sql.
+-- The user-facing copy in inventory company settings already calls the
+-- BOM-driven option "Calculate from BOM"; the per-item override should
+-- match that nomenclature instead of the verbose "inherit earliest input
+-- expiry". Behavior is unchanged — this is a pure rename plus a refresh
+-- of the stamp helper to read the new column.
+-- ============================================================================
+
+ALTER TABLE "itemShelfLife"
+ RENAME COLUMN "inheritEarliestInputExpiry" TO "calculateFromBom";
+
+ALTER TABLE "itemShelfLife"
+ DROP CONSTRAINT "itemShelfLife_inheritEarliestInputExpiry_only_fixed_duration";
+
+ALTER TABLE "itemShelfLife"
+ ADD CONSTRAINT "itemShelfLife_calculateFromBom_only_fixed_duration"
+ CHECK (
+ "mode" = 'Fixed Duration'
+ OR "calculateFromBom" = false
+ );
+
+
+-- Re-define the stamp helper to read the renamed column. Body is
+-- otherwise identical to the version installed by the original migration.
+CREATE OR REPLACE FUNCTION set_shelf_life_for_operation(
+ p_job_operation_id TEXT,
+ p_event "shelfLifeTriggerTiming"
+)
+RETURNS VOID
+LANGUAGE plpgsql
+SECURITY DEFINER
+AS $$
+DECLARE
+ v_job_id TEXT;
+ v_job_make_method_id TEXT;
+ v_operation_process_id TEXT;
+ v_item_id TEXT;
+ v_company_id TEXT;
+ v_shelf_life_mode "shelfLifeMode";
+ v_shelf_life_days NUMERIC;
+ v_shelf_life_trigger_process TEXT;
+ v_shelf_life_trigger_timing "shelfLifeTriggerTiming";
+ v_calc_from_bom BOOLEAN;
+ v_input_scope TEXT;
+ v_computed_expiry DATE;
+ v_input_min DATE;
+BEGIN
+ SELECT
+ jo."jobId",
+ jo."jobMakeMethodId",
+ jo."processId",
+ jmm."itemId",
+ i."companyId"
+ INTO
+ v_job_id,
+ v_job_make_method_id,
+ v_operation_process_id,
+ v_item_id,
+ v_company_id
+ FROM "jobOperation" jo
+ JOIN "jobMakeMethod" jmm ON jmm."id" = jo."jobMakeMethodId"
+ JOIN "item" i ON i."id" = jmm."itemId"
+ WHERE jo."id" = p_job_operation_id;
+
+ IF v_item_id IS NULL THEN
+ RETURN;
+ END IF;
+
+ SELECT
+ "mode", "days", "triggerProcessId", "triggerTiming",
+ "calculateFromBom"
+ INTO
+ v_shelf_life_mode, v_shelf_life_days, v_shelf_life_trigger_process,
+ v_shelf_life_trigger_timing, v_calc_from_bom
+ FROM "itemShelfLife"
+ WHERE "itemId" = v_item_id;
+
+ IF NOT FOUND THEN
+ RETURN;
+ END IF;
+
+ IF v_shelf_life_mode = 'Fixed Duration' THEN
+ IF v_shelf_life_days IS NULL THEN
+ RETURN;
+ END IF;
+
+ IF v_shelf_life_trigger_process IS NULL THEN
+ IF p_event <> 'After' THEN
+ RETURN;
+ END IF;
+ ELSE
+ IF v_operation_process_id IS DISTINCT FROM v_shelf_life_trigger_process THEN
+ RETURN;
+ END IF;
+ IF p_event <> v_shelf_life_trigger_timing THEN
+ RETURN;
+ END IF;
+ END IF;
+
+ v_computed_expiry := (CURRENT_DATE + (v_shelf_life_days || ' days')::INTERVAL)::DATE;
+
+ -- Cap by earliest input expiry when the flag is on.
+ IF v_calc_from_bom THEN
+ SELECT COALESCE(
+ "inventoryShelfLife"->>'calculatedInputScope',
+ 'AllInputs'
+ )
+ INTO v_input_scope
+ FROM "companySettings"
+ WHERE "id" = v_company_id;
+
+ IF v_input_scope IS NULL THEN
+ v_input_scope := 'AllInputs';
+ END IF;
+
+ IF v_input_scope = 'AllInputs' THEN
+ SELECT MIN(te."expirationDate")
+ INTO v_input_min
+ FROM "trackedActivityInput" tai
+ JOIN "trackedActivity" ta ON ta."id" = tai."trackedActivityId"
+ JOIN "trackedEntity" te ON te."id" = tai."trackedEntityId"
+ WHERE ta.attributes->>'Job Make Method' = v_job_make_method_id
+ AND te."expirationDate" IS NOT NULL;
+ ELSE
+ SELECT MIN(te."expirationDate")
+ INTO v_input_min
+ FROM "trackedActivityInput" tai
+ JOIN "trackedActivity" ta ON ta."id" = tai."trackedActivityId"
+ JOIN "trackedEntity" te ON te."id" = tai."trackedEntityId"
+ JOIN "itemShelfLife" isl ON isl."itemId" = te."sourceDocumentId"
+ WHERE ta.attributes->>'Job Make Method' = v_job_make_method_id
+ AND isl."mode" IN ('Fixed Duration', 'Calculated')
+ AND te."expirationDate" IS NOT NULL;
+ END IF;
+
+ IF v_input_min IS NOT NULL AND v_input_min < v_computed_expiry THEN
+ v_computed_expiry := v_input_min;
+ END IF;
+ END IF;
+
+ ELSIF v_shelf_life_mode = 'Calculated' THEN
+ IF p_event <> 'After' THEN
+ RETURN;
+ END IF;
+
+ SELECT COALESCE(
+ "inventoryShelfLife"->>'calculatedInputScope',
+ 'AllInputs'
+ )
+ INTO v_input_scope
+ FROM "companySettings"
+ WHERE "id" = v_company_id;
+
+ IF v_input_scope IS NULL THEN
+ v_input_scope := 'AllInputs';
+ END IF;
+
+ IF v_input_scope = 'AllInputs' THEN
+ SELECT MIN(te."expirationDate")
+ INTO v_computed_expiry
+ FROM "trackedActivityInput" tai
+ JOIN "trackedActivity" ta ON ta."id" = tai."trackedActivityId"
+ JOIN "trackedEntity" te ON te."id" = tai."trackedEntityId"
+ WHERE ta.attributes->>'Job Make Method' = v_job_make_method_id
+ AND te."expirationDate" IS NOT NULL;
+ ELSE
+ SELECT MIN(te."expirationDate")
+ INTO v_computed_expiry
+ FROM "trackedActivityInput" tai
+ JOIN "trackedActivity" ta ON ta."id" = tai."trackedActivityId"
+ JOIN "trackedEntity" te ON te."id" = tai."trackedEntityId"
+ JOIN "itemShelfLife" isl ON isl."itemId" = te."sourceDocumentId"
+ WHERE ta.attributes->>'Job Make Method' = v_job_make_method_id
+ AND isl."mode" IN ('Fixed Duration', 'Calculated')
+ AND te."expirationDate" IS NOT NULL;
+ END IF;
+
+ IF v_computed_expiry IS NULL THEN
+ RETURN;
+ END IF;
+
+ ELSIF v_shelf_life_mode = 'Set on Receipt' THEN
+ RETURN;
+
+ ELSE
+ RETURN;
+ END IF;
+
+ UPDATE "trackedEntity"
+ SET "expirationDate" = v_computed_expiry
+ WHERE "sourceDocument" = 'Item'
+ AND "sourceDocumentId" = v_item_id
+ AND "attributes"->>'Job Make Method' = v_job_make_method_id
+ AND "expirationDate" IS NULL;
+END;
+$$;
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index 623af49b71..3744511759 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -1710,6 +1710,7 @@ msgstr "Durch die Anmeldung stimmen Sie den <0>Nutzungsbedingungen</0> und der <
msgid "CAD Model"
msgstr "CAD-Modell"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "Aus Stückliste berechnen"
@@ -4567,7 +4568,7 @@ msgstr "Mitarbeitertyp bearbeiten"
msgid "Edit expiration date"
msgstr "Ablaufdatum bearbeiten"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "Ablaufdatum bearbeiten"
@@ -6397,10 +6398,6 @@ msgstr "Incoterm-Ort"
msgid "Infrastructure"
msgstr "Infrastruktur"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "Früheste Eingabeverfallsdatum erben"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "Von Materialien erben"
@@ -9280,7 +9277,7 @@ msgstr "Ausgehend"
msgid "Output"
msgstr "Ausgabe"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "Die Ausgabe überlebt ihre Rohstoffe nie. Fällt auf die feste Dauer zurück, wenn keine Eingabe ein Verfallsdatum hat."
@@ -12166,15 +12163,15 @@ msgstr "Angebot teilen"
msgid "Shelf life"
msgstr "Haltbarkeit"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "Haltbarkeitsdauer (Tage)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "Haltbarkeitsstartprozess"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "Haltbarkeit"
@@ -12487,7 +12484,7 @@ msgstr "Quellenanalyse"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "Quelldokument"
@@ -12610,7 +12607,7 @@ msgstr "Beginnen Sie, Teile zu Ihrer Bestandsübertragung hinzuzufügen"
msgid "Start Date"
msgstr "Startdatum"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "Verfallsdatum starten"
@@ -13773,11 +13770,11 @@ msgstr "Verfolgen Sie jede Änderung an Ihren Bestellungen, Rechnungen, Kunden u
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "Verfolgen Sie jede Änderung an Ihren Bestellungen, Rechnungen, Kunden, Lieferanten und mehr."
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "Verfolgen Sie, wann Chargen oder Seriennummern dieses Artikels ablaufen."
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "Vorschlag anzeigen"
msgid "View Suppliers"
msgstr "Lieferanten anzeigen"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "Rückverfolgbarkeitsgraph anzeigen"
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index 3e17647c97..8b7b8b4550 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -1710,6 +1710,7 @@ msgstr "By signing in, you agree to the <0>Terms of Service</0> and <1>Privacy P
msgid "CAD Model"
msgstr "CAD Model"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "Calculate from BOM"
@@ -4567,7 +4568,7 @@ msgstr "Edit Employee Type"
msgid "Edit expiration date"
msgstr "Edit expiration date"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "Edit Expiry"
@@ -6397,10 +6398,6 @@ msgstr "Incoterm Location"
msgid "Infrastructure"
msgstr "Infrastructure"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "Inherit earliest input expiry"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "Inherit From Materials"
@@ -9280,7 +9277,7 @@ msgstr "Outgoing"
msgid "Output"
msgstr "Output"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
@@ -12166,15 +12163,15 @@ msgstr "Share Quote"
msgid "Shelf life"
msgstr "Shelf life"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "Shelf Life (Days)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "Shelf Life Start Process"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "Shelf-Life"
@@ -12487,7 +12484,7 @@ msgstr "Source Analysis"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "Source Document"
@@ -12610,7 +12607,7 @@ msgstr "Start adding parts to your stock transfer"
msgid "Start Date"
msgstr "Start Date"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "Start Expiration"
@@ -13773,11 +13770,11 @@ msgstr "Track every change to your orders, invoices, customers, and more."
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "Track every change to your orders, invoices, customers, suppliers, and more."
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "Track when batches or serials of this item expire."
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "View Suggestion"
msgid "View Suppliers"
msgstr "View Suppliers"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "View Traceability Graph"
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index deaa4a8909..a21ba90f39 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -1710,6 +1710,7 @@ msgstr "Al iniciar sesión, aceptas los <0>Términos de Servicio</0> y la <1>Pol
msgid "CAD Model"
msgstr "Modelo CAD"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "Calcular desde BOM"
@@ -4567,7 +4568,7 @@ msgstr "Editar Tipo de Empleado"
msgid "Edit expiration date"
msgstr "Editar fecha de vencimiento"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "Editar Vencimiento"
@@ -6397,10 +6398,6 @@ msgstr "Ubicación del Incoterm"
msgid "Infrastructure"
msgstr "Infraestructura"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "Heredar la expiración más temprana de entrada"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "Heredar de Materiales"
@@ -9280,7 +9277,7 @@ msgstr "Salida"
msgid "Output"
msgstr "Salida"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "El producto nunca durará más que sus materias primas. Vuelve a la duración fija cuando ninguna entrada tiene una fecha de vencimiento."
@@ -12166,15 +12163,15 @@ msgstr "Compartir Cotización"
msgid "Shelf life"
msgstr "Vida útil"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "Vida Útil (Días)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "Proceso de Inicio de Vida Útil"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "Vida útil"
@@ -12487,7 +12484,7 @@ msgstr "Análisis de Fuente"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "Documento de Origen"
@@ -12610,7 +12607,7 @@ msgstr "Comienza a agregar piezas a tu transferencia de inventario"
msgid "Start Date"
msgstr "Fecha de Inicio"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "Iniciar Vencimiento"
@@ -13773,11 +13770,11 @@ msgstr "Realiza un seguimiento de cada cambio en tus pedidos, facturas, clientes
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "Realiza un seguimiento de cada cambio en tus pedidos, facturas, clientes, proveedores y más."
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "Realiza un seguimiento de cuándo vencen los lotes o números de serie de este artículo."
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "Ver Sugerencia"
msgid "View Suppliers"
msgstr "Ver Proveedores"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "Ver Gráfico de Trazabilidad"
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index ca35301cf4..cb7559524b 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -1710,6 +1710,7 @@ msgstr "En vous connectant, vous acceptez les <0>Conditions d'utilisation</0> et
msgid "CAD Model"
msgstr "Modèle CAO"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "Calculer à partir de la nomenclature"
@@ -4567,7 +4568,7 @@ msgstr "Modifier le type d'employé"
msgid "Edit expiration date"
msgstr "Modifier la date d'expiration"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "Modifier l'expiration"
@@ -6397,10 +6398,6 @@ msgstr "Lieu Incoterm"
msgid "Infrastructure"
msgstr "Infrastructure"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "Hériter de la date d'expiration d'entrée la plus ancienne"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "Hériter des matériaux"
@@ -9280,7 +9277,7 @@ msgstr "Sortant"
msgid "Output"
msgstr "Sortie"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "La production ne dépasse jamais la durée de vie de ses matières premières. Revient à la durée fixe lorsqu'aucune entrée n'a de date d'expiration."
@@ -12166,15 +12163,15 @@ msgstr "Partager le devis"
msgid "Shelf life"
msgstr "Durée de conservation"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "Durée de conservation (jours)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "Processus de démarrage de la durée de conservation"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "Durée de vie"
@@ -12487,7 +12484,7 @@ msgstr "Analyse des sources"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "Document source"
@@ -12610,7 +12607,7 @@ msgstr "Commencez à ajouter des pièces à votre transfert de stock"
msgid "Start Date"
msgstr "Date de début"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "Démarrer l'expiration"
@@ -13773,11 +13770,11 @@ msgstr "Suivez chaque modification de vos commandes, factures, clients et bien p
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "Suivez chaque modification apportée à vos commandes, factures, clients, fournisseurs et bien d'autres."
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "Suivez l'expiration des lots ou numéros de série de cet article."
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "Afficher la suggestion"
msgid "View Suppliers"
msgstr "Afficher les fournisseurs"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "Afficher le graphique de traçabilité"
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index 6006690626..5e603eed31 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -1710,6 +1710,7 @@ msgstr "साइन इन करके, आप <0>सेवा की शर
msgid "CAD Model"
msgstr "CAD मॉडल"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "BOM से गणना करें"
@@ -4567,7 +4568,7 @@ msgstr "कर्मचारी प्रकार संपादित कर
msgid "Edit expiration date"
msgstr "समाप्ति तारीख संपादित करें"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "समाप्ति तिथि संपादित करें"
@@ -6397,10 +6398,6 @@ msgstr "इनकोटर्म स्थान"
msgid "Infrastructure"
msgstr "बुनियादी ढांचा"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "सबसे पहली इनपुट एक्सपायरी को इनहेरिट करें"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "सामग्री से विरासत में प्राप्त करें"
@@ -9280,7 +9277,7 @@ msgstr "बाहर जाने वाला"
msgid "Output"
msgstr "आउटपुट"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "आउटपुट कभी भी अपनी कच्ची सामग्री से अधिक समय तक नहीं रहता। जब किसी इनपुट की समाप्ति तारीख नहीं होती है तो निर्धारित अवधि पर वापस आता है।"
@@ -12166,15 +12163,15 @@ msgstr "उद्धरण साझा करें"
msgid "Shelf life"
msgstr "शेल्फ लाइफ"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "शेल्फ लाइफ (दिन)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "शेल्फ लाइफ स्टार्ट प्रक्रिया"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "शेल्फ-लाइफ"
@@ -12487,7 +12484,7 @@ msgstr "स्रोत विश्लेषण"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "स्रोत दस्तावेज़"
@@ -12610,7 +12607,7 @@ msgstr "अपने स्टॉक ट्रांसफर में पा
msgid "Start Date"
msgstr "शुरुआत तारीख"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "समाप्ति शुरू करें"
@@ -13773,11 +13770,11 @@ msgstr "अपने ऑर्डर, इनवॉइस, ग्राहको
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "अपने ऑर्डर, इनवॉइस, ग्राहकों, आपूर्तिकर्ताओं और अन्य सभी परिवर्तनों को ट्रैक करें।"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "इस आइटम के बैच या सीरीज़ कब समाप्त होते हैं, इसे ट्रैक करें।"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "सुझाव देखें"
msgid "View Suppliers"
msgstr "आपूर्तिकर्ताओं को देखें"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "ट्रेसेबिलिटी ग्राफ देखें"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index 50d4f69820..64ba3d54bf 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -1710,6 +1710,7 @@ msgstr "Accedendo, accetti i <0>Termini di Servizio</0> e l'<1>Informativa sulla
msgid "CAD Model"
msgstr "Modello CAD"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "Calcola da BOM"
@@ -4567,7 +4568,7 @@ msgstr "Modifica Tipo di Dipendente"
msgid "Edit expiration date"
msgstr "Modifica data di scadenza"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "Modifica Scadenza"
@@ -6397,10 +6398,6 @@ msgstr "Luogo Incoterm"
msgid "Infrastructure"
msgstr "Infrastruttura"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "Eredita scadenza input più recente"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "Eredita dai Materiali"
@@ -9280,7 +9277,7 @@ msgstr "In uscita"
msgid "Output"
msgstr "Output"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "L'output non supera mai i suoi materiali grezzi. Ritorna alla durata fissa quando nessun input ha una data di scadenza."
@@ -12166,15 +12163,15 @@ msgstr "Condividi Preventivo"
msgid "Shelf life"
msgstr "Durata di conservazione"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "Durata di Conservazione (Giorni)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "Processo di Inizio Shelf Life"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "Durata di Conservazione"
@@ -12487,7 +12484,7 @@ msgstr "Analisi della Fonte"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "Documento di Origine"
@@ -12610,7 +12607,7 @@ msgstr "Inizia ad aggiungere parti al tuo trasferimento di magazzino"
msgid "Start Date"
msgstr "Data di inizio"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "Inizio Scadenza"
@@ -13773,11 +13770,11 @@ msgstr "Traccia ogni modifica ai tuoi ordini, fatture, clienti e altro ancora."
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "Traccia ogni modifica ai tuoi ordini, fatture, clienti, fornitori e altro ancora."
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "Traccia quando i lotti o i numeri seriali di questo articolo scadono."
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "Visualizza Suggerimento"
msgid "View Suppliers"
msgstr "Visualizza Fornitori"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "Visualizza Grafico di Tracciabilità"
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index a1ce0fd826..a79c299b72 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -1710,6 +1710,7 @@ msgstr "サインインすることで、<0>利用規約</0>および<1>プラ
msgid "CAD Model"
msgstr "CADモデル"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "BOMから計算"
@@ -4567,7 +4568,7 @@ msgstr "従業員タイプを編集"
msgid "Edit expiration date"
msgstr "有効期限を編集"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "有効期限を編集"
@@ -6397,10 +6398,6 @@ msgstr "インコタームズの場所"
msgid "Infrastructure"
msgstr "インフラストラクチャ"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "最も早い入力有効期限を継承"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "材料から継承"
@@ -9280,7 +9277,7 @@ msgstr "発送"
msgid "Output"
msgstr "出力"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "出力は原材料より長く持ちません。入力に有効期限がない場合は、固定期間にフォールバックします。"
@@ -12166,15 +12163,15 @@ msgstr "見積もりを共有"
msgid "Shelf life"
msgstr "棚卸し期間"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "棚卸し期間(日数)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "棚卸し開始プロセス"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "棚卸し寿命"
@@ -12487,7 +12484,7 @@ msgstr "ソース分析"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "ソース文書"
@@ -12610,7 +12607,7 @@ msgstr "在库存转移中开始添加零件"
msgid "Start Date"
msgstr "開始日"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "有効期限開始"
@@ -13773,11 +13770,11 @@ msgstr "ご注文、請求書、顧客情報など、すべての変更を追跡
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "ご注文、請求書、顧客、仕入先など、すべての変更を追跡します。"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "このアイテムのバッチまたはシリアルの有効期限を追跡します。"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "提案を表示"
msgid "View Suppliers"
msgstr "サプライヤーを表示"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "トレーサビリティグラフを表示"
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index afbaf9b13e..99f4c3b9af 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -1710,6 +1710,7 @@ msgstr "Logując się, wyrażasz zgodę na <0>Warunki korzystania z usługi</0>
msgid "CAD Model"
msgstr "Model CAD"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "Oblicz z BOM"
@@ -4567,7 +4568,7 @@ msgstr "Edytuj typ pracownika"
msgid "Edit expiration date"
msgstr "Edytuj datę wygaśnięcia"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "Edytuj datę ważności"
@@ -6397,10 +6398,6 @@ msgstr "Lokalizacja Incoterm"
msgid "Infrastructure"
msgstr "Infrastruktura"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "Dziedzicz najwcześniejszą datę ważności wejścia"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "Dziedzicz z Materiałów"
@@ -9280,7 +9277,7 @@ msgstr "Wychodzące"
msgid "Output"
msgstr "Wyjście"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "Produkt nigdy nie przetrwa dłużej niż jego surowce. Powraca do stałego okresu, gdy żaden materiał wejściowy nie ma daty wygaśnięcia."
@@ -12166,15 +12163,15 @@ msgstr "Udostępnij Ofertę"
msgid "Shelf life"
msgstr "Okres przydatności"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "Okres przydatności (Dni)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "Proces rozpoczęcia okresu przydatności"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "Okres przydatności"
@@ -12487,7 +12484,7 @@ msgstr "Analiza źródła"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "Dokument źródłowy"
@@ -12610,7 +12607,7 @@ msgstr "Zacznij dodawać części do transferu zapasów"
msgid "Start Date"
msgstr "Data początkowa"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "Rozpocznij wygaśnięcie"
@@ -13773,11 +13770,11 @@ msgstr "Śledź każdą zmianę w swoich zamówieniach, fakturach, klientach i n
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "Śledź każdą zmianę w swoich zamówieniach, fakturach, klientach, dostawcach i nie tylko."
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "Śledź, kiedy partie lub numery seryjne tego artykułu wygasają."
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "Wyświetl sugestię"
msgid "View Suppliers"
msgstr "Wyświetl dostawców"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "Wyświetl Graf Możliwości Śledzenia"
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index 015979aad4..0f1ab741aa 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -1710,6 +1710,7 @@ msgstr "Ao fazer login, você concorda com os <0>Termos de Serviço</0> e a <1>P
msgid "CAD Model"
msgstr "Modelo CAD"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "Calcular a partir da BOM"
@@ -4567,7 +4568,7 @@ msgstr "Editar Tipo de Funcionário"
msgid "Edit expiration date"
msgstr "Editar data de expiração"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "Editar Validade"
@@ -6397,10 +6398,6 @@ msgstr "Local de Incoterm"
msgid "Infrastructure"
msgstr "Infraestrutura"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "Herdar expiração de entrada mais antiga"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "Herdar de Materiais"
@@ -9280,7 +9277,7 @@ msgstr "Saída"
msgid "Output"
msgstr "Saída"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "O resultado nunca dura mais do que suas matérias-primas. Volta à duração fixa quando nenhuma entrada tem uma data de validade."
@@ -12166,15 +12163,15 @@ msgstr "Compartilhar Cotação"
msgid "Shelf life"
msgstr "Vida útil"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "Vida Útil (Dias)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "Processo de Início da Vida Útil"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "Vida de Prateleira"
@@ -12487,7 +12484,7 @@ msgstr "Análise de Origem"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "Documento de Origem"
@@ -12610,7 +12607,7 @@ msgstr "Comece a adicionar peças à sua transferência de estoque"
msgid "Start Date"
msgstr "Data de Início"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "Iniciar Expiração"
@@ -13773,11 +13770,11 @@ msgstr "Acompanhe todas as alterações em seus pedidos, faturas, clientes e mui
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "Rastreie todas as alterações em seus pedidos, faturas, clientes, fornecedores e muito mais."
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "Rastreie quando os lotes ou números de série deste item expiram."
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "Ver Sugestão"
msgid "View Suppliers"
msgstr "Ver Fornecedores"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "Ver Gráfico de Rastreabilidade"
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index ae19c67332..157df7e8f6 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -1710,6 +1710,7 @@ msgstr "Подписываясь, вы соглашаетесь с <0>Услов
msgid "CAD Model"
msgstr "3D модель"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "Рассчитать из BOM"
@@ -4567,7 +4568,7 @@ msgstr "Редактировать тип сотрудника"
msgid "Edit expiration date"
msgstr "Изменить дату истечения"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "Редактировать срок годности"
@@ -6397,10 +6398,6 @@ msgstr "Место поставки по Инкотермс"
msgid "Infrastructure"
msgstr "Инфраструктура"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "Наследовать самый ранний срок истечения входных данных"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "Наследовать от материалов"
@@ -9280,7 +9277,7 @@ msgstr "Исходящие"
msgid "Output"
msgstr "Выход"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "Выпуск никогда не превышает срок действия своих сырьевых материалов. Возвращается к фиксированной продолжительности, когда ни один входной материал не имеет даты истечения."
@@ -12166,15 +12163,15 @@ msgstr "Поделиться предложением"
msgid "Shelf life"
msgstr "Срок годности"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "Срок годности (дни)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "Процесс начала срока годности"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "Срок годности"
@@ -12487,7 +12484,7 @@ msgstr "Анализ источников"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "Исходный документ"
@@ -12610,7 +12607,7 @@ msgstr "Начните добавлять детали в ваш трансфе
msgid "Start Date"
msgstr "Дата начала"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "Начало истечения"
@@ -13773,11 +13770,11 @@ msgstr "Отслеживайте каждое изменение ваших за
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "Отслеживайте каждое изменение ваших заказов, счетов, клиентов, поставщиков и многого другого."
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "Отслеживайте, когда партии или серийные номера этого товара истекают."
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "Просмотр предложения"
msgid "View Suppliers"
msgstr "Просмотр поставщиков"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "Просмотр графика отслеживания"
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index 0794af5d7e..3d61830478 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -1710,6 +1710,7 @@ msgstr "通过登录,您同意<0>服务条款</0>和<1>隐私政策。</1>"
msgid "CAD Model"
msgstr "CAD 模型"
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:355
#: apps/erp/app/routes/x+/settings+/inventory.tsx:337
msgid "Calculate from BOM"
msgstr "从物料清单计算"
@@ -4567,7 +4568,7 @@ msgstr "编辑员工类型"
msgid "Edit expiration date"
msgstr "编辑过期日期"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:236
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:235
msgid "Edit Expiry"
msgstr "编辑过期日期"
@@ -6397,10 +6398,6 @@ msgstr "贸易术语地点"
msgid "Infrastructure"
msgstr "基础设施"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:358
-msgid "Inherit earliest input expiry"
-msgstr "继承最早的输入过期日期"
-
#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:184
msgid "Inherit From Materials"
msgstr "从材料继承"
@@ -9280,7 +9277,7 @@ msgstr "出库"
msgid "Output"
msgstr "输出"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:359
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:356
msgid "Output never outlasts its raw materials. Falls back to the fixed duration when no input has an expiry date."
msgstr "输出永远不会超过其原材料的保质期。当没有输入具有过期日期时,回退到固定期限。"
@@ -12166,15 +12163,15 @@ msgstr "分享报价"
msgid "Shelf life"
msgstr "保质期"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:333
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:329
msgid "Shelf Life (Days)"
msgstr "保质期(天)"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:341
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:337
msgid "Shelf Life Start Process"
msgstr "保质期开始流程"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:296
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:292
msgid "Shelf-Life"
msgstr "保质期"
@@ -12487,7 +12484,7 @@ msgstr "来源分析"
#: apps/erp/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx:72
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentForm/ShipmentForm.tsx:131
#: apps/erp/app/modules/inventory/ui/Shipments/ShipmentsTable.tsx:72
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:204
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:203
msgid "Source Document"
msgstr "源文档"
@@ -12610,7 +12607,7 @@ msgstr "开始向您的库存转移添加零件"
msgid "Start Date"
msgstr "开始日期"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:348
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:344
msgid "Start Expiration"
msgstr "开始过期"
@@ -13773,11 +13770,11 @@ msgstr "跟踪对您的订单、发票、客户等的每一项更改。"
msgid "Track every change to your orders, invoices, customers, suppliers, and more."
msgstr "跟踪对您的订单、发票、客户、供应商等的每项更改。"
-#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:299
+#: apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx:295
msgid "Track when batches or serials of this item expire."
msgstr "跟踪此项目的批次或序列号何时过期。"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:251
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:250
#: apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx:70
#: apps/erp/app/routes/x+/inventory+/tracked-entities.tsx:16
#: apps/erp/app/routes/x+/issue+/$id.tsx:147
@@ -14612,7 +14609,7 @@ msgstr "查看建议"
msgid "View Suppliers"
msgstr "查看供应商"
-#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:229
+#: apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx:228
msgid "View Traceability Graph"
msgstr "查看可追溯性图表"