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
(fix): workflow filter crash and Current item fields (#2072)
Anshul sharma2d6978889398
diff --git a/apps/erp/app/modules/workflows/ui/Builder/config/ClauseRow.tsx b/apps/erp/app/modules/workflows/ui/Builder/config/ClauseRow.tsxindex 62f8f6af22..c80b2c5ad4 100644--- a/apps/erp/app/modules/workflows/ui/Builder/config/ClauseRow.tsx+++ b/apps/erp/app/modules/workflows/ui/Builder/config/ClauseRow.tsx@@ -107,15 +107,18 @@ function ClauseRowImpl({[leftType]);- // Self-heal: stored op no longer in the field's allowed set+ // A whole object has no operators; the clause waits for one of its fields.+ const comparable = availableOps.length > 0;++ // Self-heal: stored op no longer allowed. Skipped when nothing is allowed, or it rewrites forever.useEffect(() => {- if (!leftType) return;+ if (!leftType || !comparable) return;if (availableOps.includes(clause.operator)) return;onChange(index, {operator: pickDefaultOp(availableOps),right: undefined});- }, [leftType, availableOps, clause.operator, index, onChange]);+ }, [leftType, comparable, availableOps, clause.operator, index, onChange]);// Column options for "column" modeconst columnOptions = useMemo(() => {@@ -226,11 +229,11 @@ function ClauseRowImpl({})}available={Array.from(availableOps)}- disabled={!leftType || isReadOnly}+ disabled={!leftType || !comparable || isReadOnly}/></Field>- {leftType ? (+ {leftType && comparable ? (<ValueFieldlabel={t`Value`}placeholder={t`Type '{' for a variable`}@@ -254,7 +257,9 @@ function ClauseRowImpl({) : (<Field label={t`Value`}><div className="flex h-9 items-center rounded-md border border-dashed border-border px-3 text-xs text-muted-foreground">- {t`Pick a property first`}+ {leftType+ ? t`Pick one of its fields`+ : t`Pick a property first`}</div></Field>)}diff --git a/apps/erp/app/modules/workflows/ui/Builder/fields/InlineValueEditor.tsx b/apps/erp/app/modules/workflows/ui/Builder/fields/InlineValueEditor.tsxindex 4a7c452eb3..76b9fb5130 100644--- a/apps/erp/app/modules/workflows/ui/Builder/fields/InlineValueEditor.tsx+++ b/apps/erp/app/modules/workflows/ui/Builder/fields/InlineValueEditor.tsx@@ -17,11 +17,7 @@ import { publishVariableMenuData, retractVariableMenuData } from "./menuBridge";import { leafOfLabel } from "./tokenId";import type { FieldContext } from "./types";import { useVariableMenuData } from "./useVariableMenuData";-import {- fromEditorParts,- toEditorParts,- withoutTrailingSpace-} from "./valueParts";+import { fromEditorParts, toEditorParts, withoutEdgeSpace } from "./valueParts";/** Typing this opens the variable menu. The closing brace is drawn by the chip. */const TRIGGER = "{";@@ -115,7 +111,7 @@ export function InlineValueEditor({if (isReadOnly) return;onFocusChange?.(false);const parts = toEditorParts(value, nodeName, undefined, segmentLabels);- const trimmed = withoutTrailingSpace(parts);+ const trimmed = withoutEdgeSpace(parts);// Same array back means nothing to trim; writing anyway dirties the workflow// on every focus change.if (trimmed !== parts) {diff --git a/apps/erp/app/modules/workflows/ui/Builder/fields/useVariableMenuData.ts b/apps/erp/app/modules/workflows/ui/Builder/fields/useVariableMenuData.tsindex aeab9524a6..05940647ca 100644--- a/apps/erp/app/modules/workflows/ui/Builder/fields/useVariableMenuData.ts+++ b/apps/erp/app/modules/workflows/ui/Builder/fields/useVariableMenuData.ts@@ -6,7 +6,7 @@ import type { ValueType } from "@carbon/ee/workflows";import { useCallback, useRef } from "react";import { useWorkflowCatalog, useWorkflowLabel } from "../catalog";import { describeVariable } from "../labelKeys";-import { useVariablesGetter } from "../useDefinition";+import { useLoopItemTypeGetter, useVariablesGetter } from "../useDefinition";import type { VariableMenuData } from "./menuBridge";import type { FieldContext } from "./types";import { variableMenuItems, variableTree } from "./variableMenu";@@ -19,6 +19,7 @@ export function useVariableMenuData(textOnly?: boolean): () => VariableMenuData {const getVariables = useVariablesGetter(context.nodeId);+ const getItemType = useLoopItemTypeGetter(context.nodeId);const catalog = useWorkflowCatalog();// `useWorkflowLabel` returns a fresh closure each render; read it through a ref so@@ -34,6 +35,7 @@ export function useVariableMenuData(textOnly,inLoop: context.inLoop,itemCard: context.itemCard,+ itemType: context.inLoop ? getItemType(context.itemCard) : undefined,batching: context.batching,labelFor: (key: string, fallback: string) =>labelRef.current(key, fallback)@@ -47,6 +49,7 @@ export function useVariableMenuData(};}, [getVariables,+ getItemType,accepts,textOnly,context.inLoop,diff --git a/apps/erp/app/modules/workflows/ui/Builder/fields/valueParts.test.ts b/apps/erp/app/modules/workflows/ui/Builder/fields/valueParts.test.tsindex 4e7e1aa2ac..df4ff95d1c 100644--- a/apps/erp/app/modules/workflows/ui/Builder/fields/valueParts.test.ts+++ b/apps/erp/app/modules/workflows/ui/Builder/fields/valueParts.test.ts@@ -6,11 +6,7 @@ import type { ValueOrRef } from "@carbon/ee/workflows";import { operatorsForType } from "@carbon/ee/workflows";import { describe, expect, it } from "vitest";import { encodeTokenId } from "./tokenId";-import {- fromEditorParts,- toEditorParts,- withoutTrailingSpace-} from "./valueParts";+import { fromEditorParts, toEditorParts, withoutEdgeSpace } from "./valueParts";const names: Record<string, string> = { n1: "when-order-created" };const nodeName = (id: string) => names[id];@@ -130,7 +126,7 @@ describe("what collapsing costs a clause", () => {});});-describe("withoutTrailingSpace", () => {+describe("withoutEdgeSpace", () => {const token = {kind: "token" as const,id: encodeTokenId(ref),@@ -139,24 +135,36 @@ describe("withoutTrailingSpace", () => {const space = { kind: "text" as const, text: " " };it("collapses to a bare ref once the trailing space is gone", () => {- const parts = withoutTrailingSpace([token, space]);+ const parts = withoutEdgeSpace([token, space]);+ expect(fromEditorParts(parts, COLLAPSE)).toEqual(ref);+ });++ it("collapses to a bare ref when a removed token left a space before it", () => {+ const parts = withoutEdgeSpace([space, token, space]);expect(fromEditorParts(parts, COLLAPSE)).toEqual(ref);});it("keeps the words before it", () => {+ expect(withoutEdgeSpace([token, { kind: "text", text: " kg " }])).toEqual([+ token,+ { kind: "text", text: " kg" }+ ]);+ });++ it("keeps the words after leading space", () => {expect(- withoutTrailingSpace([token, { kind: "text", text: " kg " }])- ).toEqual([token, { kind: "text", text: " kg" }]);+ withoutEdgeSpace([{ kind: "text", text: " Order " }, token])+ ).toEqual([{ kind: "text", text: "Order " }, token]);});it("returns the same array when there is nothing to trim", () => {const parts = [token];- expect(withoutTrailingSpace(parts)).toBe(parts);+ expect(withoutEdgeSpace(parts)).toBe(parts);});it("leaves plain text alone, where a trailing space may be deliberate", () => {const parts = [{ kind: "text" as const, text: "Note: " }];- expect(withoutTrailingSpace(parts)).toBe(parts);+ expect(withoutEdgeSpace(parts)).toBe(parts);});});diff --git a/apps/erp/app/modules/workflows/ui/Builder/fields/valueParts.ts b/apps/erp/app/modules/workflows/ui/Builder/fields/valueParts.tsindex 65ff6d01b0..41be491b63 100644--- a/apps/erp/app/modules/workflows/ui/Builder/fields/valueParts.ts+++ b/apps/erp/app/modules/workflows/ui/Builder/fields/valueParts.ts@@ -50,21 +50,40 @@ export type SerializeOptions = {};/**- * Drops the space the picker leaves after a token — only meaningful on blur, since until- * then it is the gap before the next word. While it survives, a lone variable stays a- * template and the clause loses the variable's own type. Returns the same array when- * there is nothing to trim, so callers can skip the write.+ * Drops the space the picker leaves after a token, and the one a removed token leaves+ * before the next — only meaningful on blur, since until then it is the gap before the+ * next word. While it survives, a lone variable stays a template and the clause loses+ * the variable's own type. Returns the same array when there is nothing to trim, so+ * callers can skip the write.*/-export function withoutTrailingSpace(+export function withoutEdgeSpace(parts: VariableTextPart[]): VariableTextPart[] {- // Trailing space in a field with no variable in it may well be deliberate.+ // Space at either end of a field with no variable in it may well be deliberate.if (!parts.some((part) => part.kind === "token")) return parts;- const last = parts[parts.length - 1];- if (last?.kind !== "text") return parts;- const text = last.text.replace(/\s+$/, "");- if (text === last.text) return parts;- return text ? [...parts.slice(0, -1), { ...last, text }] : parts.slice(0, -1);+ let trimmed = parts;++ const last = trimmed[trimmed.length - 1];+ if (last?.kind === "text") {+ const text = last.text.replace(/\s+$/, "");+ if (text !== last.text) {+ trimmed = text+ ? [...trimmed.slice(0, -1), { ...last, text }]+ : trimmed.slice(0, -1);+ }+ }++ const first = trimmed[0];+ if (first?.kind === "text") {+ const text = first.text.replace(/^\s+/, "");+ if (text !== first.text) {+ trimmed = text+ ? [{ ...first, text }, ...trimmed.slice(1)]+ : trimmed.slice(1);+ }+ }++ return trimmed;}/** Plain text stays a literal; mixed content is a template. */diff --git a/apps/erp/app/modules/workflows/ui/Builder/fields/variableMenu.test.ts b/apps/erp/app/modules/workflows/ui/Builder/fields/variableMenu.test.tsindex eb01440e6d..6224303dea 100644--- a/apps/erp/app/modules/workflows/ui/Builder/fields/variableMenu.test.ts+++ b/apps/erp/app/modules/workflows/ui/Builder/fields/variableMenu.test.ts@@ -239,6 +239,35 @@ describe("variableTree", () => {).toBe(false);});+ // A whole object has no operator, so a clause over a list of them is only+ // writable when one of its fields can be picked.+ it("opens the current item into its fields, scoped to its card", () => {+ const event = {+ kind: "record",+ fields: { summary: text, attendees: number }+ } as const;+ const options = { inLoop: true, itemCard: "c1", itemType: event };++ const [item] = variableTree([], catalog, options);+ expect(item.children?.map((child) => child.label)).toEqual([+ "summary",+ "attendees"+ ]);+ expect(decodeTokenId(item.children?.[0].item?.id ?? "")).toEqual({+ kind: "item",+ path: ["summary"],+ card: "c1"+ });++ expect(+ variableMenuItems([], catalog, options).map((entry) => entry.label)+ ).toEqual([+ "Current item",+ "Current item › summary",+ "Current item › attendees"+ ]);+ });+// A record prints as its readable id, so a text field offers it alongside its// properties. A LIST of records still has no reading in a sentence.it("offers the record itself in a text field, and its properties", () => {diff --git a/apps/erp/app/modules/workflows/ui/Builder/fields/variableMenu.ts b/apps/erp/app/modules/workflows/ui/Builder/fields/variableMenu.tsindex 6925f828da..991ac80d2e 100644--- a/apps/erp/app/modules/workflows/ui/Builder/fields/variableMenu.ts+++ b/apps/erp/app/modules/workflows/ui/Builder/fields/variableMenu.ts@@ -15,8 +15,11 @@ import {outputLabel,propertyLabelKey} from "../labelKeys";+import type { RefPart } from "./tokenId";import { encodeTokenId, refLabel, refLeafLabel } from "./tokenId";+const ITEM_HELPER = "the item in the current loop";+export type VariableMenuItem = {id: string;label: string;@@ -66,6 +69,9 @@ type Options = {inLoop?: boolean;/** The operation card an inserted item ref should be scoped to (data-node chains). */itemCard?: string;+ /** What the current item is, so its fields can be offered. Omitted when the loop's+ * list is not known yet — the item is then offered whole, as a single row. */+ itemType?: ValueType;/** The action runs once per item, so a list may fill a single-value input. */batching?: boolean;/** Resolves a catalog label key to display text. Defaults to the fallback, which is what@@ -120,6 +126,7 @@ export function variableMenuItems(textOnly,inLoop,itemCard,+ itemType,batching,labelFor = (_key, fallback) => fallback}: Options = {}@@ -129,22 +136,23 @@ export function variableMenuItems((!textOnly || rendersAsText(type)) &&(!accepts || canAssign(type, accepts, { batching }));- for (const variable of withoutDuplicateOutputs(variables)) {+ /** Adds the root and every property under it, up to `MAX_PATH` hops. */+ const walk = (+ type: ValueType,+ makeRef: (path: string[]) => RefPart,+ describe: (type: ValueType, path: string[]) => string,+ nodeName?: string+ ) => {const add = (path: string[], labels: string[], type: ValueType) => {if (!fits(type)) return;- const ref: VariableRef = {- kind: "ref",- nodeId: variable.nodeId,- output: variable.output,- path- };+ const ref = makeRef(path);items.push({id: encodeTokenId(ref),// Named as the tree names them: search matches what the customer can see, which// for a custom field is the only name they have ever been shown.- label: refLabel(ref, variable.nodeName, labels),+ label: refLabel(ref, nodeName, labels),leaf: refLeafLabel(ref, labels),- helper: describeVariable(type, variable.guaranteed, labelFor)+ helper: describe(type, path)});};@@ -180,27 +188,58 @@ export function variableMenuItems(}};- add([], [], variable.type);- expand(variable.type, [], []);+ add([], [], type);+ expand(type, [], []);+ };++ for (const variable of withoutDuplicateOutputs(variables)) {+ walk(+ variable.type,+ (path): VariableRef => ({+ kind: "ref",+ nodeId: variable.nodeId,+ output: variable.output,+ path+ }),+ (type) => describeVariable(type, variable.guaranteed, labelFor),+ variable.nodeName+ );}if (inLoop) {- const ref = {- kind: "item" as const,- path: [],+ const makeItemRef = (path: string[]): RefPart => ({+ kind: "item",+ path,...(itemCard ? { card: itemCard } : {})- };- items.push({- id: encodeTokenId(ref),- label: refLabel(ref),- leaf: refLeafLabel(ref),- helper: "the item in the current loop"});+ if (itemType) {+ walk(itemType, makeItemRef, (type, path) =>+ path.length === 0 ? ITEM_HELPER : describeVariable(type, true, labelFor)+ );+ } else {+ const ref = makeItemRef([]);+ items.push({+ id: encodeTokenId(ref),+ label: refLabel(ref),+ leaf: refLeafLabel(ref),+ helper: ITEM_HELPER+ });+ }}return items;}+/** Where a branch of the tree starts: a step's output, or the current item. */+type TreeRoot = {+ key: string;+ makeRef: (path: string[]) => RefPart;+ nodeName?: string;+ guaranteed: boolean;+ /** Replaces the type description on the root row only. */+ helper?: string;+};+/** The same variables as `variableMenuItems`, as a tree so the menu can show one level at* a time. Search still comes off the flat list — it matches the whole breadcrumb. */export function variableTree(@@ -211,6 +250,7 @@ export function variableTree(textOnly,inLoop,itemCard,+ itemType,batching,labelFor = (_key, fallback) => fallback}: Options = {}@@ -223,7 +263,7 @@ export function variableTree(* that should not be there. An entity with usable properties survives even when the* record itself does not fit. */function build(- variable: AvailableVariable,+ root: TreeRoot,type: ValueType,path: string[],pathLabels: string[],@@ -231,22 +271,20 @@ export function variableTree(description?: string): VariableTreeNode | null {const compatible = fits(type);- const ref: VariableRef = {- kind: "ref",- nodeId: variable.nodeId,- output: variable.output,- path- };- const helper = describeVariable(type, variable.guaranteed, labelFor);+ const ref = root.makeRef(path);+ const helper =+ path.length === 0 && root.helper !== undefined+ ? root.helper+ : describeVariable(type, root.guaranteed, labelFor);const node: VariableTreeNode = {- key: `${variable.nodeId}:${variable.output}:${path.join(".")}`,+ key: `${root.key}:${path.join(".")}`,label,helper,description,item: compatible? {id: encodeTokenId(ref),- label: refLabel(ref, variable.nodeName, pathLabels),+ label: refLabel(ref, root.nodeName, pathLabels),// The row's own label IS the leaf, so a search scoped to this level names// its hits exactly as the level it drilled out of did.leaf: label,@@ -261,7 +299,7 @@ export function variableTree(const children = Object.entries(type.fields).map(([field, fieldType]) =>build(- variable,+ root,fieldType,[...path, field],[...pathLabels, field],@@ -286,7 +324,7 @@ export function variableTree(property);return build(- variable,+ root,propertyType,[...path, property],[...pathLabels, propertyName],@@ -319,7 +357,17 @@ export function variableTree(byNode.set(variable.nodeId, step);}const output = build(- variable,+ {+ key: `${variable.nodeId}:${variable.output}`,+ makeRef: (path) => ({+ kind: "ref",+ nodeId: variable.nodeId,+ output: variable.output,+ path+ }),+ nodeName: variable.nodeName,+ guaranteed: variable.guaranteed+ },variable.type,[],[],@@ -335,22 +383,35 @@ export function variableTree();if (inLoop) {- const ref = {- kind: "item" as const,- path: [],+ const makeRef = (path: string[]): RefPart => ({+ kind: "item",+ path,...(itemCard ? { card: itemCard } : {})- };- roots.push({- key: "item",- label: "Current item",- helper: "the item in the current loop",- item: {- id: encodeTokenId(ref),- label: refLabel(ref),- leaf: refLeafLabel(ref),- helper: "the item in the current loop"- }});+ if (itemType) {+ // Its fields hang under it like an output's, so a clause can compare one of them.+ const item = build(+ { key: "item", makeRef, guaranteed: true, helper: ITEM_HELPER },+ itemType,+ [],+ [],+ "Current item"+ );+ if (item) roots.push(item);+ } else {+ const ref = makeRef([]);+ roots.push({+ key: "item",+ label: "Current item",+ helper: ITEM_HELPER,+ item: {+ id: encodeTokenId(ref),+ label: refLabel(ref),+ leaf: refLeafLabel(ref),+ helper: ITEM_HELPER+ }+ });+ }}return roots;diff --git a/apps/erp/app/modules/workflows/ui/Builder/useDefinition.ts b/apps/erp/app/modules/workflows/ui/Builder/useDefinition.tsindex 003ae562f4..bde93f3638 100644--- a/apps/erp/app/modules/workflows/ui/Builder/useDefinition.ts+++ b/apps/erp/app/modules/workflows/ui/Builder/useDefinition.ts@@ -65,6 +65,27 @@ export function useVariablesGetter(nodeId: string): () => AvailableVariable[] {}, [store, nodeId, catalog]);}+/** What the current loop item is at a node, computed on demand for the same reason.+ * `card` names the operation card of a data-node chain; undefined when the loop's list+ * is not known yet. */+export function useLoopItemTypeGetter(+ nodeId: string+): (card?: string) => ValueType | undefined {+ const store = useBuilderStoreApi();+ const catalog = useWorkflowCatalog();+ return useCallback(+ (card?: string) => {+ const { nodes, edges } = store.getState();+ const { context } = createContext(fromReactFlow(nodes, edges), catalog);+ return context.typeOf(+ { kind: "item", path: [], ...(card ? { card } : {}) },+ nodeId+ );+ },+ [store, nodeId, catalog]+ );+}+/*** Every action step's repeat plan, in one pass over the graph. The cards read the result* out of the store rather than each deriving its own: subscribing a card to the wholediff --git a/packages/jobs/src/workflows/actions/integration.ts b/packages/jobs/src/workflows/actions/integration.tsindex aabc031b48..74164d9cf6 100644--- a/packages/jobs/src/workflows/actions/integration.ts+++ b/packages/jobs/src/workflows/actions/integration.ts@@ -3,7 +3,11 @@// including ports, remain AGPLv3; serving them over a network requires releasing their source.import { getCarbonServiceRole } from "@carbon/auth/client.server";-import type { ActionOutcome, RuntimeValue } from "@carbon/ee/workflows";+import {+ type ActionOutcome,+ MAX_LIST_ITEMS,+ type RuntimeValue+} from "@carbon/ee/workflows";import { redactForLog } from "../engine/ledger";import { allowlistEntry } from "../integrations/allowlist";import { buildPieceContext } from "../integrations/context";@@ -11,7 +15,7 @@ import {type PieceAuthFailure,resolvePieceAuth} from "../integrations/piece-auth";-import { projectOutputs } from "../integrations/project";+import { droppedItems, projectOutputs } from "../integrations/project";import { toPropsValue } from "../integrations/properties";import { getPieceAction } from "../integrations/registry";@@ -222,18 +226,25 @@ export async function runIntegrationAction(};}+ const projected = projectOutputs(action.outputSchema, result, {+ sortItemsBy: allowlistEntry(pieceName)?.sortItemsBy?.[actionName]+ });+ // Said on the step itself: otherwise "count 250" beside "100 items" reads as a bug,+ // and a filter downstream quietly misses what was cut.+ const dropped = droppedItems(projected);return {ok: true,outputs: {- ...projectOutputs(action.outputSchema, result, {- sortItemsBy: allowlistEntry(pieceName)?.sortItemsBy?.[actionName]- }),+ ...projected,result: {kind: "primitive",of: "string",value: serializeResult(result)}},- summary: `${label}: ${action.displayName} ran.`+ summary:+ dropped > 0+ ? `${label}: ${action.displayName} ran. ${MAX_LIST_ITEMS + dropped} came back; only the first ${MAX_LIST_ITEMS} are used.`+ : `${label}: ${action.displayName} ran.`};}diff --git a/packages/jobs/src/workflows/integrations/project.test.ts b/packages/jobs/src/workflows/integrations/project.test.tsindex eaa527db26..395974d8bc 100644--- a/packages/jobs/src/workflows/integrations/project.test.ts+++ b/packages/jobs/src/workflows/integrations/project.test.ts@@ -4,7 +4,7 @@import { MAX_LIST_ITEMS } from "@carbon/ee/workflows";import { describe, expect, it } from "vitest";-import { projectOutputs } from "./project";+import { droppedItems, projectOutputs } from "./project";import type { PieceOutputSchema } from "./types";/** The `get_events` shape: a remapped list, with per-element remapped reads. */@@ -99,6 +99,22 @@ describe("projectOutputs", () => {});});+ it("reports how many returned items the list cap left out", () => {+ // 250 came back, the list keeps 100: a filter after it must be told 150 were cut.+ const outputs = projectOutputs(+ GET_EVENTS,+ response(Array.from({ length: 250 }, () => ONE_EVENT))+ );+ expect(items(outputs)).toHaveLength(100);+ expect(droppedItems(outputs)).toBe(150);+ });++ it("reports nothing left out when the list fits", () => {+ expect(+ droppedItems(projectOutputs(GET_EVENTS, response([ONE_EVENT])))+ ).toBe(0);+ });+it("counts a single-object response as one", () => {const outputs = projectOutputs({ fields: [{ key: "id", label: "Id" }] },diff --git a/packages/jobs/src/workflows/integrations/project.ts b/packages/jobs/src/workflows/integrations/project.tsindex fdcb03688f..5383c53b37 100644--- a/packages/jobs/src/workflows/integrations/project.ts+++ b/packages/jobs/src/workflows/integrations/project.ts@@ -3,7 +3,11 @@// including ports, remain AGPLv3; serving them over a network requires releasing their source.import { getPath } from "@carbon/ee/integrations/secrets";-import { fromJson, type RuntimeValue } from "@carbon/ee/workflows";+import {+ fromJson,+ MAX_LIST_ITEMS,+ type RuntimeValue+} from "@carbon/ee/workflows";import { getLogger } from "@carbon/logger";import { describeOutputs, readField } from "./outputs";import type { PieceOutputSchema } from "./types";@@ -105,6 +109,14 @@ function sortRows(.map(({ row }) => row);}+/** How many items came back that a later step will never see: `count` is what the+ * vendor returned, but a list keeps only the first `MAX_LIST_ITEMS`. */+export function droppedItems(outputs: Record<string, RuntimeValue>): number {+ const count = outputs.count;+ if (count?.kind !== "primitive" || typeof count.value !== "number") return 0;+ return Math.max(0, count.value - MAX_LIST_ITEMS);+}+/** How many items came back: a list's length, else 1 for a single response. */function countOf(items: unknown[] | undefined): RuntimeValue {return {diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex c6fe802013..4ed527ac25 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -6443,6 +6443,9 @@ msgstr "Die Onshape-Verbindung konnte nicht abgeschlossen werden"msgid "Couldn't complete the Onshape Government connection"msgstr "Konnte die Onshape Government-Verbindung nicht abschließen"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "Dokumente konnten nicht geladen werden"@@ -12137,6 +12140,9 @@ msgstr "Integration nicht gefunden"msgid "Integrations"msgstr "Integrationen"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "Integrationen, die hier nicht genannt sind"@@ -17402,6 +17408,9 @@ msgstr "Wählen Sie eine vorhandene Regel aus der Bibliothek aus oder erstellenmsgid "Pick List"msgstr "Pickliste"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "Entnahmereihenfolge"@@ -23960,6 +23969,9 @@ msgstr "Die Incoterms-Regel (FOB, DAP, EXW, CIF, ...), die regelt, wer Fracht bemsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "Die Integration autorisierte die Verbindung, aber das Speichern ist fehlgeschlagen. Versuchen Sie erneut, eine Verbindung herzustellen."+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "Die Bestandskosten, die bei einer Lieferbuchung anerkannt werden, bewertet nach der Kalkulationsmethode des Artikels."@@ -24758,6 +24770,7 @@ msgstr "Dieses Konto funktioniert nicht mehr. Verbinden Sie es erneut – Workflmsgid "This account needs to be reconnected."msgstr "Dieses Konto muss erneut verbunden werden."+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "Toleranz (Tage)"msgid "Tomorrow"msgstr "Morgen"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "Gerade laufen zu viele Exporte und Massenaktionen. Versuchen Sie es in ein paar Minuten erneut."+msgid "Took {took} values; kept the first {kept}."msgstr "{took} Werte übernommen; die ersten {kept} behalten."@@ -25399,8 +25415,6 @@ msgstr "Das erste von {total} übernommen."msgid "Took the last of {total}."msgstr "Das letzte von {total} übernommen."-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "Gerade laufen zu viele Exporte und Massenaktionen. Versuchen Sie es in ein paar Minuten erneut."msgid "tool"msgstr "Werkzeug"@@ -25905,6 +25919,10 @@ msgstr "Ungesund"msgid "Uninstall"msgstr "Deinstallieren"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "Deinstallieren Sie {conflictsWith} zuerst"@@ -26239,6 +26257,9 @@ msgstr "Upgrade freischalten, um Audit-Verlauf zu entsperren"msgid "Upgrade to unlock sales rules"msgstr "Upgraden Sie, um Verkaufsregeln freizuschalten"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "Hochladen"diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex fda3753a4d..20f2998a99 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -6443,6 +6443,9 @@ msgstr "Couldn't complete the Onshape connection"msgid "Couldn't complete the Onshape Government connection"msgstr "Couldn't complete the Onshape Government connection"+msgid "Couldn't confirm the account"+msgstr "Couldn't confirm the account"+msgid "Couldn't load documents"msgstr "Couldn't load documents"@@ -12137,6 +12140,9 @@ msgstr "Integration not found"msgid "Integrations"msgstr "Integrations"+msgid "Integrations aren't included in your plan"+msgstr "Integrations aren't included in your plan"+msgid "Integrations not named here"msgstr "Integrations not named here"@@ -17402,6 +17408,9 @@ msgstr "Pick an existing rule from the library or create a new one to start enfomsgid "Pick List"msgstr "Pick List"+msgid "Pick one of its fields"+msgstr "Pick one of its fields"+msgid "Pick Order"msgstr "Pick Order"@@ -23960,6 +23969,9 @@ msgstr "The Incoterm rule (FOB, DAP, EXW, CIF, …) that governs who pays freighmsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "The integration authorized the connection but saving it failed. Try connecting again."+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "The inventory cost recognized when a shipment posts, valued by the item's costing method."@@ -24758,6 +24770,7 @@ msgstr "This account has stopped working. Reconnect it — workflow steps usingmsgid "This account needs to be reconnected."msgstr "This account needs to be reconnected."+msgid "This action cannot run on this list."msgstr "This action cannot run on this list."@@ -25391,6 +25404,9 @@ msgstr "Tolerance (days)"msgid "Tomorrow"msgstr "Tomorrow"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgid "Took {took} values; kept the first {kept}."msgstr "Took {took} values; kept the first {kept}."@@ -25399,8 +25415,6 @@ msgstr "Took the first of {total}."msgid "Took the last of {total}."msgstr "Took the last of {total}."-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "Too many exports and bulk actions are running right now. Try again in a few minutes."msgid "tool"msgstr "tool"@@ -25905,6 +25919,10 @@ msgstr "Unhealthy"msgid "Uninstall"msgstr "Uninstall"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr "Uninstall {0} first"+msgid "Uninstall {conflictsWith} first"msgstr "Uninstall {conflictsWith} first"@@ -26239,6 +26257,9 @@ msgstr "Upgrade to unlock audit history"msgid "Upgrade to unlock sales rules"msgstr "Upgrade to unlock sales rules"+msgid "Upgrade your plan to connect this integration."+msgstr "Upgrade your plan to connect this integration."+msgid "Upload"msgstr "Upload"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex 8c5f54c3bc..287b2fc5ae 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -6443,6 +6443,9 @@ msgstr "No se pudo completar la conexión con Onshape"msgid "Couldn't complete the Onshape Government connection"msgstr "No se pudo completar la conexión con Onshape Government"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "No se pudieron cargar los documentos"@@ -12137,6 +12140,9 @@ msgstr "Integración no encontrada"msgid "Integrations"msgstr "Integraciones"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "Integraciones no mencionadas aquí"@@ -17402,6 +17408,9 @@ msgstr "Selecciona una regla existente de la biblioteca o crea una nueva para comsgid "Pick List"msgstr "Lista de Picking"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "Orden de Picking"@@ -23960,6 +23969,9 @@ msgstr "La regla de Incoterms (FOB, DAP, EXW, CIF, ...) que rige quién paga elmsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "La integración autorizó la conexión pero falló al guardarla. Intenta conectar de nuevo."+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "El costo de inventario reconocido cuando se registra un envío, valorado por el método de costeo del artículo."@@ -24758,6 +24770,7 @@ msgstr "Esta cuenta ha dejado de funcionar. Reconéctela — los pasos del flujomsgid "This account needs to be reconnected."msgstr "Esta cuenta necesita ser reconectada."+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "Tolerancia (días)"msgid "Tomorrow"msgstr "Mañana"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "Hay demasiadas exportaciones y acciones masivas en curso. Inténtelo de nuevo en unos minutos."+msgid "Took {took} values; kept the first {kept}."msgstr "Se tomaron {took} valores; se conservaron los primeros {kept}."@@ -25399,8 +25415,6 @@ msgstr "Se tomó el primero de {total}."msgid "Took the last of {total}."msgstr "Se tomó el último de {total}."-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "Hay demasiadas exportaciones y acciones masivas en curso. Inténtelo de nuevo en unos minutos."msgid "tool"msgstr "Herramienta"@@ -25905,6 +25919,10 @@ msgstr "Insalubre"msgid "Uninstall"msgstr "Desinstalar"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "Desinstala {conflictsWith} primero"@@ -26239,6 +26257,9 @@ msgstr "Actualizar para desbloquear el historial de auditoría"msgid "Upgrade to unlock sales rules"msgstr "Actualizar para desbloquear reglas de ventas"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "Subir"diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex 01f3f86ad9..4062a7c7a1 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -6443,6 +6443,9 @@ msgstr "Impossible d'établir la connexion Onshape"msgid "Couldn't complete the Onshape Government connection"msgstr "Impossible de terminer la connexion à Onshape Government"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "Impossible de charger les documents"@@ -12137,6 +12140,9 @@ msgstr "Intégration introuvable"msgid "Integrations"msgstr "Intégrations"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "Intégrations non mentionnées ici"@@ -17402,6 +17408,9 @@ msgstr "Choisissez une règle existante de la bibliothèque ou créez-en une noumsgid "Pick List"msgstr "Liste de prélèvement"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "Ordre de prélèvement"@@ -23960,6 +23969,9 @@ msgstr "La règle Incoterms (FOB, DAP, EXW, CIF, ...) qui gouverne qui paie le fmsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "L'intégration a autorisé la connexion mais son enregistrement a échoué. Essayez de vous reconnecter."+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "Le coût reconnu lors de la comptabilisation d'une expédition, évalué selon la méthode de calcul des coûts de l'article."@@ -24758,6 +24770,7 @@ msgstr "Ce compte a cessé de fonctionner. Reconnectez-le — les étapes du wormsgid "This account needs to be reconnected."msgstr "Ce compte doit être reconnecté."+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "Tolérance (jours)"msgid "Tomorrow"msgstr "Demain"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "Trop d'exports et d'actions groupées sont en cours. Réessayez dans quelques minutes."+msgid "Took {took} values; kept the first {kept}."msgstr "{took} valeurs prises ; les {kept} premières conservées."@@ -25399,8 +25415,6 @@ msgstr "Premier élément pris sur {total}."msgid "Took the last of {total}."msgstr "Dernier élément pris sur {total}."-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "Trop d'exports et d'actions groupées sont en cours. Réessayez dans quelques minutes."msgid "tool"msgstr "Outil"@@ -25905,6 +25919,10 @@ msgstr "Malsain"msgid "Uninstall"msgstr "Désinstaller"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "Désinstallez {conflictsWith} d'abord"@@ -26239,6 +26257,9 @@ msgstr "Passez à la version supérieure pour déverrouiller l'historique d'audimsgid "Upgrade to unlock sales rules"msgstr "Mettez à niveau pour déverrouiller les règles de vente"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "Téléverser"diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 4ac303471e..f4697dd156 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -6443,6 +6443,9 @@ msgstr "Onshape कनेक्शन पूरा नहीं हो सकाmsgid "Couldn't complete the Onshape Government connection"msgstr "Onshape Government कनेक्शन को पूर्ण नहीं किया जा सका"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "दस्तावेज़ लोड नहीं हो सके"@@ -12137,6 +12140,9 @@ msgstr "एकीकरण नहीं मिला"msgid "Integrations"msgstr "एकीकरण"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "यहां नामित नहीं किए गए एकीकरण"@@ -17402,6 +17408,9 @@ msgstr "इस आइटम पर जांच लागू करना शुmsgid "Pick List"msgstr "पिक लिस्ट"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "पिक ऑर्डर"@@ -23960,6 +23969,9 @@ msgstr "इनकोटर्म नियम (FOB, DAP, EXW, CIF, …) जोmsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "एकीकरण ने कनेक्शन को अधिकृत किया लेकिन इसे सहेजने में विफल रहा। फिर से कनेक्ट करने का प्रयास करें।"+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "शिपमेंट पोस्ट होने पर मान्यता दी गई इन्वेंटरी लागत, जिसका मूल्यांकन आइटम की लागत निर्धारण विधि के द्वारा किया गया है।"@@ -24758,6 +24770,7 @@ msgstr "यह खाता काम करना बंद कर गयाmsgid "This account needs to be reconnected."msgstr "इस खाते को पुनः कनेक्ट किए जाने की आवश्यकता है।"+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "सहनशीलता (दिन)"msgid "Tomorrow"msgstr "कल"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "अभी बहुत सारे एक्सपोर्ट और बल्क एक्शन चल रहे हैं। कुछ मिनट बाद फिर से कोशिश करें।"+msgid "Took {took} values; kept the first {kept}."msgstr "{took} मान लिए गए; पहले {kept} रखे गए।"@@ -25399,8 +25415,6 @@ msgstr "{total} में से पहला लिया गया।"msgid "Took the last of {total}."msgstr "{total} में से अंतिम लिया गया।"-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "अभी बहुत सारे एक्सपोर्ट और बल्क एक्शन चल रहे हैं। कुछ मिनट बाद फिर से कोशिश करें।"msgid "tool"msgstr "उपकरण"@@ -25905,6 +25919,10 @@ msgstr "अस्वस्थ"msgid "Uninstall"msgstr "अनइंस्टॉल करें"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "पहले {conflictsWith} को अनइंस्टॉल करें"@@ -26239,6 +26257,9 @@ msgstr "ऑडिट इतिहास को अनलॉक करने कmsgid "Upgrade to unlock sales rules"msgstr "बिक्री नियमों को अनलॉक करने के लिए अपग्रेड करें"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "अपलोड करें"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex ab7bd6279d..22691c8fcc 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -6443,6 +6443,9 @@ msgstr "Impossibile completare la connessione a Onshape"msgid "Couldn't complete the Onshape Government connection"msgstr "Impossibile completare la connessione Onshape Government"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "Impossibile caricare i documenti"@@ -12137,6 +12140,9 @@ msgstr "Integrazione non trovata"msgid "Integrations"msgstr "Integrazioni"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "Integrazioni non nominate qui"@@ -17402,6 +17408,9 @@ msgstr "Seleziona una regola esistente dalla libreria o crea una nuova per inizimsgid "Pick List"msgstr "Elenco di prelievo"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "Ordine di Prelievo"@@ -23960,6 +23969,9 @@ msgstr "La regola Incoterms (FOB, DAP, EXW, CIF, ...) che governa chi paga il trmsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "L'integrazione ha autorizzato la connessione ma il salvataggio non è riuscito. Prova a connetterti di nuovo."+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "Il costo dell'inventario riconosciuto quando una spedizione viene registrata, valutato in base al metodo di calcolo dei costi dell'articolo."@@ -24758,6 +24770,7 @@ msgstr "Questo account ha smesso di funzionare. Riconnettilo — i passaggi delmsgid "This account needs to be reconnected."msgstr "Questo account deve essere riconnesso."+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "Tolleranza (giorni)"msgid "Tomorrow"msgstr "Domani"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "Ci sono troppe esportazioni e azioni di massa in corso. Riprova tra qualche minuto."+msgid "Took {took} values; kept the first {kept}."msgstr "Presi {took} valori; mantenuti i primi {kept}."@@ -25399,8 +25415,6 @@ msgstr "Preso il primo di {total}."msgid "Took the last of {total}."msgstr "Preso l'ultimo di {total}."-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "Ci sono troppe esportazioni e azioni di massa in corso. Riprova tra qualche minuto."msgid "tool"msgstr "Strumento"@@ -25905,6 +25919,10 @@ msgstr "Anomalo"msgid "Uninstall"msgstr "Disinstalla"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "Disinstalla {conflictsWith} prima"@@ -26239,6 +26257,9 @@ msgstr "Aggiorna per sbloccare la cronologia di audit"msgid "Upgrade to unlock sales rules"msgstr "Aggiorna per sbloccare le regole di vendita"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "Carica"diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex 09c9be9266..e4891cbf18 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -6443,6 +6443,9 @@ msgstr "Onshape 接続を完了できませんでした"msgid "Couldn't complete the Onshape Government connection"msgstr "Onshape Government接続を完了できませんでした"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "ドキュメントを読み込めませんでした"@@ -12137,6 +12140,9 @@ msgstr "連携が見つかりません"msgid "Integrations"msgstr "連携"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "ここに名前が付けられていない連携"@@ -17402,6 +17408,9 @@ msgstr "ライブラリから既存のルールを選択するか、新しいルmsgid "Pick List"msgstr "ピッキングリスト"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "ピック順序"@@ -23960,6 +23969,9 @@ msgstr "この得意先への出荷時に誰が運送費を支払い、誰がリmsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "統合は接続を認可しましたが、保存に失敗しました。再度接続してみてください。"+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "出荷が転記されるときに認識されるインベントリコスト。品目の原価計算方法で評価されます。"@@ -24758,6 +24770,7 @@ msgstr "このアカウントは動作を停止しています。再接続してmsgid "This account needs to be reconnected."msgstr "このアカウントは再接続する必要があります。"+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "許容値(日)"msgid "Tomorrow"msgstr "明日"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "現在、実行中のエクスポートと一括操作が多すぎます。数分後にもう一度お試しください。"+msgid "Took {took} values; kept the first {kept}."msgstr "{took} 件の値を取得し、最初の {kept} 件を保持しました。"@@ -25399,8 +25415,6 @@ msgstr "{total} 件中の最初の項目を取得しました。"msgid "Took the last of {total}."msgstr "{total} 件中の最後の項目を取得しました。"-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "現在、実行中のエクスポートと一括操作が多すぎます。数分後にもう一度お試しください。"msgid "tool"msgstr "ツール"@@ -25905,6 +25919,10 @@ msgstr "不正常"msgid "Uninstall"msgstr "アンインストール"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "まず{conflictsWith}をアンインストールしてください"@@ -26239,6 +26257,9 @@ msgstr "監査履歴のロックを解除するにはアップグレードしてmsgid "Upgrade to unlock sales rules"msgstr "販売ルールのロックを解除するにはアップグレードしてください"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "アップロード"diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.poindex 7328ea8bdd..90d0a197c8 100644--- a/packages/locale/locales/ko/erp.po+++ b/packages/locale/locales/ko/erp.po@@ -6443,6 +6443,9 @@ msgstr "Onshape 연결을 완료할 수 없습니다"msgid "Couldn't complete the Onshape Government connection"msgstr "Onshape Government 연동을 완료 처리할 수 없습니다."+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "문서를 불러올 수 없습니다"@@ -12137,6 +12140,9 @@ msgstr "연동을 찾을 수 없습니다"msgid "Integrations"msgstr "연동"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "여기에 명시되지 않은 연동"@@ -17402,6 +17408,9 @@ msgstr "라이브러리에서 기존 규칙을 선택하거나 새 규칙을 만msgid "Pick List"msgstr "피킹 목록"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "피킹 순서"@@ -23960,6 +23969,9 @@ msgstr "이 고객으로의 출하에서 운송비 지불자, 리스크 부담msgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "통합이 연결을 승인했지만 저장하지 못했습니다. 다시 연결해 보세요."+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "출하가 전기될 때 인식되는 재고 원가로, 품목의 원가 계산 방법에 따라 평가됩니다."@@ -24758,6 +24770,7 @@ msgstr "이 계정이 작동을 멈췄습니다. 재연결하세요 — 워크msgid "This account needs to be reconnected."msgstr "이 계정을 재연결해야 합니다."+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "허용치 (일)"msgid "Tomorrow"msgstr "내일"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "현재 실행 중인 내보내기와 일괄 작업이 너무 많습니다. 몇 분 후에 다시 시도하세요."+msgid "Took {took} values; kept the first {kept}."msgstr "값 {took}개를 가져왔고 처음 {kept}개를 유지했습니다."@@ -25399,8 +25415,6 @@ msgstr "{total}개 중 첫 번째를 가져왔습니다."msgid "Took the last of {total}."msgstr "{total}개 중 마지막을 가져왔습니다."-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "현재 실행 중인 내보내기와 일괄 작업이 너무 많습니다. 몇 분 후에 다시 시도하세요."msgid "tool"msgstr "공구"@@ -25905,6 +25919,10 @@ msgstr "문제 있음"msgid "Uninstall"msgstr "제거"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "먼저 {conflictsWith}를 제거하세요"@@ -26239,6 +26257,9 @@ msgstr "업그레이드하여 감사 이력 잠금 해제"msgid "Upgrade to unlock sales rules"msgstr "판매 규칙을 잠금 해제하려면 업그레이드하십시오"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "업로드"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex 03bbf75c95..83f1b663ab 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -6443,6 +6443,9 @@ msgstr "Nie udało się ukończyć połączenia z Onshape"msgid "Couldn't complete the Onshape Government connection"msgstr "Nie udało się zakończyć połączenia Onshape Government"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "Nie udało się załadować dokumentów"@@ -12137,6 +12140,9 @@ msgstr "Integracja nie znaleziona"msgid "Integrations"msgstr "Integracje"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "Integracje niewymienione tutaj"@@ -17402,6 +17408,9 @@ msgstr "Wybierz istniejącą regułę z biblioteki lub utwórz nową, aby rozpocmsgid "Pick List"msgstr "Lista pobrania"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "Kolejność pobrania"@@ -23960,6 +23969,9 @@ msgstr "Reguła Incoterm (FOB, DAP, EXW, CIF, ...), która określa, kto płacimsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "Integracja autoryzowała połączenie, ale zapisanie go nie powiodło się. Spróbuj ponownie nawiązać połączenie."+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "Koszt zapasów uznany, gdy wysyłka się zaksięgowuje, wyceniony metodą kalkulacji kosztów artykułu."@@ -24758,6 +24770,7 @@ msgstr "To konto przestało działać. Połącz je ponownie — kroki przepływumsgid "This account needs to be reconnected."msgstr "To konto musi być ponownie połączone."+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "Tolerancja (dni)"msgid "Tomorrow"msgstr "Jutro"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "Trwa zbyt wiele eksportów i działań zbiorczych. Spróbuj ponownie za kilka minut."+msgid "Took {took} values; kept the first {kept}."msgstr "Pobrano wartości: {took}; zachowano pierwsze {kept}."@@ -25399,8 +25415,6 @@ msgstr "Pobrano pierwszy z {total}."msgid "Took the last of {total}."msgstr "Pobrano ostatni z {total}."-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "Trwa zbyt wiele eksportów i działań zbiorczych. Spróbuj ponownie za kilka minut."msgid "tool"msgstr "Narzędzie"@@ -25905,6 +25919,10 @@ msgstr "W złym stanie"msgid "Uninstall"msgstr "Odinstaluj"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "Najpierw odinstaluj {conflictsWith}"@@ -26239,6 +26257,9 @@ msgstr "Uaktualnij, aby odblokować historię audytu"msgid "Upgrade to unlock sales rules"msgstr "Uaktualnij, aby odblokować reguły sprzedaży"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "Prześlij plik"diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex 70a607073c..fd2f276e50 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -6443,6 +6443,9 @@ msgstr "Não foi possível concluir a conexão com o Onshape"msgid "Couldn't complete the Onshape Government connection"msgstr "Não foi possível concluir a conexão com Onshape Government"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "Não foi possível carregar documentos"@@ -12137,6 +12140,9 @@ msgstr "Integração não encontrada"msgid "Integrations"msgstr "Integrações"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "Integrações não mencionadas aqui"@@ -17402,6 +17408,9 @@ msgstr "Escolha uma regra existente da biblioteca ou crie uma nova para começarmsgid "Pick List"msgstr "Lista de Coleta"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "Ordem de Coleta"@@ -23960,6 +23969,9 @@ msgstr "A regra Incoterm (FOB, DAP, EXW, CIF, …) que governa quem paga o fretemsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "A integração autorizou a conexão, mas falhou ao salvá-la. Tente conectar novamente."+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "O custo de inventário reconhecido quando uma remessa é registrada, avaliado pelo método de custeio do item."@@ -24758,6 +24770,7 @@ msgstr "Esta conta parou de funcionar. Reconecte-a — as etapas de fluxo de tramsgid "This account needs to be reconnected."msgstr "Esta conta precisa ser reconectada."+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "Tolerância (dias)"msgid "Tomorrow"msgstr "Amanhã"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "Há muitas exportações e ações em massa em andamento. Tente novamente em alguns minutos."+msgid "Took {took} values; kept the first {kept}."msgstr "{took} valores obtidos; os primeiros {kept} foram mantidos."@@ -25399,8 +25415,6 @@ msgstr "Obtido o primeiro de {total}."msgid "Took the last of {total}."msgstr "Obtido o último de {total}."-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "Há muitas exportações e ações em massa em andamento. Tente novamente em alguns minutos."msgid "tool"msgstr "Ferramenta"@@ -25905,6 +25919,10 @@ msgstr "Malsaudável"msgid "Uninstall"msgstr "Desinstalar"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "Desinstale {conflictsWith} primeiro"@@ -26239,6 +26257,9 @@ msgstr "Atualize para desbloquear histórico de auditoria"msgid "Upgrade to unlock sales rules"msgstr "Atualize para desbloquear regras de vendas"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "Enviar arquivo"diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex e255211534..ddbe633984 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -6443,6 +6443,9 @@ msgstr "Не удалось завершить подключение к Onshapemsgid "Couldn't complete the Onshape Government connection"msgstr "Не удалось завершить подключение Onshape Government"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "Не удалось загрузить документы"@@ -12137,6 +12140,9 @@ msgstr "Интеграция не найдена"msgid "Integrations"msgstr "Интеграции"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "Интеграции, не указанные здесь"@@ -17402,6 +17408,9 @@ msgstr "Выберите существующее правило из библиmsgid "Pick List"msgstr "Список подбора"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "Порядок комплектации"@@ -23960,6 +23969,9 @@ msgstr "Правило Инкотермс (FOB, DAP, EXW, CIF, …), которmsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "Интеграция авторизовала соединение, но его сохранение не удалось. Попробуйте подключиться снова."+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "Себестоимость Запасов, признаваемая при проведении Отгрузки, оцениваемая по методу Калькуляции Номенклатуры."@@ -24758,6 +24770,7 @@ msgstr "Этот аккаунт перестал работать. Перепоmsgid "This account needs to be reconnected."msgstr "Этот аккаунт требует переподключения."+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "Допуск (дней)"msgid "Tomorrow"msgstr "Завтра"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "Сейчас выполняется слишком много экспортов и массовых действий. Повторите попытку через несколько минут."+msgid "Took {took} values; kept the first {kept}."msgstr "Взято значений: {took}; оставлены первые {kept}."@@ -25399,8 +25415,6 @@ msgstr "Взят первый из {total}."msgid "Took the last of {total}."msgstr "Взят последний из {total}."-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "Сейчас выполняется слишком много экспортов и массовых действий. Повторите попытку через несколько минут."msgid "tool"msgstr "Инструмент"@@ -25905,6 +25919,10 @@ msgstr "Некорректно"msgid "Uninstall"msgstr "Удалить"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "Сначала удалите {conflictsWith}"@@ -26239,6 +26257,9 @@ msgstr "Обновитесь, чтобы разблокировать исторmsgid "Upgrade to unlock sales rules"msgstr "Обновите, чтобы разблокировать правила продаж"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "Загрузить"diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex 1b66ac992d..5b8763eb6f 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -6443,6 +6443,9 @@ msgstr "Onshape bağlantısı tamamlanamadı"msgid "Couldn't complete the Onshape Government connection"msgstr "Onshape Government bağlantısı tamamlanamadı"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "Belgeler yüklenemedi"@@ -12137,6 +12140,9 @@ msgstr "Entegrasyon bulunamadı"msgid "Integrations"msgstr "Entegrasyonlar"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "Burada adı geçmeyen entegrasyonlar"@@ -17402,6 +17408,9 @@ msgstr "Bu öğe üzerinde kontroller uygulamaya başlamak için kitaplıktan memsgid "Pick List"msgstr "Seçim Listesi"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "Seçim Sırası"@@ -23960,6 +23969,9 @@ msgstr "Bu Müşteriye giden Sevkiyatlarda nakliyeyi kimin ödeyeceğini, riskimsgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "Entegrasyon bağlantıyı yetkilendirdi ancak kaydetmesi başarısız oldu. Tekrar bağlanmayı deneyin."+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "Bir Sevkiyat muhasebeleştirildiğinde tanınan ve Stok kartının Maliyetlendirme yöntemiyle değerlendirilen Envanter Maliyeti."@@ -24758,6 +24770,7 @@ msgstr "Bu hesap çalışmayı durdurdu. Yeniden bağlayın — onu kullanan işmsgid "This account needs to be reconnected."msgstr "Bu hesabın yeniden bağlanması gerekiyor."+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "Tolerans (gün)"msgid "Tomorrow"msgstr "Yarın"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "Şu anda çok fazla dışa aktarma ve toplu işlem çalışıyor. Birkaç dakika sonra tekrar deneyin."+msgid "Took {took} values; kept the first {kept}."msgstr "{took} değer alındı; ilk {kept} tutuldu."@@ -25399,8 +25415,6 @@ msgstr "{total} içinden ilki alındı."msgid "Took the last of {total}."msgstr "{total} içinden sonuncusu alındı."-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "Şu anda çok fazla dışa aktarma ve toplu işlem çalışıyor. Birkaç dakika sonra tekrar deneyin."msgid "tool"msgstr "Araç"@@ -25905,6 +25919,10 @@ msgstr "Sağlıksız"msgid "Uninstall"msgstr "Kaldır"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "Önce {conflictsWith} kaldırın"@@ -26239,6 +26257,9 @@ msgstr "Denetim geçmişini açmak için yükseltin"msgid "Upgrade to unlock sales rules"msgstr "Satış kurallarının kilidini açmak için yükseltin"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "Yükle"diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex 511864e21f..1a6616fdef 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -6443,6 +6443,9 @@ msgstr "无法完成 Onshape 连接"msgid "Couldn't complete the Onshape Government connection"msgstr "无法完成 Onshape Government 连接"+msgid "Couldn't confirm the account"+msgstr ""+msgid "Couldn't load documents"msgstr "无法加载文档"@@ -12137,6 +12140,9 @@ msgstr "集成未找到"msgid "Integrations"msgstr "集成"+msgid "Integrations aren't included in your plan"+msgstr ""+msgid "Integrations not named here"msgstr "此处未命名的集成"@@ -17402,6 +17408,9 @@ msgstr "从库中选择现有规则或创建新规则以开始对此项目强制msgid "Pick List"msgstr "拣货单"+msgid "Pick one of its fields"+msgstr ""+msgid "Pick Order"msgstr "拣货单"@@ -23960,6 +23969,9 @@ msgstr "贸易术语规则(FOB、DAP、EXW、CIF 等),规定在发往此msgid "The integration authorized the connection but saving it failed. Try connecting again."msgstr "集成已授权连接,但保存失败。请尝试重新连接。"+msgid "The integration didn't say which account signed in, so this connection was left unchanged. Try again."+msgstr ""+msgid "The inventory cost recognized when a shipment posts, valued by the item's costing method."msgstr "发货过账时确认的库存管理成本,按物料的成本核算方法计值。"@@ -24758,6 +24770,7 @@ msgstr "此帐户已停止工作。重新连接它 — 使用它的工作流步msgid "This account needs to be reconnected."msgstr "此帐户需要重新连接。"+msgid "This action cannot run on this list."msgstr ""@@ -25391,6 +25404,9 @@ msgstr "容差(天)"msgid "Tomorrow"msgstr "明天"+msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."+msgstr "当前正在运行的导出和批量操作过多。请几分钟后重试。"+msgid "Took {took} values; kept the first {kept}."msgstr "已取 {took} 个值;保留了前 {kept} 个。"@@ -25399,8 +25415,6 @@ msgstr "已取 {total} 个中的第一个。"msgid "Took the last of {total}."msgstr "已取 {total} 个中的最后一个。"-msgid "Too many exports and bulk actions are running right now. Try again in a few minutes."-msgstr "当前正在运行的导出和批量操作过多。请几分钟后重试。"msgid "tool"msgstr "工具"@@ -25905,6 +25919,10 @@ msgstr "异常"msgid "Uninstall"msgstr "卸载"+#. placeholder {0}: installGate.conflictsWith+msgid "Uninstall {0} first"+msgstr ""+msgid "Uninstall {conflictsWith} first"msgstr "先卸载 {conflictsWith}"@@ -26239,6 +26257,9 @@ msgstr "升级以解锁审计历史记录"msgid "Upgrade to unlock sales rules"msgstr "升级以解锁销售规则"+msgid "Upgrade your plan to connect this integration."+msgstr ""+msgid "Upload"msgstr "上传"