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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
Merge branch 'main' into feat/quote-bulk-import
sidgaikwad25aedcd069bc
diff --cc apps/erp/app/modules/sales/sales.import.server.tsindex b51841068a,0000000000..74d8dd4c10mode 100644,000000..100644--- a/apps/erp/app/modules/sales/sales.import.server.ts+++ b/apps/erp/app/modules/sales/sales.import.server.ts@@@ -1,815 -1,0 +1,839 @@@+import type { Database } from "@carbon/database";+import { fetchAllFromTable } from "@carbon/database";++import type { Kysely, KyselyDatabase } from "@carbon/database/client";+import type { SupabaseClient } from "@supabase/supabase-js";+import Papa from "papaparse";+import {+ insertQuote,+ upsertQuoteLine,+ upsertQuoteLinePrices+} from "./sales.service";++// App-side bulk quote importer. Unlike the master-data imports (which run in the+// `import-csv` Deno edge function with direct Kysely writes), quotes are created+// through the real sales services so their side effects — opportunity,+// quotePayment, quoteShipment, external portal link, sequence number — are+// preserved (see `.ai/specs/2026-07-28-quote-bulk-import.md`, Option B).+//+// Three modes, discriminated by the `table` arg:+// - `quote` header rows only (one quote per row)+// - `quoteLine` lines + pricing appended to existing quotes (by Quote Number)+// - `quoteWithLines` combined: header + line rows grouped by Quote Group+//+// Idempotency is create-only: a Quote Group whose external id was already+// imported (recorded in `externalIntegrationMapping`, integration `csv`) is+// skipped rather than duplicated. Within a file, a repeated (Part Number,+// Quantity) line is skipped too.++const QUOTE_IMPORT_TABLES = ["quote", "quoteLine", "quoteWithLines"] as const;+export type QuoteImportTable = (typeof QUOTE_IMPORT_TABLES)[number];++export function isQuoteImportTable(table: string): table is QuoteImportTable {+ return (QUOTE_IMPORT_TABLES as readonly string[]).includes(table);+}++const EXTERNAL_INTEGRATION = "csv";+const QUOTE_ENTITY_TYPE = "quote";++const METHOD_TYPES = [+ "Purchase to Order",+ "Pull from Inventory",+ "Make to Order"+] as const;+type MethodType = (typeof METHOD_TYPES)[number];++const LINE_STATUSES = [+ "Not Started",+ "In Progress",+ "Complete",+ "No Quote"+] as const;+type LineStatus = (typeof LINE_STATUSES)[number];++const QUOTE_STATUSES = [+ "Draft",+ "Sent",+ "Ordered",+ "Partial",+ "Lost",+ "Cancelled",+ "Expired"+] as const;+type QuoteStatus = (typeof QUOTE_STATUSES)[number];++// Legacy Buy/Pick/Make → current method-type names.+const LEGACY_METHOD_TYPE: Record<string, MethodType> = {+ buy: "Purchase to Order",+ pick: "Pull from Inventory",+ make: "Make to Order"+};++type Rec = Record<string, string>;+type RowIssue = { row: number; reason: string; values: Rec };+type Summary = {+ inserted: number;+ updated: number;+ errors: RowIssue[];+ skipped: RowIssue[];+};++type ImportQuotesArgs = {++ // `upsertQuoteLinePrices` runs a Kysely transaction, so the importer needs the++ // Kysely handle alongside the Supabase client. Built by the route action++ // (`getDatabaseClient()`) and passed in, per the `no-db-client-in-service` seam.++ db: Kysely<KyselyDatabase>;+ table: QuoteImportTable;+ filePath: string;+ columnMappings: Record<string, string>;+ enumMappings?: Record<string, Record<string, string>>;+ companyId: string;+ companyGroupId: string;+ userId: string;+};++type ImportQuotesResult = {+ data: Summary | null;+ error: { message: string } | null;+};++// ---------------------------------------------------------------------------+// small helpers+// ---------------------------------------------------------------------------++// PostgREST caps a single `.in(...)` list; chunk large id sets so a big file+// can't blow the request size limit.+const LOOKUP_CHUNK = 200;++function chunk<T>(items: T[], size: number): T[][] {+ const out: T[][] = [];+ for (let i = 0; i < items.length; i += size)+ out.push(items.slice(i, i + size));+ return out;+}++const text = (value: string | null | undefined): string => (value ?? "").trim();++const num = (value: string | null | undefined): number | undefined => {+ const t = text(value);+ if (!t) return undefined;+ const n = Number(t.replace(/,/g, ""));+ return Number.isFinite(n) ? n : undefined;+};++function normalizeMethodType(raw: string | undefined): MethodType | null {+ const t = text(raw);+ if (!t) return null;+ const lower = t.toLowerCase();+ if (LEGACY_METHOD_TYPE[lower]) return LEGACY_METHOD_TYPE[lower];+ const match = METHOD_TYPES.find((m) => m.toLowerCase() === lower);+ return match ?? null;+}++function normalizeLineStatus(raw: string | undefined): LineStatus {+ const t = text(raw).toLowerCase();+ return LINE_STATUSES.find((s) => s.toLowerCase() === t) ?? "Not Started";+}++function normalizeQuoteStatus(+ raw: string | undefined+): QuoteStatus | undefined {+ const t = text(raw).toLowerCase();+ return QUOTE_STATUSES.find((s) => s.toLowerCase() === t);+}++// discountPercent is stored as a fraction 0..1. To remove the ambiguity at 1+// (100% or 1%?), the format decides: a decimal-formatted value (contains ".") is+// a fraction and must be 0..1; a whole number is a percent and must be 0..100+// (e.g. "0.10" → 0.10, "10" → 0.10, "1" → 0.01). Reject out-of-range / negative.+function normalizeDiscount(raw: string | undefined): number | "invalid" {+ const t = text(raw);+ if (!t) return 0;+ const n = num(t);+ if (n === undefined || n < 0) return "invalid";+ if (t.includes(".")) return n <= 1 ? n : "invalid";+ return n <= 100 ? n / 100 : "invalid";+}++type RowType = "QUOTE" | "LINE";++function resolveRowType(record: Rec, table: QuoteImportTable): RowType {+ if (table === "quote") return "QUOTE";+ if (table === "quoteLine") return "LINE";+ const explicit = text(record.rowType).toUpperCase();+ if (explicit === "QUOTE") return "QUOTE";+ if (explicit === "LINE") return "LINE";+ // Blank Row Type: a Part Number means it's a line, otherwise a header.+ return text(record.itemReadableId) ? "LINE" : "QUOTE";+}++// ---------------------------------------------------------------------------+// entry point+// ---------------------------------------------------------------------------++export async function importQuotes(+ client: SupabaseClient<Database>,+ args: ImportQuotesArgs+): Promise<ImportQuotesResult> {- const { table, filePath, columnMappings, companyId, companyGroupId, userId } =- args;++ const {++ db,++ table,++ filePath,++ columnMappings,++ companyId,++ companyGroupId,++ userId++ } = args;++ const summary: Summary = {+ inserted: 0,+ updated: 0,+ errors: [],+ skipped: []+ };++ // 1. download + parse ----------------------------------------------------+ const download = await client.storage.from("private").download(filePath);+ if (download.error || !download.data) {+ return {+ data: null,+ error: { message: download.error?.message ?? "Failed to download file" }+ };+ }++ const csvText = await download.data.text();+ const parsed = Papa.parse<Rec>(csvText, {+ header: true,+ skipEmptyLines: true+ });+ const rawRows = parsed.data ?? [];++ // 2. apply column (and any enum) mappings → per-field records ------------+ const records: Rec[] = rawRows.map((raw) => {+ const mapped: Rec = {};+ for (const [field, header] of Object.entries(columnMappings)) {+ if (!header || header === "N/A") continue;+ const value = text(raw[header]);+ const enumMap = args.enumMappings?.[field];+ mapped[field] = enumMap+ ? (enumMap[value] ?? enumMap.Default ?? value)+ : value;+ }+ return mapped;+ });++ if (records.length === 0) {+ return { data: summary, error: null };+ }++ // 3. batch-resolve references (customers, items, existing quotes) --------+ const { refs, error: refError } = await loadReferences(+ client,+ companyId,+ records,+ table+ );+ if (refError || !refs) {+ return {+ data: null,+ error: refError ?? { message: "Failed to load import references" }+ };+ }++ // 4. process by mode -----------------------------------------------------+ if (table === "quoteLine") {+ await importLinesIntoExistingQuotes(client, {++ db,+ records,+ refs,+ companyId,+ userId,+ summary+ });+ } else {+ await importQuoteGroups(client, {++ db,+ table,+ records,+ refs,+ companyId,+ companyGroupId,+ userId,+ summary+ });+ }++ return { data: summary, error: null };+}++// ---------------------------------------------------------------------------+// reference resolution+// ---------------------------------------------------------------------------++type ItemInfo = {+ id: string;+ readableId: string;+ type: string;+ defaultMethodType: string | null;+ unitOfMeasureCode: string | null;+};++type References = {+ customersByKey: Map<string, string>; // lowercased name|readableId → customer.id+ ambiguousCustomers: Set<string>;+ itemsByReadableId: Map<string, ItemInfo>; // exact readableId → item+ quotesByNumber: Map<string, string>; // Quote Number → quote.id+ importedExternalIds: Set<string>;+};++// Resolves every reference the import needs up front. Any DB read failing is a+// hard error (returned, not swallowed) so a lookup failure never masquerades as+// a row-level "not found".+async function loadReferences(+ client: SupabaseClient<Database>,+ companyId: string,+ records: Rec[],+ table: QuoteImportTable+): Promise<{ refs: References | null; error: { message: string } | null }> {+ const refs: References = {+ customersByKey: new Map(),+ ambiguousCustomers: new Set(),+ itemsByReadableId: new Map(),+ quotesByNumber: new Map(),+ importedExternalIds: new Set()+ };++ // Customers — resolve by name or readableId (only for header rows). Name+ // matching is case-insensitive, so fetch all company customers (paged past the+ // 1000-row cap) and compare in memory.+ const hasCustomerKey = records.some((r) => text(r.customerId));+ if (hasCustomerKey && table !== "quoteLine") {+ try {+ const customers = await fetchAllFromTable<{+ id: string;+ name: string | null;+ readableId: string | null;+ }>(client, "customer", "id, name, readableId", (q) =>+ q.eq("companyId", companyId)+ );+ for (const c of customers.data ?? []) {+ for (const raw of [c.name, c.readableId]) {+ const k = text(raw).toLowerCase();+ if (!k) continue;+ if (+ refs.customersByKey.has(k) &&+ refs.customersByKey.get(k) !== c.id+ ) {+ refs.ambiguousCustomers.add(k);+ } else {+ refs.customersByKey.set(k, c.id);+ }+ }+ }+ } catch (err) {+ return {+ refs: null,+ error: {+ message: `Failed to load customers: ${(err as Error).message}`+ }+ };+ }+ }++ // Items — resolve part numbers (exact readableId match), chunked.+ const partNumbers = new Set<string>();+ for (const r of records) {+ const pn = text(r.itemReadableId);+ if (pn) partNumbers.add(pn);+ }+ for (const batch of chunk(Array.from(partNumbers), LOOKUP_CHUNK)) {+ const items = await client+ .from("item")+ .select("id, readableId, type, defaultMethodType, unitOfMeasureCode")+ .eq("companyId", companyId)+ .in("readableId", batch);+ if (items.error) {+ return {+ refs: null,+ error: { message: `Failed to load items: ${items.error.message}` }+ };+ }+ for (const it of items.data ?? []) {+ refs.itemsByReadableId.set(text(it.readableId), {+ id: it.id,+ readableId: it.readableId,+ type: it.type ?? "Part",+ defaultMethodType: it.defaultMethodType ?? null,+ unitOfMeasureCode: it.unitOfMeasureCode ?? null+ });+ }+ }++ // Existing quotes — needed only when appending lines by Quote Number.+ if (table === "quoteLine") {+ const numbers = new Set<string>();+ for (const r of records) {+ const q = text(r.quoteId);+ if (q) numbers.add(q);+ }+ for (const batch of chunk(Array.from(numbers), LOOKUP_CHUNK)) {+ const quotes = await client+ .from("quote")+ .select("id, quoteId")+ .eq("companyId", companyId)+ .in("quoteId", batch);+ if (quotes.error) {+ return {+ refs: null,+ error: { message: `Failed to load quotes: ${quotes.error.message}` }+ };+ }+ for (const q of quotes.data ?? []) {+ refs.quotesByNumber.set(text(q.quoteId), q.id);+ }+ }+ }++ // Already-imported Quote Groups (create-only idempotency) — query only the+ // external ids present in this file, chunked, so a company with many prior+ // imports can't overflow the 1000-row cap and miss an existing mapping.+ if (table !== "quoteLine") {+ const externalIds = new Set<string>();+ for (const r of records) {+ const e = text(r.externalId);+ if (e) externalIds.add(e);+ }+ for (const batch of chunk(Array.from(externalIds), LOOKUP_CHUNK)) {+ const mappings = await client+ .from("externalIntegrationMapping")+ .select("externalId")+ .eq("companyId", companyId)+ .eq("integration", EXTERNAL_INTEGRATION)+ .eq("entityType", QUOTE_ENTITY_TYPE)+ .in("externalId", batch);+ if (mappings.error) {+ return {+ refs: null,+ error: {+ message: `Failed to load import history: ${mappings.error.message}`+ }+ };+ }+ for (const m of mappings.data ?? []) {+ const k = text(m.externalId);+ if (k) refs.importedExternalIds.add(k);+ }+ }+ }++ return { refs, error: null };+}++// ---------------------------------------------------------------------------+// mode: quote / quoteWithLines (grouped by Quote Group)+// ---------------------------------------------------------------------------++type Entry = { record: Rec; index: number };++async function importQuoteGroups(+ client: SupabaseClient<Database>,+ ctx: {++ db: Kysely<KyselyDatabase>;+ table: QuoteImportTable;+ records: Rec[];+ refs: References;+ companyId: string;+ companyGroupId: string;+ userId: string;+ summary: Summary;+ }+): Promise<void> {- const { table, records, refs, companyId, companyGroupId, userId, summary } =- ctx;++ const {++ db,++ table,++ records,++ refs,++ companyId,++ companyGroupId,++ userId,++ summary++ } = ctx;++ // Group rows by Quote Group (externalId), preserving order.+ const groups = new Map<+ string,+ { headers: Entry[]; lines: Entry[]; firstIndex: number }+ >();+ const groupOrder: string[] = [];++ records.forEach((record, index) => {+ const externalId = text(record.externalId);+ const rowType = resolveRowType(record, table);++ if (!externalId) {+ summary.errors.push({+ row: index,+ reason: "Quote Group is required",+ values: record+ });+ return;+ }++ if (!groups.has(externalId)) {+ groups.set(externalId, { headers: [], lines: [], firstIndex: index });+ groupOrder.push(externalId);+ }+ const group = groups.get(externalId)!;+ if (rowType === "QUOTE") group.headers.push({ record, index });+ else group.lines.push({ record, index });+ });++ for (const externalId of groupOrder) {+ const group = groups.get(externalId)!;++ // Create-only idempotency: skip a Quote Group already imported.+ if (refs.importedExternalIds.has(externalId)) {+ for (const entry of [...group.headers, ...group.lines]) {+ summary.skipped.push({+ row: entry.index,+ reason: `Quote Group "${externalId}" was already imported`,+ values: entry.record+ });+ }+ continue;+ }++ const header = group.headers[0];+ if (!header) {+ // Lines with no header row in the file (combined mode only).+ for (const entry of group.lines) {+ summary.errors.push({+ row: entry.index,+ reason: `No header (QUOTE) row for Quote Group "${externalId}"`,+ values: entry.record+ });+ }+ continue;+ }++ // Extra header rows for the same group are duplicates.+ for (const dup of group.headers.slice(1)) {+ summary.skipped.push({+ row: dup.index,+ reason: `Duplicate header for Quote Group "${externalId}"`,+ values: dup.record+ });+ }++ // Resolve + create the header.+ const customerKey = text(header.record.customerId).toLowerCase();+ if (!customerKey) {+ summary.errors.push({+ row: header.index,+ reason: "Customer is required",+ values: header.record+ });+ failLines(group.lines, "Parent quote could not be created", summary);+ continue;+ }+ if (refs.ambiguousCustomers.has(customerKey)) {+ summary.errors.push({+ row: header.index,+ reason: `Customer "${text(header.record.customerId)}" is ambiguous`,+ values: header.record+ });+ failLines(group.lines, "Parent quote could not be created", summary);+ continue;+ }+ const customerId = refs.customersByKey.get(customerKey);+ if (!customerId) {+ summary.errors.push({+ row: header.index,+ reason: `Customer "${text(header.record.customerId)}" not found`,+ values: header.record+ });+ failLines(group.lines, "Parent quote could not be created", summary);+ continue;+ }++ const created = await insertQuote(client, {+ customerId,+ companyId,+ companyGroupId,+ createdBy: userId,+ customerReference: text(header.record.customerReference) || undefined,+ expirationDate: text(header.record.expirationDate) || undefined,+ dueDate: text(header.record.dueDate) || undefined,+ status: normalizeQuoteStatus(header.record.quoteStatus)+ });++ if (created.error || !created.data) {+ summary.errors.push({+ row: header.index,+ reason: created.error?.message ?? "Failed to create quote",+ values: header.record+ });+ failLines(group.lines, "Parent quote could not be created", summary);+ continue;+ }++ summary.inserted += 1;+ const quoteInternalId = created.data.id;++ // Record the mapping so a re-import skips this Quote Group. If this write+ // fails the quote still exists, so surface it — a re-import would otherwise+ // create a duplicate quote for this group.+ const mappingInsert = await client+ .from("externalIntegrationMapping")+ .insert({+ entityType: QUOTE_ENTITY_TYPE,+ entityId: quoteInternalId,+ integration: EXTERNAL_INTEGRATION,+ externalId,+ companyId,+ createdBy: userId+ });+ if (mappingInsert.error) {+ summary.errors.push({+ row: header.index,+ reason: `Quote created, but recording its import mapping failed (a re-import may duplicate it): ${mappingInsert.error.message}`,+ values: header.record+ });+ }++ await createLines(client, {++ db,+ quoteInternalId,+ lines: group.lines,+ refs,+ companyId,+ userId,+ summary+ });+ }+}++// ---------------------------------------------------------------------------+// mode: quoteLine (append to existing quotes by Quote Number)+// ---------------------------------------------------------------------------++async function importLinesIntoExistingQuotes(+ client: SupabaseClient<Database>,+ ctx: {++ db: Kysely<KyselyDatabase>;+ records: Rec[];+ refs: References;+ companyId: string;+ userId: string;+ summary: Summary;+ }+): Promise<void> {- const { records, refs, companyId, userId, summary } = ctx;++ const { db, records, refs, companyId, userId, summary } = ctx;++ const byQuote = new Map<string, Entry[]>();+ records.forEach((record, index) => {+ const quoteNumber = text(record.quoteId);+ if (!quoteNumber) {+ summary.errors.push({+ row: index,+ reason: "Quote Number is required",+ values: record+ });+ return;+ }+ if (!byQuote.has(quoteNumber)) byQuote.set(quoteNumber, []);+ byQuote.get(quoteNumber)!.push({ record, index });+ });++ for (const [quoteNumber, lines] of byQuote) {+ const quoteInternalId = refs.quotesByNumber.get(quoteNumber);+ if (!quoteInternalId) {+ failLines(lines, `Quote "${quoteNumber}" not found`, summary);+ continue;+ }+ await createLines(client, {++ db,+ quoteInternalId,+ lines,+ refs,+ companyId,+ userId,+ summary+ });+ }+}++// ---------------------------------------------------------------------------+// shared line creation (+ in-file dedup + explicit pricing)+// ---------------------------------------------------------------------------++async function createLines(+ client: SupabaseClient<Database>,+ ctx: {++ db: Kysely<KyselyDatabase>;+ quoteInternalId: string;+ lines: Entry[];+ refs: References;+ companyId: string;+ userId: string;+ summary: Summary;+ }+): Promise<void> {- const { quoteInternalId, lines, refs, companyId, userId, summary } = ctx;++ const { db, quoteInternalId, lines, refs, companyId, userId, summary } = ctx;+ const seen = new Set<string>(); // `${partNumber}|${quantity}` within this quote++ for (const { record, index } of lines) {+ const partNumber = text(record.itemReadableId);+ if (!partNumber) {+ summary.errors.push({+ row: index,+ reason: "Part Number is required",+ values: record+ });+ continue;+ }+ const item = refs.itemsByReadableId.get(partNumber);+ if (!item) {+ summary.errors.push({+ row: index,+ reason: `Part "${partNumber}" not found`,+ values: record+ });+ continue;+ }++ const description = text(record.description) || item.readableId;+ const quantityRaw = text(record.quantity);+ if (!quantityRaw) {+ summary.errors.push({+ row: index,+ reason: "Quantity is required",+ values: record+ });+ continue;+ }+ const quantity = num(quantityRaw);+ if (quantity === undefined || quantity < 0.00001) {+ summary.errors.push({+ row: index,+ reason: "Quantity must be a positive number",+ values: record+ });+ continue;+ }++ const dedupKey = `${item.readableId}|${quantity}`;+ if (seen.has(dedupKey)) {+ summary.skipped.push({+ row: index,+ reason: `Duplicate line (${partNumber} @ qty ${quantity})`,+ values: record+ });+ continue;+ }+ seen.add(dedupKey);++ const discount = normalizeDiscount(record.discountPercent);+ if (discount === "invalid") {+ summary.errors.push({+ row: index,+ reason:+ "Discount Percent must be a fraction 0–1 (e.g. 0.10) or a whole percent 0–100 (e.g. 10)",+ values: record+ });+ continue;+ }++ const methodType =+ normalizeMethodType(record.methodType) ??+ normalizeMethodType(item.defaultMethodType ?? undefined) ??+ "Pull from Inventory";++ const unitOfMeasureCode =+ text(record.unitOfMeasureCode) || item.unitOfMeasureCode || "EA";++ const linePayload = {+ quoteId: quoteInternalId,+ itemId: item.id,+ itemReadableId: item.readableId,+ itemType: item.type,+ description,+ methodType,+ unitOfMeasureCode,+ status: normalizeLineStatus(record.lineStatus),+ quantity: [quantity],+ taxPercent: 0,+ customerPartId: text(record.customerPartId) || undefined,+ companyId,+ createdBy: userId+ };++ const line = await upsertQuoteLine(+ client,+ linePayload as Parameters<typeof upsertQuoteLine>[1]+ );++ if (line.error || !line.data) {+ summary.errors.push({+ row: index,+ reason: line.error?.message ?? "Failed to create quote line",+ values: record+ });+ continue;+ }++ summary.inserted += 1;+ const lineId = line.data.id;++ // Explicit quantity-break pricing. Only persist non-negative, valid numbers+ // — a present-but-invalid or negative Unit Price / Lead Time is rejected+ // rather than written to the quote line.+ const unitPriceRaw = text(record.unitPrice);+ if (unitPriceRaw) {+ const unitPrice = num(unitPriceRaw);+ const leadTimeRaw = text(record.leadTime);+ const leadTime = num(leadTimeRaw);++ if (unitPrice === undefined || unitPrice < 0) {+ summary.errors.push({+ row: index,+ reason:+ "Line created but Unit Price must be a number of 0 or greater",+ values: record+ });+ } else if (leadTimeRaw && (leadTime === undefined || leadTime < 0)) {+ summary.errors.push({+ row: index,+ reason: "Line created but Lead Time must be a number of 0 or greater",+ values: record+ });+ } else {- const priceResult = await upsertQuoteLinePrices(- client,- quoteInternalId,- lineId,- [++ // Kysely transaction — it throws rather than returning an error.++ try {++ await upsertQuoteLinePrices(db, companyId, quoteInternalId, lineId, [+ {+ quoteLineId: lineId,+ unitPrice,+ leadTime: leadTime ?? 0,+ discountPercent: discount,+ quantity,+ createdBy: userId,+ priceSource: "manual"+ }- ]- );- if (priceResult.error) {++ ]);++ } catch (err) {+ summary.errors.push({+ row: index,- reason: `Line created but pricing failed: ${priceResult.error.message}`,++ reason: `Line created but pricing failed: ${(err as Error).message}`,+ values: record+ });+ }+ }+ }+ }+}++function failLines(lines: Entry[], reason: string, summary: Summary): void {+ for (const { record, index } of lines) {+ summary.errors.push({ row: index, reason, values: record });+ }+}diff --cc apps/erp/app/modules/shared/imports.models.tsindex 17743045d8,55aef38d53..b9e9d4b10a--- a/apps/erp/app/modules/shared/imports.models.ts+++ b/apps/erp/app/modules/shared/imports.models.ts@@@ -1648,30 -1671,121 +1716,146 @@@ export const fieldMappings =type: "string"}},+ // Quote header only — creates empty quotes.+ quote: {+ ...quoteHeaderImportFields,+ externalId: { ...quoteHeaderImportFields.externalId, required: true },+ customerId: { ...quoteHeaderImportFields.customerId, required: true }+ },+ // Quote lines (+ pricing) appended to an existing quote, keyed by Quote Number.+ quoteLine: {+ quoteId: { label: "Quote Number", required: true, type: "string" },+ rowType: { label: "Row Type", required: false, type: "string" },+ ...quoteLineImportFields,+ itemReadableId: {+ ...quoteLineImportFields.itemReadableId,+ required: true+ }+ },+ // Combined file — creates quotes with their lines + pricing. Row Type+ // (QUOTE / LINE) discriminates header rows from line rows; blank is inferred+ // from the presence of a Part Number. Rows are grouped by Quote Group.+ quoteWithLines: {+ rowType: { label: "Row Type", required: false, type: "string" },+ ...quoteHeaderImportFields,+ externalId: { ...quoteHeaderImportFields.externalId, required: true },+ ...quoteLineImportFields++ },+ materialSubstance: {+ name: {+ label: "Name",+ required: true,+ type: "string"+ },+ code: {+ label: "Code",+ required: true,+ type: "string"+ }+ },+ materialForm: {+ name: {+ label: "Name",+ required: true,+ type: "string"+ },+ code: {+ label: "Code",+ required: true,+ type: "string"+ }+ },+ materialFinish: {+ name: {+ label: "Name",+ required: true,+ type: "string"+ },+ materialSubstanceId: {+ label: "Substance",+ required: true,+ type: "enum",+ enumData: {+ description:+ "The substance this finish belongs to — match by substance name",+ fetcher: materialSubstanceFetcher,+ default: ""+ }+ }+ },+ materialGrade: {+ name: {+ label: "Name",+ required: true,+ type: "string"+ },+ materialSubstanceId: {+ label: "Substance",+ required: true,+ type: "enum",+ enumData: {+ description:+ "The substance this grade belongs to — match by substance name",+ fetcher: materialSubstanceFetcher,+ default: ""+ }+ }+ },+ materialType: {+ name: {+ label: "Name",+ required: true,+ type: "string"+ },+ code: {+ label: "Code",+ required: true,+ type: "string"+ },+ materialSubstanceId: {+ label: "Substance",+ required: true,+ type: "enum",+ enumData: {+ description:+ "The substance this type belongs to — match by substance name",+ fetcher: materialSubstanceFetcher,+ default: ""+ }+ },+ materialFormId: {+ label: "Shape",+ required: true,+ type: "enum",+ enumData: {+ description: "The shape this type belongs to — match by shape name",+ fetcher: materialFormFetcher,+ default: ""+ }+ }+ },+ materialDimension: {+ name: {+ label: "Name",+ required: true,+ type: "string"+ },+ materialFormId: {+ label: "Shape",+ required: true,+ type: "enum",+ enumData: {+ description:+ "The shape this dimension belongs to — match by shape name",+ fetcher: materialFormFetcher,+ default: ""+ }+ },+ isMetric: {+ label: "Metric",+ required: false,+ type: "boolean"+ }}} as const;@@@ -1690,35 -1804,14 +1874,42 @@@ export const importPermissions: Record<consumable: "parts",workCenter: "production",process: "production",+ storageUnit: "inventory",fixedAsset: "accounting",+ materialSubstance: "parts",+ materialForm: "parts",+ materialFinish: "parts",+ materialGrade: "parts",+ materialType: "parts",- materialDimension: "parts"++ materialDimension: "parts",+ quote: "sales",+ quoteLine: "sales",+ quoteWithLines: "sales"+};++// Quote import validation is intentionally permissive at the mapping layer (every+// cell an optional string); the app-side importer (`sales.import.server.ts`) does+// the authoritative per-row validation (required fields, customer/part resolution,+// duplicate detection), mirroring the method-import philosophy.+const quoteImportSchemaFields = {+ externalId: z.string().optional(),+ quoteId: z.string().optional(),+ rowType: z.string().optional(),+ customerId: z.string().optional(),+ customerReference: z.string().optional(),+ expirationDate: z.string().optional(),+ dueDate: z.string().optional(),+ quoteStatus: z.string().optional(),+ itemReadableId: z.string().optional(),+ description: z.string().optional(),+ methodType: z.string().optional(),+ unitOfMeasureCode: z.string().optional(),+ quantity: z.string().optional(),+ unitPrice: z.string().optional(),+ discountPercent: z.string().optional(),+ leadTime: z.string().optional(),+ customerPartId: z.string().optional(),+ lineStatus: z.string().optional()};// Zod fragments for the method imports. Every method cell is an optional string at@@@ -2353,7 -2511,76 +2609,79 @@@ export const importSchemas: Record.optional().describe("The location ID where the asset is located")}),+ materialSubstance: z.object({+ name: z+ .string()+ .min(1, { message: "Name is required" })+ .describe("The name of the material substance (e.g. Steel, Aluminum)"),+ code: z+ .string()+ .min(1, { message: "Code is required" })+ .describe("A short code for the substance (e.g. ST, AL)")+ }),+ materialForm: z.object({+ name: z+ .string()+ .min(1, { message: "Name is required" })+ .describe("The name of the shape/form (e.g. Sheet, Plate, Round Bar)"),+ code: z+ .string()+ .min(1, { message: "Code is required" })+ .describe("A short code for the shape (e.g. SHT, PL)")+ }),+ materialFinish: z.object({+ name: z+ .string()+ .min(1, { message: "Name is required" })+ .describe("The name of the finish"),+ materialSubstanceId: z+ .string()+ .min(1, { message: "Substance is required" })+ .describe("The substance this finish belongs to")+ }),+ materialGrade: z.object({+ name: z+ .string()+ .min(1, { message: "Name is required" })+ .describe("The name of the grade"),+ materialSubstanceId: z+ .string()+ .min(1, { message: "Substance is required" })+ .describe("The substance this grade belongs to")+ }),+ materialType: z.object({+ name: z+ .string()+ .min(1, { message: "Name is required" })+ .describe("The name of the material type"),+ code: z+ .string()+ .min(1, { message: "Code is required" })+ .describe("A short code for the material type"),+ materialSubstanceId: z+ .string()+ .min(1, { message: "Substance is required" })+ .describe("The substance this type belongs to"),+ materialFormId: z+ .string()+ .min(1, { message: "Shape is required" })+ .describe("The shape this type belongs to")+ }),+ materialDimension: z.object({+ name: z+ .string()+ .min(1, { message: "Name is required" })+ .describe("The name of the dimension"),+ materialFormId: z+ .string()+ .min(1, { message: "Shape is required" })+ .describe("The shape this dimension belongs to"),+ isMetric: z+ .string()+ .optional()+ .describe("Whether the dimension is metric (true/false)")- })++ }),+ quote: z.object(quoteImportSchemaFields),+ quoteLine: z.object(quoteImportSchemaFields),+ quoteWithLines: z.object(quoteImportSchemaFields)} as const;diff --cc apps/erp/app/routes/x+/shared+/import.$tableId.tsxindex bb39adba43,38483856db..2a9bd552ad--- a/apps/erp/app/routes/x+/shared+/import.$tableId.tsx+++ b/apps/erp/app/routes/x+/shared+/import.$tableId.tsx@@@ -4,11 -4,7 +4,12 @@@ import { getCarbonServiceRole } from "@import { validator } from "@carbon/form";import type { ActionFunctionArgs } from "react-router";import { z } from "zod";+import {+ importQuotes,+ isQuoteImportTable+} from "~/modules/sales/sales.import.server";import { importCsv, importPermissions, importSchemas } from "~/modules/shared";++import { getDatabaseClient } from "~/services/database.server";export async function action({ request, params }: ActionFunctionArgs) {const { tableId } = params;@@@ -43,44 -36,16 +44,45 @@@}const { filePath, enumMappings, ...columnMappings } = validation.data;+ let parsedEnumMappings: Record<string, Record<string, string>> | undefined;+ if (enumMappings) {+ try {+ parsedEnumMappings = JSON.parse(enumMappings as string);+ } catch {+ // Malformed client-supplied JSON — treat as a validation failure rather+ // than letting the parse throw escape as a 500.+ return {+ success: false,+ message: "Validation failed"+ };+ }+ }const serviceRole = getCarbonServiceRole();- const importResult = await importCsv(serviceRole, {- table,- filePath: filePath as string,- columnMappings,- enumMappings: enumMappings ? JSON.parse(enumMappings as string) : undefined,- companyId,- userId- });+ // Quotes are created through the sales services (Option B) so quote side+ // effects — opportunity, payment, shipment, external link — are preserved;+ // all other tables run through the generic import-csv edge function.+ const importResult = isQuoteImportTable(table)+ ? await importQuotes(serviceRole, {++ db: getDatabaseClient(),+ table,+ filePath: filePath as string,+ columnMappings: columnMappings as Record<string, string>,+ enumMappings: parsedEnumMappings,+ companyId,+ companyGroupId,+ userId+ })+ : await importCsv(serviceRole, {+ table,+ filePath: filePath as string,+ columnMappings,+ // The edge-fn wrapper types enumMappings loosely (Record<string,+ // string[]>); the real payload is field → { value → mapped }.+ enumMappings: parsedEnumMappings as unknown as Record<string, string[]>,+ companyId,+ userId+ });if (importResult.error) {return {diff --cc packages/locale/locales/de/erp.poindex 27f1976ace,ad125010ff..8b78300d8d--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@@ -555,7 -1048,10 +1048,11 @@@ msgid "Accumulation Period:msgstr "Akkumulationszeitraum:"msgid "Acknowledge & finish"+msgstr "Bestätigen und beenden"+ msgstr "Bestätigen & beenden"++ msgid "Acknowledged itar"+ msgstr "Bestätigte ITAR"msgid "Acquisition Cost"msgstr "Anschaffungskosten"@@@ -5788,16 -7217,16 +7218,17 @@@ msgid "Finish Tomsgstr "Fertigstellen zu"msgid "Finish with material unpicked?"+msgstr "Material nicht entnommen beenden?"+ msgstr "Mit nicht gepicktem Material beenden?"msgid "Finished goods"- msgstr "Oberflächen"+ msgstr "fertigwaren"msgid "Finished Goods"- msgstr "Fertigerzeugnisse"+ msgstr "Fertigwaren"msgid "Finished Goods (default)"- msgstr "Fertigerzeugnisse (Standard)"+ msgstr "Fertigwaren (Standard)"msgid "finishes"msgstr "Zusätzlicher Abzug im ersten Jahr, bevor der reguläre MACRS-Plan beginnt."@@@ -7074,7 -8735,10 +8737,11 @@@ msgid "Keep Openmsgstr "Offen halten"msgid "Keep picking"+msgstr "Weiter entnehmen"+ msgstr "Weiter kommissionieren"++ msgid "Keeps orders, quotes, and settings behind a second check"+ msgstr "Schützt Bestellungen, Angebote und Einstellungen durch eine zweite Überprüfung"msgid "Key"msgstr "Schlüssel"@@@ -10191,11 -12666,8 +12672,11 @@@ msgstr "Angebotsdatummsgid "Quotes"msgstr "Angebote"+msgid "Quotes with Lines"+msgstr "Angebote mit Zeilen"+msgid "Quoting and sales orders"- msgstr "Angebote und Aufträge"+ msgstr "Angebote und Kundenaufträge"msgid "Quoting, Orders, Configure-to-Order"msgstr "Angebote, Bestellungen, Konfigurieren nach Bestellung"@@@ -13263,13 -16525,28 +16534,29 @@@ msgid "These email addresses will be aumsgstr "Diese E-Mail-Adressen werden automatisch in CC auf alle Angebots-E-Mails kopiert, die an Kunden versendet werden."msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "Diese Artikel haben noch Material zum Entnehmen. Das Beenden markiert die Liste jetzt als Teilweise."+ msgstr "Diese Artikel enthalten noch Material zum Kommissionieren. Das Beenden markiert die Liste als Teilweise."msgid "These jobs have operations assigned to this work center:"- msgstr "Diese Aufträge haben Operationen, die diesem Arbeitszentrum zugewiesen sind:"+ msgstr "Diese Fertigungsaufträge haben diesem Arbeitsplatz zugewiesene Arbeitsgänge:"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."- msgstr "Diese Journaleinträge sind noch im Entwurf, daher befinden sich ihre Belastungen und Gutschriften nicht im Ledger für diese Periode. Buchen Sie jeden Eintrag, oder buchen Sie ihn in eine spätere offene Periode um."+ msgstr "Diese Buchungssätze sind noch Entwurf, sodass ihre Sollposten und Habenposten nicht im Sachkonto für diesen Zeitraum enthalten sind. Buchen Sie jeden einzelnen oder ändern Sie das Datum zu einem späteren offenen Zeitraum."++ msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+ msgstr "Diese Zeilen verlinken auf Daten außerhalb dieses Unternehmens. Daher kann keine Sicherheitskopie Ihrer aktuellen Daten erstellt werden. Das Löschen kann nicht rückgängig gemacht werden. Sollten diese sich als gemeinsam mit anderen Unternehmen in dieser Gruppe herausstellen, wird nichts gelöscht und die Wiederherstellung wird nicht gestartet."++ msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."+ msgstr "Diese Zeilen sind mit Daten außerhalb dieses Unternehmens verknüpft, daher könnten sie nie wiederhergestellt werden. Alles andere wurde gesichert."++ msgid "this ability"+ msgstr "diese Fähigkeit"++ msgid "This backup could not be completed."+ msgstr "Diese Sicherung konnte nicht abgeschlossen werden."++ msgid "This backup hasn't been checked yet. Any differences are found when the restore runs."+ msgstr "Diese Sicherung wurde noch nicht überprüft. Alle Unterschiede werden beim Ausführen der Wiederherstellung gefunden."msgid "This Carbon instance is missing its Onshape OAuth credentials. Ask an administrator to set them."msgstr "Dieser Carbon-Instanz fehlen die Onshape-OAuth-Anmeldedaten. Bitten Sie einen Administrator, sie einzurichten."diff --cc packages/locale/locales/es/erp.poindex 81af229258,103766e912..9f8af46fca--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@@ -555,7 -1048,10 +1048,11 @@@ msgid "Accumulation Period:msgstr "Período de Acumulación:"msgid "Acknowledge & finish"+msgstr "Reconocer y finalizar"+ msgstr "Confirmar y finalizar"++ msgid "Acknowledged itar"+ msgstr "ITAR reconocido"msgid "Acquisition Cost"msgstr "Costo de adquisición"@@@ -5788,10 -7217,10 +7218,11 @@@ msgid "Finish Tomsgstr "Terminar En"msgid "Finish with material unpicked?"+msgstr "¿Finalizar con material sin recoger?"+ msgstr "¿Finalizar sin recoger el material?"msgid "Finished goods"- msgstr "Acabados"+ msgstr "Producto terminado"msgid "Finished Goods"msgstr "Productos Terminados"@@@ -7074,7 -8735,10 +8737,11 @@@ msgid "Keep Openmsgstr "Mantener Abierto"msgid "Keep picking"+msgstr "Continuar recogiendo"+ msgstr "Continuar picking"++ msgid "Keeps orders, quotes, and settings behind a second check"+ msgstr "Mantiene órdenes, cotizaciones y configuración tras una segunda verificación"msgid "Key"msgstr "Clave"@@@ -13263,13 -16525,28 +16534,29 @@@ msgid "These email addresses will be aumsgstr "Estas direcciones de correo electrónico se copiarán automáticamente en todos los correos electrónicos de presupuestos enviados a los clientes."msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "Estos elementos todavía tienen material para recoger. Finalizar ahora marca la lista como Parcial."+ msgstr "Estos elementos aún tienen material para recoger. Finalizar ahora marca la lista como Parcial."msgid "These jobs have operations assigned to this work center:"- msgstr "Estos trabajos tienen operaciones asignadas a este centro de trabajo:"+ msgstr "Estas órdenes de trabajo tienen operaciones asignadas a este centro de trabajo:"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."- msgstr "Estos asientos de diario aún están en Borrador, por lo que sus débitos y créditos no están en el libro mayor para este período. Contabilice cada uno, o reescalone a un período abierto posterior."+ msgstr "Estos asientos aún están en Borrador, por lo que sus debe y haber no están en el libro mayor para este período. Contabiliza cada uno, o cambia su fecha a un período abierto posterior."++ msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+ msgstr "Estas filas contienen referencias a datos fuera de esta empresa, por lo que no se puede crear una copia de seguridad de los datos actuales. La eliminación de estas filas no se puede deshacer. Si se encuentran compartidas con otras empresas del grupo, nada se eliminará y la restauración no se iniciará."++ msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."+ msgstr "Estas filas se vinculan a datos fuera de esta empresa, por lo que nunca podrían ser restauradas. Todo lo demás fue respaldado."++ msgid "this ability"+ msgstr "esta habilidad"++ msgid "This backup could not be completed."+ msgstr "Esta copia de seguridad no se pudo completar."++ msgid "This backup hasn't been checked yet. Any differences are found when the restore runs."+ msgstr "Esta copia de seguridad aún no ha sido verificada. Se encontrarán diferencias cuando se ejecute la restauración."msgid "This Carbon instance is missing its Onshape OAuth credentials. Ask an administrator to set them."msgstr "Esta instancia de Carbon no tiene credenciales OAuth de Onshape. Pide a un administrador que las configure."diff --cc packages/locale/locales/fr/erp.poindex 99c95dc4e8,a847d2ba8b..c3fb4042c0--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@@ -555,7 -1048,10 +1048,11 @@@ msgid "Accumulation Period:msgstr "Période d'accumulation :"msgid "Acknowledge & finish"+msgstr "Reconnaître et terminer"+ msgstr "Confirmer et terminer"++ msgid "Acknowledged itar"+ msgstr "ITAR reconnu"msgid "Acquisition Cost"msgstr "Coût d'acquisition"@@@ -5788,10 -7217,10 +7218,11 @@@ msgid "Finish Tomsgstr "Terminer vers"msgid "Finish with material unpicked?"+msgstr "Terminer avec du matériel non prélevé?"+ msgstr "Terminer avec du matériel non prélevé ?"msgid "Finished goods"- msgstr "Finitions"+ msgstr "Produits finis"msgid "Finished Goods"msgstr "Produits Finis"@@@ -10191,11 -12666,8 +12671,11 @@@ msgstr "Date de devismsgid "Quotes"msgstr "Devis"+msgid "Quotes with Lines"+msgstr "Devis avec lignes"+msgid "Quoting and sales orders"- msgstr "Devis et commandes de vente"+ msgstr "Devis et commandes clients"msgid "Quoting, Orders, Configure-to-Order"msgstr "Devis, Commandes, Configuration à la commande"diff --cc packages/locale/locales/hi/erp.poindex 813af0893f,b5575c9903..1ade4ceffd--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@@ -5788,10 -7217,10 +7217,11 @@@ msgid "Finish Tomsgstr "समाप्त करने के लिए"msgid "Finish with material unpicked?"+msgstr "सामग्री बिना उठाए समाप्त करें?"+ msgstr "सामग्री अनचुनी के साथ समाप्त करें?"msgid "Finished goods"- msgstr "फिनिशें"+ msgstr "तैयार माल"msgid "Finished Goods"msgstr "तैयार माल"@@@ -7074,7 -8735,10 +8736,11 @@@ msgid "Keep Openmsgstr "खुला रखें"msgid "Keep picking"+msgstr "चुनना जारी रखें"+ msgstr "पिकिंग जारी रखें"++ msgid "Keeps orders, quotes, and settings behind a second check"+ msgstr "ऑर्डर, कोट्स और सेटिंग्स को एक दूसरी जांच के पीछे रखता है"msgid "Key"msgstr "कुंजी"@@@ -10155,14 -12630,14 +12632,17 @@@ msgstr "उद्धरण समापmsgid "Quote ID"msgstr "उद्धरण ID"+ msgid "Quote line"+ msgstr "कोटेशन पंक्ति"+msgid "Quote Line"- msgstr "उद्धरण पंक्ति"+ msgstr "कोटेशन पंक्ति"+msgid "Quote Lines"+msgstr "उद्धरण पंक्तियाँ"+msgid "Quote lines whose bill of materials includes this item"- msgstr "उद्धरण पंक्तियां जिनकी सामग्री सूची में यह आइटम शामिल है"+ msgstr "कोटेशन पंक्तियाँ जिनकी सामग्री सूची इस आइटम को शामिल करती है"msgid "Quote Location"msgstr "उद्धरण स्थान"@@@ -10191,11 -12666,8 +12671,11 @@@ msgstr "उद्धृत तारीmsgid "Quotes"msgstr "उद्धरण"+msgid "Quotes with Lines"+msgstr "पंक्तियों के साथ उद्धरण"+msgid "Quoting and sales orders"- msgstr "उद्धरण और बिक्रय आदेश"+ msgstr "कोटेशन और विक्रय आदेश"msgid "Quoting, Orders, Configure-to-Order"msgstr "उद्धरण, आदेश, कॉन्फ़िगर-टू-ऑर्डर"@@@ -11731,7 -14666,7 +14674,8 @@@ msgid "Shop-floor configuration.msgstr "शॉप-फ्लोर कॉन्फ़िगरेशन।"msgid "short"+msgstr "छोटा"+ msgstr "अधूरा"msgid "Short"msgstr "कम"@@@ -13254,22 -16516,37 +16525,38 @@@ msgid "These custom fields will only bmsgstr "ये कस्टम फ़ील्ड केवल समान टैग वाली संस्थाओं के लिए उपलब्ध होंगी"msgid "These documents haven't posted to the general ledger, so their amounts are missing from this period. Post or void each one — an undated document receives the posting day's date when it posts."- msgstr "ये दस्तावेज़ सामान्य लेजर में पोस्ट नहीं हुए हैं, इसलिए उनकी राशि इस अवधि से गायब है। प्रत्येक को पोस्ट करें या रद्द करें — एक दस्तावेज़ जिसमें तारीख नहीं है, पोस्ट किए जाने पर पोस्टिंग दिन की तारीख प्राप्त करता है।"+ msgstr "ये दस्तावेज़ सामान्य खाता बही में पोस्ट नहीं किए गए हैं, इसलिए इस अवधि में उनकी राशि नहीं है। प्रत्येक को पोस्ट करें या अमान्य करें — एक अनंकित दस्तावेज़ पोस्ट करते समय पोस्टिंग दिन की तारीख प्राप्त करता है।"msgid "These email addresses will be automatically CC'd on all emails sent to suppliers (quotes, purchase orders, etc.)."- msgstr "ये ईमेल पते सभी आपूर्तिकर्ताओं को भेजे गए ईमेल पर स्वचालित रूप से CC किए जाएंगे (उद्धरण, क्रय आदेश, आदि)।"+ msgstr "ये ईमेल पते आपूर्तिकर्ताओं को भेजे गए सभी ईमेल पर स्वचालित रूप से CC किए जाएंगे (कोटेशन, क्रय आदेश, आदि)।"msgid "These email addresses will be automatically CC'd on all quote emails sent to customers."- msgstr "ये ईमेल पते सभी ग्राहकों को भेजे गए उद्धरण ईमेल पर स्वचालित रूप से CC किए जाएंगे।"+ msgstr "ये ईमेल पते ग्राहकों को भेजे गए सभी कोटेशन ईमेल पर स्वचालित रूप से CC किए जाएंगे।"msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "इन वस्तुओं के पास अभी भी सामग्री उठानी है। अभी समाप्त करने से सूची आंशिक चिह्नित हो जाती है।"+ msgstr "इन आइटमों में अभी भी सामग्री चुनने के लिए है। अभी समाप्त करने से सूची को आंशिक चिह्नित किया जाता है।"msgid "These jobs have operations assigned to this work center:"- msgstr "इन कार्यों के पास इस कार्य केंद्र को सौंपे गए संचालन हैं:"+ msgstr "ये जॉब इस वर्क सेंटर को असाइन किए गए ऑपरेशन हैं:"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."- msgstr "ये जर्नल प्रविष्टियाँ अभी भी ड्राफ्ट हैं, इसलिए उनके डेबिट और क्रेडिट इस अवधि के लिए लेजर में नहीं हैं। प्रत्येक को पोस्ट करें, या इसे बाद की खुली अवधि में पुनः दिनांकित करें।"+ msgstr "ये जर्नल प्रविष्टियां अभी भी ड्राफ्ट हैं, इसलिए उनके नामे और जमा इस अवधि के लिए खाता बही में नहीं हैं। प्रत्येक को पोस्ट करें, या इसे बाद की खुली अवधि में फिर से दिनांकित करें।"++ msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+ msgstr "ये पंक्तियां इस कंपनी के बाहर के डेटा से जुड़ी हुई हैं, इसलिए आपके वर्तमान डेटा की सुरक्षा प्रति नहीं बनाई जा सकती। उन्हें हटाना पूर्ववत नहीं किया जा सकता। यदि वे इस समूह की अन्य कंपनियों के साथ साझा की जाती हैं, तो कुछ भी हटाया नहीं जाता है और पुनर्स्थापन शुरू नहीं होता है।"++ msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."+ msgstr "ये पंक्तियां इस कंपनी के बाहर के डेटा से जुड़ी हुई हैं, इसलिए उन्हें कभी भी पुनर्स्थापित नहीं किया जा सकता। बाकी सब कुछ बैक अप किया गया था।"++ msgid "this ability"+ msgstr "यह क्षमता"++ msgid "This backup could not be completed."+ msgstr "यह बैकअप पूर्ण नहीं किया जा सका।"++ msgid "This backup hasn't been checked yet. Any differences are found when the restore runs."+ msgstr "इस बैकअप की अभी जांच नहीं की गई है। कोई भी अंतर पुनः स्थापित करने के समय पाया जाता है।"msgid "This Carbon instance is missing its Onshape OAuth credentials. Ask an administrator to set them."msgstr "इस Carbon इंस्टेंस में Onshape OAuth क्रेडेंशियल नहीं हैं। किसी व्यवस्थापक से उन्हें सेट करने के लिए कहें।"diff --cc packages/locale/locales/it/erp.poindex 8101dd1a20,aef94a73d3..87e7cd7fa6--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@@ -555,7 -1048,10 +1048,11 @@@ msgid "Accumulation Period:msgstr "Periodo di Accumulo:"msgid "Acknowledge & finish"+msgstr "Riconosci e termina"+ msgstr "Riconosci e completa"++ msgid "Acknowledged itar"+ msgstr "ITAR confermato"msgid "Acquisition Cost"msgstr "Costo di acquisizione"@@@ -7074,7 -8735,10 +8736,11 @@@ msgid "Keep Openmsgstr "Mantieni Aperto"msgid "Keep picking"+msgstr "Continua a prelevare"+ msgstr "Continua il prelievo"++ msgid "Keeps orders, quotes, and settings behind a second check"+ msgstr "Mantiene ordini, offerte e impostazioni dietro un secondo controllo"msgid "Key"msgstr "Chiave"@@@ -10155,14 -12630,14 +12632,17 @@@ msgstr "Preventivo scadutomsgid "Quote ID"msgstr "ID Preventivo"+ msgid "Quote line"+ msgstr "Riga offerta"+msgid "Quote Line"- msgstr "Riga di Preventivo"+ msgstr "Riga offerta"+msgid "Quote Lines"+msgstr "Righe di Preventivo"+msgid "Quote lines whose bill of materials includes this item"- msgstr "Righe di preventivo la cui distinta base include questo articolo"+ msgstr "Righe offerta la cui distinta base include questo articolo"msgid "Quote Location"msgstr "Ubicazione Preventivo"@@@ -13263,13 -16525,28 +16533,29 @@@ msgid "These email addresses will be aumsgstr "Questi indirizzi email verranno automaticamente messi in CC su tutte le email di preventivo inviate ai clienti."msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "Questi articoli hanno ancora materiale da prelevare. Se termino ora, l'elenco sarà contrassegnato come Parziale."+ msgstr "Questi articoli hanno ancora materiale da prelevare. Il completamento ora contrassegna l'elenco come Parziale."msgid "These jobs have operations assigned to this work center:"- msgstr "Questi lavori hanno operazioni assegnate a questo centro di lavoro:"+ msgstr "Questi ordini di produzione hanno operazioni assegnate a questo centro di lavoro:"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."- msgstr "Queste registrazioni contabili sono ancora in Bozza, quindi i loro debiti e crediti non sono nella contabilità generale per questo periodo. Registra ciascuna o rivalutala in un periodo aperto successivo."+ msgstr "Queste voci di prima nota sono ancora Bozza, quindi i loro dare e avere non sono nel registro per questo periodo. Registra ognuno, o ri-datalo in un periodo aperto successivo."++ msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+ msgstr "Queste righe sono collegate a dati esterni a questa azienda, pertanto non è possibile effettuare una copia di sicurezza dei dati attuali. La loro eliminazione non può essere annullata. Se risultano condivise con altre aziende del gruppo, nulla viene eliminato e il ripristino non si avvierà."++ msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."+ msgstr "Queste righe collegano i dati al di fuori di questa azienda, quindi non potrebbero mai essere ripristinate. Tutto il resto è stato sottoposto a backup."++ msgid "this ability"+ msgstr "questa competenza"++ msgid "This backup could not be completed."+ msgstr "Non è stato possibile completare questo backup."++ msgid "This backup hasn't been checked yet. Any differences are found when the restore runs."+ msgstr "Questo backup non è stato ancora verificato. Le eventuali differenze vengono rilevate quando il ripristino viene eseguito."msgid "This Carbon instance is missing its Onshape OAuth credentials. Ask an administrator to set them."msgstr "A questa istanza di Carbon mancano le credenziali OAuth di Onshape. Chiedi a un amministratore di configurarle."diff --cc packages/locale/locales/ja/erp.poindex da143acf58,eaf875a1e5..3f5cc15904--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@@ -555,7 -1048,10 +1048,11 @@@ msgid "Accumulation Period:msgstr "蓄積期間:"msgid "Acknowledge & finish"+msgstr "確認して完了"+ msgstr "認めて完了"++ msgid "Acknowledged itar"+ msgstr "ITAR確認済み"msgid "Acquisition Cost"msgstr "取得原価"@@@ -5788,10 -7217,10 +7218,11 @@@ msgid "Finish Tomsgstr "完成先"msgid "Finish with material unpicked?"+msgstr "材料がピックされていない状態で完了しますか?"+ msgstr "ピッキングされていない材料のまま完了しますか?"msgid "Finished goods"- msgstr "フィニッシュ"+ msgstr "完成品"msgid "Finished Goods"msgstr "完成品"@@@ -10155,14 -12630,14 +12632,17 @@@ msgstr "見積期限切れmsgid "Quote ID"msgstr "見積ID"+ msgid "Quote line"+ msgstr "見積明細"+msgid "Quote Line"- msgstr "見積行"+ msgstr "見積明細"+msgid "Quote Lines"+msgstr "見積明細"+msgid "Quote lines whose bill of materials includes this item"- msgstr "このアイテムが部品表に含まれる見積行"+ msgstr "この品目を含む部品表を持つ見積明細"msgid "Quote Location"msgstr "見積もりロケーション"@@@ -10191,11 -12666,8 +12671,11 @@@ msgstr "見積日msgid "Quotes"msgstr "見積"+msgid "Quotes with Lines"+msgstr "明細付き見積"+msgid "Quoting and sales orders"- msgstr "見積と販売注文"+ msgstr "見積と受注"msgid "Quoting, Orders, Configure-to-Order"msgstr "見積、注文、構成注文"@@@ -11731,7 -14666,7 +14674,8 @@@ msgid "Shop-floor configuration.msgstr "生産現場の構成。"msgid "short"+msgstr "不足"+ msgstr "短い"msgid "Short"msgstr "不足"@@@ -13254,19 -16516,19 +16525,20 @@@ msgid "These custom fields will only bmsgstr "これらのカスタムフィールドは、同じタグを持つエンティティでのみ利用可能です"msgid "These documents haven't posted to the general ledger, so their amounts are missing from this period. Post or void each one — an undated document receives the posting day's date when it posts."- msgstr "これらの書類は総勘定元帳に転記されていないため、それらの金額は当期から欠落しています。各書類を転記するか無効にしてください。無日付書類は、転記時に転記日の日付を受け取ります。"+ msgstr "これらの文書は総勘定元帳に転記されていないため、この期間の金額が不足しています。各文書を転記または取消してください。日付なしの文書は転記時に転記日の日付を受け取ります。"msgid "These email addresses will be automatically CC'd on all emails sent to suppliers (quotes, purchase orders, etc.)."- msgstr "これらのメールアドレスは、サプライヤーに送信されるすべてのメール(見積書、発注書など)に自動的にCC送信されます。"+ msgstr "これらのメールアドレスは、仕入先に送信されたすべてのメール(見積、発注書など)に自動的に CC 付けされます。"msgid "These email addresses will be automatically CC'd on all quote emails sent to customers."- msgstr "これらのメールアドレスは、顧客に送信されるすべての見積メールに自動的にCC送信されます。"+ msgstr "これらのメールアドレスは、得意先に送信されたすべての見積メールに自動的に CC 付けされます。"msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "これらの品目にはまだピックされていない材料があります。今完了するとリストが部分的とマークされます。"+ msgstr "これらの品目にはまだピッキングする材料があります。今完成にマークすると、リストを「一部」に設定します。"msgid "These jobs have operations assigned to this work center:"- msgstr "これらのジョブにはこのワークセンターに割り当てられた操作があります:"+ msgstr "これらの製造指図には、この作業区に割り当てられた工程があります。"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."msgstr "これらの仕訳はまだ下書きであるため、それらの借方と貸方は当期の元帳に含まれていません。各仕訳を転記するか、後の開いている期間に再度日付を付け直してください。"diff --cc packages/locale/locales/ko/erp.poindex 3695227547,c11d9bc7b9..82f6b3ed19--- a/packages/locale/locales/ko/erp.po+++ b/packages/locale/locales/ko/erp.po@@@ -5788,7 -7217,7 +7217,8 @@@ msgid "Finish Tomsgstr "종료 시점"msgid "Finish with material unpicked?"+msgstr "선택되지 않은 자재로 완료하시겠습니까?"+ msgstr "자재가 선택되지 않은 상태로 완료하시겠습니까?"msgid "Finished goods"msgstr "완제품"@@@ -7074,7 -8735,10 +8736,11 @@@ msgid "Keep Openmsgstr "열린 상태 유지"msgid "Keep picking"+msgstr "계속 선택"+ msgstr "피킹 유지"++ msgid "Keeps orders, quotes, and settings behind a second check"+ msgstr "주문, 견적 및 설정을 이중 확인으로 보호합니다"msgid "Key"msgstr "키"@@@ -10158,11 -12636,8 +12638,11 @@@ msgstr "견적 라인msgid "Quote Line"msgstr "견적 라인"+msgid "Quote Lines"+msgstr "견적 라인"+msgid "Quote lines whose bill of materials includes this item"- msgstr "자재명세서에 이 품목을 포함하는 견적 라인"+ msgstr "이 품목을 포함하는 자재 명세서를 가진 견적 라인"msgid "Quote Location"msgstr "견적 위치"@@@ -10191,11 -12666,8 +12671,11 @@@ msgstr "견적일msgid "Quotes"msgstr "견적"+msgid "Quotes with Lines"+msgstr "라인이 포함된 견적"+msgid "Quoting and sales orders"- msgstr "견적 및 판매주문"+ msgstr "견적서 작성 및 수주"msgid "Quoting, Orders, Configure-to-Order"msgstr "견적, 주문, 주문형 구성(Configure-to-Order)"@@@ -11731,7 -14666,7 +14674,8 @@@ msgid "Shop-floor configuration.msgstr "현장 설정."msgid "short"+msgstr "짧음"+ msgstr "부족"msgid "Short"msgstr "짧게"@@@ -13263,13 -16525,28 +16534,29 @@@ msgid "These email addresses will be aumsgstr "이 이메일 주소는 고객에게 발송되는 모든 견적 이메일에 자동으로 참조(CC)됩니다."msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "이 항목들은 선택할 자재가 남아 있습니다. 지금 완료하면 목록이 부분으로 표시됩니다."+ msgstr "이 항목들은 여전히 선택할 자재가 있습니다. 지금 완료하면 목록이 부분으로 표시됩니다."msgid "These jobs have operations assigned to this work center:"- msgstr "다음 작업에 이 작업장이 지정된 공정작업이 있습니다:"+ msgstr "이 작업장에 할당된 공정이 있는 작업 지시:"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."- msgstr "이 분개들은 아직 임시이므로 그 차변과 대변이 이 기간의 총계정원장에 없습니다. 각각을 전기하거나 나중의 개방된 기간으로 재날짜하세요."+ msgstr "이 전표들은 아직 초안 상태이므로 이 기간에 차변 및 대변이 원장에 없습니다. 각 전표를 전기하거나 이후 미결 기간으로 다시 날짜를 지정하십시오."++ msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+ msgstr "이 행들은 이 회사 외부의 데이터와 연결되어 있으므로 현재 데이터의 안전한 사본을 만들 수 없습니다. 이들을 삭제하면 되돌릴 수 없습니다. 이들이 이 그룹의 다른 회사와 공유되는 경우, 아무것도 삭제되지 않고 복원이 시작되지 않습니다."++ msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."+ msgstr "이 행들은 회사 외부의 데이터와 연결되어 있어 복원할 수 없습니다. 그 외 모든 것은 백업되었습니다."++ msgid "this ability"+ msgstr "이 능력"++ msgid "This backup could not be completed."+ msgstr "이 백업을 완료할 수 없습니다."++ msgid "This backup hasn't been checked yet. Any differences are found when the restore runs."+ msgstr "이 백업은 아직 확인되지 않았습니다. 복원이 실행될 때 차이점이 발견됩니다."msgid "This Carbon instance is missing its Onshape OAuth credentials. Ask an administrator to set them."msgstr "이 Carbon 인스턴스에 Onshape OAuth 자격 증명이 없습니다. 관리자에게 설정을 요청하세요."diff --cc packages/locale/locales/pl/erp.poindex 76e31b6565,02a73d197b..c5892fa740--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@@ -555,10 -1048,13 +1048,14 @@@ msgid "Accumulation Period:msgstr "Okres akumulacji:"msgid "Acknowledge & finish"+msgstr "Potwierdź i dokończ"+ msgstr "Potwierdź i zakończ"++ msgid "Acknowledged itar"+ msgstr "Potwierdzony itar"msgid "Acquisition Cost"- msgstr "Koszt nabycia"+ msgstr "Cena nabycia"msgid "Acquisition Date"msgstr "Data nabycia"@@@ -5788,10 -7217,10 +7218,11 @@@ msgid "Finish Tomsgstr "Zakończyć do"msgid "Finish with material unpicked?"+msgstr "Dokończyć bez zebranego materiału?"+ msgstr "Zakończyć bez rozliczenia materiału?"msgid "Finished goods"- msgstr "Wykończenia"+ msgstr "wyroby gotowe"msgid "Finished Goods"msgstr "Wyroby gotowe"@@@ -7074,7 -8735,10 +8737,11 @@@ msgid "Keep Openmsgstr "Utrzymaj otwarte"msgid "Keep picking"+msgstr "Kontynuuj zbieranie"+ msgstr "Zachowaj kompletację"++ msgid "Keeps orders, quotes, and settings behind a second check"+ msgstr "Utrzymuje zamówienia, oferty i ustawienia za drugą weryfikacją"msgid "Key"msgstr "Klucz"@@@ -10155,14 -12630,14 +12633,17 @@@ msgstr "Oferta wygasłamsgid "Quote ID"msgstr "ID Oferty"+ msgid "Quote line"+ msgstr "pozycja oferty"+msgid "Quote Line"- msgstr "Linia oferty"+ msgstr "Pozycja oferty"+msgid "Quote Lines"+msgstr "Pozycje oferty"+msgid "Quote lines whose bill of materials includes this item"- msgstr "Linie oferty, których zestawienie materiałów zawiera ten przedmiot"+ msgstr "Pozycje oferty, których lista materiałowa zawiera ten artykuł"msgid "Quote Location"msgstr "Lokalizacja oferty"@@@ -11731,7 -14666,7 +14675,8 @@@ msgid "Shop-floor configuration.msgstr "Konfiguracja hali produkcyjnej."msgid "short"+msgstr "skrót"+ msgstr "krótko"msgid "Short"msgstr "Brakuje"@@@ -13263,13 -16525,28 +16535,29 @@@ msgid "These email addresses will be aumsgstr "Te adresy e-mail będą automatycznie dodawane w polu DW do wszystkich wiadomości e-mail z ofertami wysyłanych do klientów."msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "Te pozycje wciąż mają materiał do zebrania. Zakończenie teraz oznacza listę jako Niepełna."+ msgstr "Te elementy mają jeszcze materiał do pobrania. Zakończenie teraz oznaczy listę jako Częściowa."msgid "These jobs have operations assigned to this work center:"- msgstr "Te zadania mają operacje przypisane do tego centrum pracy:"+ msgstr "Te zlecenia produkcyjne mają operacje przypisane do tego stanowiska roboczego:"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."- msgstr "Te wpisy dziennika są wciąż w wersji roboczej, więc ich obciążenia i kredyty nie znajdują się w księdze w tym okresie. Opublikuj każdy lub przedatuj go na późniejszy otwarty okres."+ msgstr "Te dowody księgowe są wciąż w wersji roboczej, dlatego ich wpisy Winien i Ma nie znajdują się w księdze dla tego okresu. Zaksięguj każdy z nich lub przesyć go do późniejszego otwartego okresu."++ msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+ msgstr "Te wiersze łączą się z danymi spoza tej firmy, dlatego nie można wykonać bezpiecznej kopii bieżących danych. Usunięcie ich nie może być cofnięte. Jeśli okaże się, że są współdzielone z innymi firmami w tej grupie, nic nie zostanie usunięte i przywracanie nie zostanie uruchomione."++ msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."+ msgstr "Te wiersze są połączone z danymi spoza tej firmy, dlatego nigdy nie mogły być przywrócone. Wszystko inne miało kopię zapasową."++ msgid "this ability"+ msgstr "ta zdolność"++ msgid "This backup could not be completed."+ msgstr "Nie można było ukończyć tej kopii zapasowej."++ msgid "This backup hasn't been checked yet. Any differences are found when the restore runs."+ msgstr "Ta kopia zapasowa nie została jeszcze sprawdzona. Wszelkie różnice są znaleziane po uruchomieniu przywracania."msgid "This Carbon instance is missing its Onshape OAuth credentials. Ask an administrator to set them."msgstr "Ta instancja Carbon nie ma danych uwierzytelniających OAuth Onshape. Poproś administratora o ich ustawienie."diff --cc packages/locale/locales/pt/erp.poindex 0995980b52,e6d53fcd62..02d5e37eac--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@@ -555,7 -1048,10 +1048,11 @@@ msgid "Accumulation Period:msgstr "Período de Acumulação:"msgid "Acknowledge & finish"+msgstr "Reconhecer e concluir"+ msgstr "Reconhecer e finalizar"++ msgid "Acknowledged itar"+ msgstr "ITAR reconhecido"msgid "Acquisition Cost"msgstr "Custo de aquisição"@@@ -5788,10 -7217,10 +7218,11 @@@ msgid "Finish Tomsgstr "Terminar Em"msgid "Finish with material unpicked?"+msgstr "Concluir com material não selecionado?"+ msgstr "Finalizar com material não coletado?"msgid "Finished goods"- msgstr "Acabamentos"+ msgstr "Produtos acabados"msgid "Finished Goods"msgstr "Produtos Acabados"@@@ -7074,7 -8735,10 +8737,11 @@@ msgid "Keep Openmsgstr "Manter Aberto"msgid "Keep picking"+msgstr "Continuar selecionando"+ msgstr "Manter separação"++ msgid "Keeps orders, quotes, and settings behind a second check"+ msgstr "Mantém pedidos, cotações e configurações atrás de uma segunda verificação"msgid "Key"msgstr "Chave"@@@ -10155,14 -12630,14 +12633,17 @@@ msgstr "Orçamento vencidomsgid "Quote ID"msgstr "ID da Cotação"+ msgid "Quote line"+ msgstr "Linha do orçamento"+msgid "Quote Line"- msgstr "Linha de Cotação"+ msgstr "Linha do orçamento"+msgid "Quote Lines"+msgstr "Linhas de Cotação"+msgid "Quote lines whose bill of materials includes this item"- msgstr "Linhas de cotação cuja lista de materiais inclui este item"+ msgstr "Linhas do orçamento cuja lista de materiais inclui este item"msgid "Quote Location"msgstr "Localização da Cotação"@@@ -13263,10 -16525,10 +16534,11 @@@ msgid "These email addresses will be aumsgstr "Estes endereços de email serão automaticamente copiados em todos os emails de cotação enviados aos clientes."msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "Esses itens ainda têm material para selecionar. Concluir agora marca a lista como Parcial."+ msgstr "Esses itens ainda têm material para coletar. Finalizar agora marca a lista como Parcial."msgid "These jobs have operations assigned to this work center:"- msgstr "Estes trabalhos têm operações atribuídas a este centro de trabalho:"+ msgstr "Estas ordens de produção têm operações atribuídas a este centro de trabalho:"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."msgstr "Estes lançamentos de diário ainda estão em Rascunho, portanto seus débitos e créditos não estão no livro-razão para este período. Lance cada um, ou redatē-o para um período aberto posterior."diff --cc packages/locale/locales/ru/erp.poindex 34c4f501dc,3932eea98f..864a3cb006--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@@ -5788,10 -7217,10 +7217,11 @@@ msgid "Finish Tomsgstr "Завершить в"msgid "Finish with material unpicked?"+msgstr "Завершить с неподобранным материалом?"+ msgstr "Завершить с непобранным материалом?"msgid "Finished goods"- msgstr "Отделки"+ msgstr "Готовая продукция"msgid "Finished Goods"msgstr "Готовая продукция"@@@ -7074,7 -8735,10 +8736,11 @@@ msgid "Keep Openmsgstr "Оставить открытым"msgid "Keep picking"+msgstr "Продолжить подбор"+ msgstr "Сохранить отбор"++ msgid "Keeps orders, quotes, and settings behind a second check"+ msgstr "Требует дополнительную проверку для заказов, коммерческих предложений и настроек"msgid "Key"msgstr "Ключ"@@@ -10191,11 -12666,8 +12671,11 @@@ msgstr "Дата предложенияmsgid "Quotes"msgstr "Предложения"+msgid "Quotes with Lines"+msgstr "Предложения со строками"+msgid "Quoting and sales orders"- msgstr "Котировки и заказы на продажу"+ msgstr "Коммерческие предложения и заказы покупателей"msgid "Quoting, Orders, Configure-to-Order"msgstr "Предложения, Заказы, Конфигурирование на заказ"@@@ -11731,7 -14666,7 +14674,8 @@@ msgid "Shop-floor configuration.msgstr "Конфигурация цеха."msgid "short"+msgstr "Краткий"+ msgstr "короткий"msgid "Short"msgstr "Недостача"@@@ -13260,16 -16522,31 +16531,32 @@@ msgid "These email addresses will be aumsgstr "Эти адреса электронной почты будут автоматически добавлены в копию на все письма, отправляемые поставщикам (предложения, заказы на покупку и т. д.)."msgid "These email addresses will be automatically CC'd on all quote emails sent to customers."- msgstr "Эти адреса электронной почты будут автоматически добавлены в копию на все письма с предложениями, отправляемые клиентам."+ msgstr "Эти адреса электронной почты будут автоматически скопированы во все письма коммерческих предложений, отправляемые покупателям."msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "Эти позиции все еще содержат материал для подбора. Завершение сейчас отметит список как Неполный."+ msgstr "У этих товаров все еще есть материал для комплектации. Завершение сейчас отметит список как Частичный."msgid "These jobs have operations assigned to this work center:"- msgstr "Эти задания имеют операции, назначенные этому рабочему центру:"+ msgstr "Эти производственные заказы имеют операции, назначенные этому рабочему центру:"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."- msgstr "Эти записи в журнале всё ещё находятся в статусе «Черновик», поэтому их дебеты и кредиты не находятся в главной книге за этот период. Опубликуйте каждую или переделируйте её на более поздний открытый период."+ msgstr "Эти операции по-прежнему находятся в режиме Черновик, поэтому их дебеты и кредиты не включены в главную книгу для этого периода. Проведите каждый из них или переведите его в более поздний открытый период."++ msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+ msgstr "Эти строки связаны с данными вне этой организации, поэтому не удаётся создать резервную копию текущих данных. Удаление их не может быть отменено. Если окажется, что они используются другими организациями в этой группе, ничего не удаляется и восстановление не начинается."++ msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."+ msgstr "Эти строки ссылаются на данные вне этой организации, поэтому они не могут быть восстановлены. Всё остальное было сохранено в резервной копии."++ msgid "this ability"+ msgstr "этот навык"++ msgid "This backup could not be completed."+ msgstr "Эта резервная копия не может быть завершена."++ msgid "This backup hasn't been checked yet. Any differences are found when the restore runs."+ msgstr "Эта резервная копия еще не была проверена. Любые различия будут обнаружены при запуске восстановления."msgid "This Carbon instance is missing its Onshape OAuth credentials. Ask an administrator to set them."msgstr "В этом экземпляре Carbon отсутствуют учётные данные OAuth для Onshape. Попросите администратора настроить их."diff --cc packages/locale/locales/tr/erp.poindex 913a75d2cb,059c56fd03..4d95153ff3--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@@ -555,10 -1048,13 +1048,14 @@@ msgid "Accumulation Period:msgstr "Biriktirme Dönemi:"msgid "Acknowledge & finish"+msgstr "Kabul Et ve Bitir"+ msgstr "Onayla ve Bitir"++ msgid "Acknowledged itar"+ msgstr "İTAR kabul edildi"msgid "Acquisition Cost"- msgstr "Satın alma maliyeti"+ msgstr "Edinme maliyeti"msgid "Acquisition Date"msgstr "Satın alma tarihi"@@@ -5788,16 -7217,16 +7218,17 @@@ msgid "Finish Tomsgstr "Bitirmek İçin"msgid "Finish with material unpicked?"+msgstr "Malzeme seçilmeden bitir mi?"+ msgstr "Seçilmemiş malzeme ile Bitir?"msgid "Finished goods"- msgstr "Tamamlamalar"+ msgstr "Mamul"msgid "Finished Goods"- msgstr "Bitmiş Ürünler"+ msgstr "Mamul"msgid "Finished Goods (default)"- msgstr "Bitmiş Ürünler (varsayılan)"+ msgstr "Mamul (varsayılan)"msgid "finishes"msgstr "Normal MACRS programı başlamadan önce alınan ilk yıl ek indirimi."@@@ -7074,7 -8735,10 +8737,11 @@@ msgid "Keep Openmsgstr "Açık Tut"msgid "Keep picking"+msgstr "Seçmeye devam et"+ msgstr "Toplamaya devam et"++ msgid "Keeps orders, quotes, and settings behind a second check"+ msgstr "Siparişleri, teklifleri ve ayarları ikinci bir kontrolün arkasında tutar"msgid "Key"msgstr "Anahtar"@@@ -10158,11 -12636,8 +12639,11 @@@ msgstr "Teklif satırımsgid "Quote Line"msgstr "Teklif Satırı"+msgid "Quote Lines"+msgstr "Teklif Satırları"+msgid "Quote lines whose bill of materials includes this item"- msgstr "Malzeme listesinde bu ürünü içeren teklif satırları"+ msgstr "Ürün ağacı bu stok kartını içeren teklif satırları"msgid "Quote Location"msgstr "Teklif Konumu"@@@ -11731,7 -14666,7 +14675,8 @@@ msgid "Shop-floor configuration.msgstr "Üretim katı yapılandırması."msgid "short"+msgstr "kısa"+ msgstr "Kısa"msgid "Short"msgstr "Azalt"@@@ -13263,13 -16525,28 +16535,29 @@@ msgid "These email addresses will be aumsgstr "Bu e-posta adresleri, müşterilere gönderilen tüm teklif e-postalarına otomatik olarak CC'lenecektir."msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "Bu öğelerin seçmesi gereken malzeme var. Şimdi bitirmek listeyi Kısmi olarak işaretler."+ msgstr "Bu maddeler için hala seçilecek malzeme var. Şimdi bitirmek listeyi Kısmi olarak işaretler."msgid "These jobs have operations assigned to this work center:"- msgstr "Bu işler bu iş merkezine atanmış işlemlere sahiptir:"+ msgstr "Bu iş emirlerinin bu iş merkezine atanmış operasyonları vardır:"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."- msgstr "Bu muhasebe kayıtları hâlâ Taslak durumundadır, bu nedenle borç ve alacakları bu dönem için defteri kebir'de değildir. Her birini deftere geçirin veya daha sonraki bir açık döneme yeniden tarihlendiriniz."+ msgstr "Bu muhasebe fişleri hala Taslak halinde olduğundan borç ve alacakları bu dönemin defterine girmedi. Her birini muhasebeleştir veya daha sonraki açık bir döneme yeniden tarihle."++ msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+ msgstr "Bu satırlar bu Şirket dışındaki verilere bağlı olduğundan, mevcut verilerinizin bir güvenlik kopyası oluşturulamaz. Bu satırları silmek geri alınamaz. Bunların bu gruptaki diğer Şirketlerle paylaşıldığı anlaşılırsa, hiçbir şey silinmez ve geri yükleme başlamaz."++ msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."+ msgstr "Bu satırlar bu şirket dışındaki verilere bağlantılı, bu nedenle bunlar hiçbir zaman geri yüklenemez. Diğer her şey yedeklendi."++ msgid "this ability"+ msgstr "bu yetenek"++ msgid "This backup could not be completed."+ msgstr "Bu yedekleme tamamlanamadı."++ msgid "This backup hasn't been checked yet. Any differences are found when the restore runs."+ msgstr "Bu yedek henüz kontrol edilmedi. Herhangi bir fark, geri yükleme çalıştığında bulunur."msgid "This Carbon instance is missing its Onshape OAuth credentials. Ask an administrator to set them."msgstr "Bu Carbon örneğinde Onshape OAuth kimlik bilgileri eksik. Bir yöneticiden bunları ayarlamasını isteyin."diff --cc packages/locale/locales/zh/erp.poindex 8446ff9990,c9db36bb0e..5775d3a1a4--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@@ -5788,10 -7217,10 +7217,11 @@@ msgid "Finish Tomsgstr "完成至"msgid "Finish with material unpicked?"+msgstr "完成但材料未选拣?"+ msgstr "不拣货原材料就完成?"msgid "Finished goods"- msgstr "表面处理"+ msgstr "成品"msgid "Finished Goods"msgstr "成品"@@@ -5806,10 -7235,16 +7236,17 @@@ msgid "Finishesmsgstr "表面处理"msgid "Finishing an incomplete pick"+msgstr "完成未完成的拣选"+ msgstr "完成不完整的拣货"msgid "Finishing is refused until every line is picked or marked Short."- msgstr "拒绝完成,直到每一行都被拣选或标记为缺少。"+ msgstr "在所有行都被拣货或标记为短缺后才能完成。"++ msgid "First light, {name}."+ msgstr "天明时刻,{name}。"++ msgid "First name"+ msgstr "名字"msgid "First Name"msgstr "名字"@@@ -7068,13 -8723,22 +8725,23 @@@ msgid "Keep Currentmsgstr "保持当前"msgid "Keep existing pricing, only add new items"- msgstr "保留现有定价,仅添加新项目"+ msgstr "保留现有定价,仅添加新物料"++ msgid "Keep only items where…"+ msgstr "仅保留满足以下条件的物料…"++ msgid "Keep only the {entityName} where…"+ msgstr "仅保留符合以下条件的{entityName}…"msgid "Keep Open"- msgstr "保持开放"+ msgstr "保持未结"msgid "Keep picking"+msgstr "继续选拣"+ msgstr "继续拣货"++ msgid "Keeps orders, quotes, and settings behind a second check"+ msgstr "让订单、报价单和设置受到第二道检查的保护"msgid "Key"msgstr "钥匙"@@@ -11731,7 -14666,7 +14675,8 @@@ msgid "Shop-floor configuration.msgstr "车间配置。"msgid "short"+msgstr "短"+ msgstr "短缺"msgid "Short"msgstr "缺货"@@@ -13263,13 -16525,28 +16535,29 @@@ msgid "These email addresses will be aumsgstr "这些电子邮件地址将自动抄送到发送给客户的所有报价电子邮件中。"msgid "These items still have material to pick. Finishing now marks the list Partial."+msgstr "这些项目仍有材料需要选拣。现在完成将把列表标记为部分完成。"+ msgstr "这些物料仍有原材料需要拣货。现在完成将标记列表为部分。"msgid "These jobs have operations assigned to this work center:"- msgstr "这些工作有分配给此工作中心的操作:"+ msgstr "这些工单在此工作中心分配了工序:"msgid "These journal entries are still Draft, so their debits and credits aren't in the ledger for this period. Post each one, or re-date it into a later open period."- msgstr "这些日记账条目仍为草稿状态,因此其借贷金额不在本期分类账中。过账每一份,或将其重新标记日期至较晚的开放期间。"+ msgstr "这些凭证仍是草稿,所以其借方和贷方不在此期间的账簿中。过账每一个,或将其重新标注日期到更后的未结期间。"++ msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+ msgstr "这些行链接到此公司外的数据,因此无法创建当前数据的安全备份。删除它们无法撤销。如果这些行实际上与此集团中的其他公司共享,则不删除任何行,且不启动还原。"++ msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."+ msgstr "这些行链接到公司外的数据,因此无法恢复它们。其他所有内容都已备份。"++ msgid "this ability"+ msgstr "此能力"++ msgid "This backup could not be completed."+ msgstr "无法完成此备份。"++ msgid "This backup hasn't been checked yet. Any differences are found when the restore runs."+ msgstr "此备份尚未检查。还原运行时将发现任何差异。"msgid "This Carbon instance is missing its Onshape OAuth credentials. Ask an administrator to set them."msgstr "此 Carbon 实例缺少 Onshape 的 OAuth 凭据。请让管理员进行设置。"