Skip to content

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

feat(assembly): hide parts per step, saved in the ERP and shown in MES; drop the Isolate view

aashu2b63eca96c55
diff --git a/.ai/plans/2026-09-25-assembly-step-hidden-components.md b/.ai/plans/2026-09-25-assembly-step-hidden-components.md
new file mode 100644
index 0000000000..7243325b1e
--- /dev/null
+++ b/.ai/plans/2026-09-25-assembly-step-hidden-components.md
@@ -0,0 +1,245 @@
+# Assembly step hidden components — implementation plan
+
+**Spec / source:** `.ai/specs/2026-09-25-assembly-step-hidden-components.md`
+**Branch:** `feat/asembly-view-isolation`
+**Worktree root:** `/Users/aashu/work/carbon/carbon-feat-asembly-view-isolation`
+(run every command from here)
+
+## Progress
+- [x] Task 1: Add the `hiddenComponentNodeIds` column, apply it, regenerate DB types
+- [x] Task 2: Viewer — per-step hidden set (type, pure helper + test, scene wiring)
+- [x] Task 3: ERP data layer — validator, service, strip-on-add, route, path, `toViewerStep`
+- [x] Task 4: MES — read and pass the hidden lists
+- [x] Task 5: ERP editor state — draft + autosave in `$id.tsx`, thread through the explorer
+- [x] Task 6: ERP Components panel — eye edits the selected step's saved list
+- [x] Task 7: ERP step Details — "Hidden on this step" list
+- [x] Task 8: Translations, typecheck, lint, tests
+- [ ] Task 9: End-to-end verification against the local stack
+
+## Dependencies
+Task 2 and Task 3 need Task 1. Task 4 needs Tasks 1–2. Task 5 needs Tasks 2–3.
+Tasks 6 and 7 need Task 5 and are independent of each other. Task 8 needs 1–7.
+Task 9 needs 8.
+
+---
+
+## Task 1: Add the column, apply it, regenerate DB types
+
+**Depends on:** none
+**Files:**
+- Create: `packages/database/supabase/migrations/<timestamp>_assembly-step-hidden-components.sql`
+- Modify (generated): database type output files written by `pnpm db:types`
+- Copy from (precedent): `packages/database/supabase/migrations/20260910093006_assembly-step-lineage.sql`
+
+**Steps:**
+1. `pnpm db:migrate:new assembly-step-hidden-components` (creates the timestamped file).
+ If the generated file is not in `packages/database/supabase/migrations/`, STOP and report.
+2. File contents:
+ ```sql
+ -- Per-step hidden components: nodeIds (same id space as "componentNodeIds")
+ -- the author hides on THIS step only — tooling, fixtures, or installed parts
+ -- blocking the view. Applied by the 3D player in the ERP editor and in MES.
+ -- Never contains the step's own "componentNodeIds" (stripped on write).
+ ALTER TABLE "assemblyInstructionStep"
+ ADD COLUMN IF NOT EXISTS "hiddenComponentNodeIds" TEXT[] NOT NULL DEFAULT '{}';
+ ```
+3. `pnpm db:migrate`, then `pnpm db:types`.
+
+**Verify:**
+```bash
+docker exec carbon-carbon-feat-asembly-view-isolation-postgres-1 psql -U postgres -d postgres -At -c "select data_type, column_default from information_schema.columns where table_name='assemblyInstructionStep' and column_name='hiddenComponentNodeIds';"
+# Expected: ARRAY|'{}'::text[]
+git grep -c "hiddenComponentNodeIds" -- packages/database/src
+# Expected: at least one file with a non-zero count
+```
+**Out of scope:** RLS policies (the table's existing policies cover the new column), `jobOperationStep`.
+
+## Task 2: Viewer — per-step hidden set
+
+**Depends on:** 1
+**Files:**
+- Modify: `packages/viewer/src/types.ts` — `AssemblyStep` gains `hiddenComponentNodeIds?: string[]` with a doc comment.
+- Modify: `packages/viewer/src/visibility.ts` — add `stepHiddenNodeIds`.
+- Modify: `packages/viewer/src/visibility.test.ts` — tests for it.
+- Modify: `packages/viewer/src/AssemblyPlayer.tsx` — scene `hiddenSet` memo.
+- Copy from (precedent): `visualForComponent` in `packages/viewer/src/visibility.ts` and its tests.
+
+**Steps:**
+1. In `visibility.ts`:
+ ```ts
+ /**
+ * The nodeIds to hide while `step` is active: the always-hidden set plus the
+ * step's own authored hidden list, never including the parts the step itself
+ * installs (a step must not animate an invisible part).
+ */
+ export function stepHiddenNodeIds(
+ alwaysHidden: readonly string[] | undefined,
+ step: Pick<AssemblyStep, "componentNodeIds" | "hiddenComponentNodeIds"> | null
+ ): Set<string> {
+ const hidden = new Set(alwaysHidden ?? []);
+ for (const nodeId of step?.hiddenComponentNodeIds ?? []) hidden.add(nodeId);
+ for (const nodeId of step?.componentNodeIds ?? []) hidden.delete(nodeId);
+ return hidden;
+ }
+ ```
+ Import `AssemblyStep` as a type from `./types`.
+2. Tests: step list added; own parts removed even when also in `alwaysHidden`; `null` step returns only `alwaysHidden`; undefined inputs return an empty set.
+3. In the scene component of `AssemblyPlayer.tsx`, replace the `hiddenSet` memo (currently `new Set(hiddenNodeIds ?? [])`, near line 1020) with
+ `useMemo(() => stepHiddenNodeIds(hiddenNodeIds, activeStep), [hiddenNodeIds, activeStep])`.
+ `activeStep` is defined earlier in the same component (`steps[activeStepIndex] ?? null`, near line 988). If it is not in scope at that point, STOP and report.
+
+**Verify:**
+```bash
+pnpm --filter @carbon/viewer test -- visibility
+# Expected: all visibility tests pass, including the new stepHiddenNodeIds cases
+pnpm --filter @carbon/viewer typecheck
+# Expected: exit 0
+```
+**Out of scope:** the `hiddenNodeIds` prop's contract (kept), isolate/focus logic, ghost modes.
+
+## Task 3: ERP data layer
+
+**Depends on:** 1
+**Files:**
+- Modify: `apps/erp/app/modules/production/production.models.ts` — add after `assemblyInstructionStepComponentsValidator`:
+ `export const assemblyInstructionStepHiddenComponentsValidator = z.object({ hiddenComponentNodeIds: jsonField(z.array(z.string())) });`
+- Modify: `apps/erp/app/modules/production/production.service.ts`:
+ - New `updateAssemblyStepHiddenComponents(client, { id, hiddenComponentNodeIds, updatedBy })`: select the step's `componentNodeIds`; compute `[...new Set(hidden)].filter(id => !own.has(id))`; update only `hiddenComponentNodeIds`, `updatedBy`, `updatedAt`; `.select("id").single()`. Place it right after `updateAssemblyStepComponents`.
+ - `updateAssemblyStepComponents`: also select the step's current `hiddenComponentNodeIds` first, and write `hiddenComponentNodeIds: hidden.filter(id => !newComponents.has(id))` in the same update.
+ - `reassignAssemblyStepComponents`: select `hiddenComponentNodeIds` alongside `componentNodeIds`; in the per-step update (the `.set({ componentNodeIds: next, ... })` call), also set `hiddenComponentNodeIds` to the current hidden list minus `next`'s members. Keep the no-op skip, but do not skip when the hidden list would change.
+ - `toViewerStep` (near line 9241): add `hiddenComponentNodeIds: step.hiddenComponentNodeIds ?? []`.
+ - Export the new function from the module index the same way `updateAssemblyStepComponents` is exported (check `apps/erp/app/modules/production/index.ts`).
+- Modify: `apps/erp/app/utils/path.ts` — next to `assemblyInstructionStepComponents`, add
+ `assemblyInstructionStepHiddenComponents: (id: string, stepId: string) => generatePath(\`${x}/assembly/${id}/steps/hidden/${stepId}\`)`, matching the neighbour's exact form.
+- Create: `apps/erp/app/routes/x+/assembly+/$id.steps.hidden.$stepId.tsx`
+- Copy from (precedent): `apps/erp/app/routes/x+/assembly+/$id.steps.components.$stepId.tsx`
+
+**Steps:**
+1. The route mirrors the precedent: `assertIsPost`, `requirePermissions(request, { update: "production" })`, validate with the new validator, call `updateAssemblyStepHiddenComponents`, flash `error(..., "Failed to update hidden components")` on failure, return `{ success: true }`. No material sync.
+
+**Verify:**
+```bash
+pnpm --filter erp typegen && pnpm --filter erp typecheck
+# Expected: exit 0
+```
+**Out of scope:** `jobOperationStep` sync, `copyAssemblyInstructionAsVersion` (spreads all columns already), step regenerate.
+
+## Task 4: MES — read and pass the hidden lists
+
+**Depends on:** 1, 2
+**Files:**
+- Modify: `apps/mes/app/services/operations.service.ts` — add `hiddenComponentNodeIds` to the playback step select (near line 640).
+- Modify: `apps/mes/app/components/AssemblyView.tsx` — `AssemblyPlayback` step type gains `hiddenComponentNodeIds: string[] | null`; `toViewerStep` maps `hiddenComponentNodeIds: step.hiddenComponentNodeIds ?? []`.
+
+**Verify:**
+```bash
+pnpm --filter mes typecheck
+# Expected: exit 0
+```
+**Out of scope:** any MES UI control.
+
+## Task 5: ERP editor state
+
+**Depends on:** 2, 3
+**Files:**
+- Modify: `apps/erp/app/routes/x+/assembly+/$id.tsx`
+- Modify: `apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionExplorer.tsx` — thread props to `AssemblyBomTree`.
+- Copy from (precedent): the `draftComponentNodeIds` + `componentsFetcher` + `saveComponentNodeIds` pattern in `$id.tsx`.
+
+**Steps:**
+1. Remove the `hiddenNodeIds` state and stop passing `hiddenNodeIds` to `AssemblyPlayer`.
+2. Add `draftHiddenNodeIds: string[] | null` state, reset to `null` in `onSelectStep` next to `setDraftComponentNodeIds(null)`.
+3. Add `hiddenFetcher` + `saveHiddenNodeIds(stepId, nodeIds)` posting `hiddenComponentNodeIds` (JSON) to `path.to.assemblyInstructionStepHiddenComponents(id, stepId)`.
+4. `selectedHiddenNodeIds = draftHiddenNodeIds ?? selectedStep?.hiddenComponentNodeIds ?? []` and `selectedOwnNodeIds = draftComponentNodeIds ?? selectedStep?.componentNodeIds ?? []`.
+5. `onSetHiddenComponents(nodeIds: string[])`: no-op when `isDisabled` or no `selectedStep`; drops own ids; sets draft; saves.
+6. When the components draft changes (in `onSelectComponents` add-mode and in `onRemoveComponents`), if any added node is in `selectedHiddenNodeIds`, also set the hidden draft to exclude it. The server does the same, so no second save is needed.
+7. `viewerSteps`: map with `toViewerStep`, then for the selected step override `hiddenComponentNodeIds` with `selectedHiddenNodeIds`, so the viewer updates instantly.
+8. Explorer: replace the `onHideComponents` prop with `hiddenNodeIds: string[]`, `ownNodeIds: string[]`, `hasSelectedStep: boolean`, and `onSetHiddenComponents: (nodeIds: string[]) => void`, passed straight to `AssemblyBomTree`.
+
+**Verify:**
+```bash
+pnpm --filter erp typecheck
+# Expected: errors only in AssemblyBomTree.tsx and AssemblyInstructionProperties.tsx about the new props (fixed in Tasks 6–7), or exit 0 if those were done first
+```
+**Out of scope:** isolate/focus behaviour (unchanged).
+
+## Task 6: ERP Components panel
+
+**Depends on:** 5
+**Files:**
+- Modify: `apps/erp/app/modules/production/ui/Assemblies/AssemblyBomTree.tsx`
+- Copy from (precedent): the existing eye `IconButton` + `Tooltip` usage in the same file.
+
+**Steps:**
+1. Props: replace `onHideComponents` with `hiddenNodeIds`, `ownNodeIds`, `hasSelectedStep`, and `onSetHiddenComponents`. Replace the local `hiddenNodeIds` state and its push-up effect with `useMemo(() => new Set(hiddenNodeIds))`. Add `ownSet` the same way.
+2. `canHide = hasSelectedStep && !isDisabled`.
+3. `onToggleHide(nodes)`: `const eligible = nodes.filter(n => !ownSet.has(n))`; if empty or `!canHide`, return. If every eligible node is hidden, remove them, otherwise add them. Then call `onSetHiddenComponents([...next])`.
+4. `onHideSelection`: add the selection minus own ids, then clear the selection as today. `onShowAll`: `onSetHiddenComponents([])`.
+5. Add a local `HideToggle` component used by all four row types (`UnitListRow`, `UnitChildRow`, `InstanceRow`, `ComponentRow`) in place of their eye `IconButton`. Props: `label`, `hidden` state, `disabledReason?: string`, `onToggle`. When `disabledReason` is set, render the button disabled inside a `Tooltip` with that text.
+6. Per row: `disabledReason` =
+ - `t\`Select a step to hide parts on it.\`` when `!hasSelectedStep`
+ - `undefined`, button disabled with no tooltip, when `isDisabled`
+ - `t\`Installed on this step, so it can't be hidden here.\`` when every node of the row is in `ownSet`
+7. The toolbar "Hide selected components" button and context-menu item are disabled unless `canHide`. The "Show all hidden components" controls are disabled unless `canHide && hiddenNodeIds.length > 0`. Translate the labels you touch with `t`/`<Trans>` via `useLingui` from `@lingui/react/macro` (precedent: `apps/erp/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx:30`).
+
+**Verify:**
+```bash
+pnpm --filter erp typecheck
+# Expected: no errors in AssemblyBomTree.tsx
+```
+**Out of scope:** unit/mapping features, untouched strings in the file.
+
+## Task 7: ERP step Details — "Hidden on this step"
+
+**Depends on:** 5
+**Files:**
+- Modify: `apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionProperties.tsx`
+- Modify: `apps/erp/app/routes/x+/assembly+/$id.tsx` — pass the new props.
+- Copy from (precedent): `StepComponentsEditor` in the same file (grouped rows via `groupComponentNodeIds`, list styling, row click selects).
+
+**Steps:**
+1. New props on `AssemblyInstructionProperties`: `hiddenNodeIds: string[]` and `onSetHiddenComponents: (nodeIds: string[]) => void`. Thread them to wherever `StepComponentsEditor` is rendered (both call sites, near lines 214 and 591).
+2. New `StepHiddenComponentsEditor` rendered right below `StepComponentsEditor`:
+ - Header label: `<Trans>Hidden on this step</Trans>`, plus a "Show all" button (`<Trans>Show all</Trans>`), shown when the list isn't empty and not `isDisabled`.
+ - Rows: `groupComponentNodeIds(hiddenNodeIds, graphIndex)`. Clicking a row calls `onSelectComponents(group.nodeIds)`. An eye `IconButton` with `aria-label={t\`Show ${group.name}\`}` calls `onSetHiddenComponents(hidden minus group.nodeIds)`, hidden when `isDisabled`.
+ - Empty text: `<Trans>Nothing hidden. Use the eye in the Components panel to hide parts on this step.</Trans>`.
+
+**Verify:**
+```bash
+pnpm --filter erp typecheck
+# Expected: exit 0
+```
+**Out of scope:** changing `StepComponentsEditor`.
+
+## Task 8: Translations, typecheck, lint, tests
+
+**Depends on:** 1–7
+**Steps:**
+1. `pnpm lingui:extract`, then `pnpm lingui:compile`.
+2. `pnpm --filter @carbon/viewer typecheck`, `pnpm --filter erp typecheck`, `pnpm --filter mes typecheck`.
+3. `pnpm exec biome check` on the changed files only (list them with `git diff --name-only`, plus untracked files).
+4. `pnpm --filter @carbon/viewer test`.
+
+**Verify:**
+```bash
+git diff --stat -- '*.po' | tail -1
+# Expected: the catalogs changed (new msgids present)
+grep -rn "Hidden on this step" apps/erp/locales 2>/dev/null | head -1 || git grep -n "Hidden on this step" -- '*.po' | head -1
+# Expected: one match
+```
+**Out of scope:** fixing pre-existing lint warnings in untouched code.
+
+## Task 9: End-to-end verification
+
+**Depends on:** 8
+**Steps (local stack; the ERP dev server must be restarted by the user if it doesn't pick up the new route):**
+1. Pick the "engine with piston" instruction (`daqc4a80a0gij77qs4sg`). Choose a step S with components and a node N that is not one of S's components.
+2. Sign in as the local dev-bypass user (POST `/login` with that user's email; the email must match `DEV_BYPASS_EMAIL`, compared without printing it). Then POST `hiddenComponentNodeIds=["N", <one of S's own ids>]` to `/x/assembly/<id>/steps/hidden/<S>`.
+3. The DB row for S has `hiddenComponentNodeIds = {N}`, with the own id stripped (criterion 2).
+4. POST S's components plus N to the components route. S's hidden list becomes empty (criterion 6). Restore S's components afterwards.
+5. Criterion 7 (version copy keeps the list) is checked by reading code, not by creating a version: confirm `copyAssemblyInstructionAsVersion` still selects `*` from `assemblyInstructionStep` and spreads each row. Record it in the report as verified by code reading.
+6. Screenshot the ERP editor with step S selected via Playwright (the headless tooling in the scratchpad), confirming the "Hidden on this step" box lists N and the part is not drawn (criteria 1, 3).
+7. Delete the session cookie file afterwards.
+
+**Verify:** the DB queries in steps 3–4 return the expected arrays; the screenshot shows the list.
+**Out of scope:** MES screenshot (MES needs a job operation linked to the instruction; covered by the playback query + shared player code and typecheck. Report this as not verified in a browser).
diff --git a/.ai/runs/2026-09-25-thermo-nuclear-review-step-hidden.md b/.ai/runs/2026-09-25-thermo-nuclear-review-step-hidden.md
new file mode 100644
index 0000000000..8d4f76ca25
--- /dev/null
+++ b/.ai/runs/2026-09-25-thermo-nuclear-review-step-hidden.md
@@ -0,0 +1,129 @@
+# Thermo-nuclear review: per-step hidden components
+
+**Scope:** uncommitted changes on `feat/asembly-view-isolation` (hidden lists per step,
+Isolate view removed, "This step" badge, undoable "Show all").
+**Verdict:** not approved yet. The behaviour is right. The structure scatters one
+invariant across seven places, leaves a dead API behind, and duplicates a list
+component. There is also one real interaction bug.
+
+## 1. One invariant, seven enforcement sites (structural, blocker)
+
+The rule "a step never hides its own parts" is implemented separately in:
+
+1. `updateAssemblyStepHiddenComponents` (service): read the step, then strip.
+2. `updateAssemblyStepComponents` (service): read the hidden list, then strip on write.
+3. `reassignAssemblyStepComponents` (service): strip per written step, with a cast.
+4. `onSetHiddenComponents` in `$id.tsx`: strip on the client.
+5. `onSelectComponents` add-mode in `$id.tsx`: patch the hidden draft by hand.
+6. `onToggleHide` / `onHideSelection` in `AssemblyBomTree`: filter "eligible".
+7. `stepHiddenNodeIds` in the viewer: strip on read.
+
+The same comment is restated in three of them, which is the tell.
+
+**The code-judo move is to put the invariant in the database, once.** Add a
+`BEFORE INSERT OR UPDATE` trigger on `assemblyInstructionStep` that sets
+`"hiddenComponentNodeIds"` to its own elements minus `"componentNodeIds"`. It can
+use `array(select unnest(new.hidden) except select unnest(new.components))`, or
+`array_remove` in a loop. Then:
+
+- `updateAssemblyStepComponents` and `reassignAssemblyStepComponents` go back to
+ their original single writes. That deletes the extra `select`, the
+ `as string[]` cast, and the added comments.
+- `updateAssemblyStepHiddenComponents` becomes one `update` with no read first.
+- The read-then-write race in site 2 goes away. Two concurrent saves can no
+ longer resurrect a stripped id, because today's read and write are two round
+ trips and not atomic.
+- Every other writer is covered for free: version copy, BOP sync, regenerate,
+ and future code.
+
+On the client, keep exactly one strip, in `onSetHiddenComponents`, for the
+optimistic draft. Delete site 5, since the hide draft only matters until the
+next revalidate and the viewer already ignores own parts. Reduce site 6 to "no
+eligible parts means a disabled eye", which it already gets from
+`hideAvailability`. Keep site 7, the viewer, as the render-time guard.
+
+## 2. Dead API left behind in the viewer (boundary)
+
+`AssemblyPlayer`'s `hiddenNodeIds` prop has **no callers** now. The ERP stopped
+passing it, and MES never did (grep shows only the internal pass-through at
+`AssemblyPlayer.tsx:511`). `stepHiddenNodeIds(alwaysHidden, step)` takes its first
+argument only to serve that dead prop. Delete the prop and its doc comment, make
+the helper `stepHiddenNodeIds(step)`, and drop the test cases about merging with
+an always-hidden set. That's one fewer concept in the public contract.
+
+## 3. Real bug: clicking a "Hidden on this step" row blanks the viewer
+
+`AssemblyInstructionProperties` gets `onSelectComponents={onFocusComponents}`
+(`$id.tsx`), and the new hidden list calls it on row click. So clicking a hidden
+part **isolates it**, meaning only focused parts render, while the hide pass
+hides that same part. The view goes empty until the next 3D click clears the
+isolate, which then "adds everything back". This is very likely what was
+reported as "clicking the 3D view adds things back". Rows in the hidden list
+should select without isolating, or not be clickable at all.
+
+## 4. Prop explosion across four row types (spaghetti)
+
+Each of `UnitListRow`, `UnitChildRow`, `ComponentRow` and `InstanceRow` gained
+`isHideDisabled`, `hideDisabledReason` and `isOnStep`, on top of the existing
+`hidden` and `onToggleHide`. That's five hide-related props threaded four times,
+spread via `{...hideAvailability(nodes)}` plus a separate `isOnStep={...}` at each
+call site.
+
+**Remedy:** one typed model per row, built by one function:
+
+```ts
+type RowHide = {
+ state: SelectionState; // none | partial | all hidden
+ isOnStep: boolean;
+ disabledReason?: string; // present ⇒ disabled with tooltip
+ isDisabled: boolean;
+ onToggle: () => void;
+};
+```
+
+Each row then takes `hide: RowHide` and renders
+`{hide.isOnStep && <ThisStepBadge/>}<HideToggle hide={hide}/>`. That removes 4×5
+props, the spread, and `HideToggle`'s vague `isMarked` flag, which becomes
+`hide.state !== "none"`.
+
+Similarly, the page and explorer thread `hasSelectedStep` + `ownNodeIds` +
+`hiddenNodeIds` + `onSetHiddenComponents`. Model that as one nullable
+`stepHiding: { ownNodeIds; hiddenNodeIds; onChange } | null`, where null means no
+step is selected. The one-off boolean disappears, and "no step" becomes
+impossible to combine with stale arrays.
+
+## 5. File size and duplication (decomposition)
+
+- `AssemblyBomTree.tsx` grew from 1,841 to 1,960 lines. It was already over
+ 1,000, and this adds to it. Move `HideToggle`, `ThisStepBadge` and the
+ `RowHide` builder into `AssemblyBomTreeHide.tsx`.
+- `AssemblyInstructionProperties.tsx` grew from 732 to 935 lines, close to 1,000.
+ `StepHiddenComponentsEditor` repeats `StepComponentsEditor`'s grouped-list
+ markup almost line for line: swatch, name, ×count, selected state, keyboard
+ handler, hover action. Extract one `StepComponentList` that takes
+ `(nodeIds, graphIndex, selectedNodeIds, onRowClick, renderAction)`. Put both
+ editors, plus `HideAgainButton`, in `AssemblyStepComponentEditors.tsx`.
+ Together that takes about 250 lines out of the file.
+
+## 6. Smaller points
+
+- **The undo window lives in component state.** `StepForm` is keyed by step id,
+ so switching steps mid-countdown silently commits the "show all". Acceptable,
+ but say so in the component's comment rather than leave it implicit.
+- **`HideAgainButton` uses a `requestAnimationFrame` flip to trigger a CSS
+ transition.** A `@keyframes` rule, or Tailwind `animate-[…]` on a static
+ element, needs no effect and no state.
+- **Comments restate the code.** Examples are "Autosave the active step's hidden
+ list", "Push …", and the three copies of the invariant comment. After item 1
+ most of them go. Keep the ones that explain *why*, such as the viewer's
+ own-parts guard and the undo window.
+- **The new route doesn't check the instruction is a Draft.** Neither does the
+ components route, so it matches precedent. It's worth one line in both,
+ because the UI gate is the only gate today.
+
+## Suggested order
+
+1. Fix the hidden-row isolate bug (3), which is small and user-visible.
+2. Add the DB trigger and delete the service-side strips (1).
+3. Delete the dead `hiddenNodeIds` prop (2).
+4. Introduce the `RowHide` and `stepHiding` models (4), then split the files (5).
diff --git a/.ai/specs/2026-09-25-assembly-step-hidden-components.md b/.ai/specs/2026-09-25-assembly-step-hidden-components.md
new file mode 100644
index 0000000000..3e266c711c
--- /dev/null
+++ b/.ai/specs/2026-09-25-assembly-step-hidden-components.md
@@ -0,0 +1,204 @@
+# Assembly instructions: hide components per step
+
+- **Status:** Draft, awaiting review
+- **Date:** 2026-09-25
+- **Branch:** `feat/asembly-view-isolation`
+- **Source:** customer ask in Slack (Dom: SA-0076 "Hide Components"; Anshul: "hide anything on any step … ERP will be the control on what is visible and MES will view").
+
+## Summary
+
+An author can hide chosen parts on a chosen step of an assembly instruction.
+Typical parts to hide are tooling, fixtures, or already-installed parts that
+block the view of the work. The choice is saved on the step. The 3D player
+honours it in the ERP editor and on the MES shop-floor screen. MES only shows it
+and has no controls.
+
+Today the ERP has eye buttons in the Components panel, but that hiding is
+temporary browser state. It is lost on step change or reload and never reaches
+MES. This is why the earlier "isolate" release missed the ask.
+
+## Goals
+
+- Hide any part on any single step, and have it saved.
+- The shop floor (MES) sees exactly what the author set, with no toggles.
+- The default stays the same: everything built so far is visible. Hiding is a
+ per-step list of exceptions.
+
+## Non-goals
+
+- Sub-assembly grouping ("build the hub aside, then install it as one block").
+ That is requirement 2 and gets its own spec.
+- Hiding that carries forward to later steps. Each step's list covers only that
+ step (see Q1).
+- A temporary, unsaved hide. Isolate remains the tool for quick looks.
+- Any control in MES.
+- Translating the Components panel's existing, untouched English strings. Only
+ copy that this work adds or changes is made translatable.
+
+## Design
+
+### Data model
+
+One new column on `assemblyInstructionStep`:
+
+| Column | Type | Notes |
+|---|---|---|
+| `hiddenComponentNodeIds` | `TEXT[] NOT NULL DEFAULT '{}'` | Leaf nodeIds from `graph.json`, same id space as `componentNodeIds`. |
+
+- A new timestamped migration named `…_assembly-step-hidden-components.sql`,
+ adding the column only. Existing RLS on the table already covers it, and no new policy is
+ needed.
+- Regenerate database types after the migration.
+- **Versioning:** `copyAssemblyInstructionAsVersion` spreads every step column
+ into the new version (`production.service.ts:6696`), so hidden lists carry
+ over with no change.
+- **Regenerate steps:** "Regenerate" deletes and recreates steps from the plan,
+ so hidden lists are dropped with them. This matches how every other authored
+ step field behaves on regenerate.
+- **Job operation sync:** no change. MES playback reads
+ `assemblyInstructionStep` directly (`apps/mes/app/services/operations.service.ts:638`),
+ not the `jobOperationStep` copies.
+
+### Rules
+
+1. A step's hidden list never contains its own installed parts (Q3).
+ - Enforced once, in the database: a BEFORE INSERT/UPDATE trigger
+ (`assembly_step_strip_own_hidden_components`) strips the step's
+ `componentNodeIds` from `hiddenComponentNodeIds` and dedupes it on every
+ write. That covers hide/show saves, adding or reassigning components,
+ version copies and regenerate, with no service code involved.
+ - The player also ignores any hidden id that belongs to the active step. That
+ guards stale data.
+2. Hidden applies only while that step is active (Q1). During full playback,
+ the part disappears when the step starts and comes back on the next step.
+3. Hidden parts are not drawn at all. They are not ghosted.
+4. Isolate is unchanged. It stays temporary and is never saved.
+
+### Viewer (`@carbon/viewer`)
+
+- `AssemblyStep` gains `hiddenComponentNodeIds?: string[]`.
+- In the scene's visibility pass, the existing explicit-hide pass hides the
+ union of the `hiddenNodeIds` prop and `activeStep.hiddenComponentNodeIds`,
+ minus the active step's own `componentNodeIds`. The pass already runs last,
+ after step-state visuals, highlight, and isolate. The effect already depends
+ on the active step, so playback updates per step automatically.
+- The `hiddenNodeIds` prop stays for other callers. The ERP editor stops passing
+ its temporary set.
+
+### Services and routes (ERP)
+
+- `updateAssemblyStepHiddenComponents(client, { id, hiddenComponentNodeIds, updatedBy })`
+ reads the step's `componentNodeIds`, strips them from the list, dedupes, and
+ updates only the hidden column.
+- Validator `assemblyInstructionStepHiddenComponentsValidator`, with a JSON
+ string array like the components validator.
+- Route `x+/assembly+/$id.steps.hidden.$stepId.tsx` is a POST autosave that
+ requires `update: "production"`. It mirrors the components autosave route.
+ Path helper `path.to.assemblyInstructionStepHiddenComponents(id, stepId)`.
+- `updateAssemblyStepComponents` and `reassignAssemblyStepComponents` drop newly
+ added parts from the target step's hidden list, in the same write or
+ transaction.
+- `toViewerStep` in both ERP and MES maps `hiddenComponentNodeIds`. The MES
+ playback query adds the column to its select.
+
+### UI: ERP editor
+
+**Components panel** (`AssemblyBomTree`) (Q2):
+- The row eye, the group eye, "Hide selected components", and "Show all hidden
+ components" now edit the **selected step's saved** hidden list. The panel's
+ local `hiddenNodeIds` state is removed, and eye state is read from the
+ selected step.
+- The eye is disabled, with a tooltip, when:
+ - the row is one of the selected step's own parts: "Installed on this step,
+ so it can't be hidden here."
+ - no step is selected: "Select a step to hide parts on it."
+ - the instruction is read-only, meaning `isDisabled`: it isn't a Draft, or
+ the user lacks production update rights (`$id.tsx:214`). The eye shows
+ state but can't be clicked.
+- For a group eye whose instances are partly the step's own parts, only the
+ other instances are toggled.
+- Every change autosaves immediately, like the components autosave, using a
+ draft state for instant feedback.
+
+**Step Details tab** (`AssemblyInstructionProperties`) (Q4):
+- A new "Hidden on this step" box sits under the Components box. It uses the
+ same grouped-row layout (`groupComponentNodeIds`), shows an eye on each row to
+ show that part again, and has a "Show all" button.
+- When the list is empty, it reads: "Nothing hidden. Use the eye in the
+ Components panel to hide parts on this step."
+- Clicking a row selects that part, matching the Components list.
+
+**Player in the editor:** receives the steps, including their hidden lists, and
+no longer gets the global temporary set. Selecting a step shows its hidden
+parts gone. Playback applies each step's list in turn.
+
+**Copy:** every new or changed string uses Lingui (`t` or `<Trans>`).
+
+### UI: MES
+
+No new UI. The playback query and `toViewerStep` carry the hidden lists, and the
+player applies them.
+
+## Design decisions
+
+| Decision | Choice | Why |
+|---|---|---|
+| Where to store | Array column on `assemblyInstructionStep` | Same shape and id space as `componentNodeIds`. Copies with versions for free. MES already reads this row. |
+| Separate table? | No | No per-row attributes are needed. An array matches existing idiom and avoids joins in the MES query. |
+| Hide scope | This step only | Q1 answer. |
+| Hide visual | Not drawn, never ghosted | The ask is to remove clutter. Ghosting still clutters and costs rendering. |
+| Own parts | Server strips them, UI disables them, player ignores them | Q3 answer. Three layers, so old or edited data can't make a step animate an invisible part. |
+| Temporary hide | Removed, eye now saves | Q2 answer. Isolate covers quick looks. |
+| Save style | Immediate autosave route per field | Matches the components and motion autosave routes. |
+| Regenerate | Drops hidden lists with the steps | Consistent with every other authored step field. |
+
+## Acceptance criteria
+
+1. On step 3, the author hides the "Press Tool" part from the Components panel.
+ After a reload, step 3 still has the part hidden, and steps 2 and 4 still
+ show it.
+2. On step 3, the eye on the part that step 3 installs is disabled, and its
+ tooltip explains why. A hand-crafted POST that includes that part saves a
+ list without it.
+3. The step Details tab lists "Press Tool" under "Hidden on this step".
+ Clicking its eye shows the part again and removes it from the list after a
+ reload.
+4. Pressing Play in the ERP editor hides "Press Tool" while step 3 plays, and it
+ reappears when step 4 starts.
+5. An MES operator on a job operation linked to this instruction sees "Press
+ Tool" hidden on step 3 and nowhere else, with no hide control anywhere on
+ the MES screen.
+6. Adding a hidden part to step 3's components removes it from step 3's hidden
+ list, and it is visible and animating on step 3.
+7. Creating a new version of the instruction keeps step 3's hidden list on the
+ copied step.
+8. With no step selected, the Components panel eye is disabled with the "Select
+ a step" tooltip.
+9. Every new string appears in the Lingui catalog after extraction.
+10. Typecheck and lint pass for `@carbon/viewer`, `erp`, and `mes`.
+
+## Research
+
+N/A. This is an internal authoring feature. Prior art in this codebase covers
+the pattern: the per-step `componentNodeIds` authoring and autosave, and the
+viewer's existing explicit-hide pass. For product prior art, CAD tools like
+Onshape and SolidWorks offer per-view or per-configuration visibility. The
+closest match here is the per-step "exception list".
+
+## Open questions (resolved)
+
+- [x] Q1. Does a part hidden on step 5 stay hidden on later steps? **Answer:**
+ No. It is hidden only on that step, and each step has its own list.
+- [x] Q2. What do the existing temporary eye buttons in the Components panel do
+ now? **Answer:** They save to the selected step. There is one kind of
+ hiding, and isolate covers quick looks.
+- [x] Q3. Can a step hide the parts it installs itself? **Answer:** No. It is
+ blocked in the UI and stripped on save.
+- [x] Q4. How does the author see and undo a step's hidden parts?
+ **Answer:** A "Hidden on this step" list in the step's Details tab, with an
+ eye per row and "Show all", plus eye state in the Components panel.
+
+## Changelog
+
+- 2026-09-25: first draft, with Q1 to Q4 answered by the user.
+- 2026-09-25: after review, the own-parts rule moved into a DB trigger; hidden-list rows are no longer clickable; the player's unused `hiddenNodeIds` prop was removed.
diff --git a/apps/erp/app/modules/production/AGENTS.md b/apps/erp/app/modules/production/AGENTS.md
index 308ec8f952..a51838a356 100644
--- a/apps/erp/app/modules/production/AGENTS.md
+++ b/apps/erp/app/modules/production/AGENTS.md
@@ -70,7 +70,7 @@ pnpm --filter @carbon/erp test
| `productionQuantity` | Output: type (Production/Scrap/Rework), quantity, scrapReason |
| `jobOperationBatch` | Operation batch header (`BAT` sequence): process, work center, location, status (`Planned` = pre-floor, `Active` displayed "Released"). Members are `jobOperation` rows via nullable `jobOperationBatchId`. A Released batch's coalesced schedule slot is a `capacityReservation` row tagged `jobOperationBatchId` (spared by per-job regen deletes; visible in every snapshot regardless of the anchor job's status; deleted by a `jobOperationBatch` status trigger when the batch completes or is unreleased — the sparing rules make that trigger the only retirement path; dissolve self-heals via the FK's column-list SET NULL + the anchor job's next regen) |
| `procedure` / `procedureStep` / `procedureParameter` | Versioned work instructions |
-| `assemblyInstruction` / `assemblyInstructionStep` | 3D model-based assembly instructions (Draft/Published/Archived); steps carry `componentNodeIds` + `motion`/`camera` JSON for the viewer, a `buildWave` INTEGER (the step's longest-path level in the planner's precedence DAG — steps sharing a wave have no ordering constraint and can be built in parallel by different people/stations; NULL for cycle-affected or hand-authored steps; informational, `sortOrder` still governs playback), and `warnings.needsSupport` (a part in the step tips once placed — center of mass outside the support polygon of the parts below it — likely needs a fixture or a second hand; shown as a "Hold" badge) AND the typed-step fields mirrored from `jobOperationStep` (`type` `procedureStepType`, tiptap `description` with derived `instructionText`, `required`, UoM/min/max, `listValues`) for eventual copy into job operations. `motion`/`camera` are authored directly in the 3D viewer (drag the red waypoint path → relative `linear`/`L` motion; "Set view" captures the camera pose), autosaved via `updateAssemblyStepMotion` / the `steps/motion/$stepId` route — separate from the step form's `upsertAssemblyInstructionStep` (which rewrites `title`/typed fields). There is no numeric motion editor. **Step camera is a discriminated union**: a manual `{position,target,fov}` pose (applied verbatim), OR a planner hint `{source:"plan",direction}` — a mesh-precise view DIRECTION the Rust planner bakes per step (`crates/planner/src/view.rs` `best_view_direction`: sight lines against the real triangles of everything installed earlier, so it sees a hollow enclosure's open top where the viewer's AABB scoring can't). The viewer applies the hint with LIVE framing — target, standing distance, frustum fit at the real viewport aspect (`fitFraming`, `@carbon/viewer`). `null` = fully live AABB framing (fallback for hand-edited steps / old plans). Generated steps carry the plan hint (the TS-side camera bake was removed); re-motion refreshes it but never clobbers a manual pose. Playback visibility is presence-based (`@carbon/viewer` `visualForComponent`): a component exists on the canvas only once its step has run; components no step installs render like future-step ones (hidden during playback, future-components toggle while paused). Visibility has TWO independent axes — `futureMode` (not built yet) and `installedMode` (already built — `solid` default, so the historical rendering is unchanged; `ghost`/`hidden` let an operator see past an assembly that buries the active step's parts) — but the toolbar does NOT expose them as axes. It offers four NAMED views (`ASSEMBLY_VIEWS` / `VIEW_MODES` in `visibility.ts`), ordered by how much context they strip: **Build** (installed solid — the historical default), **Focus** (installed ghosted, so you see past what is already fitted but keep its shape), **Isolate** (installed hidden — the active step's parts alone, the "just show me my part" case) and **Full** (everything solid). The future side is hidden in all but Full: a step you are working is never helped by parts that are not on the bench yet. The same control renders in ERP and MES; nine combinations behind two icon triplets was the design that got rejected for being unreadable on a shop floor. The camera's AABB view-direction scoring honours both via `occluderWeight` — geometry the operator cannot see is never treated as an obstacle, or hiding it would clear the pixels while the framing still dodged it. AABB fallback motions for `"none"`-motion steps consider only PRIOR-step components as obstacles and fade in when no collision-free path exists or when the component interpenetrates a present component (mated parts — sliders on rails, fasteners in bores — never get fabricated paths; the planner is the only authority for those) |
+| `assemblyInstruction` / `assemblyInstructionStep` | 3D model-based assembly instructions (Draft/Published/Archived); steps carry `componentNodeIds` + `motion`/`camera` JSON for the viewer, `hiddenComponentNodeIds` (parts hidden on THAT step only — tooling/fixtures/installed parts in the way; never the step's own `componentNodeIds`, stripped by a DB trigger on every write; applied by the shared player in the ERP editor and MES playback, authored only in the ERP), a `buildWave` INTEGER (the step's longest-path level in the planner's precedence DAG — steps sharing a wave have no ordering constraint and can be built in parallel by different people/stations; NULL for cycle-affected or hand-authored steps; informational, `sortOrder` still governs playback), and `warnings.needsSupport` (a part in the step tips once placed — center of mass outside the support polygon of the parts below it — likely needs a fixture or a second hand; shown as a "Hold" badge) AND the typed-step fields mirrored from `jobOperationStep` (`type` `procedureStepType`, tiptap `description` with derived `instructionText`, `required`, UoM/min/max, `listValues`) for eventual copy into job operations. `motion`/`camera` are authored directly in the 3D viewer (drag the red waypoint path → relative `linear`/`L` motion; "Set view" captures the camera pose), autosaved via `updateAssemblyStepMotion` / the `steps/motion/$stepId` route — separate from the step form's `upsertAssemblyInstructionStep` (which rewrites `title`/typed fields). There is no numeric motion editor. **Step camera is a discriminated union**: a manual `{position,target,fov}` pose (applied verbatim), OR a planner hint `{source:"plan",direction}` — a mesh-precise view DIRECTION the Rust planner bakes per step (`crates/planner/src/view.rs` `best_view_direction`: sight lines against the real triangles of everything installed earlier, so it sees a hollow enclosure's open top where the viewer's AABB scoring can't). The viewer applies the hint with LIVE framing — target, standing distance, frustum fit at the real viewport aspect (`fitFraming`, `@carbon/viewer`). `null` = fully live AABB framing (fallback for hand-edited steps / old plans). Generated steps carry the plan hint (the TS-side camera bake was removed); re-motion refreshes it but never clobbers a manual pose. Playback visibility is presence-based (`@carbon/viewer` `visualForComponent`): a component exists on the canvas only once its step has run; components no step installs render like future-step ones (hidden during playback, future-components toggle while paused). Visibility has TWO independent axes — `futureMode` (not built yet) and `installedMode` (already built — `solid` default, so the historical rendering is unchanged; `ghost`/`hidden` let an operator see past an assembly that buries the active step's parts) — but the toolbar does NOT expose them as axes. It offers four NAMED views (`ASSEMBLY_VIEWS` / `VIEW_MODES` in `visibility.ts`), ordered by how much context they strip: **Build** (installed solid — the historical default), **Focus** (installed ghosted, so you see past what is already fitted but keep its shape), **Isolate** (installed hidden — the active step's parts alone, the "just show me my part" case) and **Full** (everything solid). The future side is hidden in all but Full: a step you are working is never helped by parts that are not on the bench yet. The same control renders in ERP and MES; nine combinations behind two icon triplets was the design that got rejected for being unreadable on a shop floor. The camera's AABB view-direction scoring honours both via `occluderWeight` — geometry the operator cannot see is never treated as an obstacle, or hiding it would clear the pixels while the framing still dodged it. AABB fallback motions for `"none"`-motion steps consider only PRIOR-step components as obstacles and fade in when no collision-free path exists or when the component interpenetrates a present component (mated parts — sliders on rails, fasteners in bores — never get fabricated paths; the planner is the only authority for those) |
| `assemblyInstructionStepMaterial` | BOM parts consumed at a step (`stepId` → `itemId` + optional quantity; stored by itemId so links survive make-method re-versioning; picker limited to the item's make-method BOM; UNIQUE `(stepId, itemId)`). Auto-populated from `assemblyComponentMapping` via `syncAssemblyStepMaterialsFromMappings` — additive only (manual quantities/deletions survive), triggered on step generation, component add, mapping create, and "Match BOM" |
| `assemblyInstructionStepSlide` | Per-step reference slides (image XOR 3D model via `modelUploadId`, caption, `size`, `annotations` JSONB pins), mirroring `methodOperationStepSlide`; authored in the step editor's Details tab and copied to `jobOperationStepSlide` by the BOP sync / get-method. The former `assemblyInstructionStepRequirement` / `assemblyStandardNote` tables (fixtures/consumables/notes/media) were dropped — a step definition is parts + tools + slides |
| `assemblyInstructionStepTool` | Tools used at a step (`stepId` → `itemId` of a tool-type item + `quantity`, UNIQUE `(stepId, itemId)`) — `itemId` is the same target `jobOperationTool.toolId` references, so the BOP sync maps rows 1:1 |
@@ -103,6 +103,7 @@ pnpm --filter @carbon/erp test
- `getCapacityReservationsForResources` — live reservations across jobs (resource timeline + Capacity view's Scheduled series)
- `getProductionPlanning` — MRP-driven production planning (RPC `get_production_planning`)
- `upsertMaintenanceDispatch` / `upsertMaintenanceSchedule` — maintenance management
+- `updateAssemblyStepHiddenComponents` — autosave for a step's hidden list (route `x+/assembly+/$id.steps.hidden.$stepId.tsx`). The rule "a step never hides its own parts" lives in ONE place, the `assembly_step_strip_own_hidden_components` BEFORE trigger (migration `20260925063121`), which strips + dedupes on every insert/update of either array — no service strips it by hand.
- `getAssemblyInstruction(s)` / `upsertAssemblyInstructionStep` / `getAssemblyInstructionStepMaterials` — assembly instruction authoring; the step upsert derives `instructionText` from the tiptap `description` (viewer/MES consume the plain text)
- `getAssemblyInstructionVersions` / `copyAssemblyInstructionAsVersion` / `activateAssemblyInstructionVersion` — versioning (see the Assembly Instructions concept above). Routes: `x+/assembly+/$id.version.new.tsx` (copy → new Draft) and `x+/assembly+/$id.activate.tsx` (make active). Change-notice diffs of a `methodOperation` now surface its `assemblyInstructionId` (resolved to the instruction name), `inspectionDocumentId` (drawing/file name), and `operationType` via `stampOperationRefNames` + `ChangeNoticeDiffViewer` (items module)
- `updateAssemblyStepMotion` — partial `motion`/`camera` patch for one step, used by the 3D path/camera editor's autosave (never touches `title`/typed fields); `camera: null` clears the pose (return to auto-framing). Deleting an instruction also drops the model's cached plan via `deleteAssemblyInstruction` → `invalidateAssemblyPlanCache`
diff --git a/apps/erp/app/modules/production/production.models.ts b/apps/erp/app/modules/production/production.models.ts
index c38d641a21..0f2a81b775 100644
--- a/apps/erp/app/modules/production/production.models.ts
+++ b/apps/erp/app/modules/production/production.models.ts
@@ -1470,6 +1470,10 @@ export const assemblyInstructionStepComponentsValidator = z.object({
componentNodeIds: jsonField(z.array(z.string()))
});
+export const assemblyInstructionStepHiddenComponentsValidator = z.object({
+ hiddenComponentNodeIds: jsonField(z.array(z.string()))
+});
+
export const assemblyStepComponentsReassignValidator = z
.object({
// Absent for "remove" (unassign from every step); required otherwise.
diff --git a/apps/erp/app/modules/production/production.service.ts b/apps/erp/app/modules/production/production.service.ts
index 1d947440bb..58f270d1bf 100644
--- a/apps/erp/app/modules/production/production.service.ts
+++ b/apps/erp/app/modules/production/production.service.ts
@@ -7283,6 +7283,28 @@ export async function updateAssemblyStepComponents(
.single();
}
+// Replaces a step's hidden list. The step's own components are stripped (and the
+// list deduped) by the assembly_step_strip_own_hidden_components trigger.
+export async function updateAssemblyStepHiddenComponents(
+ client: SupabaseClient<Database>,
+ data: {
+ id: string;
+ hiddenComponentNodeIds: string[];
+ updatedBy: string;
+ }
+) {
+ return client
+ .from("assemblyInstructionStep")
+ .update({
+ hiddenComponentNodeIds: data.hiddenComponentNodeIds,
+ updatedBy: data.updatedBy,
+ updatedAt: new Date().toISOString()
+ })
+ .eq("id", data.id)
+ .select("id")
+ .single();
+}
+
// Assign a set of component instances to a target step. `duplicate` unions them
// onto the target only (a component may live on several steps). `move` unions
// them onto the target AND strips them from every other step, so the component
@@ -9249,6 +9271,7 @@ export function toViewerStep(step: AssemblyInstructionStepRow): AssemblyStep {
title: step.title,
instructionText: step.instructionText,
componentNodeIds: step.componentNodeIds ?? [],
+ hiddenComponentNodeIds: step.hiddenComponentNodeIds ?? [],
motion: motion.success ? motion.data : { type: "none" },
camera: camera.success ? camera.data : null,
fastener: fastener.success ? fastener.data : null,
diff --git a/apps/erp/app/modules/production/ui/Assemblies/AssemblyBomTree.tsx b/apps/erp/app/modules/production/ui/Assemblies/AssemblyBomTree.tsx
index 75b29dde7f..b1bc843d0b 100644
--- a/apps/erp/app/modules/production/ui/Assemblies/AssemblyBomTree.tsx
+++ b/apps/erp/app/modules/production/ui/Assemblies/AssemblyBomTree.tsx
@@ -28,6 +28,7 @@ import {
} from "@carbon/react";
import type { AssemblyGraphIndex, ComponentGroup } from "@carbon/viewer";
import { describeStep, groupComponentNodeIds } from "@carbon/viewer";
+import { Trans, useLingui } from "@lingui/react/macro";
import { useVirtualizer } from "@tanstack/react-virtual";
import type { MouseEvent } from "react";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
@@ -129,7 +130,10 @@ type AssemblyBomTreeProps = {
/** A new-step create is in flight — disables the Add Step action */
isAddingStep: boolean;
onHighlightComponents: (nodeIds: string[]) => void;
- onHideComponents: (nodeIds: string[]) => void;
+ hasSelectedStep: boolean;
+ ownNodeIds: string[];
+ hiddenNodeIds: string[];
+ onSetHiddenComponents: (nodeIds: string[]) => void;
onSelectStep: (stepId: string) => void;
/** Create a step seeded with the current selection (shared with the parent) */
onAddStep: () => void;
@@ -156,12 +160,16 @@ export default function AssemblyBomTree({
isActive,
isAddingStep,
onHighlightComponents,
- onHideComponents,
+ hasSelectedStep,
+ ownNodeIds,
+ hiddenNodeIds: savedHiddenNodeIds,
+ onSetHiddenComponents,
onSelectStep,
onAddStep
}: AssemblyBomTreeProps) {
const { id } = useParams();
if (!id) throw new Error("Could not find id");
+ const { t } = useLingui();
const permissions = usePermissions();
const canGroup = !isDisabled && permissions.can("create", "production");
@@ -196,9 +204,12 @@ export default function AssemblyBomTree({
() => new Set(selectedNodeIds),
[selectedNodeIds]
);
- const [hiddenNodeIds, setHiddenNodeIds] = useState<ReadonlySet<string>>(
- new Set()
+ const hiddenNodeIds = useMemo<ReadonlySet<string>>(
+ () => new Set(savedHiddenNodeIds),
+ [savedHiddenNodeIds]
);
+ const ownSet = useMemo(() => new Set(ownNodeIds), [ownNodeIds]);
+ const canHide = hasSelectedStep && !isDisabled;
const [expandedKeys, setExpandedKeys] = useState<ReadonlySet<string>>(
new Set()
);
@@ -447,11 +458,6 @@ export default function AssemblyBomTree({
[stepList, steps, selectedSet, submitAssign]
);
- // Push the hidden instance set up to the viewer.
- useEffect(() => {
- onHideComponents([...hiddenNodeIds]);
- }, [hiddenNodeIds, onHideComponents]);
-
const applyNodeSelection = (next: ReadonlySet<string>) => {
onHighlightComponents([...next]);
};
@@ -498,30 +504,50 @@ export default function AssemblyBomTree({
};
const onHideSelection = () => {
- setHiddenNodeIds((prev) => {
- const next = new Set(prev);
- for (const id of selectedNodeIds) next.add(id);
- return next;
- });
+ if (!canHide) return;
+ const next = new Set(hiddenNodeIds);
+ for (const id of selectedNodeIds) if (!ownSet.has(id)) next.add(id);
+ onSetHiddenComponents([...next]);
applyNodeSelection(new Set());
};
- // Toggle visibility of a set of instances (a whole group, or one instance).
- // A group hides unless every instance is already hidden, in which case it
- // reveals them (Onshape-style per-row eye).
+ // A group hides unless every eligible instance is already hidden, then it
+ // reveals them. The step's own parts are skipped: they can never be hidden.
const onToggleHide = (nodeIds: string[]) => {
- setHiddenNodeIds((prev) => {
- const next = new Set(prev);
- const allHidden = nodeIds.every((id) => next.has(id));
- for (const id of nodeIds) {
- if (allHidden) next.delete(id);
- else next.add(id);
- }
- return next;
- });
+ if (!canHide) return;
+ const eligible = nodeIds.filter((id) => !ownSet.has(id));
+ if (eligible.length === 0) return;
+ const next = new Set(hiddenNodeIds);
+ const allHidden = eligible.every((id) => next.has(id));
+ for (const id of eligible) {
+ if (allHidden) next.delete(id);
+ else next.add(id);
+ }
+ onSetHiddenComponents([...next]);
+ };
+
+ const onShowAll = () => {
+ if (canHide) onSetHiddenComponents([]);
};
- const onShowAll = () => setHiddenNodeIds(new Set());
+ const hideAvailability = (
+ nodeIds: string[]
+ ): { isHideDisabled: boolean; hideDisabledReason?: string } => {
+ if (!hasSelectedStep) {
+ return {
+ isHideDisabled: true,
+ hideDisabledReason: t`Select a step to hide parts on it.`
+ };
+ }
+ if (isDisabled) return { isHideDisabled: true };
+ if (nodeIds.length > 0 && nodeIds.every((id) => ownSet.has(id))) {
+ return {
+ isHideDisabled: true,
+ hideDisabledReason: t`Installed on this step, so it can't be hidden here.`
+ };
+ }
+ return { isHideDisabled: false };
+ };
const parentRef = useRef<HTMLDivElement>(null);
const virtualizer = useVirtualizer({
@@ -668,32 +694,36 @@ export default function AssemblyBomTree({
<TooltipContent>Plan as one component</TooltipContent>
</Tooltip>
)}
- {hasSelection && (
+ {hasSelection && canHide && (
<Tooltip>
<TooltipTrigger asChild>
<IconButton
- aria-label="Hide selected components"
+ aria-label={t`Hide selected on this step`}
icon={<LuEyeOff />}
variant="ghost"
size="sm"
onClick={onHideSelection}
/>
</TooltipTrigger>
- <TooltipContent>Hide selected components</TooltipContent>
+ <TooltipContent>
+ <Trans>Hide selected on this step</Trans>
+ </TooltipContent>
</Tooltip>
)}
- {hiddenNodeIds.size > 0 && (
+ {canHide && hiddenNodeIds.size > 0 && (
<Tooltip>
<TooltipTrigger asChild>
<IconButton
- aria-label="Show all hidden components"
+ aria-label={t`Show all hidden on this step`}
icon={<LuEye />}
variant="ghost"
size="sm"
onClick={onShowAll}
/>
</TooltipTrigger>
- <TooltipContent>Show all hidden components</TooltipContent>
+ <TooltipContent>
+ <Trans>Show all hidden on this step</Trans>
+ </TooltipContent>
</Tooltip>
)}
<Tooltip>
@@ -777,6 +807,8 @@ export default function AssemblyBomTree({
style={style}
onClick={(event) => onRowClick(event, virtualRow.index)}
onToggleHide={() => onToggleHide(nodes)}
+ {...hideAvailability(nodes)}
+ isOnStep={nodes.some((nodeId) => ownSet.has(nodeId))}
onToggleExpand={() =>
onToggleExpand(`unit:${row.unit.id}`)
}
@@ -795,6 +827,8 @@ export default function AssemblyBomTree({
style={style}
onClick={(event) => onRowClick(event, virtualRow.index)}
onToggleHide={() => onToggleHide(nodes)}
+ {...hideAvailability(nodes)}
+ isOnStep={nodes.some((nodeId) => ownSet.has(nodeId))}
/>
);
}
@@ -809,6 +843,8 @@ export default function AssemblyBomTree({
style={style}
onClick={(event) => onRowClick(event, virtualRow.index)}
onToggleHide={() => onToggleHide(nodes)}
+ {...hideAvailability(nodes)}
+ isOnStep={nodes.some((nodeId) => ownSet.has(nodeId))}
/>
);
}
@@ -830,6 +866,8 @@ export default function AssemblyBomTree({
style={style}
onClick={(event) => onRowClick(event, virtualRow.index)}
onToggleHide={() => onToggleHide(nodes)}
+ {...hideAvailability(nodes)}
+ isOnStep={nodes.some((nodeId) => ownSet.has(nodeId))}
onToggleExpand={() => onToggleExpand(group.key)}
onSelectStep={onSelectStep}
/>
@@ -861,16 +899,19 @@ export default function AssemblyBomTree({
Plan as one component
</ContextMenuItem>
<ContextMenuSeparator />
- <ContextMenuItem disabled={!hasSelection} onClick={onHideSelection}>
+ <ContextMenuItem
+ disabled={!hasSelection || !canHide}
+ onClick={onHideSelection}
+ >
<LuEyeOff className="mr-2 h-4 w-4" />
- Hide selected components
+ <Trans>Hide selected on this step</Trans>
</ContextMenuItem>
<ContextMenuItem
- disabled={hiddenNodeIds.size === 0}
+ disabled={!canHide || hiddenNodeIds.size === 0}
onClick={onShowAll}
>
<LuEye className="mr-2 h-4 w-4" />
- Show all hidden components
+ <Trans>Show all hidden on this step</Trans>
</ContextMenuItem>
<ContextMenuItem
disabled={!hasSelection}
@@ -991,6 +1032,9 @@ function UnitListRow({
style,
onClick,
onToggleHide,
+ isHideDisabled,
+ hideDisabledReason,
+ isOnStep,
onToggleExpand,
onEdit
}: {
@@ -1005,6 +1049,9 @@ function UnitListRow({
style: React.CSSProperties;
onClick: (event: MouseEvent) => void;
onToggleHide: () => void;
+ isHideDisabled: boolean;
+ hideDisabledReason?: string;
+ isOnStep: boolean;
onToggleExpand: () => void;
onEdit: () => void;
}) {
@@ -1078,25 +1125,18 @@ function UnitListRow({
Auto
</Badge>
)}
+ {isOnStep && <ThisStepBadge />}
<Badge variant="secondary" className="tabular-nums">
×{memberCount}
</Badge>
<div className="flex items-center">
- <IconButton
- aria-label={allHidden ? `Show ${unit.name}` : `Hide ${unit.name}`}
- icon={allHidden ? <LuEyeOff /> : <LuEye />}
- variant="ghost"
- size="sm"
- className={cn(
- "focus:opacity-100",
- hidden !== "none"
- ? "opacity-100 text-muted-foreground"
- : "opacity-0 group-hover:opacity-100"
- )}
- onClick={(event) => {
- event.stopPropagation();
- onToggleHide();
- }}
+ <HideToggle
+ label={unit.name}
+ isHidden={allHidden}
+ isMarked={hidden !== "none"}
+ isDisabled={isHideDisabled}
+ disabledReason={hideDisabledReason}
+ onToggle={onToggleHide}
/>
{canUpdate && (
<IconButton
@@ -1140,7 +1180,10 @@ function UnitChildRow({
hidden,
style,
onClick,
- onToggleHide
+ onToggleHide,
+ isHideDisabled,
+ hideDisabledReason,
+ isOnStep
}: {
group: ComponentGroup;
count: number;
@@ -1149,6 +1192,9 @@ function UnitChildRow({
style: React.CSSProperties;
onClick: (event: MouseEvent) => void;
onToggleHide: () => void;
+ isHideDisabled: boolean;
+ hideDisabledReason?: string;
+ isOnStep: boolean;
}) {
const allHidden = hidden === "all";
return (
@@ -1186,24 +1232,17 @@ function UnitChildRow({
>
{group.name}
</span>
+ {isOnStep && <ThisStepBadge />}
<Badge variant="secondary" className="tabular-nums">
×{count}
</Badge>
- <IconButton
- aria-label={allHidden ? `Show ${group.name}` : `Hide ${group.name}`}
- icon={allHidden ? <LuEyeOff /> : <LuEye />}
- variant="ghost"
- size="sm"
- className={cn(
- "focus:opacity-100",
- hidden !== "none"
- ? "opacity-100 text-muted-foreground"
- : "opacity-0 group-hover:opacity-100"
- )}
- onClick={(event) => {
- event.stopPropagation();
- onToggleHide();
- }}
+ <HideToggle
+ label={group.name}
+ isHidden={allHidden}
+ isMarked={hidden !== "none"}
+ isDisabled={isHideDisabled}
+ disabledReason={hideDisabledReason}
+ onToggle={onToggleHide}
/>
</div>
);
@@ -1464,6 +1503,9 @@ function ComponentRow({
style,
onClick,
onToggleHide,
+ isHideDisabled,
+ hideDisabledReason,
+ isOnStep,
onToggleExpand,
onSelectStep
}: {
@@ -1481,6 +1523,9 @@ function ComponentRow({
style: React.CSSProperties;
onClick: (event: MouseEvent) => void;
onToggleHide: () => void;
+ isHideDisabled: boolean;
+ hideDisabledReason?: string;
+ isOnStep: boolean;
onToggleExpand: () => void;
onSelectStep: (stepId: string) => void;
}) {
@@ -1563,28 +1608,19 @@ function ComponentRow({
</span>
)}
</div>
+ {isOnStep && <ThisStepBadge />}
<Badge variant="secondary" className="tabular-nums">
×{group.count}
</Badge>
{/* Ghost icon buttons sit flush together (no gap between them) */}
<div className="flex items-center">
- <IconButton
- aria-label={allHidden ? `Show ${group.name}` : `Hide ${group.name}`}
- icon={allHidden ? <LuEyeOff /> : <LuEye />}
- variant="ghost"
- size="sm"
- className={cn(
- "focus:opacity-100",
- // A group with any hidden instance keeps the eye visible as its
- // status + control; fully-visible groups reveal it on hover.
- hidden !== "none"
- ? "opacity-100 text-muted-foreground"
- : "opacity-0 group-hover:opacity-100"
- )}
- onClick={(event) => {
- event.stopPropagation();
- onToggleHide();
- }}
+ <HideToggle
+ label={group.name}
+ isHidden={allHidden}
+ isMarked={hidden !== "none"}
+ isDisabled={isHideDisabled}
+ disabledReason={hideDisabledReason}
+ onToggle={onToggleHide}
/>
<Popover>
<PopoverTrigger asChild>
@@ -1619,6 +1655,70 @@ function ComponentRow({
);
}
+/** Blue matches the viewer's active-step tint. */
+function ThisStepBadge() {
+ return (
+ <Badge variant="blue" className="shrink-0 whitespace-nowrap">
+ <Trans>This step</Trans>
+ </Badge>
+ );
+}
+
+/** Stays visible while anything in the row is hidden; otherwise reveals on hover. */
+function HideToggle({
+ label,
+ isHidden,
+ isMarked,
+ isDisabled,
+ disabledReason,
+ onToggle
+}: {
+ label: string;
+ isHidden: boolean;
+ isMarked: boolean;
+ isDisabled: boolean;
+ disabledReason?: string;
+ onToggle: () => void;
+}) {
+ const { t } = useLingui();
+ const button = (
+ <IconButton
+ aria-label={isHidden ? t`Show ${label}` : t`Hide ${label}`}
+ icon={isHidden ? <LuEyeOff /> : <LuEye />}
+ variant="ghost"
+ size="sm"
+ isDisabled={isDisabled}
+ className={cn(
+ "focus:opacity-100",
+ isMarked
+ ? "opacity-100 text-muted-foreground"
+ : "opacity-0 group-hover:opacity-100"
+ )}
+ onClick={(event) => {
+ event.stopPropagation();
+ onToggle();
+ }}
+ />
+ );
+ if (!disabledReason) return button;
+ return (
+ <Tooltip>
+ <TooltipTrigger asChild>
+ {/* A disabled button fires no pointer events, so the span carries the tooltip */}
+ <span
+ className={cn(
+ "inline-flex",
+ !isMarked && "opacity-0 group-hover:opacity-100"
+ )}
+ >
+ {button}
+ </span>
+ </TooltipTrigger>
+ <TooltipContent>{disabledReason}</TooltipContent>
+ </Tooltip>
+ );
+}
+
/** A single instance of an expanded group — selectable and hideable on its own. */
function InstanceRow({
group,
@@ -1627,7 +1727,10 @@ function InstanceRow({
isHidden,
style,
onClick,
- onToggleHide
+ onToggleHide,
+ isHideDisabled,
+ hideDisabledReason,
+ isOnStep
}: {
group: ComponentGroup;
instanceIndex: number;
@@ -1636,6 +1739,9 @@ function InstanceRow({
style: React.CSSProperties;
onClick: (event: MouseEvent) => void;
onToggleHide: () => void;
+ isHideDisabled: boolean;
+ hideDisabledReason?: string;
+ isOnStep: boolean;
}) {
const label = `${group.name} #${instanceIndex + 1}`;
return (
@@ -1672,21 +1778,14 @@ function InstanceRow({
#{instanceIndex + 1}
</span>
</span>
- <IconButton
- aria-label={isHidden ? `Show ${label}` : `Hide ${label}`}
- icon={isHidden ? <LuEyeOff /> : <LuEye />}
- variant="ghost"
- size="sm"
- className={cn(
- "focus:opacity-100",
- isHidden
- ? "opacity-100 text-muted-foreground"
- : "opacity-0 group-hover:opacity-100"
- )}
- onClick={(event) => {
- event.stopPropagation();
- onToggleHide();
- }}
+ {isOnStep && <ThisStepBadge />}
+ <HideToggle
+ label={label}
+ isHidden={isHidden}
+ isMarked={isHidden}
+ isDisabled={isHideDisabled}
+ disabledReason={hideDisabledReason}
+ onToggle={onToggleHide}
/>
</div>
);
diff --git a/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionExplorer.tsx b/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionExplorer.tsx
index 33c35a39c7..5775ac2ec4 100644
--- a/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionExplorer.tsx
+++ b/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionExplorer.tsx
@@ -96,7 +96,10 @@ type AssemblyInstructionExplorerProps = {
/** Double-click a step — preview (play) its insertion motion */
onPreviewStep: (stepId: string) => void;
onHighlightComponents: (nodeIds: string[]) => void;
- onHideComponents: (nodeIds: string[]) => void;
+ hasSelectedStep: boolean;
+ ownNodeIds: string[];
+ hiddenNodeIds: string[];
+ onSetHiddenComponents: (nodeIds: string[]) => void;
};
// Memoized: the parent route re-renders on every motion-drag frame
@@ -119,7 +122,10 @@ function AssemblyInstructionExplorer({
onSelectStep,
onPreviewStep,
onHighlightComponents,
- onHideComponents
+ hasSelectedStep,
+ ownNodeIds,
+ hiddenNodeIds,
+ onSetHiddenComponents
}: AssemblyInstructionExplorerProps) {
const { id } = useParams();
if (!id) throw new Error("Could not find id");
@@ -777,7 +783,10 @@ function AssemblyInstructionExplorer({
isActive={tab === "components"}
isAddingStep={newStepFetcher.state !== "idle"}
onHighlightComponents={onHighlightComponents}
- onHideComponents={onHideComponents}
+ hasSelectedStep={hasSelectedStep}
+ ownNodeIds={ownNodeIds}
+ hiddenNodeIds={hiddenNodeIds}
+ onSetHiddenComponents={onSetHiddenComponents}
onSelectStep={onSelectStep}
onAddStep={onAddStep}
/>
diff --git a/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionProperties.tsx b/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionProperties.tsx
index 959ac261bc..5751c55e14 100644
--- a/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionProperties.tsx
+++ b/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionProperties.tsx
@@ -26,9 +26,11 @@ import {
import { Editor } from "@carbon/react/Editor";
import type { AssemblyGraphIndex, NamedUnit } from "@carbon/viewer";
import { describeStep, groupComponentNodeIds } from "@carbon/viewer";
-import { memo, useMemo, useState } from "react";
+import { Trans, useLingui } from "@lingui/react/macro";
+import { memo, useEffect, useMemo, useState } from "react";
import {
LuCirclePlus,
+ LuEyeOff,
LuMousePointerClick,
LuTriangleAlert,
LuX
@@ -79,6 +81,8 @@ type AssemblyInstructionPropertiesProps = {
onStartAddComponents: () => void;
onStopAddComponents: () => void;
onRemoveComponents: (nodeIds: string[]) => void;
+ hiddenNodeIds: string[];
+ onSetHiddenComponents: (nodeIds: string[]) => void;
/** The active step's motion path is open in the 3D editor */
isEditingMotion: boolean;
onEditMotion: (stepId: string) => void;
@@ -105,6 +109,8 @@ const AssemblyInstructionProperties = ({
onStartAddComponents,
onStopAddComponents,
onRemoveComponents,
+ hiddenNodeIds,
+ onSetHiddenComponents,
isEditingMotion,
onEditMotion,
onStopEditMotion,
@@ -214,6 +220,8 @@ const AssemblyInstructionProperties = ({
onStartAddComponents={onStartAddComponents}
onStopAddComponents={onStopAddComponents}
onRemoveComponents={onRemoveComponents}
+ hiddenNodeIds={hiddenNodeIds}
+ onSetHiddenComponents={onSetHiddenComponents}
isEditingMotion={isEditingMotion}
onEditMotion={onEditMotion}
onStopEditMotion={onStopEditMotion}
@@ -324,6 +332,8 @@ function StepForm({
onStartAddComponents,
onStopAddComponents,
onRemoveComponents,
+ hiddenNodeIds,
+ onSetHiddenComponents,
isEditingMotion,
onEditMotion,
onStopEditMotion,
@@ -342,6 +352,8 @@ function StepForm({
onStartAddComponents: () => void;
onStopAddComponents: () => void;
onRemoveComponents: (nodeIds: string[]) => void;
+ hiddenNodeIds: string[];
+ onSetHiddenComponents: (nodeIds: string[]) => void;
isEditingMotion: boolean;
onEditMotion: (stepId: string) => void;
onStopEditMotion: () => void;
@@ -593,6 +605,13 @@ function StepForm({
onRemoveComponents={onRemoveComponents}
/>
+ <StepHiddenComponentsEditor
+ hiddenNodeIds={hiddenNodeIds}
+ graphIndex={graphIndex}
+ isDisabled={isDisabled}
+ onSetHiddenComponents={onSetHiddenComponents}
+ />
+
<Submit
isDisabled={cannotSave || fetcher.state !== "idle"}
isLoading={fetcher.state !== "idle"}
@@ -730,3 +749,145 @@ function StepComponentsEditor({
</VStack>
);
}
+
+/** Parts are hidden from the Components panel eye; here they can only be shown again. */
+function StepHiddenComponentsEditor({
+ hiddenNodeIds,
+ graphIndex,
+ isDisabled,
+ onSetHiddenComponents
+}: {
+ hiddenNodeIds: string[];
+ graphIndex: AssemblyGraphIndex | null;
+ isDisabled: boolean;
+ onSetHiddenComponents: (nodeIds: string[]) => void;
+}) {
+ const { t } = useLingui();
+ // "Show all" saves at once but stays undoable for SHOW_ALL_UNDO_MS, so a stray
+ // click can't silently throw away a step's tuned hidden list.
+ const [undoNodeIds, setUndoNodeIds] = useState<string[] | null>(null);
+ useEffect(() => {
+ if (!undoNodeIds) return;
+ const timer = setTimeout(() => setUndoNodeIds(null), SHOW_ALL_UNDO_MS);
+ return () => clearTimeout(timer);
+ }, [undoNodeIds]);
+ const isUndoPending = undoNodeIds !== null;
+ const listedNodeIds = undoNodeIds ?? hiddenNodeIds;
+
+ const groups = useMemo(
+ () => (graphIndex ? groupComponentNodeIds(listedNodeIds, graphIndex) : []),
+ [listedNodeIds, graphIndex]
+ );
+ const onShow = (nodeIds: string[]) => {
+ const show = new Set(nodeIds);
+ onSetHiddenComponents(hiddenNodeIds.filter((nodeId) => !show.has(nodeId)));
+ };
+
+ const onShowAll = () => {
+ setUndoNodeIds(hiddenNodeIds);
+ onSetHiddenComponents([]);
+ };
+
+ // Restore the shown parts, keeping anything hidden elsewhere in the meantime.
+ const onHideAgain = () => {
+ if (!undoNodeIds) return;
+ onSetHiddenComponents([...new Set([...hiddenNodeIds, ...undoNodeIds])]);
+ setUndoNodeIds(null);
+ };
+
+ return (
+ <VStack
+ spacing={2}
+ className="w-full rounded-lg border border-border bg-muted/40 p-3"
+ >
+ <HStack className="w-full justify-between">
+ <Label className="text-xxs font-medium uppercase tracking-wide text-muted-foreground">
+ <Trans>Hidden on this step</Trans>
+ </Label>
+ {!isDisabled &&
+ (isUndoPending ? (
+ <HideAgainButton onClick={onHideAgain} />
+ ) : (
+ groups.length > 0 && (
+ <Button variant="secondary" size="sm" onClick={onShowAll}>
+ <Trans>Show all</Trans>
+ </Button>
+ )
+ ))}
+ </HStack>
+ {groups.length === 0 ? (
+ <p className="text-xs text-muted-foreground">
+ <Trans>
+ Nothing hidden. Use the eye in the Components panel to hide parts on
+ this step.
+ </Trans>
+ </p>
+ ) : (
+ <ul className="max-h-64 w-full divide-y divide-border overflow-y-auto rounded-lg border border-border scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent">
+ {groups.map((group) => (
+ <li
+ key={group.key}
+ className={cn(
+ "flex w-full items-center gap-2 px-2 py-1.5 text-sm",
+ isUndoPending && "opacity-50"
+ )}
+ >
+ <ComponentColorSwatch color={group.color} />
+ <span
+ className="min-w-0 flex-1 truncate text-muted-foreground"
+ title={group.name}
+ >
+ {group.name}
+ </span>
+ <Badge variant="secondary" className="tabular-nums">
+ ×{group.count}
+ </Badge>
+ {!isDisabled && !isUndoPending && (
+ <IconButton
+ aria-label={t`Show ${group.name}`}
+ icon={<LuEyeOff />}
+ variant="ghost"
+ size="sm"
+ className="text-muted-foreground"
+ onClick={() => onShow(group.nodeIds)}
+ />
+ )}
+ </li>
+ ))}
+ </ul>
+ )}
+ </VStack>
+ );
+}
+
+const SHOW_ALL_UNDO_MS = 4000;
+
+function HideAgainButton({ onClick }: { onClick: () => void }) {
+ const [isDraining, setIsDraining] = useState(false);
+ useEffect(() => {
+ // Start full, then drain on the next frame so the width transition runs.
+ const frame = requestAnimationFrame(() => setIsDraining(true));
+ return () => cancelAnimationFrame(frame);
+ }, []);
+
+ return (
+ <Button
+ variant="secondary"
+ size="sm"
+ className="relative overflow-hidden"
+ onClick={onClick}
+ >
+ <span
+ aria-hidden
+ className="pointer-events-none absolute inset-y-0 left-0 bg-primary/15"
+ style={{
+ width: isDraining ? "0%" : "100%",
+ transition: `width ${SHOW_ALL_UNDO_MS}ms linear`
+ }}
+ />
+ <span className="relative">
+ <Trans>Hide again</Trans>
+ </span>
+ </Button>
+ );
+}
diff --git a/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json b/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json
index e7afbe341c..5c46d84d68 100644
--- a/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json
+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json
@@ -1,5 +1,5 @@
{
- "totalTools": 1547,
+ "totalTools": 1548,
"modules": 15,
"tools": [
{"name":"account_deleteUserAttributeValue","classification":"DESTRUCTIVE","paramCount":2,"schema":"0d38e12233b4","response":"bcde375ebd4c","injectAuth":"companyId+userId","permission":"none","paginates":false},
@@ -209,7 +209,7 @@
{"name":"inventory_getKanban","classification":"READ","paramCount":1,"schema":"369f807bc840","response":"c5aa7a081ed4","injectAuth":"companyId","permission":"inventory:view","paginates":false},
{"name":"inventory_getKanbans","classification":"READ","paramCount":2,"schema":"68cb4a73d5a9","response":"fa96e94d8dda","injectAuth":"companyId","permission":"inventory:view","paginates":true},
{"name":"inventory_getPickingList","classification":"READ","paramCount":1,"schema":"0a4ec3e7319b","response":"227255936b96","injectAuth":"companyId","permission":"inventory:view","paginates":false},
- {"name":"inventory_getPickingListAvailability","classification":"READ","paramCount":1,"schema":"0a4ec3e7319b","response":"e5b05a2b7ffe","injectAuth":"companyId","permission":"inventory:view","paginates":false},
+ {"name":"inventory_getPickingListAvailability","classification":"READ","paramCount":1,"schema":"0a4ec3e7319b","response":"2ff18217b5ee","injectAuth":"companyId","permission":"inventory:view","paginates":false},
{"name":"inventory_getPickingListLine","classification":"READ","paramCount":1,"schema":"063a6777d378","response":"b51ad23d436f","injectAuth":"companyId","permission":"inventory:view","paginates":false},
{"name":"inventory_getPickingListLines","classification":"READ","paramCount":1,"schema":"0a4ec3e7319b","response":"07d244c0f017","injectAuth":"companyId","permission":"inventory:view","paginates":false},
{"name":"inventory_getPickingListLineTrackedEntities","classification":"READ","paramCount":1,"schema":"063a6777d378","response":"51dd622ce168","injectAuth":"companyId","permission":"inventory:view","paginates":false},
@@ -303,7 +303,7 @@
{"name":"inventory_upsertWarehouseTransfer","classification":"WRITE","paramCount":10,"schema":"8af29a9b1929","response":"3797626bd17e","injectAuth":"companyId+createdBy+updatedBy","permission":"inventory:create+update","paginates":false},
{"name":"inventory_upsertWarehouseTransferLine","classification":"WRITE","paramCount":1,"schema":"93538fae689b","response":"237082879d41","injectAuth":"companyId+createdBy+updatedBy","permission":"inventory:create+update","paginates":false},
{"name":"invoicing_applyCreditsToInvoices","classification":"DESTRUCTIVE","paramCount":4,"schema":"404db2e47d09","response":"none","injectAuth":"companyId+createdBy","permission":"invoicing:update","paginates":false},
- {"name":"invoicing_computeEarlyPaymentDiscounts","classification":"READ","paramCount":3,"schema":"0069677fb034","response":"e5b05a2b7ffe","injectAuth":"companyId","permission":"invoicing:view","paginates":false},
+ {"name":"invoicing_computeEarlyPaymentDiscounts","classification":"READ","paramCount":3,"schema":"0069677fb034","response":"2ff18217b5ee","injectAuth":"companyId","permission":"invoicing:view","paginates":false},
{"name":"invoicing_computeInvoiceDateDue","classification":"READ","paramCount":2,"schema":"c07433aded5b","response":"174e29b899b9","injectAuth":"companyId","permission":"invoicing:view","paginates":false},
{"name":"invoicing_createPurchaseInvoiceFromPurchaseOrder","classification":"WRITE","paramCount":1,"schema":"28cffcd9d6e8","response":"3797626bd17e","injectAuth":"companyId+createdBy+updatedBy","permission":"invoicing:create","paginates":false},
{"name":"invoicing_createSalesInvoiceFromSalesOrder","classification":"WRITE","paramCount":1,"schema":"d160a49d6787","response":"3797626bd17e","injectAuth":"companyId+createdBy+updatedBy","permission":"invoicing:create","paginates":false},
@@ -408,7 +408,7 @@
{"name":"items_findChangeNoticesForItem","classification":"READ","paramCount":2,"schema":"10c8230a9f49","response":"e0196d4b0041","injectAuth":"companyId","permission":"parts:view","paginates":false},
{"name":"items_findOtherOpenChangeNoticesForItem","classification":"READ","paramCount":2,"schema":"8a1da983320d","response":"e0196d4b0041","injectAuth":"companyId","permission":"parts:view","paginates":false},
{"name":"items_getBomHasShelfLifeManagedInput","classification":"READ","paramCount":1,"schema":"623ca47a6c74","response":"7cb541e84f22","injectAuth":"companyId","permission":"parts:view","paginates":false},
- {"name":"items_getBomItemAttributes","classification":"READ","paramCount":1,"schema":"c4ca22fd1816","response":"e5b05a2b7ffe","injectAuth":"companyId","permission":"parts:view","paginates":false},
+ {"name":"items_getBomItemAttributes","classification":"READ","paramCount":1,"schema":"c4ca22fd1816","response":"2ff18217b5ee","injectAuth":"companyId","permission":"parts:view","paginates":false},
{"name":"items_getChangeNotice","classification":"READ","paramCount":1,"schema":"29578070edb2","response":"09c0b464284c","injectAuth":"companyId","permission":"parts:view","paginates":false},
{"name":"items_getChangeNoticeActions","classification":"READ","paramCount":1,"schema":"29578070edb2","response":"949f86b5cda3","injectAuth":"companyId","permission":"parts:view","paginates":false},
{"name":"items_getChangeNoticeAffectedItems","classification":"READ","paramCount":1,"schema":"29578070edb2","response":"5483e69d7515","injectAuth":"companyId","permission":"parts:view","paginates":false},
@@ -677,7 +677,7 @@
{"name":"production_getAssemblyInstructions","classification":"READ","paramCount":5,"schema":"902de08eaf06","response":"845b5a451089","injectAuth":"companyId","permission":"production:view","paginates":true},
{"name":"production_getAssemblyInstructionsForItem","classification":"READ","paramCount":1,"schema":"623ca47a6c74","response":"c881f4ef7d23","injectAuth":"companyId","permission":"production:view","paginates":false},
{"name":"production_getAssemblyInstructionStepMaterials","classification":"READ","paramCount":1,"schema":"0f56299d6859","response":"89a5f52bebf8","injectAuth":"companyId","permission":"production:view","paginates":false},
- {"name":"production_getAssemblyInstructionSteps","classification":"READ","paramCount":1,"schema":"f9ddf194f67e","response":"9c00b1d03c95","injectAuth":"companyId","permission":"production:view","paginates":false},
+ {"name":"production_getAssemblyInstructionSteps","classification":"READ","paramCount":1,"schema":"f9ddf194f67e","response":"f380180c6600","injectAuth":"companyId","permission":"production:view","paginates":false},
{"name":"production_getAssemblyInstructionStepSlides","classification":"READ","paramCount":1,"schema":"0f56299d6859","response":"60aa9b57a118","injectAuth":"companyId","permission":"production:view","paginates":false},
{"name":"production_getAssemblyInstructionStepTools","classification":"READ","paramCount":1,"schema":"0f56299d6859","response":"d771814f7578","injectAuth":"companyId","permission":"production:view","paginates":false},
{"name":"production_getAssemblyInstructionVersions","classification":"READ","paramCount":2,"schema":"0c21424ecd86","response":"81c6e04c54bd","injectAuth":"companyId","permission":"production:view","paginates":false},
@@ -788,13 +788,13 @@
{"name":"production_insertJob","classification":"WRITE","paramCount":2,"schema":"fea224e085b1","response":"ad63dfd9d877","injectAuth":"companyId+createdBy+updatedBy","permission":"production:create","paginates":false},
{"name":"production_invalidateAssemblyModelCache","classification":"DESTRUCTIVE","paramCount":1,"schema":"277f7d872d8c","response":"bcde375ebd4c","injectAuth":"companyId","permission":"production:update","paginates":false},
{"name":"production_issueMaterial","classification":"WRITE","paramCount":7,"schema":"0408bd8c9bde","response":"none","injectAuth":"companyId","permission":"production:update","paginates":false},
- {"name":"production_maxToolQuantityByItem","classification":"WRITE","paramCount":1,"schema":"8b9e90037b9a","response":"e5b05a2b7ffe","injectAuth":"companyId","permission":"production:update","paginates":false},
+ {"name":"production_maxToolQuantityByItem","classification":"WRITE","paramCount":1,"schema":"8b9e90037b9a","response":"2ff18217b5ee","injectAuth":"companyId","permission":"production:update","paginates":false},
{"name":"production_movePeopleAssignment","classification":"DESTRUCTIVE","paramCount":2,"schema":"a726aa587ccc","response":"fe5e1dc03da5","injectAuth":"companyId+updatedBy","permission":"production:update","paginates":false},
{"name":"production_movePeopleWeek","classification":"DESTRUCTIVE","paramCount":5,"schema":"fec8ebf1add4","response":"3badaa1686e8","injectAuth":"companyId+updatedBy","permission":"production:update","paginates":false},
{"name":"production_notifyScheduleInputsChanged","classification":"WRITE","paramCount":3,"schema":"172bee52ed70","response":"none","injectAuth":"companyId","permission":"production:update","paginates":false},
- {"name":"production_planAssemblyStepMarkerRemap","classification":"WRITE","paramCount":2,"schema":"e8a18fd41775","response":"e5b05a2b7ffe","injectAuth":"companyId","permission":"production:update","paginates":false},
- {"name":"production_planAssemblyStepMarkerSync","classification":"WRITE","paramCount":2,"schema":"f32958f213ae","response":"c9a5184a4f26","injectAuth":"companyId","permission":"production:update","paginates":false},
- {"name":"production_planOrphanStepAdoption","classification":"WRITE","paramCount":3,"schema":"aae2658d9922","response":"e5b05a2b7ffe","injectAuth":"companyId","permission":"production:update","paginates":false},
+ {"name":"production_planAssemblyStepMarkerRemap","classification":"WRITE","paramCount":2,"schema":"e8a18fd41775","response":"2ff18217b5ee","injectAuth":"companyId","permission":"production:update","paginates":false},
+ {"name":"production_planAssemblyStepMarkerSync","classification":"WRITE","paramCount":2,"schema":"f32958f213ae","response":"52a2e31424ec","injectAuth":"companyId","permission":"production:update","paginates":false},
+ {"name":"production_planOrphanStepAdoption","classification":"WRITE","paramCount":3,"schema":"aae2658d9922","response":"2ff18217b5ee","injectAuth":"companyId","permission":"production:update","paginates":false},
{"name":"production_pullJobMaterialMakeMethod","classification":"WRITE","paramCount":2,"schema":"e27f48bbab4c","response":"bcde375ebd4c","injectAuth":"companyId+userId","permission":"production:update","paginates":false},
{"name":"production_reassignAssemblyStepComponents","classification":"DESTRUCTIVE","paramCount":4,"schema":"99f3d689165d","response":"none","injectAuth":"companyId","permission":"production:update","paginates":false},
{"name":"production_recalculateJobMakeMethodRequirements","classification":"WRITE","paramCount":1,"schema":"3797626bd17e","response":"none","injectAuth":"companyId+updatedBy+userId","permission":"production:update","paginates":false},
@@ -814,7 +814,7 @@
{"name":"production_setPeopleOvertimeBulk","classification":"WRITE","paramCount":6,"schema":"8f082483561d","response":"577d7088b794","injectAuth":"companyId+updatedBy","permission":"production:update","paginates":false},
{"name":"production_syncAssemblyInstructionToOperation","classification":"DESTRUCTIVE","paramCount":2,"schema":"8160f8d92b1b","response":"4348d3bad80b","injectAuth":"companyId+updatedBy+userId","permission":"production:update","paginates":false},
{"name":"production_syncAssemblyStepMaterialsFromMappings","classification":"WRITE","paramCount":4,"schema":"7f7346bb3bd0","response":"5815c4dbf43d","injectAuth":"companyId+updatedBy+userId","permission":"production:update","paginates":false},
- {"name":"production_toViewerStep","classification":"WRITE","paramCount":1,"schema":"3f809a44cba0","response":"ecca5ca73c50","injectAuth":"companyId","permission":"production:update","paginates":false},
+ {"name":"production_toViewerStep","classification":"WRITE","paramCount":1,"schema":"3f809a44cba0","response":"933dfe307d06","injectAuth":"companyId","permission":"production:update","paginates":false},
{"name":"production_unassignPeopleWeek","classification":"DESTRUCTIVE","paramCount":4,"schema":"06ead5d3d9ce","response":"9658926b2cd2","injectAuth":"companyId","permission":"production:update","paginates":false},
{"name":"production_unreleaseJobOperationBatch","classification":"WRITE","paramCount":1,"schema":"979f64cb9229","response":"none","injectAuth":"companyId+userId","permission":"production:update","paginates":false},
{"name":"production_updateAssemblyInstructionStatus","classification":"WRITE","paramCount":2,"schema":"e43955681d7c","response":"3797626bd17e","injectAuth":"companyId+updatedBy","permission":"production:update","paginates":false},
@@ -822,6 +822,7 @@
{"name":"production_updateAssemblyInstructionStepOrder","classification":"WRITE","paramCount":1,"schema":"d19d08f2d129","response":"none","injectAuth":"companyId+updatedBy","permission":"production:update","paginates":false},
{"name":"production_updateAssemblyInstructionStepStatus","classification":"WRITE","paramCount":2,"schema":"9291eed55a4a","response":"3797626bd17e","injectAuth":"companyId+updatedBy","permission":"production:update","paginates":false},
{"name":"production_updateAssemblyStepComponents","classification":"WRITE","paramCount":2,"schema":"d7ea6b1800f7","response":"3797626bd17e","injectAuth":"companyId+updatedBy","permission":"production:update","paginates":false},
+ {"name":"production_updateAssemblyStepHiddenComponents","classification":"WRITE","paramCount":2,"schema":"d5e5982cfa52","response":"3797626bd17e","injectAuth":"companyId+updatedBy","permission":"production:update","paginates":false},
{"name":"production_updateAssemblyStepMotion","classification":"WRITE","paramCount":3,"schema":"6665a9b53a17","response":"3797626bd17e","injectAuth":"companyId+updatedBy","permission":"production:update","paginates":false},
{"name":"production_updateInspectionDocumentSampling","classification":"WRITE","paramCount":7,"schema":"e85058fba971","response":"bcde375ebd4c","injectAuth":"companyId+updatedBy+userId","permission":"production:update","paginates":false},
{"name":"production_updateJob","classification":"WRITE","paramCount":21,"schema":"e224c0a5aa29","response":"3797626bd17e","injectAuth":"companyId+updatedBy","permission":"production:update","paginates":false},
diff --git a/apps/erp/app/routes/x+/assembly+/$id.steps.hidden.$stepId.tsx b/apps/erp/app/routes/x+/assembly+/$id.steps.hidden.$stepId.tsx
new file mode 100644
index 0000000000..c907af7cd3
--- /dev/null
+++ b/apps/erp/app/routes/x+/assembly+/$id.steps.hidden.$stepId.tsx
@@ -0,0 +1,54 @@
+import { assertIsPost, error, notFound } from "@carbon/auth";
+import { requirePermissions } from "@carbon/auth/auth.server";
+import { flash } from "@carbon/auth/session.server";
+import { validator } from "@carbon/form";
+import type { ActionFunctionArgs } from "react-router";
+import { data } from "react-router";
+import {
+ assemblyInstructionStepHiddenComponentsValidator,
+ updateAssemblyStepHiddenComponents
+} from "~/modules/production";
+
+// Autosave target for the per-step hide controls; touches only the hidden list.
+export async function action({ request, params }: ActionFunctionArgs) {
+ assertIsPost(request);
+ const { client, userId } = await requirePermissions(request, {
+ update: "production"
+ });
+
+ const { id, stepId } = params;
+ if (!id) throw notFound("id is not found");
+ if (!stepId) throw notFound("step id is not found");
+
+ const validation = await validator(
+ assemblyInstructionStepHiddenComponentsValidator
+ ).validate(await request.formData());
+
+ if (validation.error) {
+ return data(
+ { success: false },
+ await flash(
+ request,
+ error(validation.error, "Failed to update hidden components")
+ )
+ );
+ }
+
+ const update = await updateAssemblyStepHiddenComponents(client, {
+ id: stepId,
+ hiddenComponentNodeIds: validation.data.hiddenComponentNodeIds,
+ updatedBy: userId
+ });
+
+ if (update.error) {
+ return data(
+ { success: false },
+ await flash(
+ request,
+ error(update.error, "Failed to update hidden components")
+ )
+ );
+ }
+
+ return { success: true };
+}
diff --git a/apps/erp/app/routes/x+/assembly+/$id.tsx b/apps/erp/app/routes/x+/assembly+/$id.tsx
index 661a8cd766..b88ffe2137 100644
--- a/apps/erp/app/routes/x+/assembly+/$id.tsx
+++ b/apps/erp/app/routes/x+/assembly+/$id.tsx
@@ -235,7 +235,10 @@ export default function AssemblyInstructionRoute() {
// three panels: it renders red in the viewer, marks + scrolls to the row in the
// Components panel, and (while authoring a step) stages the step's draft components.
const [selectedNodeIds, setSelectedNodeIds] = useState<string[]>([]);
- const [hiddenNodeIds, setHiddenNodeIds] = useState<string[]>([]);
+ // null = read from the step; reset on step change, like the components draft.
+ const [draftHiddenNodeIds, setDraftHiddenNodeIds] = useState<string[] | null>(
+ null
+ );
// Isolate/focus: picking components in the Components panel shows ONLY them in
// the viewer (everything else hidden) so the part can be inspected alone.
// Cleared by a viewer/3D pick, a step change, add-mode, or an empty selection.
@@ -279,6 +282,43 @@ export default function AssemblyInstructionRoute() {
[componentsFetcher, id]
);
+ const hiddenFetcher = useFetcher<{ success: boolean }>();
+ const saveHiddenNodeIds = useCallback(
+ (stepId: string, hiddenNodeIds: string[]) => {
+ const formData = new FormData();
+ formData.set("hiddenComponentNodeIds", JSON.stringify(hiddenNodeIds));
+ hiddenFetcher.submit(formData, {
+ method: "post",
+ action: path.to.assemblyInstructionStepHiddenComponents(id, stepId)
+ });
+ },
+ [hiddenFetcher, id]
+ );
+
+ const selectedOwnNodeIds = useMemo(
+ () => draftComponentNodeIds ?? selectedStep?.componentNodeIds ?? [],
+ [draftComponentNodeIds, selectedStep]
+ );
+ // Mirrors the DB trigger for the in-flight drafts: a part the step installs is
+ // never listed as hidden on it (e.g. right after adding it to the step).
+ const selectedHiddenNodeIds = useMemo(() => {
+ const own = new Set(selectedOwnNodeIds);
+ return (
+ draftHiddenNodeIds ??
+ selectedStep?.hiddenComponentNodeIds ??
+ []
+ ).filter((nodeId) => !own.has(nodeId));
+ }, [draftHiddenNodeIds, selectedStep, selectedOwnNodeIds]);
+
+ const onSetHiddenComponents = useCallback(
+ (nodeIds: string[]) => {
+ if (isDisabled || !selectedStep) return;
+ setDraftHiddenNodeIds(nodeIds);
+ saveHiddenNodeIds(selectedStep.id, nodeIds);
+ },
+ [isDisabled, selectedStep, saveHiddenNodeIds]
+ );
+
// Bumped to preview (play) the active step — a double-click in the Explorer.
const [playStepNonce, setPlayStepNonce] = useState(0);
@@ -286,6 +326,7 @@ export default function AssemblyInstructionRoute() {
(stepId: string, options?: { selectComponents?: boolean }) => {
setSelectedStepId(stepId);
setDraftComponentNodeIds(null);
+ setDraftHiddenNodeIds(null);
setIsAddingComponents(false);
// Leave any open motion-path edit session when moving to another step.
setEditingStepId(null);
@@ -388,7 +429,17 @@ export default function AssemblyInstructionRoute() {
[isDisabled, selectedStep, draftComponentNodeIds, saveComponentNodeIds]
);
- const viewerSteps = useMemo(() => steps.map(toViewerStep), [steps]);
+ // The selected step shows its hidden draft before the autosave round-trips.
+ const viewerSteps = useMemo(
+ () =>
+ steps.map((step) => {
+ const viewerStep = toViewerStep(step);
+ return draftHiddenNodeIds && step.id === selectedStep?.id
+ ? { ...viewerStep, hiddenComponentNodeIds: draftHiddenNodeIds }
+ : viewerStep;
+ }),
+ [steps, draftHiddenNodeIds, selectedStep]
+ );
// Per-step slides/tools/materials for the properties panel — memoized so a
// per-frame motion-drag re-render (draftMotion) doesn't hand the panel new
@@ -543,7 +594,10 @@ export default function AssemblyInstructionRoute() {
onSelectStep={onSelectStep}
onPreviewStep={onPreviewStep}
onHighlightComponents={onFocusComponents}
- onHideComponents={setHiddenNodeIds}
+ hasSelectedStep={Boolean(selectedStep)}
+ ownNodeIds={selectedOwnNodeIds}
+ hiddenNodeIds={selectedHiddenNodeIds}
+ onSetHiddenComponents={onSetHiddenComponents}
/>
}
content={
@@ -595,7 +649,6 @@ export default function AssemblyInstructionRoute() {
onSelectComponents={onSelectComponents}
onGraphLoaded={setGraph}
highlightedNodeIds={selectedNodeIds}
- hiddenNodeIds={hiddenNodeIds}
focusedNodeIds={focusedNodeIds}
readOnly={isDisabled}
editMotion={
@@ -676,6 +729,8 @@ export default function AssemblyInstructionRoute() {
onStartAddComponents={onStartAddComponents}
onStopAddComponents={onStopAddComponents}
onRemoveComponents={onRemoveComponents}
+ hiddenNodeIds={selectedHiddenNodeIds}
+ onSetHiddenComponents={onSetHiddenComponents}
isEditingMotion={isEditingSelectedMotion}
onEditMotion={onEditMotion}
onStopEditMotion={onStopEditMotion}
diff --git a/apps/erp/app/utils/path.ts b/apps/erp/app/utils/path.ts
index d2caaf32c6..435badd694 100644
--- a/apps/erp/app/utils/path.ts
+++ b/apps/erp/app/utils/path.ts
@@ -373,6 +373,8 @@ export const path = {
generatePath(`${x}/assembly/${id}/steps/components/${stepId}`),
assemblyInstructionStepComponentsReassign: (id: string) =>
generatePath(`${x}/assembly/${id}/steps/components/reassign`),
+ assemblyInstructionStepHiddenComponents: (id: string, stepId: string) =>
+ generatePath(`${x}/assembly/${id}/steps/hidden/${stepId}`),
assemblyInstructionStepMotion: (id: string, stepId: string) =>
generatePath(`${x}/assembly/${id}/steps/motion/${stepId}`),
assemblyInstructionStepOrder: (id: string) =>
diff --git a/apps/mes/app/components/AssemblyView.tsx b/apps/mes/app/components/AssemblyView.tsx
index 162e0d3e14..d1771a8253 100644
--- a/apps/mes/app/components/AssemblyView.tsx
+++ b/apps/mes/app/components/AssemblyView.tsx
@@ -195,6 +195,7 @@ type AssemblyPlayback = {
title: string | null;
instructionText: string | null;
componentNodeIds: string[] | null;
+ hiddenComponentNodeIds: string[] | null;
motion: Json;
camera: Json | null;
fastener: Json | null;
@@ -214,6 +215,7 @@ function toViewerStep(step: AssemblyPlayback["steps"][number]): AssemblyStep {
title: step.title,
instructionText: step.instructionText,
componentNodeIds: step.componentNodeIds ?? [],
+ hiddenComponentNodeIds: step.hiddenComponentNodeIds ?? [],
motion:
motion &&
typeof motion === "object" &&
diff --git a/apps/mes/app/services/operations.service.ts b/apps/mes/app/services/operations.service.ts
index 34da66e241..660e614490 100644
--- a/apps/mes/app/services/operations.service.ts
+++ b/apps/mes/app/services/operations.service.ts
@@ -637,7 +637,7 @@ export async function getAssemblyPlaybackByOperationId(
const steps = await client
.from("assemblyInstructionStep")
.select(
- "id, title, instructionText, componentNodeIds, motion, camera, fastener, durationSeconds, warnings"
+ "id, title, instructionText, componentNodeIds, hiddenComponentNodeIds, motion, camera, fastener, durationSeconds, warnings"
)
.eq("assemblyInstructionId", instructionId)
.order("sortOrder", { ascending: true });
diff --git a/docs/content/docs/reference/mes.mdx b/docs/content/docs/reference/mes.mdx
index ab4e9d9eb4..f6c5003628 100644
--- a/docs/content/docs/reference/mes.mdx
+++ b/docs/content/docs/reference/mes.mdx
@@ -68,14 +68,13 @@ Deep into a build this creates a problem. The parts already fitted sit between t
<FieldTable>
<Field name="Build">The assembly as it stands on the bench right now: everything fitted so far is solid, and anything from a later step is not drawn. This is the default.</Field>
<Field name="Focus">The already-fitted parts fade to see-through, so the current step's components are visible in place without losing the shape around them.</Field>
- <Field name="Isolate">Only the current step's components are drawn. The "just show me the part I am fitting" view.</Field>
<Field name="Full">Every component solid, the finished product.</Field>
</FieldTable>
The view only changes what the operator sees. It never changes the step order, the components a step installs, or anything reported back.
<Callout type="note" title="The camera follows what is drawn.">
-Picking a view that hides parts also stops the camera treating them as obstacles. On **Isolate** the view angle frames the current step's components directly, rather than angling around geometry that is no longer on screen.
+Picking a view that hides parts also stops the camera treating them as obstacles. On **Build** and **Focus**, parts from later steps are not drawn, so the view angle never angles around them.
</Callout>
The same control appears in the ERP assembly editor, where an author checks that a step reads clearly before publishing. An author and an operator ask the model the same question, so the buttons mean the same thing on both screens.
diff --git a/manifests/schema.json b/manifests/schema.json
new file mode 100644
index 0000000000..ea5ed590b4
--- /dev/null
+++ b/manifests/schema.json
@@ -0,0 +1,6863 @@
+{
+ "kind": "carbon-company-backup",
+ "version": 1,
+ "schemaVersion": "20260925063121",
+ "sourceCompanyId": "schema-baseline",
+ "sourceCompanyGroupId": null,
+ "sourceCompanyName": null,
+ "exportedAt": "2026-09-25T11:42:30.815Z",
+ "exportedBy": "schema-baseline",
+ "label": "schema baseline",
+ "includeStorage": "none",
+ "tables": [
+ {
+ "name": "account",
+ "rows": 0,
+ "columns": [
+ "class",
+ "incomeBalance",
+ "consolidatedRate",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "isGroup",
+ "accountType",
+ "isSystem",
+ "id",
+ "number",
+ "name",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "companyGroupId",
+ "parentId"
+ ]
+ },
+ {
+ "name": "accountDefault",
+ "rows": 0,
+ "columns": [
+ "companyId",
+ "salesAccount",
+ "salesDiscountAccount",
+ "costOfGoodsSoldAccount",
+ "purchaseVarianceAccount",
+ "inventoryAdjustmentVarianceAccount",
+ "materialVarianceAccount",
+ "laborAndMachineVarianceAccount",
+ "indirectCostAccount",
+ "maintenanceAccount",
+ "assetDepreciationExpenseAccount",
+ "serviceChargeAccount",
+ "interestAccount",
+ "supplierPaymentDiscountAccount",
+ "customerPaymentDiscountAccount",
+ "roundingAccount",
+ "assetAquisitionCostAccount",
+ "assetAquisitionCostOnDisposalAccount",
+ "accumulatedDepreciationAccount",
+ "accumulatedDepreciationOnDisposalAccount",
+ "workInProgressAccount",
+ "receivablesAccount",
+ "bankCashAccount",
+ "bankLocalCurrencyAccount",
+ "bankForeignCurrencyAccount",
+ "prepaymentAccount",
+ "payablesAccount",
+ "salesTaxPayableAccount",
+ "purchaseTaxPayableAccount",
+ "reverseChargeSalesTaxPayableAccount",
+ "retainedEarningsAccount",
+ "updatedBy",
+ "goodsReceivedNotInvoicedAccount",
+ "overheadVarianceAccount",
+ "lotSizeVarianceAccount",
+ "subcontractingVarianceAccount",
+ "currencyTranslationAccount",
+ "laborAbsorptionAccount",
+ "deferredTaxLiabilityAccountId",
+ "deferredTaxExpenseAccountId",
+ "customerWriteOffAccount",
+ "supplierWriteOffAccount",
+ "realizedExchangeGainAccount",
+ "realizedExchangeLossAccount",
+ "intercompanyReceivablesAccount",
+ "overheadAbsorptionAccount",
+ "supplierPrepaymentAccount",
+ "rawMaterialsAccount",
+ "finishedGoodsAccount",
+ "assetGainOnDisposalAccount",
+ "assetLossOnDisposalAccount",
+ "scrapAccount",
+ "intercompanyPayablesAccount",
+ "salesShippingRevenueAccount",
+ "salesReturnsAccount"
+ ]
+ },
+ {
+ "name": "accountingPeriod",
+ "rows": 0,
+ "columns": [
+ "startDate",
+ "endDate",
+ "status",
+ "closedAt",
+ "createdAt",
+ "updatedAt",
+ "closeStatus",
+ "fiscalYear",
+ "periodNumber",
+ "lockedAt",
+ "id",
+ "companyId",
+ "closedBy",
+ "createdBy",
+ "updatedBy",
+ "lockedBy"
+ ]
+ },
+ {
+ "name": "accountingPeriodBalance",
+ "rows": 0,
+ "columns": [
+ "endingBalance",
+ "endingBalanceDate",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "accountingPeriodId",
+ "accountId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "accountingSyncOperation",
+ "rows": 0,
+ "columns": [
+ "status",
+ "attemptCount",
+ "lastAttemptAt",
+ "completedAt",
+ "metadata",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "integration",
+ "entityType",
+ "entityId",
+ "direction",
+ "trigger",
+ "idempotencyKey",
+ "errorCode",
+ "errorMessage",
+ "externalId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "accountingSyncTieOut",
+ "rows": 0,
+ "columns": [
+ "carbonPostedAmount",
+ "syncedAmount",
+ "docBackedAmount",
+ "excludedAmount",
+ "pendingAmount",
+ "blockedAmount",
+ "providerAmount",
+ "internalDelta",
+ "externalDelta",
+ "computedAt",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "integration",
+ "accountingPeriodId",
+ "accountId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "address",
+ "rows": 0,
+ "columns": [
+ "id",
+ "addressLine1",
+ "addressLine2",
+ "city",
+ "stateProvince",
+ "postalCode",
+ "countryCode",
+ "phone",
+ "fax",
+ "companyId"
+ ]
+ },
+ {
+ "name": "agentThread",
+ "rows": 0,
+ "columns": [
+ "lastContext",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "userId",
+ "title",
+ "modelId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "agentMessage",
+ "rows": 0,
+ "columns": [
+ "context",
+ "inputTokens",
+ "outputTokens",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "threadId",
+ "companyId",
+ "role",
+ "feedback",
+ "feedbackNote",
+ "finishReason",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "agentMessagePart",
+ "rows": 0,
+ "columns": [
+ "orderIndex",
+ "toolInput",
+ "toolOutput",
+ "toolDurationMs",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "messageId",
+ "companyId",
+ "type",
+ "textContent",
+ "toolName",
+ "toolClassification",
+ "toolCallId",
+ "toolState",
+ "errorMessage",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "approvalRequest",
+ "rows": 0,
+ "columns": [
+ "documentType",
+ "status",
+ "amount",
+ "requestedAt",
+ "decisionAt",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "documentId",
+ "requestedBy",
+ "decisionBy",
+ "decisionNotes",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "approvalRule",
+ "rows": 0,
+ "columns": [
+ "documentType",
+ "enabled",
+ "lowerBoundAmount",
+ "escalationDays",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "approverGroupIds",
+ "defaultApproverId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "auditLogArchive",
+ "rows": 0,
+ "columns": [
+ "startDate",
+ "endDate",
+ "rowCount",
+ "sizeBytes",
+ "createdAt",
+ "id",
+ "companyId",
+ "archivePath"
+ ]
+ },
+ {
+ "name": "changeOrderRequiredAction",
+ "rows": 0,
+ "columns": [
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "companyId",
+ "name",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "changeOrderType",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "companyAccountsPayableBillingAddress",
+ "rows": 0,
+ "columns": [
+ "updatedAt",
+ "id",
+ "name",
+ "addressLine1",
+ "addressLine2",
+ "city",
+ "state",
+ "postalCode",
+ "countryCode",
+ "phone",
+ "fax",
+ "email",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "companyAccountsReceivableBillingAddress",
+ "rows": 0,
+ "columns": [
+ "updatedAt",
+ "id",
+ "name",
+ "addressLine1",
+ "addressLine2",
+ "city",
+ "state",
+ "postalCode",
+ "countryCode",
+ "phone",
+ "fax",
+ "email",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "companySettings",
+ "rows": 0,
+ "columns": [
+ "digitalQuoteEnabled",
+ "digitalQuoteIncludesPurchaseOrders",
+ "materialGeneratedIds",
+ "useMetric",
+ "kanbanOutput",
+ "purchasePriceUpdateTiming",
+ "accountsPayableAddress",
+ "accountsReceivableAddress",
+ "quoteLineCategoryMarkups",
+ "qualityIssueTarget",
+ "consoleEnabled",
+ "timeCardEnabled",
+ "printing",
+ "updateLeadTimesOnReceipt",
+ "enforceInspectionFourEyes",
+ "samplingStandard",
+ "inventoryShelfLife",
+ "accountingEnabled",
+ "assetTaxDepreciationEnabled",
+ "assetTaxRate",
+ "showSupplierReadableId",
+ "showCustomerReadableId",
+ "autoStartOperationTimer",
+ "autoSelectMaterialWithoutPickingList",
+ "includeMaterialsOnTraveler",
+ "showCurrencyTrailingZeros",
+ "requireMfa",
+ "allowLowercaseItemIds",
+ "includeOperationsOnTraveler",
+ "id",
+ "digitalQuoteNotificationGroup",
+ "rfqReadyNotificationGroup",
+ "productLabelSize",
+ "shelfLabelSize",
+ "inventoryJobCompletedNotificationGroup",
+ "salesJobCompletedNotificationGroup",
+ "gaugeCalibrationExpiredNotificationGroup",
+ "supplierQuoteNotificationGroup",
+ "maintenanceDispatchNotificationGroup",
+ "qualityDispatchNotificationGroup",
+ "operationsDispatchNotificationGroup",
+ "otherDispatchNotificationGroup",
+ "defaultSupplierCc",
+ "defaultCustomerCc",
+ "accountsPayableEmail",
+ "accountsReceivableEmail",
+ "plmReleaseControl",
+ "incompletePickingListPolicy",
+ "returnPickedMaterialTiming",
+ "salesRuleNotificationGroup"
+ ]
+ },
+ {
+ "name": "companyUsage",
+ "rows": 0,
+ "columns": [
+ "users",
+ "tasks",
+ "aiTokens",
+ "nextResetDatetime",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId"
+ ]
+ },
+ {
+ "name": "consumable",
+ "rows": 0,
+ "columns": [
+ "approved",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "approvedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "contact",
+ "rows": 0,
+ "columns": [
+ "isCustomer",
+ "id",
+ "firstName",
+ "lastName",
+ "email",
+ "title",
+ "mobilePhone",
+ "homePhone",
+ "workPhone",
+ "fax",
+ "notes",
+ "companyId"
+ ]
+ },
+ {
+ "name": "costCenter",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "parentCostCenterId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "ownerId"
+ ]
+ },
+ {
+ "name": "currency",
+ "rows": 0,
+ "columns": [
+ "decimalPlaces",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "historicalExchangeRate",
+ "id",
+ "code",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "companyGroupId"
+ ]
+ },
+ {
+ "name": "customField",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "dataTypeId",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "required",
+ "id",
+ "name",
+ "table",
+ "listOptions",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "customerStatus",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "customerType",
+ "rows": 0,
+ "columns": [
+ "protected",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "department",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "parentDepartmentId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "depreciationRun",
+ "rows": 0,
+ "columns": [
+ "periodEnd",
+ "postedAt",
+ "createdAt",
+ "id",
+ "depreciationRunId",
+ "status",
+ "postedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "dimension",
+ "rows": 0,
+ "columns": [
+ "entityType",
+ "active",
+ "required",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "companyGroupId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "dimensionValue",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "dimensionId",
+ "name",
+ "companyGroupId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "document",
+ "rows": 0,
+ "columns": [
+ "size",
+ "type",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "sourceDocument",
+ "id",
+ "path",
+ "name",
+ "description",
+ "readGroups",
+ "writeGroups",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "sourceDocumentId"
+ ]
+ },
+ {
+ "name": "documentExtraction",
+ "rows": 0,
+ "columns": [
+ "documentType",
+ "status",
+ "extractedData",
+ "filteredData",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "sourceDocument",
+ "sourceDocumentId",
+ "storagePath",
+ "error",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "documentFavorite",
+ "rows": 0,
+ "columns": ["documentId", "userId"]
+ },
+ {
+ "name": "documentLabel",
+ "rows": 0,
+ "columns": ["documentId", "userId", "label", "companyId"]
+ },
+ {
+ "name": "documentSection",
+ "rows": 0,
+ "columns": [
+ "content",
+ "config",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "name",
+ "placement",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "documentTemplate",
+ "rows": 0,
+ "columns": [
+ "formatVersion",
+ "blocks",
+ "theme",
+ "settings",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "documentType",
+ "headerSectionId",
+ "footerSectionId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "documentTransaction",
+ "rows": 0,
+ "columns": [
+ "type",
+ "createdAt",
+ "id",
+ "documentId",
+ "userId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "employeeType",
+ "rows": 0,
+ "columns": [
+ "protected",
+ "createdAt",
+ "updatedAt",
+ "systemType",
+ "id",
+ "name",
+ "companyId"
+ ]
+ },
+ {
+ "name": "employee",
+ "rows": 0,
+ "columns": ["active", "id", "companyId", "employeeTypeId", "pin"]
+ },
+ {
+ "name": "employeeTypePermission",
+ "rows": 0,
+ "columns": [
+ "module",
+ "createdAt",
+ "updatedAt",
+ "employeeTypeId",
+ "create",
+ "delete",
+ "update",
+ "view"
+ ]
+ },
+ {
+ "name": "enforcementRule",
+ "rows": 0,
+ "columns": [
+ "family",
+ "conditionAst",
+ "surfaces",
+ "targetType",
+ "appliesToAll",
+ "filteredItemMatchAll",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "companyId",
+ "name",
+ "description",
+ "message",
+ "severity",
+ "filteredItemTypes",
+ "filteredItemGroupIds",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "enforcementRuleAcknowledgment",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "id",
+ "companyId",
+ "ruleId",
+ "ruleName",
+ "documentType",
+ "documentId",
+ "documentLineId",
+ "itemId",
+ "severity",
+ "outcome",
+ "message",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "eventSystemSubscription",
+ "rows": 0,
+ "columns": [
+ "filter",
+ "config",
+ "active",
+ "createdAt",
+ "id",
+ "name",
+ "companyId",
+ "table",
+ "operations",
+ "handlerType"
+ ]
+ },
+ {
+ "name": "exchangeRateOverride",
+ "rows": 0,
+ "columns": [
+ "rate",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "currencyCode",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "externalIntegrationMapping",
+ "rows": 0,
+ "columns": [
+ "allowDuplicateExternalId",
+ "metadata",
+ "lastSyncedAt",
+ "remoteUpdatedAt",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "entityType",
+ "entityId",
+ "integration",
+ "externalId",
+ "createdBy",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "fiscalYearSettings",
+ "rows": 0,
+ "columns": ["startMonth", "taxStartMonth", "companyId", "updatedBy"]
+ },
+ {
+ "name": "fixedAssetClass",
+ "rows": 0,
+ "columns": [
+ "depreciationMethod",
+ "usefulLifeMonths",
+ "residualValuePercent",
+ "taxDepreciationMethod",
+ "taxUsefulLifeMonths",
+ "taxResidualValuePercent",
+ "macrsPropertyClass",
+ "macrsConvention",
+ "bonusDepreciationPercent",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "description",
+ "assetAccountId",
+ "accumulatedDepreciationAccountId",
+ "depreciationExpenseAccountId",
+ "writeOffAccountId",
+ "writeDownAccountId",
+ "lossOnDisposalAccountId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "gainOnDisposalAccountId"
+ ]
+ },
+ {
+ "name": "gaugeType",
+ "rows": 0,
+ "columns": [
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "group",
+ "rows": 0,
+ "columns": [
+ "isIdentityGroup",
+ "isEmployeeTypeGroup",
+ "isCustomerOrgGroup",
+ "isCustomerTypeGroup",
+ "isSupplierTypeGroup",
+ "isSupplierOrgGroup",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "companyId"
+ ]
+ },
+ {
+ "name": "holiday",
+ "rows": 0,
+ "columns": [
+ "date",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "implementationCheckState",
+ "rows": 0,
+ "columns": [
+ "kind",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "itemKey",
+ "value",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "implementationFieldValue",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "fieldKey",
+ "value",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "implementationRow",
+ "rows": 0,
+ "columns": [
+ "payload",
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "collection",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "invite",
+ "rows": 0,
+ "columns": [
+ "permissions",
+ "role",
+ "createdAt",
+ "acceptedAt",
+ "revokedAt",
+ "attestedAt",
+ "id",
+ "code",
+ "email",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "attestedBy"
+ ]
+ },
+ {
+ "name": "itarCertification",
+ "rows": 0,
+ "columns": [
+ "certifiedAt",
+ "expiresAt",
+ "createdAt",
+ "updatedAt",
+ "updatedBy",
+ "id",
+ "companyId",
+ "type",
+ "userId",
+ "docVersion",
+ "docHash",
+ "fullLegalName",
+ "title",
+ "complianceContact",
+ "ipAddress",
+ "userAgent",
+ "createdBy"
+ ]
+ },
+ {
+ "name": "itemPostingGroup",
+ "rows": 0,
+ "columns": [
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "description",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "itemStockQuantities",
+ "rows": 0,
+ "columns": ["quantityOnHand", "itemId", "companyId", "locationId"]
+ },
+ {
+ "name": "journal",
+ "rows": 0,
+ "columns": [
+ "postingDate",
+ "createdAt",
+ "customFields",
+ "status",
+ "sourceType",
+ "postedAt",
+ "updatedAt",
+ "eliminationKind",
+ "id",
+ "description",
+ "accountingPeriodId",
+ "companyId",
+ "tags",
+ "journalEntryId",
+ "reversalOfId",
+ "reversedById",
+ "postedBy",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "journalLine",
+ "rows": 0,
+ "columns": [
+ "amount",
+ "quantity",
+ "documentType",
+ "accrual",
+ "createdAt",
+ "customFields",
+ "updatedAt",
+ "id",
+ "journalId",
+ "description",
+ "documentId",
+ "externalDocumentId",
+ "journalLineReference",
+ "documentLineReference",
+ "companyId",
+ "tags",
+ "accountId",
+ "updatedBy",
+ "intercompanyPartnerId",
+ "createdBy"
+ ]
+ },
+ {
+ "name": "intercompanyTransaction",
+ "rows": 0,
+ "columns": [
+ "amount",
+ "documentType",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyGroupId",
+ "sourceCompanyId",
+ "targetCompanyId",
+ "sourceJournalLineId",
+ "targetJournalLineId",
+ "currencyCode",
+ "description",
+ "documentId",
+ "status",
+ "eliminationJournalId"
+ ]
+ },
+ {
+ "name": "intercompanyEliminationLine",
+ "rows": 0,
+ "columns": [
+ "role",
+ "amount",
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "intercompanyTransactionId",
+ "journalLineId",
+ "accountId",
+ "itemId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "journalLineDimension",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "id",
+ "journalLineId",
+ "dimensionId",
+ "valueId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "location",
+ "rows": 0,
+ "columns": [
+ "latitude",
+ "longitude",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "requiresStaffing",
+ "id",
+ "name",
+ "addressLine1",
+ "addressLine2",
+ "city",
+ "stateProvince",
+ "postalCode",
+ "countryCode",
+ "timezone",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "code"
+ ]
+ },
+ {
+ "name": "fixedAsset",
+ "rows": 0,
+ "columns": [
+ "status",
+ "depreciationMethod",
+ "usefulLifeMonths",
+ "residualValuePercent",
+ "taxDepreciationMethod",
+ "taxUsefulLifeMonths",
+ "taxResidualValuePercent",
+ "macrsPropertyClass",
+ "macrsConvention",
+ "bonusDepreciationPercent",
+ "acquisitionCost",
+ "acquisitionDate",
+ "depreciationStartDate",
+ "accumulatedDepreciation",
+ "accumulatedTaxDepreciation",
+ "assetLifetimeUsage",
+ "disposalDate",
+ "disposalMethod",
+ "saleProceeds",
+ "createdAt",
+ "updatedAt",
+ "notes",
+ "customFields",
+ "id",
+ "fixedAssetId",
+ "fixedAssetClassId",
+ "name",
+ "description",
+ "serialNumber",
+ "locationId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "depreciationRunLine",
+ "rows": 0,
+ "columns": [
+ "amount",
+ "taxAmount",
+ "id",
+ "depreciationRunId",
+ "fixedAssetId",
+ "journalId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "fixedAssetDisposal",
+ "rows": 0,
+ "columns": [
+ "disposalMethod",
+ "disposalDate",
+ "saleProceeds",
+ "netBookValueAtDisposal",
+ "gainLoss",
+ "createdAt",
+ "id",
+ "fixedAssetId",
+ "journalId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "fixedAssetUsageLog",
+ "rows": 0,
+ "columns": [
+ "periodStart",
+ "periodEnd",
+ "unitsProduced",
+ "createdAt",
+ "id",
+ "fixedAssetId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "inventoryCount",
+ "rows": 0,
+ "columns": [
+ "status",
+ "isBlind",
+ "scope",
+ "snapshotAt",
+ "postedAt",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "companyId",
+ "inventoryCountId",
+ "locationId",
+ "notes",
+ "postedBy",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "maintenanceFailureMode",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "type",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "materialForm",
+ "rows": 0,
+ "columns": [
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "code"
+ ]
+ },
+ {
+ "name": "materialDimension",
+ "rows": 0,
+ "columns": ["isMetric", "id", "materialFormId", "name", "companyId"]
+ },
+ {
+ "name": "materialSubstance",
+ "rows": 0,
+ "columns": [
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "code"
+ ]
+ },
+ {
+ "name": "materialFinish",
+ "rows": 0,
+ "columns": ["id", "name", "materialSubstanceId", "companyId"]
+ },
+ {
+ "name": "materialGrade",
+ "rows": 0,
+ "columns": ["id", "materialSubstanceId", "name", "companyId"]
+ },
+ {
+ "name": "materialType",
+ "rows": 0,
+ "columns": [
+ "id",
+ "name",
+ "code",
+ "materialSubstanceId",
+ "materialFormId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "material",
+ "rows": 0,
+ "columns": [
+ "approved",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "materialFormId",
+ "materialSubstanceId",
+ "approvedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "dimensionId",
+ "finishId",
+ "gradeId",
+ "materialTypeId"
+ ]
+ },
+ {
+ "name": "membership",
+ "rows": 0,
+ "columns": ["id", "groupId", "memberGroupId", "memberUserId"]
+ },
+ {
+ "name": "modelUpload",
+ "rows": 0,
+ "columns": [
+ "size",
+ "createdAt",
+ "updatedAt",
+ "processingStatus",
+ "componentCount",
+ "processedAt",
+ "optimizeStatus",
+ "optimizedAt",
+ "optimizedSize",
+ "originalSize",
+ "id",
+ "name",
+ "modelPath",
+ "autodeskUrn",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "thumbnailPath",
+ "processingError",
+ "glbPath",
+ "graphPath",
+ "optimizedModelPath",
+ "optimizeError",
+ "originalPath"
+ ]
+ },
+ {
+ "name": "assemblyPlanJob",
+ "rows": 0,
+ "columns": [
+ "status",
+ "stats",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "modelUploadId",
+ "kind",
+ "planPath",
+ "error",
+ "companyId",
+ "createdBy"
+ ]
+ },
+ {
+ "name": "noQuoteReason",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceRequiredAction",
+ "rows": 0,
+ "columns": [
+ "active",
+ "createdAt",
+ "updatedAt",
+ "systemType",
+ "id",
+ "companyId",
+ "name",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceType",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceWorkflow",
+ "rows": 0,
+ "columns": [
+ "content",
+ "priority",
+ "source",
+ "approvalRequirements",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "description",
+ "tags",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "requiredActionIds"
+ ]
+ },
+ {
+ "name": "nonConformance",
+ "rows": 0,
+ "columns": [
+ "source",
+ "status",
+ "priority",
+ "approvalRequirements",
+ "content",
+ "openDate",
+ "dueDate",
+ "closeDate",
+ "quantity",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "name",
+ "description",
+ "nonConformanceWorkflowId",
+ "locationId",
+ "nonConformanceTypeId",
+ "assignee",
+ "tags",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "requiredActionIds"
+ ]
+ },
+ {
+ "name": "changeOrder",
+ "rows": 0,
+ "columns": [
+ "reasonForChange",
+ "description",
+ "type",
+ "status",
+ "priority",
+ "openDate",
+ "dueDate",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "changeOrderId",
+ "name",
+ "changeOrderTypeId",
+ "nonConformanceId",
+ "requiredActionIds",
+ "approvalRequirements",
+ "sourceType",
+ "sourceId",
+ "assignee",
+ "tags",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "changeOrderActionTask",
+ "rows": 0,
+ "columns": [
+ "status",
+ "dueDate",
+ "completedDate",
+ "notes",
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "changeOrderId",
+ "name",
+ "assignee",
+ "tags",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "actionTypeId"
+ ]
+ },
+ {
+ "name": "nonConformanceApprovalTask",
+ "rows": 0,
+ "columns": [
+ "approvalType",
+ "status",
+ "dueDate",
+ "completedDate",
+ "notes",
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "assignee",
+ "tags",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceReviewer",
+ "rows": 0,
+ "columns": [
+ "status",
+ "notes",
+ "createdAt",
+ "updatedAt",
+ "completedDate",
+ "id",
+ "title",
+ "nonConformanceId",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "note",
+ "rows": 0,
+ "columns": [
+ "noteRichText",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "documentId",
+ "note",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "notification",
+ "rows": 0,
+ "columns": [
+ "payload",
+ "readAt",
+ "seenAt",
+ "createdAt",
+ "id",
+ "userId",
+ "companyId",
+ "topic",
+ "event",
+ "title",
+ "description",
+ "from",
+ "documentType",
+ "documentId",
+ "digestedInto"
+ ]
+ },
+ {
+ "name": "notificationDelivery",
+ "rows": 0,
+ "columns": [
+ "successCount",
+ "lastDeliveredAt",
+ "createdAt",
+ "id",
+ "companyId",
+ "userId",
+ "event",
+ "documentId",
+ "lastDeliveryId"
+ ]
+ },
+ {
+ "name": "notificationPreference",
+ "rows": 0,
+ "columns": [
+ "enabled",
+ "updatedAt",
+ "id",
+ "userId",
+ "companyId",
+ "channel",
+ "topic"
+ ]
+ },
+ {
+ "name": "oauthCode",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "expiresAt",
+ "id",
+ "code",
+ "clientId",
+ "userId",
+ "companyId",
+ "redirectUri",
+ "codeChallenge",
+ "codeChallengeMethod",
+ "scope"
+ ]
+ },
+ {
+ "name": "part",
+ "rows": 0,
+ "columns": [
+ "approved",
+ "fromDate",
+ "toDate",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "approvedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "paymentTerm",
+ "rows": 0,
+ "columns": [
+ "daysDue",
+ "daysDiscount",
+ "discountPercentage",
+ "calculationMethod",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "periodCloseTaskDefinition",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "required",
+ "active",
+ "isSystem",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "companyId",
+ "name",
+ "taskType",
+ "autoCheckKey",
+ "severity",
+ "defaultAssigneeId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "periodCloseTask",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "required",
+ "completedAt",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "accountingPeriodId",
+ "definitionId",
+ "name",
+ "taskType",
+ "autoCheckKey",
+ "severity",
+ "status",
+ "assigneeId",
+ "completedBy",
+ "skippedReason",
+ "evidenceJournalId",
+ "notes",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "pickingList",
+ "rows": 0,
+ "columns": [
+ "status",
+ "dueDate",
+ "notes",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "pickingListId",
+ "locationId",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "pricingRule",
+ "rows": 0,
+ "columns": [
+ "ruleType",
+ "amountType",
+ "amount",
+ "priority",
+ "minQuantity",
+ "maxQuantity",
+ "validFrom",
+ "validTo",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "customerIds",
+ "customerTypeIds",
+ "itemIds",
+ "itemPostingGroupId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "printJob",
+ "rows": 0,
+ "columns": [
+ "attempts",
+ "createdAt",
+ "updatedAt",
+ "completedAt",
+ "id",
+ "companyId",
+ "status",
+ "contentType",
+ "content",
+ "printerUrl",
+ "sourceDocument",
+ "sourceDocumentId",
+ "sourceDocumentReadableId",
+ "description",
+ "origin",
+ "error",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "printerRoute",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "locationId",
+ "name",
+ "format",
+ "mediaSizeId",
+ "printerUrl",
+ "apiKey",
+ "templateId"
+ ]
+ },
+ {
+ "name": "process",
+ "rows": 0,
+ "columns": [
+ "defaultStandardFactor",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "processType",
+ "completeAllOnScan",
+ "active",
+ "requiresAbility",
+ "batchable",
+ "batchType",
+ "batchRules",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "ability",
+ "rows": 0,
+ "columns": [
+ "curve",
+ "shadowWeeks",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "recertifyEveryDays",
+ "id",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "processId"
+ ]
+ },
+ {
+ "name": "employeeAbility",
+ "rows": 0,
+ "columns": [
+ "lastTrainingDate",
+ "expiresAt",
+ "id",
+ "employeeId",
+ "abilityId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "procedure",
+ "rows": 0,
+ "columns": [
+ "version",
+ "status",
+ "content",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "processId",
+ "description",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "procedureParameter",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "procedureId",
+ "key",
+ "value",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "project",
+ "rows": 0,
+ "columns": [
+ "active",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "name",
+ "description",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "purchasingRfq",
+ "rows": 0,
+ "columns": [
+ "revisionId",
+ "status",
+ "rfqDate",
+ "expirationDate",
+ "internalNotes",
+ "notes",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "rfqId",
+ "employeeId",
+ "locationId",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "purchasingRfqFavorite",
+ "rows": 0,
+ "columns": ["rfqId", "userId"]
+ },
+ {
+ "name": "qualityDocument",
+ "rows": 0,
+ "columns": [
+ "version",
+ "status",
+ "content",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "description",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "reportPin",
+ "rows": 0,
+ "columns": [
+ "pinned",
+ "createdAt",
+ "updatedAt",
+ "reportKey",
+ "userId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "reportView",
+ "rows": 0,
+ "columns": [
+ "config",
+ "visibility",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "reportKey",
+ "name",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "returnReason",
+ "rows": 0,
+ "columns": [
+ "inventoryValueZero",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "scrapReason",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "searchIndexRegistry",
+ "rows": 0,
+ "columns": ["createdAt", "lastRebuiltAt", "companyId"]
+ },
+ {
+ "name": "sequence",
+ "rows": 0,
+ "columns": [
+ "next",
+ "size",
+ "step",
+ "updatedAt",
+ "table",
+ "name",
+ "prefix",
+ "suffix",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "service",
+ "rows": 0,
+ "columns": [
+ "serviceType",
+ "approved",
+ "fromDate",
+ "toDate",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "approvedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "shift",
+ "rows": 0,
+ "columns": [
+ "startTime",
+ "endTime",
+ "sunday",
+ "monday",
+ "tuesday",
+ "wednesday",
+ "thursday",
+ "friday",
+ "saturday",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "locationId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "employeeJob",
+ "rows": 0,
+ "columns": [
+ "startDate",
+ "updatedAt",
+ "customFields",
+ "id",
+ "locationId",
+ "shiftId",
+ "managerId",
+ "title",
+ "companyId",
+ "updatedBy",
+ "departmentId",
+ "tags"
+ ]
+ },
+ {
+ "name": "employeeShift",
+ "rows": 0,
+ "columns": ["id", "employeeId", "shiftId", "companyId"]
+ },
+ {
+ "name": "peopleAbsence",
+ "rows": 0,
+ "columns": [
+ "date",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "employeeId",
+ "shiftId",
+ "note",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "shippingMethod",
+ "rows": 0,
+ "columns": [
+ "carrier",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "carrierAccountId",
+ "trackingUrl",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "shippingTerm",
+ "rows": 0,
+ "columns": [
+ "active",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "slackDocumentThread",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "documentType",
+ "documentId",
+ "channelId",
+ "threadTs",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "ssoConnection",
+ "rows": 0,
+ "columns": [
+ "active",
+ "requireSso",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "providerId",
+ "metadataUrl",
+ "metadataXml",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "ssoDomain",
+ "rows": 0,
+ "columns": [
+ "status",
+ "verifiedAt",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "connectionId",
+ "domain",
+ "verificationToken",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "stockTransfer",
+ "rows": 0,
+ "columns": [
+ "status",
+ "completedAt",
+ "createdAt",
+ "updatedAt",
+ "notes",
+ "customFields",
+ "id",
+ "stockTransferId",
+ "locationId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "assignee",
+ "tags"
+ ]
+ },
+ {
+ "name": "storageType",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "suggestion",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "id",
+ "suggestion",
+ "emoji",
+ "path",
+ "attachmentPath",
+ "tags",
+ "userId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "supplierType",
+ "rows": 0,
+ "columns": [
+ "protected",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "tableView",
+ "rows": 0,
+ "columns": [
+ "type",
+ "sortOrder",
+ "columnPinning",
+ "columnVisibility",
+ "createdAt",
+ "id",
+ "name",
+ "table",
+ "description",
+ "columnOrder",
+ "filters",
+ "sorts",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "tag",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "name",
+ "table",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "terms",
+ "rows": 0,
+ "columns": [
+ "purchasingTerms",
+ "salesTerms",
+ "updatedAt",
+ "id",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "timeCardEntry",
+ "rows": 0,
+ "columns": [
+ "clockIn",
+ "clockOut",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "employeeId",
+ "companyId",
+ "note",
+ "autoCloseShiftId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "tool",
+ "rows": 0,
+ "columns": [
+ "approved",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "approvedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "trackedActivity",
+ "rows": 0,
+ "columns": [
+ "attributes",
+ "createdAt",
+ "id",
+ "type",
+ "sourceDocument",
+ "sourceDocumentId",
+ "sourceDocumentReadableId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "training",
+ "rows": 0,
+ "columns": [
+ "version",
+ "status",
+ "frequency",
+ "type",
+ "content",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "description",
+ "processId",
+ "estimatedDuration",
+ "tags",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "grantsAbilityId"
+ ]
+ },
+ {
+ "name": "trainingAssignment",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "trainingId",
+ "groupIds",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "trainingCompletion",
+ "rows": 0,
+ "columns": [
+ "id",
+ "completedAt",
+ "createdAt",
+ "updatedAt",
+ "trainingAssignmentId",
+ "employeeId",
+ "companyId",
+ "completedBy",
+ "createdBy",
+ "updatedBy",
+ "period"
+ ]
+ },
+ {
+ "name": "trainingQuestion",
+ "rows": 0,
+ "columns": [
+ "type",
+ "sortOrder",
+ "required",
+ "correctBoolean",
+ "matchingPairs",
+ "correctNumber",
+ "tolerance",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "trainingId",
+ "question",
+ "options",
+ "correctAnswers",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "unitOfMeasure",
+ "rows": 0,
+ "columns": [
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "code",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "item",
+ "rows": 0,
+ "columns": [
+ "type",
+ "replenishmentSystem",
+ "defaultMethodType",
+ "itemTrackingType",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "notes",
+ "embedding",
+ "sourcingType",
+ "revisionStatus",
+ "id",
+ "readableId",
+ "name",
+ "description",
+ "unitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "assignee",
+ "modelUploadId",
+ "thumbnailPath",
+ "trackingMethod",
+ "revision",
+ "mpn",
+ "changeOrderId"
+ ]
+ },
+ {
+ "name": "assemblyComponentMapping",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "modelUploadId",
+ "geometryHash",
+ "itemId",
+ "confidence",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "assemblyInstruction",
+ "rows": 0,
+ "columns": [
+ "status",
+ "version",
+ "publishedAt",
+ "settings",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "modelUploadId",
+ "itemId",
+ "assemblyPlanJobId",
+ "companyId",
+ "tags",
+ "createdBy",
+ "updatedBy",
+ "rootInstructionId"
+ ]
+ },
+ {
+ "name": "assemblyInstructionStep",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "type",
+ "description",
+ "required",
+ "minValue",
+ "maxValue",
+ "notes",
+ "motion",
+ "camera",
+ "explode",
+ "fastener",
+ "warnings",
+ "durationSeconds",
+ "createdAt",
+ "updatedAt",
+ "status",
+ "buildWave",
+ "id",
+ "assemblyInstructionId",
+ "parentStepId",
+ "title",
+ "instructionText",
+ "unitOfMeasureCode",
+ "listValues",
+ "fileTypes",
+ "componentNodeIds",
+ "planConfidence",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "rootStepId",
+ "hiddenComponentNodeIds"
+ ]
+ },
+ {
+ "name": "assemblyInstructionStepMaterial",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "stepId",
+ "itemId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "assemblyInstructionStepSlide",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "annotations",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "stepId",
+ "imagePath",
+ "modelUploadId",
+ "caption",
+ "size",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "assemblyInstructionStepTool",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "stepId",
+ "itemId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "assemblyUnit",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "modelUploadId",
+ "name",
+ "componentNodeIds",
+ "itemId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "sourceGroupId"
+ ]
+ },
+ {
+ "name": "batchProperty",
+ "rows": 0,
+ "columns": [
+ "dataType",
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "itemId",
+ "label",
+ "listOptions",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "changeOrderSupersession",
+ "rows": 0,
+ "columns": [
+ "supersessionMode",
+ "discontinuationDate",
+ "successorEffectivityDate",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "changeOrderId",
+ "predecessorItemId",
+ "successorItemId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "configurationParameterGroup",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "isUngrouped",
+ "id",
+ "itemId",
+ "name",
+ "companyId"
+ ]
+ },
+ {
+ "name": "configurationParameter",
+ "rows": 0,
+ "columns": [
+ "dataType",
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "itemId",
+ "label",
+ "key",
+ "listOptions",
+ "configurationParameterGroupId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "materialFormFilterId"
+ ]
+ },
+ {
+ "name": "configurationRule",
+ "rows": 0,
+ "columns": [
+ "updatedAt",
+ "itemId",
+ "field",
+ "code",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "demandForecast",
+ "rows": 0,
+ "columns": [
+ "forecastQuantity",
+ "confidence",
+ "createdAt",
+ "updatedAt",
+ "itemId",
+ "locationId",
+ "periodId",
+ "forecastMethod",
+ "notes",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "demandProjection",
+ "rows": 0,
+ "columns": [
+ "forecastQuantity",
+ "confidence",
+ "createdAt",
+ "updatedAt",
+ "itemId",
+ "locationId",
+ "periodId",
+ "forecastMethod",
+ "notes",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "id"
+ ]
+ },
+ {
+ "name": "enforcementRuleItemAssignment",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "itemId",
+ "ruleId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "inspectionDocument",
+ "rows": 0,
+ "columns": [
+ "version",
+ "pageCount",
+ "defaultPageWidth",
+ "defaultPageHeight",
+ "createdAt",
+ "updatedAt",
+ "samplingPlanType",
+ "samplingSampleSize",
+ "samplingPercentage",
+ "samplingAql",
+ "samplingInspectionLevel",
+ "samplingSeverity",
+ "id",
+ "companyId",
+ "partId",
+ "drawingNumber",
+ "storagePath",
+ "fileName",
+ "uploadedBy",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "inspectionFeature",
+ "rows": 0,
+ "columns": [
+ "pageNumber",
+ "createdAt",
+ "updatedAt",
+ "type",
+ "samplingPlanType",
+ "samplingSampleSize",
+ "samplingPercentage",
+ "samplingAql",
+ "samplingInspectionLevel",
+ "samplingSeverity",
+ "id",
+ "inspectionDocumentId",
+ "companyId",
+ "label",
+ "description",
+ "nominalValue",
+ "tolerancePlus",
+ "toleranceMinus",
+ "unit",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "balloon",
+ "rows": 0,
+ "columns": [
+ "pageNumber",
+ "regionX",
+ "regionY",
+ "regionWidth",
+ "regionHeight",
+ "xCoordinate",
+ "yCoordinate",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "inspectionDocumentId",
+ "companyId",
+ "inspectionFeatureId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "inventoryCountLine",
+ "rows": 0,
+ "columns": [
+ "systemQuantity",
+ "countedQuantity",
+ "countedAt",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "companyId",
+ "inventoryCountId",
+ "itemId",
+ "locationId",
+ "storageUnitId",
+ "trackedEntityId",
+ "readableId",
+ "countedBy",
+ "postedItemLedgerId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "itemCost",
+ "rows": 0,
+ "columns": [
+ "costingMethod",
+ "standardCost",
+ "unitCost",
+ "costIsAdjusted",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "itemId",
+ "itemPostingGroupId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "itemInspectionDocumentAssignment",
+ "rows": 0,
+ "columns": [
+ "usage",
+ "createdAt",
+ "updatedAt",
+ "itemId",
+ "inspectionDocumentId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "itemPlanning",
+ "rows": 0,
+ "columns": [
+ "reorderingPolicy",
+ "critical",
+ "demandAccumulationPeriod",
+ "demandAccumulationIncludesInventory",
+ "reorderPoint",
+ "reorderQuantity",
+ "minimumOrderQuantity",
+ "maximumOrderQuantity",
+ "orderMultiple",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "maximumInventoryQuantity",
+ "demandAccumulationSafetyStock",
+ "minimumReserveQuantity",
+ "itemId",
+ "locationId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "itemSerialSequence",
+ "rows": 0,
+ "columns": [
+ "next",
+ "size",
+ "step",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "itemId",
+ "prefix",
+ "suffix",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "itemShelfLife",
+ "rows": 0,
+ "columns": [
+ "mode",
+ "days",
+ "triggerTiming",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "calculateFromBom",
+ "itemId",
+ "triggerProcessId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "itemSupersession",
+ "rows": 0,
+ "columns": [
+ "supersessionMode",
+ "discontinuationDate",
+ "successorEffectivityDate",
+ "conversionFactor",
+ "createdAt",
+ "updatedAt",
+ "itemId",
+ "companyId",
+ "successorItemId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "itemUnitSalePrice",
+ "rows": 0,
+ "columns": [
+ "unitSalePrice",
+ "salesBlocked",
+ "priceIncludesTax",
+ "allowInvoiceDiscount",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "itemId",
+ "currencyCode",
+ "salesUnitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "makeMethod",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "version",
+ "status",
+ "id",
+ "itemId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "changeOrderId"
+ ]
+ },
+ {
+ "name": "changeOrderAffectedItem",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "changeType",
+ "supersessionMode",
+ "discontinuationDate",
+ "successorEffectivityDate",
+ "changeSummary",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "changeOrderId",
+ "itemId",
+ "draftMakeMethodId",
+ "baseMakeMethodId",
+ "newItemId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceItem",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "disposition",
+ "quantity",
+ "id",
+ "nonConformanceId",
+ "itemId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "procedureStep",
+ "rows": 0,
+ "columns": [
+ "required",
+ "sortOrder",
+ "type",
+ "minValue",
+ "maxValue",
+ "createdAt",
+ "updatedAt",
+ "description",
+ "id",
+ "procedureId",
+ "name",
+ "unitOfMeasureCode",
+ "listValues",
+ "fileTypes",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "purchasingRfqLine",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "conversionFactor",
+ "order",
+ "internalNotes",
+ "externalNotes",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "purchasingRfqId",
+ "itemId",
+ "description",
+ "purchaseUnitOfMeasureCode",
+ "inventoryUnitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "qualityDocumentStep",
+ "rows": 0,
+ "columns": [
+ "required",
+ "sortOrder",
+ "type",
+ "minValue",
+ "maxValue",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "qualityDocumentId",
+ "name",
+ "description",
+ "unitOfMeasureCode",
+ "listValues",
+ "fileTypes",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "riskRegister",
+ "rows": 0,
+ "columns": [
+ "id",
+ "source",
+ "severity",
+ "likelihood",
+ "status",
+ "createdAt",
+ "updatedAt",
+ "notes",
+ "type",
+ "companyId",
+ "title",
+ "description",
+ "sourceId",
+ "itemId",
+ "assignee",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "trackedEntity",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "status",
+ "attributes",
+ "createdAt",
+ "expirationDate",
+ "id",
+ "sourceDocument",
+ "sourceDocumentId",
+ "sourceDocumentReadableId",
+ "companyId",
+ "createdBy",
+ "readableId",
+ "itemId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceItemTrackedEntity",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceItemId",
+ "nonConformanceId",
+ "trackedEntityId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceTrackedEntity",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "trackedEntityId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "trackedActivityInput",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "trackedActivityId",
+ "trackedEntityId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "trackedActivityOutput",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "trackedActivityId",
+ "trackedEntityId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "userAttributeCategory",
+ "rows": 0,
+ "columns": [
+ "public",
+ "protected",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "emoji"
+ ]
+ },
+ {
+ "name": "userAttribute",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "attributeDataTypeId",
+ "canSelfManage",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "userAttributeCategoryId",
+ "listOptions",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "userAttributeValue",
+ "rows": 0,
+ "columns": [
+ "valueBoolean",
+ "valueDate",
+ "valueNumeric",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "userAttributeId",
+ "userId",
+ "valueText",
+ "valueUser",
+ "createdBy",
+ "updatedBy",
+ "valueFile"
+ ]
+ },
+ {
+ "name": "userModulePreference",
+ "rows": 0,
+ "columns": [
+ "position",
+ "hidden",
+ "updatedAt",
+ "id",
+ "userId",
+ "companyId",
+ "module"
+ ]
+ },
+ {
+ "name": "userToCompany",
+ "rows": 0,
+ "columns": ["role", "companyId", "userId"]
+ },
+ {
+ "name": "warehouse",
+ "rows": 0,
+ "columns": [
+ "requiresPick",
+ "requiresPutAway",
+ "requiresBin",
+ "requiresReceive",
+ "requiresShipment",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "name",
+ "locationId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "warehouseTransfer",
+ "rows": 0,
+ "columns": [
+ "status",
+ "transferDate",
+ "expectedReceiptDate",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "transferId",
+ "fromLocationId",
+ "toLocationId",
+ "notes",
+ "reference",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "workCenter",
+ "rows": 0,
+ "columns": [
+ "laborRate",
+ "defaultStandardFactor",
+ "active",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "machineRate",
+ "overheadRate",
+ "alwaysOn",
+ "batchCapacity",
+ "minimumBatchQuantity",
+ "id",
+ "name",
+ "description",
+ "locationId",
+ "requiredAbilityId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "departmentId"
+ ]
+ },
+ {
+ "name": "enforcementRuleWorkCenterAssignment",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "workCenterId",
+ "ruleId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "jobOperationBatch",
+ "rows": 0,
+ "columns": [
+ "status",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "mergeOutput",
+ "id",
+ "readableId",
+ "companyId",
+ "processId",
+ "workCenterId",
+ "locationId",
+ "notes",
+ "createdBy",
+ "updatedBy",
+ "outputLotNumber"
+ ]
+ },
+ {
+ "name": "maintenanceSchedule",
+ "rows": 0,
+ "columns": [
+ "frequency",
+ "priority",
+ "estimatedDuration",
+ "active",
+ "lastGeneratedAt",
+ "nextDueAt",
+ "createdAt",
+ "updatedAt",
+ "monday",
+ "tuesday",
+ "wednesday",
+ "thursday",
+ "friday",
+ "saturday",
+ "sunday",
+ "skipHolidays",
+ "takesWorkCenterOffline",
+ "id",
+ "name",
+ "description",
+ "workCenterId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "locationId",
+ "procedureId"
+ ]
+ },
+ {
+ "name": "maintenanceDispatch",
+ "rows": 0,
+ "columns": [
+ "content",
+ "status",
+ "priority",
+ "source",
+ "plannedStartTime",
+ "plannedEndTime",
+ "actualStartTime",
+ "actualEndTime",
+ "completedAt",
+ "createdAt",
+ "updatedAt",
+ "oeeImpact",
+ "severity",
+ "takesWorkCenterOffline",
+ "id",
+ "maintenanceDispatchId",
+ "workCenterId",
+ "maintenanceScheduleId",
+ "suspectedFailureModeId",
+ "actualFailureModeId",
+ "nonConformanceId",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "locationId",
+ "procedureId"
+ ]
+ },
+ {
+ "name": "maintenanceDispatchComment",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "maintenanceDispatchId",
+ "comment",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "maintenanceDispatchEvent",
+ "rows": 0,
+ "columns": [
+ "startTime",
+ "endTime",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "maintenanceDispatchId",
+ "employeeId",
+ "workCenterId",
+ "notes",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "maintenanceDispatchItem",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "unitCost",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "maintenanceDispatchId",
+ "itemId",
+ "unitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "maintenanceDispatchItemTrackedEntity",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "maintenanceDispatchItemId",
+ "trackedEntityId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "maintenanceDispatchWorkCenter",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "maintenanceDispatchId",
+ "workCenterId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "maintenanceScheduleItem",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "maintenanceScheduleId",
+ "itemId",
+ "unitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "peopleAssignment",
+ "rows": 0,
+ "columns": [
+ "date",
+ "createdAt",
+ "updatedAt",
+ "overtimeHours",
+ "hours",
+ "id",
+ "companyId",
+ "locationId",
+ "workCenterId",
+ "employeeId",
+ "shiftId",
+ "note",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "storageUnit",
+ "rows": 0,
+ "columns": [
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "isWorkCenterDefault",
+ "id",
+ "locationId",
+ "warehouseId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "name",
+ "tags",
+ "parentId",
+ "storageTypeIds",
+ "workCenterId"
+ ]
+ },
+ {
+ "name": "itemLedger",
+ "rows": 0,
+ "columns": [
+ "entryNumber",
+ "postingDate",
+ "entryType",
+ "documentType",
+ "quantity",
+ "createdAt",
+ "trackedEntityStatus",
+ "id",
+ "documentId",
+ "externalDocumentId",
+ "itemId",
+ "locationId",
+ "storageUnitId",
+ "companyId",
+ "createdBy",
+ "documentLineId",
+ "trackedEntityId",
+ "comment",
+ "updatedBy",
+ "correctionOfItemLedgerId",
+ "scrapReasonId"
+ ]
+ },
+ {
+ "name": "pickMethod",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "sortMethod",
+ "itemId",
+ "locationId",
+ "defaultStorageUnitId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "warehouseTransferLine",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "shippedQuantity",
+ "receivedQuantity",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "transferId",
+ "itemId",
+ "fromLocationId",
+ "fromStorageUnitId",
+ "toLocationId",
+ "toStorageUnitId",
+ "unitOfMeasureCode",
+ "notes",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "workCenterProcess",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "workCenterId",
+ "processId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "workCenterReplacementPart",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "workCenterId",
+ "itemId",
+ "unitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "workCenterShift",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "workCenterId",
+ "shiftId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "cardTransaction",
+ "rows": 0,
+ "columns": [
+ "type",
+ "status",
+ "transactionDate",
+ "postingDate",
+ "exchangeRate",
+ "amount",
+ "postedAt",
+ "voidedAt",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "updatedBy",
+ "id",
+ "companyId",
+ "cardTransactionId",
+ "integration",
+ "cardAccountId",
+ "offsetAccountId",
+ "supplierId",
+ "merchantName",
+ "cardHolderName",
+ "cardLast4",
+ "memo",
+ "currencyCode",
+ "journalId",
+ "postedBy",
+ "voidedBy",
+ "createdBy"
+ ]
+ },
+ {
+ "name": "cardTransactionLine",
+ "rows": 0,
+ "columns": [
+ "amount",
+ "sequence",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "projectId",
+ "id",
+ "companyId",
+ "cardTransactionId",
+ "accountId",
+ "costCenterId",
+ "description",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "contractor",
+ "rows": 0,
+ "columns": [
+ "hoursPerWeek",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "contractorAbility",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "contractorId",
+ "abilityId",
+ "createdBy",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "costLedger",
+ "rows": 0,
+ "columns": [
+ "entryNumber",
+ "postingDate",
+ "itemLedgerType",
+ "costLedgerType",
+ "adjustment",
+ "documentType",
+ "quantity",
+ "cost",
+ "nominalCost",
+ "createdAt",
+ "remainingQuantity",
+ "id",
+ "documentId",
+ "externalDocumentId",
+ "itemId",
+ "companyId",
+ "supplierId",
+ "appliesToCostLedgerId"
+ ]
+ },
+ {
+ "name": "customer",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "taxPercent",
+ "embedding",
+ "id",
+ "name",
+ "customerTypeId",
+ "customerStatusId",
+ "accountManagerId",
+ "logo",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "currencyCode",
+ "phone",
+ "fax",
+ "website",
+ "tags",
+ "salesContactId",
+ "defaultCc",
+ "intercompanyCompanyId",
+ "readableId"
+ ]
+ },
+ {
+ "name": "customerAccount",
+ "rows": 0,
+ "columns": ["active", "id", "customerId", "companyId"]
+ },
+ {
+ "name": "customerBankAccount",
+ "rows": 0,
+ "columns": [
+ "isPrimary",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "countryCode",
+ "currencyCode",
+ "accountNumber",
+ "bankCode",
+ "swiftBic",
+ "notes",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "id",
+ "companyId",
+ "customerId",
+ "name",
+ "accountHolderName",
+ "bankName",
+ "bankAddress"
+ ]
+ },
+ {
+ "name": "customerItemPriceOverride",
+ "rows": 0,
+ "columns": [
+ "validFrom",
+ "validTo",
+ "active",
+ "applyRulesOnTop",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "customerId",
+ "customerTypeId",
+ "itemId",
+ "notes",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "customerItemPriceOverrideBreak",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "overridePrice",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "customerItemPriceOverrideId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "customerLocation",
+ "rows": 0,
+ "columns": [
+ "customFields",
+ "id",
+ "customerId",
+ "addressId",
+ "name",
+ "tags",
+ "companyId"
+ ]
+ },
+ {
+ "name": "customerContact",
+ "rows": 0,
+ "columns": [
+ "customFields",
+ "id",
+ "customerId",
+ "contactId",
+ "customerLocationId",
+ "userId",
+ "tags",
+ "companyId"
+ ]
+ },
+ {
+ "name": "customerPartToItem",
+ "rows": 0,
+ "columns": [
+ "customerId",
+ "customerPartId",
+ "customerPartRevision",
+ "itemId",
+ "companyId",
+ "id"
+ ]
+ },
+ {
+ "name": "customerPayment",
+ "rows": 0,
+ "columns": [
+ "updatedAt",
+ "customerId",
+ "invoiceCustomerId",
+ "invoiceCustomerLocationId",
+ "invoiceCustomerContactId",
+ "paymentTermId",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "customerShipping",
+ "rows": 0,
+ "columns": [
+ "updatedAt",
+ "incoterm",
+ "customerId",
+ "shippingCustomerId",
+ "shippingCustomerLocationId",
+ "shippingCustomerContactId",
+ "shippingTermId",
+ "shippingMethodId",
+ "companyId",
+ "updatedBy",
+ "incotermLocation"
+ ]
+ },
+ {
+ "name": "customerTax",
+ "rows": 0,
+ "columns": [
+ "taxExempt",
+ "taxExemptionReason",
+ "updatedAt",
+ "customerId",
+ "taxId",
+ "vatNumber",
+ "eori",
+ "taxExemptionCertificateNumber",
+ "taxExemptionCertificatePath",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "fixture",
+ "rows": 0,
+ "columns": [
+ "approved",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "itemId",
+ "customerId",
+ "approvedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "nonConformanceCustomer",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "customerId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "opportunity",
+ "rows": 0,
+ "columns": [
+ "id",
+ "companyId",
+ "purchaseOrderDocumentPath",
+ "requestForQuoteDocumentPath",
+ "customerId"
+ ]
+ },
+ {
+ "name": "salesOrder",
+ "rows": 0,
+ "columns": [
+ "revisionId",
+ "status",
+ "orderDate",
+ "closedAt",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "exchangeRate",
+ "exchangeRateUpdatedAt",
+ "externalNotes",
+ "internalNotes",
+ "sentCompleteDate",
+ "completedDate",
+ "id",
+ "salesOrderId",
+ "currencyCode",
+ "customerId",
+ "customerLocationId",
+ "customerContactId",
+ "customerReference",
+ "assignee",
+ "companyId",
+ "closedBy",
+ "createdBy",
+ "updatedBy",
+ "locationId",
+ "salesPersonId",
+ "opportunityId",
+ "customerEngineeringContactId"
+ ]
+ },
+ {
+ "name": "salesOrderFavorite",
+ "rows": 0,
+ "columns": ["salesOrderId", "userId"]
+ },
+ {
+ "name": "salesOrderLine",
+ "rows": 0,
+ "columns": [
+ "salesOrderLineType",
+ "saleQuantity",
+ "quantitySent",
+ "quantityInvoiced",
+ "unitPrice",
+ "setupPrice",
+ "sentComplete",
+ "invoicedComplete",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "status",
+ "promisedDate",
+ "addOnCost",
+ "methodType",
+ "exchangeRate",
+ "shippingCost",
+ "taxPercent",
+ "internalNotes",
+ "externalNotes",
+ "sentDate",
+ "nonTaxableAddOnCost",
+ "priceTrace",
+ "sortOrder",
+ "id",
+ "salesOrderId",
+ "itemId",
+ "assetId",
+ "description",
+ "unitOfMeasureCode",
+ "locationId",
+ "storageUnitId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "modelUploadId",
+ "accountId",
+ "pricingRuleId"
+ ]
+ },
+ {
+ "name": "nonConformanceSalesOrderLine",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "salesOrderLineId",
+ "salesOrderId",
+ "salesOrderReadableId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "salesOrderPayment",
+ "rows": 0,
+ "columns": [
+ "paymentComplete",
+ "updatedAt",
+ "customFields",
+ "id",
+ "invoiceCustomerId",
+ "invoiceCustomerLocationId",
+ "invoiceCustomerContactId",
+ "paymentTermId",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "salesOrderShipment",
+ "rows": 0,
+ "columns": [
+ "receiptRequestedDate",
+ "receiptPromisedDate",
+ "deliveryDate",
+ "dropShipment",
+ "updatedAt",
+ "customFields",
+ "shippingCost",
+ "incoterm",
+ "id",
+ "locationId",
+ "shippingMethodId",
+ "shippingTermId",
+ "notes",
+ "trackingNumber",
+ "customerId",
+ "customerLocationId",
+ "supplierId",
+ "supplierLocationId",
+ "companyId",
+ "updatedBy",
+ "assignee",
+ "incotermLocation"
+ ]
+ },
+ {
+ "name": "salesOrderStatusHistory",
+ "rows": 0,
+ "columns": [
+ "status",
+ "createdAt",
+ "id",
+ "salesOrderId",
+ "createdBy",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "salesOrderTransaction",
+ "rows": 0,
+ "columns": [
+ "type",
+ "createdAt",
+ "id",
+ "salesOrderId",
+ "userId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "salesReturnOrder",
+ "rows": 0,
+ "columns": [
+ "status",
+ "exchangeRate",
+ "orderDate",
+ "expirationDate",
+ "internalNotes",
+ "externalNotes",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "salesReturnOrderId",
+ "customerId",
+ "customerLocationId",
+ "customerContactId",
+ "customerReference",
+ "locationId",
+ "salesOrderId",
+ "replacementSalesOrderId",
+ "currencyCode",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "salesRfq",
+ "rows": 0,
+ "columns": [
+ "revisionId",
+ "status",
+ "rfqDate",
+ "expirationDate",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "externalNotes",
+ "internalNotes",
+ "completedDate",
+ "id",
+ "rfqId",
+ "employeeId",
+ "customerId",
+ "customerContactId",
+ "customerReference",
+ "locationId",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "customerLocationId",
+ "salesPersonId",
+ "tags",
+ "noQuoteReasonId",
+ "opportunityId",
+ "customerEngineeringContactId"
+ ]
+ },
+ {
+ "name": "salesRfqFavorite",
+ "rows": 0,
+ "columns": ["rfqId", "userId"]
+ },
+ {
+ "name": "salesRfqLine",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "order",
+ "internalNotes",
+ "externalNotes",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "salesRfqId",
+ "itemId",
+ "description",
+ "unitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "modelUploadId",
+ "customerPartId",
+ "customerPartRevision",
+ "tags"
+ ]
+ },
+ {
+ "name": "externalLink",
+ "rows": 0,
+ "columns": [
+ "id",
+ "documentType",
+ "createdAt",
+ "expiresAt",
+ "documentId",
+ "customerId",
+ "companyId",
+ "supplierId"
+ ]
+ },
+ {
+ "name": "quote",
+ "rows": 0,
+ "columns": [
+ "revisionId",
+ "dueDate",
+ "expirationDate",
+ "status",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "externalNotes",
+ "internalNotes",
+ "exchangeRate",
+ "exchangeRateUpdatedAt",
+ "externalLinkId",
+ "completedDate",
+ "id",
+ "quoteId",
+ "salesPersonId",
+ "estimatorId",
+ "customerId",
+ "customerLocationId",
+ "customerContactId",
+ "customerReference",
+ "locationId",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "currencyCode",
+ "digitalQuoteAcceptedBy",
+ "digitalQuoteAcceptedByEmail",
+ "tags",
+ "digitalQuoteRejectedBy",
+ "digitalQuoteRejectedByEmail",
+ "opportunityId",
+ "customerEngineeringContactId"
+ ]
+ },
+ {
+ "name": "job",
+ "rows": 0,
+ "columns": [
+ "status",
+ "dueDate",
+ "deadlineType",
+ "quantity",
+ "scrapQuantity",
+ "quantityComplete",
+ "quantityShipped",
+ "quantityReceivedToInventory",
+ "notes",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "configuration",
+ "releasedDate",
+ "completedDate",
+ "estimatedTime",
+ "actualTime",
+ "startDate",
+ "priority",
+ "projectedCompletionAt",
+ "scheduleOutdatedAt",
+ "id",
+ "jobId",
+ "itemId",
+ "unitOfMeasureCode",
+ "customerId",
+ "locationId",
+ "salesOrderId",
+ "salesOrderLineId",
+ "quoteId",
+ "quoteLineId",
+ "modelUploadId",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "storageUnitId",
+ "scheduleOutdatedReason"
+ ]
+ },
+ {
+ "name": "fulfillment",
+ "rows": 0,
+ "columns": [
+ "type",
+ "quantity",
+ "createdAt",
+ "id",
+ "salesOrderLineId",
+ "jobId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "jobFavorite",
+ "rows": 0,
+ "columns": ["jobId", "userId"]
+ },
+ {
+ "name": "quoteFavorite",
+ "rows": 0,
+ "columns": ["quoteId", "userId"]
+ },
+ {
+ "name": "quoteLine",
+ "rows": 0,
+ "columns": [
+ "quoteRevisionId",
+ "status",
+ "methodType",
+ "internalNotes",
+ "updatedAt",
+ "customFields",
+ "quantity",
+ "additionalCharges",
+ "taxPercent",
+ "unitPricePrecision",
+ "externalNotes",
+ "configuration",
+ "priceTrace",
+ "sortOrder",
+ "id",
+ "quoteId",
+ "estimatorId",
+ "itemId",
+ "itemType",
+ "description",
+ "customerPartId",
+ "customerPartRevision",
+ "unitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "modelUploadId",
+ "locationId",
+ "noQuoteReason",
+ "tags",
+ "pricingRuleId"
+ ]
+ },
+ {
+ "name": "quoteLinePrice",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "leadTime",
+ "discountPercent",
+ "createdAt",
+ "updatedAt",
+ "unitPrice",
+ "exchangeRate",
+ "shippingCost",
+ "categoryMarkups",
+ "quoteId",
+ "quoteLineId",
+ "createdBy",
+ "updatedBy",
+ "companyId",
+ "priceSource"
+ ]
+ },
+ {
+ "name": "quotePayment",
+ "rows": 0,
+ "columns": [
+ "updatedAt",
+ "customFields",
+ "id",
+ "invoiceCustomerId",
+ "invoiceCustomerLocationId",
+ "invoiceCustomerContactId",
+ "paymentTermId",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "quoteShipment",
+ "rows": 0,
+ "columns": [
+ "receiptRequestedDate",
+ "updatedAt",
+ "shippingCost",
+ "incoterm",
+ "id",
+ "locationId",
+ "shippingMethodId",
+ "shippingTermId",
+ "companyId",
+ "updatedBy",
+ "incotermLocation"
+ ]
+ },
+ {
+ "name": "capacityReservation",
+ "rows": 0,
+ "columns": [
+ "resourceKind",
+ "startAt",
+ "endAt",
+ "createdAt",
+ "updatedAt",
+ "earliestStartAt",
+ "workHours",
+ "isPlaceholder",
+ "id",
+ "companyId",
+ "resourceId",
+ "operationId",
+ "jobId",
+ "scenarioId",
+ "createdBy",
+ "updatedBy",
+ "scheduleNote",
+ "jobOperationBatchId"
+ ]
+ },
+ {
+ "name": "gauge",
+ "rows": 0,
+ "columns": [
+ "dateAcquired",
+ "gaugeCalibrationStatus",
+ "gaugeStatus",
+ "gaugeRole",
+ "calibrationIntervalInMonths",
+ "lastCalibrationDate",
+ "nextCalibrationDate",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "lastCalibrationStatus",
+ "id",
+ "gaugeId",
+ "supplierId",
+ "modelNumber",
+ "serialNumber",
+ "description",
+ "gaugeTypeId",
+ "locationId",
+ "storageUnitId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "gaugeCalibrationRecord",
+ "rows": 0,
+ "columns": [
+ "dateCalibrated",
+ "inspectionStatus",
+ "requiresAction",
+ "requiresAdjustment",
+ "requiresRepair",
+ "notes",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "temperature",
+ "humidity",
+ "calibrationAttempts",
+ "id",
+ "gaugeId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "supplierId",
+ "approvedBy",
+ "measurementStandard"
+ ]
+ },
+ {
+ "name": "inspection",
+ "rows": 0,
+ "columns": [
+ "lotSize",
+ "samplingStandard",
+ "samplingPlanType",
+ "sampleSize",
+ "acceptanceNumber",
+ "rejectionNumber",
+ "aql",
+ "inspectionLevel",
+ "severity",
+ "status",
+ "dispositionedAt",
+ "createdAt",
+ "updatedAt",
+ "sourceDocument",
+ "id",
+ "inspectionId",
+ "itemId",
+ "itemReadableId",
+ "supplierId",
+ "codeLetter",
+ "notes",
+ "dispositionedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "inspectionDocumentId",
+ "sourceDocumentId",
+ "sourceDocumentLineId",
+ "sourceDocumentReadableId"
+ ]
+ },
+ {
+ "name": "inspectionSample",
+ "rows": 0,
+ "columns": [
+ "status",
+ "inspectedAt",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "inspectionId",
+ "trackedEntityId",
+ "notes",
+ "inspectedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "inspectionMeasurement",
+ "rows": 0,
+ "columns": [
+ "value",
+ "status",
+ "inspectedAt",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "inspectionId",
+ "inspectionSampleId",
+ "inspectionFeatureId",
+ "notes",
+ "inspectedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "inspectionSamplingPlan",
+ "rows": 0,
+ "columns": [
+ "sampleSize",
+ "acceptanceNumber",
+ "rejectionNumber",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "inspectionId",
+ "inspectionFeatureId",
+ "codeLetter",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceInspection",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "id",
+ "nonConformanceId",
+ "inspectionId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "inspectionHistory",
+ "rows": 0,
+ "columns": [
+ "samplingStandard",
+ "severity",
+ "inspectionLevel",
+ "aql",
+ "lotSize",
+ "sampleSize",
+ "defectsFound",
+ "createdAt",
+ "id",
+ "inspectionId",
+ "itemId",
+ "supplierId",
+ "outcome",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "itemReplenishment",
+ "rows": 0,
+ "columns": [
+ "conversionFactor",
+ "purchasingBlocked",
+ "manufacturingBlocked",
+ "requiresConfiguration",
+ "lotSize",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "scrapPercentage",
+ "leadTime",
+ "itemId",
+ "preferredSupplierId",
+ "purchasingUnitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "jobMakeMethod",
+ "rows": 0,
+ "columns": [
+ "quantityPerParent",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "requiresSerialTracking",
+ "requiresBatchTracking",
+ "version",
+ "itemScrapPercentage",
+ "id",
+ "jobId",
+ "parentMaterialId",
+ "itemId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "trackedEntityId"
+ ]
+ },
+ {
+ "name": "jobMaterial",
+ "rows": 0,
+ "columns": [
+ "methodType",
+ "order",
+ "quantity",
+ "scrapQuantity",
+ "unitCost",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "estimatedQuantity",
+ "defaultStorageUnit",
+ "quantityIssued",
+ "requiresSerialTracking",
+ "requiresBatchTracking",
+ "kit",
+ "itemScrapPercentage",
+ "substitutionFactor",
+ "id",
+ "jobId",
+ "itemId",
+ "itemType",
+ "description",
+ "unitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "jobMakeMethodId",
+ "jobOperationId",
+ "storageUnitId",
+ "substitutedFromItemId"
+ ]
+ },
+ {
+ "name": "stockTransferLine",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "pickedQuantity",
+ "requiresBatchTracking",
+ "requiresSerialTracking",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "stockTransferId",
+ "jobId",
+ "jobMaterialId",
+ "itemId",
+ "fromStorageUnitId",
+ "toStorageUnitId",
+ "trackedEntityId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "jobMaterialStep",
+ "rows": 0,
+ "columns": ["quantity", "jobMaterialId", "jobOperationStepId"]
+ },
+ {
+ "name": "jobOperation",
+ "rows": 0,
+ "columns": [
+ "order",
+ "setupTime",
+ "setupUnit",
+ "laborTime",
+ "laborUnit",
+ "machineTime",
+ "machineUnit",
+ "operationOrder",
+ "laborRate",
+ "overheadRate",
+ "machineRate",
+ "operationType",
+ "operationMinimumCost",
+ "operationLeadTime",
+ "operationUnitCost",
+ "workInstruction",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "operationQuantity",
+ "quantityComplete",
+ "quantityScrapped",
+ "quantityReworked",
+ "status",
+ "priority",
+ "startDate",
+ "dueDate",
+ "hasConflict",
+ "targetQuantity",
+ "manuallyScheduled",
+ "readyAt",
+ "projectedCompletionAt",
+ "id",
+ "jobId",
+ "jobMakeMethodId",
+ "processId",
+ "workCenterId",
+ "description",
+ "operationSupplierProcessId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "assignee",
+ "tags",
+ "procedureId",
+ "conflictReason",
+ "reworkId",
+ "assemblyInstructionId",
+ "inspectionDocumentId",
+ "jobOperationBatchId"
+ ]
+ },
+ {
+ "name": "jobOperationDependency",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "operationId",
+ "dependsOnId",
+ "jobId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "jobOperationParameter",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "key",
+ "value",
+ "operationId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "jobOperationTool",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "operationId",
+ "toolId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceJobOperation",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "jobOperationId",
+ "jobId",
+ "jobReadableId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "pickingListLine",
+ "rows": 0,
+ "columns": [
+ "quantityToPick",
+ "quantityPicked",
+ "status",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "quantityReturned",
+ "id",
+ "pickingListId",
+ "jobId",
+ "jobMaterialId",
+ "jobOperationId",
+ "itemId",
+ "storageUnitId",
+ "toStorageUnitId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "pickingListLineTrackedEntity",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "quantityPicked",
+ "pickingListLineId",
+ "trackedEntityId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "productionEvent",
+ "rows": 0,
+ "columns": [
+ "type",
+ "startTime",
+ "endTime",
+ "createdAt",
+ "updatedAt",
+ "postedToGL",
+ "id",
+ "jobOperationId",
+ "employeeId",
+ "workCenterId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "notes",
+ "jobOperationBatchId"
+ ]
+ },
+ {
+ "name": "productionQuantity",
+ "rows": 0,
+ "columns": [
+ "type",
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "jobOperationId",
+ "setupProductionEventId",
+ "laborProductionEventId",
+ "machineProductionEventId",
+ "notes",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "scrapReasonId",
+ "inspectionId",
+ "inspectionSampleId"
+ ]
+ },
+ {
+ "name": "jobOperationNote",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "jobOperationId",
+ "note",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "productionQuantityId"
+ ]
+ },
+ {
+ "name": "rework",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "completedAt",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "jobId",
+ "triggeredAtJobOperationId",
+ "targetJobOperationId",
+ "reason",
+ "requestedById",
+ "companyId"
+ ]
+ },
+ {
+ "name": "jobOperationStep",
+ "rows": 0,
+ "columns": [
+ "required",
+ "sortOrder",
+ "type",
+ "minValue",
+ "maxValue",
+ "createdAt",
+ "updatedAt",
+ "description",
+ "id",
+ "name",
+ "unitOfMeasureCode",
+ "listValues",
+ "fileTypes",
+ "operationId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "nonConformanceActionId",
+ "nonConformanceInvestigationId",
+ "assemblyInstructionStepId"
+ ]
+ },
+ {
+ "name": "jobOperationStepRecord",
+ "rows": 0,
+ "columns": [
+ "numericValue",
+ "booleanValue",
+ "createdAt",
+ "updatedAt",
+ "index",
+ "jobOperationStepId",
+ "value",
+ "userValue",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "id"
+ ]
+ },
+ {
+ "name": "jobOperationStepSlide",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "annotations",
+ "id",
+ "stepId",
+ "imagePath",
+ "caption",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "size",
+ "modelUploadId"
+ ]
+ },
+ {
+ "name": "jobOperationToolStep",
+ "rows": 0,
+ "columns": ["jobOperationToolId", "jobOperationStepId"]
+ },
+ {
+ "name": "kanban",
+ "rows": 0,
+ "columns": [
+ "replenishmentSystem",
+ "quantity",
+ "conversionFactor",
+ "autoRelease",
+ "createdAt",
+ "updatedAt",
+ "autoStartJob",
+ "id",
+ "itemId",
+ "locationId",
+ "storageUnitId",
+ "supplierId",
+ "purchaseUnitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "completedBarcodeOverride",
+ "jobId",
+ "fromStorageUnitId"
+ ]
+ },
+ {
+ "name": "methodMaterial",
+ "rows": 0,
+ "columns": [
+ "methodType",
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "order",
+ "scrapQuantity",
+ "kit",
+ "storageUnitIds",
+ "sourcingType",
+ "id",
+ "makeMethodId",
+ "materialMakeMethodId",
+ "itemType",
+ "itemId",
+ "unitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "methodOperationId",
+ "tags"
+ ]
+ },
+ {
+ "name": "methodMaterialStep",
+ "rows": 0,
+ "columns": ["quantity", "methodMaterialId", "methodOperationStepId"]
+ },
+ {
+ "name": "methodOperation",
+ "rows": 0,
+ "columns": [
+ "order",
+ "operationOrder",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "setupTime",
+ "setupUnit",
+ "laborTime",
+ "laborUnit",
+ "machineTime",
+ "machineUnit",
+ "operationType",
+ "workInstruction",
+ "operationMinimumCost",
+ "operationLeadTime",
+ "operationUnitCost",
+ "id",
+ "makeMethodId",
+ "description",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "processId",
+ "workCenterId",
+ "operationSupplierProcessId",
+ "tags",
+ "procedureId",
+ "assemblyInstructionId",
+ "inspectionDocumentId"
+ ]
+ },
+ {
+ "name": "methodOperationParameter",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "key",
+ "value",
+ "operationId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "methodOperationStep",
+ "rows": 0,
+ "columns": [
+ "required",
+ "sortOrder",
+ "type",
+ "minValue",
+ "maxValue",
+ "createdAt",
+ "updatedAt",
+ "description",
+ "id",
+ "name",
+ "unitOfMeasureCode",
+ "listValues",
+ "fileTypes",
+ "operationId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "assemblyInstructionStepId"
+ ]
+ },
+ {
+ "name": "methodOperationStepSlide",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "annotations",
+ "id",
+ "stepId",
+ "imagePath",
+ "caption",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "size",
+ "modelUploadId"
+ ]
+ },
+ {
+ "name": "methodOperationTool",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "operationId",
+ "toolId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "methodOperationToolStep",
+ "rows": 0,
+ "columns": ["methodOperationToolId", "methodOperationStepId"]
+ },
+ {
+ "name": "nonConformanceActionProcess",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "actionTaskId",
+ "processId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceActionTask",
+ "rows": 0,
+ "columns": [
+ "status",
+ "dueDate",
+ "completedDate",
+ "notes",
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "assignee",
+ "tags",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "actionTypeId",
+ "supplierId"
+ ]
+ },
+ {
+ "name": "nonConformancePurchaseReturnOrderLine",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "purchaseReturnOrderLineId",
+ "purchaseReturnOrderId",
+ "purchaseReturnOrderReadableId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceSalesReturnOrderLine",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "salesReturnOrderLineId",
+ "salesReturnOrderId",
+ "salesReturnOrderReadableId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceSupplier",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "externalLinkId",
+ "id",
+ "nonConformanceId",
+ "supplierId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "partner",
+ "rows": 0,
+ "columns": [
+ "hoursPerWeek",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "abilityId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "payment",
+ "rows": 0,
+ "columns": [
+ "paymentType",
+ "status",
+ "paymentDate",
+ "postingDate",
+ "exchangeRate",
+ "totalAmount",
+ "postedAt",
+ "voidedAt",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "paymentId",
+ "customerId",
+ "supplierId",
+ "currencyCode",
+ "bankAccount",
+ "reference",
+ "memo",
+ "journalId",
+ "postedBy",
+ "voidedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "purchaseInvoiceDelivery",
+ "rows": 0,
+ "columns": [
+ "supplierShippingCost",
+ "updatedAt",
+ "customFields",
+ "incoterm",
+ "id",
+ "locationId",
+ "shippingMethodId",
+ "shippingTermId",
+ "companyId",
+ "updatedBy",
+ "incotermLocation"
+ ]
+ },
+ {
+ "name": "purchaseInvoiceStatusHistory",
+ "rows": 0,
+ "columns": ["createdAt", "status", "id", "invoiceId", "companyId"]
+ },
+ {
+ "name": "purchaseOrderDelivery",
+ "rows": 0,
+ "columns": [
+ "receiptRequestedDate",
+ "receiptPromisedDate",
+ "deliveryDate",
+ "dropShipment",
+ "updatedAt",
+ "customFields",
+ "supplierShippingCost",
+ "incoterm",
+ "id",
+ "locationId",
+ "shippingMethodId",
+ "shippingTermId",
+ "notes",
+ "trackingNumber",
+ "customerId",
+ "customerLocationId",
+ "companyId",
+ "updatedBy",
+ "tags",
+ "incotermLocation"
+ ]
+ },
+ {
+ "name": "purchaseOrderFavorite",
+ "rows": 0,
+ "columns": ["purchaseOrderId", "userId"]
+ },
+ {
+ "name": "purchaseOrderLine",
+ "rows": 0,
+ "columns": [
+ "purchaseOrderLineType",
+ "purchaseQuantity",
+ "quantityReceived",
+ "quantityInvoiced",
+ "supplierUnitPrice",
+ "setupPrice",
+ "receivedComplete",
+ "invoicedComplete",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "conversionFactor",
+ "internalNotes",
+ "externalNotes",
+ "exchangeRate",
+ "supplierShippingCost",
+ "supplierTaxAmount",
+ "taxPercent",
+ "quantityShipped",
+ "promisedDate",
+ "requiredDate",
+ "receivedDate",
+ "sortOrder",
+ "id",
+ "purchaseOrderId",
+ "itemId",
+ "assetId",
+ "description",
+ "inventoryUnitOfMeasureCode",
+ "purchaseUnitOfMeasureCode",
+ "locationId",
+ "storageUnitId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "modelUploadId",
+ "jobId",
+ "jobOperationId",
+ "accountId",
+ "costCenterId",
+ "ownerId",
+ "supplierPartId"
+ ]
+ },
+ {
+ "name": "nonConformancePurchaseOrderLine",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "purchaseOrderLineId",
+ "purchaseOrderId",
+ "purchaseOrderReadableId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "purchaseOrderStatusHistory",
+ "rows": 0,
+ "columns": [
+ "status",
+ "createdAt",
+ "id",
+ "purchaseOrderId",
+ "createdBy",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "purchaseOrderTransaction",
+ "rows": 0,
+ "columns": [
+ "type",
+ "createdAt",
+ "id",
+ "purchaseOrderId",
+ "userId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "purchaseReturnOrderLineTrackedEntity",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "purchaseReturnOrderLineId",
+ "trackedEntityId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "purchasingRfqSupplier",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "id",
+ "purchasingRfqId",
+ "supplierId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "purchasingRfqToPurchaseOrder",
+ "rows": 0,
+ "columns": ["purchasingRfqId", "purchaseOrderId", "companyId"]
+ },
+ {
+ "name": "purchasingRfqToSupplierQuote",
+ "rows": 0,
+ "columns": ["purchasingRfqId", "supplierQuoteId", "companyId"]
+ },
+ {
+ "name": "quoteMakeMethod",
+ "rows": 0,
+ "columns": [
+ "quantityPerParent",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "version",
+ "id",
+ "quoteId",
+ "quoteLineId",
+ "parentMaterialId",
+ "itemId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "quoteMaterial",
+ "rows": 0,
+ "columns": [
+ "methodType",
+ "order",
+ "quantity",
+ "unitCost",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "scrapQuantity",
+ "kit",
+ "id",
+ "quoteId",
+ "quoteLineId",
+ "itemId",
+ "itemType",
+ "description",
+ "unitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "quoteMakeMethodId",
+ "quoteOperationId",
+ "tags",
+ "storageUnitId",
+ "unitCostSource"
+ ]
+ },
+ {
+ "name": "quoteMaterialStep",
+ "rows": 0,
+ "columns": ["quantity", "quoteMaterialId", "quoteOperationStepId"]
+ },
+ {
+ "name": "quoteOperation",
+ "rows": 0,
+ "columns": [
+ "order",
+ "operationOrder",
+ "laborRate",
+ "overheadRate",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "setupTime",
+ "setupUnit",
+ "laborTime",
+ "laborUnit",
+ "machineTime",
+ "machineUnit",
+ "machineRate",
+ "operationType",
+ "operationMinimumCost",
+ "operationLeadTime",
+ "operationUnitCost",
+ "workInstruction",
+ "id",
+ "quoteId",
+ "quoteLineId",
+ "quoteMakeMethodId",
+ "description",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "processId",
+ "workCenterId",
+ "operationSupplierProcessId",
+ "tags",
+ "procedureId",
+ "assemblyInstructionId",
+ "inspectionDocumentId"
+ ]
+ },
+ {
+ "name": "quoteOperationParameter",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "key",
+ "value",
+ "operationId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "quoteOperationStep",
+ "rows": 0,
+ "columns": [
+ "required",
+ "sortOrder",
+ "type",
+ "minValue",
+ "maxValue",
+ "createdAt",
+ "updatedAt",
+ "description",
+ "id",
+ "name",
+ "unitOfMeasureCode",
+ "listValues",
+ "fileTypes",
+ "operationId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "quoteOperationStepSlide",
+ "rows": 0,
+ "columns": [
+ "sortOrder",
+ "createdAt",
+ "updatedAt",
+ "annotations",
+ "id",
+ "stepId",
+ "imagePath",
+ "caption",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "size",
+ "modelUploadId"
+ ]
+ },
+ {
+ "name": "quoteOperationTool",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "operationId",
+ "toolId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "quoteOperationToolStep",
+ "rows": 0,
+ "columns": ["quoteOperationToolId", "quoteOperationStepId"]
+ },
+ {
+ "name": "receiptFixedAssetLine",
+ "rows": 0,
+ "columns": [
+ "received",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "receiptId",
+ "purchaseOrderLineId",
+ "serialNumber",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "receiptLine",
+ "rows": 0,
+ "columns": [
+ "orderQuantity",
+ "outstandingQuantity",
+ "receivedQuantity",
+ "unitPrice",
+ "createdAt",
+ "updatedAt",
+ "conversionFactor",
+ "requiresSerialTracking",
+ "requiresBatchTracking",
+ "id",
+ "receiptId",
+ "lineId",
+ "itemId",
+ "locationId",
+ "storageUnitId",
+ "unitOfMeasure",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "nonConformanceReceiptLine",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "receiptLineId",
+ "receiptId",
+ "receiptReadableId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "salesInvoice",
+ "rows": 0,
+ "columns": [
+ "status",
+ "postingDate",
+ "dateIssued",
+ "dateDue",
+ "datePaid",
+ "subtotal",
+ "totalDiscount",
+ "totalAmount",
+ "totalTax",
+ "exchangeRate",
+ "exchangeRateUpdatedAt",
+ "customFields",
+ "internalNotes",
+ "externalNotes",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "invoiceId",
+ "customerId",
+ "customerReference",
+ "invoiceCustomerId",
+ "invoiceCustomerLocationId",
+ "invoiceCustomerContactId",
+ "paymentTermId",
+ "locationId",
+ "currencyCode",
+ "opportunityId",
+ "shipmentId",
+ "assignee",
+ "companyId",
+ "tags",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "salesInvoiceLine",
+ "rows": 0,
+ "columns": [
+ "invoiceLineType",
+ "methodType",
+ "quantity",
+ "exchangeRate",
+ "unitPrice",
+ "setupPrice",
+ "addOnCost",
+ "shippingCost",
+ "taxPercent",
+ "externalNotes",
+ "internalNotes",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "nonTaxableAddOnCost",
+ "sortOrder",
+ "id",
+ "invoiceId",
+ "description",
+ "itemId",
+ "assetId",
+ "unitOfMeasureCode",
+ "locationId",
+ "storageUnitId",
+ "modelUploadId",
+ "opportunityId",
+ "salesOrderId",
+ "salesOrderLineId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "accountId"
+ ]
+ },
+ {
+ "name": "salesInvoiceShipment",
+ "rows": 0,
+ "columns": [
+ "shippingCost",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "incoterm",
+ "id",
+ "locationId",
+ "shippingMethodId",
+ "shippingTermId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "incotermLocation"
+ ]
+ },
+ {
+ "name": "salesReturnOrderLine",
+ "rows": 0,
+ "columns": [
+ "lineNumber",
+ "quantity",
+ "quantityReceived",
+ "unitPrice",
+ "restockFeePercent",
+ "disposition",
+ "closedComplete",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "createdBy",
+ "updatedBy",
+ "id",
+ "salesReturnOrderId",
+ "itemId",
+ "unitOfMeasureCode",
+ "returnReasonId",
+ "salesOrderLineId",
+ "shipmentLineId",
+ "salesInvoiceLineId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "salesReturnOrderLineTrackedEntity",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "createdAt",
+ "updatedAt",
+ "salesReturnOrderLineId",
+ "trackedEntityId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "salesReturnOrderCreditLine",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "unitPrice",
+ "restockFee",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "memoId",
+ "salesReturnOrderLineId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "shipmentFixedAssetLine",
+ "rows": 0,
+ "columns": [
+ "shipped",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "shipmentId",
+ "salesOrderLineId",
+ "serialNumber",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "shipmentLine",
+ "rows": 0,
+ "columns": [
+ "orderQuantity",
+ "outstandingQuantity",
+ "shippedQuantity",
+ "unitPrice",
+ "requiresSerialTracking",
+ "requiresBatchTracking",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "shipmentId",
+ "lineId",
+ "itemId",
+ "locationId",
+ "storageUnitId",
+ "unitOfMeasure",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "fulfillmentId"
+ ]
+ },
+ {
+ "name": "nonConformanceShipmentLine",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "id",
+ "nonConformanceId",
+ "shipmentLineId",
+ "shipmentId",
+ "shipmentReadableId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "supplier",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "taxPercent",
+ "embedding",
+ "supplierStatus",
+ "id",
+ "name",
+ "supplierTypeId",
+ "accountManagerId",
+ "logo",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "currencyCode",
+ "phone",
+ "fax",
+ "website",
+ "tags",
+ "purchasingContactId",
+ "defaultCc",
+ "intercompanyCompanyId",
+ "readableId"
+ ]
+ },
+ {
+ "name": "supplierAccount",
+ "rows": 0,
+ "columns": ["active", "id", "supplierId", "companyId"]
+ },
+ {
+ "name": "supplierBankAccount",
+ "rows": 0,
+ "columns": [
+ "isPrimary",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "companyId",
+ "supplierId",
+ "name",
+ "accountHolderName",
+ "bankName",
+ "bankAddress",
+ "countryCode",
+ "currencyCode",
+ "accountNumber",
+ "bankCode",
+ "swiftBic",
+ "notes",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "supplierInteraction",
+ "rows": 0,
+ "columns": ["id", "companyId", "supplierId"]
+ },
+ {
+ "name": "receipt",
+ "rows": 0,
+ "columns": [
+ "sourceDocument",
+ "status",
+ "postingDate",
+ "invoiced",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "internalNotes",
+ "id",
+ "receiptId",
+ "locationId",
+ "sourceDocumentId",
+ "sourceDocumentReadableId",
+ "externalDocumentId",
+ "supplierId",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "supplierInteractionId",
+ "postedBy"
+ ]
+ },
+ {
+ "name": "shipment",
+ "rows": 0,
+ "columns": [
+ "sourceDocument",
+ "status",
+ "postingDate",
+ "invoiced",
+ "internalNotes",
+ "externalNotes",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "shipmentId",
+ "locationId",
+ "sourceDocumentId",
+ "sourceDocumentReadableId",
+ "shippingMethodId",
+ "trackingNumber",
+ "customerId",
+ "postedBy",
+ "assignee",
+ "opportunityId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "supplierId",
+ "supplierInteractionId",
+ "externalDocumentId"
+ ]
+ },
+ {
+ "name": "supplierLedger",
+ "rows": 0,
+ "columns": [
+ "entryNumber",
+ "postingDate",
+ "documentType",
+ "amount",
+ "createdAt",
+ "id",
+ "documentId",
+ "externalDocumentId",
+ "supplierId",
+ "companyId"
+ ]
+ },
+ {
+ "name": "supplierLocation",
+ "rows": 0,
+ "columns": [
+ "customFields",
+ "id",
+ "supplierId",
+ "addressId",
+ "name",
+ "tags",
+ "companyId"
+ ]
+ },
+ {
+ "name": "supplierContact",
+ "rows": 0,
+ "columns": [
+ "customFields",
+ "id",
+ "supplierId",
+ "contactId",
+ "supplierLocationId",
+ "userId",
+ "tags",
+ "companyId"
+ ]
+ },
+ {
+ "name": "purchaseInvoice",
+ "rows": 0,
+ "columns": [
+ "exchangeRate",
+ "postingDate",
+ "dateIssued",
+ "dateDue",
+ "datePaid",
+ "subtotal",
+ "totalDiscount",
+ "totalAmount",
+ "totalTax",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "internalNotes",
+ "exchangeRateUpdatedAt",
+ "status",
+ "id",
+ "invoiceId",
+ "supplierId",
+ "supplierReference",
+ "invoiceSupplierId",
+ "invoiceSupplierLocationId",
+ "invoiceSupplierContactId",
+ "paymentTermId",
+ "currencyCode",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "supplierInteractionId",
+ "locationId"
+ ]
+ },
+ {
+ "name": "purchaseOrder",
+ "rows": 0,
+ "columns": [
+ "revisionId",
+ "status",
+ "orderDate",
+ "closedAt",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "exchangeRate",
+ "exchangeRateUpdatedAt",
+ "internalNotes",
+ "externalNotes",
+ "purchaseOrderType",
+ "id",
+ "purchaseOrderId",
+ "supplierId",
+ "supplierLocationId",
+ "supplierContactId",
+ "supplierReference",
+ "assignee",
+ "companyId",
+ "closedBy",
+ "createdBy",
+ "updatedBy",
+ "currencyCode",
+ "tags",
+ "supplierInteractionId",
+ "jobId",
+ "jobReadableId"
+ ]
+ },
+ {
+ "name": "purchaseInvoiceLine",
+ "rows": 0,
+ "columns": [
+ "invoiceLineType",
+ "quantity",
+ "supplierUnitPrice",
+ "exchangeRate",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "conversionFactor",
+ "internalNotes",
+ "supplierShippingCost",
+ "supplierTaxAmount",
+ "taxPercent",
+ "requiredDate",
+ "sortOrder",
+ "id",
+ "invoiceId",
+ "purchaseOrderId",
+ "purchaseOrderLineId",
+ "itemId",
+ "serviceId",
+ "locationId",
+ "storageUnitId",
+ "assetId",
+ "description",
+ "inventoryUnitOfMeasureCode",
+ "purchaseUnitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "modelUploadId",
+ "jobOperationId",
+ "accountId",
+ "costCenterId",
+ "ownerId",
+ "projectId"
+ ]
+ },
+ {
+ "name": "purchaseInvoicePriceChange",
+ "rows": 0,
+ "columns": [
+ "previousPrice",
+ "newPrice",
+ "previousQuantity",
+ "newQuantity",
+ "id",
+ "invoiceId",
+ "invoiceLineId",
+ "updatedBy",
+ "companyId"
+ ]
+ },
+ {
+ "name": "purchaseOrderPayment",
+ "rows": 0,
+ "columns": [
+ "paymentComplete",
+ "updatedAt",
+ "customFields",
+ "id",
+ "invoiceSupplierId",
+ "invoiceSupplierLocationId",
+ "invoiceSupplierContactId",
+ "paymentTermId",
+ "companyId",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "purchaseReturnOrder",
+ "rows": 0,
+ "columns": [
+ "status",
+ "exchangeRate",
+ "orderDate",
+ "expirationDate",
+ "internalNotes",
+ "externalNotes",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "purchaseReturnOrderId",
+ "supplierId",
+ "supplierLocationId",
+ "supplierContactId",
+ "supplierReference",
+ "locationId",
+ "purchaseOrderId",
+ "replacementPurchaseOrderId",
+ "currencyCode",
+ "assignee",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "memo",
+ "rows": 0,
+ "columns": [
+ "direction",
+ "status",
+ "memoDate",
+ "postingDate",
+ "exchangeRate",
+ "amount",
+ "postedAt",
+ "voidedAt",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "memoId",
+ "customerId",
+ "supplierId",
+ "currencyCode",
+ "reasonAccount",
+ "reference",
+ "notes",
+ "journalId",
+ "postedBy",
+ "voidedBy",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "salesReturnOrderId",
+ "purchaseReturnOrderId"
+ ]
+ },
+ {
+ "name": "invoiceSettlement",
+ "rows": 0,
+ "columns": [
+ "appliedAmount",
+ "discountAmount",
+ "writeOffAmount",
+ "sourceExchangeRate",
+ "targetExchangeRate",
+ "fxGainLossAmount",
+ "appliedDate",
+ "createdAt",
+ "sourceAmount",
+ "id",
+ "paymentId",
+ "memoId",
+ "targetSalesInvoiceId",
+ "targetPurchaseInvoiceId",
+ "targetMemoId",
+ "companyId",
+ "createdBy",
+ "appliedViaPaymentId",
+ "updatedBy",
+ "sourcePaymentId"
+ ]
+ },
+ {
+ "name": "purchaseReturnOrderLine",
+ "rows": 0,
+ "columns": [
+ "lineNumber",
+ "quantity",
+ "quantityShipped",
+ "unitPrice",
+ "restockFeePercent",
+ "closedComplete",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "id",
+ "purchaseReturnOrderId",
+ "itemId",
+ "unitOfMeasureCode",
+ "returnReasonId",
+ "purchaseOrderLineId",
+ "receiptLineId",
+ "purchaseInvoiceLineId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "purchaseReturnOrderCreditLine",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "unitPrice",
+ "restockFee",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "memoId",
+ "purchaseReturnOrderLineId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "supplierPart",
+ "rows": 0,
+ "columns": [
+ "minimumOrderQuantity",
+ "conversionFactor",
+ "active",
+ "createdAt",
+ "updatedAt",
+ "customFields",
+ "unitPrice",
+ "orderMultiple",
+ "id",
+ "itemId",
+ "supplierId",
+ "supplierPartId",
+ "supplierUnitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "supplierPartPrice",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "unitPrice",
+ "sourceType",
+ "createdAt",
+ "updatedAt",
+ "leadTime",
+ "supplierPartId",
+ "sourceDocumentId",
+ "companyId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "supplierPayment",
+ "rows": 0,
+ "columns": [
+ "updatedAt",
+ "customFields",
+ "supplierId",
+ "invoiceSupplierId",
+ "invoiceSupplierLocationId",
+ "invoiceSupplierContactId",
+ "paymentTermId",
+ "companyId",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "supplierProcess",
+ "rows": 0,
+ "columns": [
+ "minimumCost",
+ "leadTime",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "supplierId",
+ "processId",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags"
+ ]
+ },
+ {
+ "name": "supplierQuote",
+ "rows": 0,
+ "columns": [
+ "revisionId",
+ "quotedDate",
+ "expirationDate",
+ "status",
+ "internalNotes",
+ "externalNotes",
+ "exchangeRate",
+ "exchangeRateUpdatedAt",
+ "customFields",
+ "createdAt",
+ "updatedAt",
+ "supplierQuoteType",
+ "externalLinkId",
+ "id",
+ "supplierQuoteId",
+ "supplierId",
+ "supplierLocationId",
+ "supplierContactId",
+ "supplierReference",
+ "assignee",
+ "currencyCode",
+ "companyId",
+ "tags",
+ "createdBy",
+ "updatedBy",
+ "supplierInteractionId"
+ ]
+ },
+ {
+ "name": "supplierQuoteFavorite",
+ "rows": 0,
+ "columns": ["supplierQuoteId", "userId"]
+ },
+ {
+ "name": "supplierQuoteLine",
+ "rows": 0,
+ "columns": [
+ "supplierQuoteRevisionId",
+ "quantity",
+ "conversionFactor",
+ "updatedAt",
+ "customFields",
+ "internalNotes",
+ "externalNotes",
+ "requiredDate",
+ "sortOrder",
+ "id",
+ "supplierQuoteId",
+ "itemId",
+ "description",
+ "supplierPartId",
+ "supplierPartRevision",
+ "inventoryUnitOfMeasureCode",
+ "purchaseUnitOfMeasureCode",
+ "companyId",
+ "createdBy",
+ "updatedBy",
+ "tags",
+ "costCenterId",
+ "accountId",
+ "supplierQuoteLineType",
+ "ownerId"
+ ]
+ },
+ {
+ "name": "supplierQuoteLinePrice",
+ "rows": 0,
+ "columns": [
+ "quantity",
+ "leadTime",
+ "supplierUnitPrice",
+ "exchangeRate",
+ "supplierShippingCost",
+ "createdAt",
+ "updatedAt",
+ "supplierTaxAmount",
+ "taxPercent",
+ "supplierQuoteId",
+ "supplierQuoteLineId",
+ "createdBy",
+ "updatedBy",
+ "companyId"
+ ]
+ },
+ {
+ "name": "supplierShipping",
+ "rows": 0,
+ "columns": [
+ "updatedAt",
+ "customFields",
+ "incoterm",
+ "supplierId",
+ "shippingSupplierId",
+ "shippingSupplierLocationId",
+ "shippingSupplierContactId",
+ "shippingTermId",
+ "shippingMethodId",
+ "companyId",
+ "updatedBy",
+ "tags",
+ "incotermLocation"
+ ]
+ },
+ {
+ "name": "supplierTax",
+ "rows": 0,
+ "columns": [
+ "taxExempt",
+ "taxExemptionReason",
+ "updatedAt",
+ "supplierId",
+ "taxId",
+ "vatNumber",
+ "eori",
+ "taxExemptionCertificateNumber",
+ "taxExemptionCertificatePath",
+ "companyId",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "workflow",
+ "rows": 0,
+ "columns": [
+ "nextRunAt",
+ "canvasState",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "name",
+ "description",
+ "ownerId",
+ "publishedVersionId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "workflowVersion",
+ "rows": 0,
+ "columns": [
+ "versionNumber",
+ "formatVersion",
+ "nodes",
+ "edges",
+ "createdAt",
+ "updatedAt",
+ "id",
+ "companyId",
+ "workflowId",
+ "createdBy",
+ "updatedBy"
+ ]
+ },
+ {
+ "name": "workflowRun",
+ "rows": 0,
+ "columns": [
+ "isTest",
+ "depth",
+ "startedAt",
+ "completedAt",
+ "durationMs",
+ "compactedAt",
+ "createdAt",
+ "id",
+ "companyId",
+ "workflowId",
+ "workflowVersionId",
+ "eventId",
+ "sourceEventId",
+ "triggerTable",
+ "triggerRecordId",
+ "ownerId",
+ "status",
+ "statusReason",
+ "rootRunId",
+ "causedByRunId",
+ "path",
+ "error"
+ ]
+ },
+ {
+ "name": "workflowStepRun",
+ "rows": 0,
+ "columns": [
+ "sequence",
+ "input",
+ "output",
+ "startedAt",
+ "completedAt",
+ "durationMs",
+ "compactedAt",
+ "createdAt",
+ "detail",
+ "id",
+ "companyId",
+ "runId",
+ "nodeId",
+ "nodeType",
+ "itemKey",
+ "status",
+ "statusReason",
+ "branchTaken",
+ "error"
+ ]
+ },
+ {
+ "name": "workflowTriggerEvent",
+ "rows": 0,
+ "columns": [
+ "createdAt",
+ "id",
+ "companyId",
+ "workflowId",
+ "workflowVersionId",
+ "eventId",
+ "origin"
+ ]
+ }
+ ],
+ "storage": [],
+ "excludedTables": [
+ "apiKey",
+ "apiKeyRateLimit",
+ "companyIntegration",
+ "oauthClient",
+ "oauthToken",
+ "webhook"
+ ]
+}
diff --git a/packages/database/src/swagger-docs-schema.ts b/packages/database/src/swagger-docs-schema.ts
index d813257dc8..0a30785002 100644
--- a/packages/database/src/swagger-docs-schema.ts
+++ b/packages/database/src/swagger-docs-schema.ts
@@ -52971,6 +52971,9 @@ export default {
{
$ref: "#/parameters/rowFilter.assemblyInstructionStep.rootStepId"
},
+ {
+ $ref: "#/parameters/rowFilter.assemblyInstructionStep.hiddenComponentNodeIds"
+ },
{
$ref: "#/parameters/select"
},
@@ -53123,6 +53126,9 @@ export default {
{
$ref: "#/parameters/rowFilter.assemblyInstructionStep.rootStepId"
},
+ {
+ $ref: "#/parameters/rowFilter.assemblyInstructionStep.hiddenComponentNodeIds"
+ },
{
$ref: "#/parameters/preferReturn"
}
@@ -53229,6 +53235,9 @@ export default {
{
$ref: "#/parameters/rowFilter.assemblyInstructionStep.rootStepId"
},
+ {
+ $ref: "#/parameters/rowFilter.assemblyInstructionStep.hiddenComponentNodeIds"
+ },
{
$ref: "#/parameters/body.assemblyInstructionStep"
},
@@ -130613,7 +130622,8 @@ export default {
"companyId",
"createdBy",
"createdAt",
- "status"
+ "status",
+ "hiddenComponentNodeIds"
],
properties: {
id: {
@@ -130773,6 +130783,13 @@ export default {
"Note:\nThis is a Foreign Key to `assemblyInstructionStep.id`.<fk table='assemblyInstructionStep' column='id'/>",
format: "text",
type: "string"
+ },
+ hiddenComponentNodeIds: {
+ format: "text[]",
+ items: {
+ type: "string"
+ },
+ type: "array"
}
},
type: "object"
@@ -178208,6 +178225,12 @@ export default {
in: "query",
type: "string"
},
+ "rowFilter.assemblyInstructionStep.hiddenComponentNodeIds": {
+ name: "hiddenComponentNodeIds",
+ required: false,
+ in: "query",
+ type: "string"
+ },
"body.receiptLine": {
name: "receiptLine",
description: "receiptLine",
diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts
index 4fe2e823e2..a1fac82ae1 100644
--- a/packages/database/src/types.ts
+++ b/packages/database/src/types.ts
@@ -3614,6 +3614,7 @@ export type Database = {
explode: Json | null
fastener: Json | null
fileTypes: string[] | null
+ hiddenComponentNodeIds: string[]
id: string
instructionText: string | null
listValues: string[] | null
@@ -3647,6 +3648,7 @@ export type Database = {
explode?: Json | null
fastener?: Json | null
fileTypes?: string[] | null
+ hiddenComponentNodeIds?: string[]
id?: string
instructionText?: string | null
listValues?: string[] | null
@@ -3680,6 +3682,7 @@ export type Database = {
explode?: Json | null
fastener?: Json | null
fileTypes?: string[] | null
+ hiddenComponentNodeIds?: string[]
id?: string
instructionText?: string | null
listValues?: string[] | null
diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.ts
index 4fe2e823e2..a1fac82ae1 100644
--- a/packages/database/supabase/functions/lib/types.ts
+++ b/packages/database/supabase/functions/lib/types.ts
@@ -3614,6 +3614,7 @@ export type Database = {
explode: Json | null
fastener: Json | null
fileTypes: string[] | null
+ hiddenComponentNodeIds: string[]
id: string
instructionText: string | null
listValues: string[] | null
@@ -3647,6 +3648,7 @@ export type Database = {
explode?: Json | null
fastener?: Json | null
fileTypes?: string[] | null
+ hiddenComponentNodeIds?: string[]
id?: string
instructionText?: string | null
listValues?: string[] | null
@@ -3680,6 +3682,7 @@ export type Database = {
explode?: Json | null
fastener?: Json | null
fileTypes?: string[] | null
+ hiddenComponentNodeIds?: string[]
id?: string
instructionText?: string | null
listValues?: string[] | null
diff --git a/packages/database/supabase/migrations/20260925063121_assembly-step-hidden-components.sql b/packages/database/supabase/migrations/20260925063121_assembly-step-hidden-components.sql
new file mode 100644
index 0000000000..61b4327b09
--- /dev/null
+++ b/packages/database/supabase/migrations/20260925063121_assembly-step-hidden-components.sql
@@ -0,0 +1,29 @@
+-- Per-step hidden components: nodeIds (same id space as "componentNodeIds")
+-- the author hides on THIS step only — tooling, fixtures, or installed parts
+-- blocking the view. Applied by the 3D player in the ERP editor and in MES.
+-- Never contains the step's own "componentNodeIds" (stripped on write).
+ALTER TABLE "assemblyInstructionStep"
+ ADD COLUMN IF NOT EXISTS "hiddenComponentNodeIds" TEXT[] NOT NULL DEFAULT '{}';
+
+-- The one place the rule "a step never hides its own parts" is enforced: every
+-- write (hide/show, adding components, reassigning, version copy, regenerate)
+-- strips the step's "componentNodeIds" out of its hidden list and dedupes it.
+CREATE OR REPLACE FUNCTION assembly_step_strip_own_hidden_components()
+RETURNS TRIGGER AS $$
+BEGIN
+ IF cardinality(NEW."hiddenComponentNodeIds") > 0 THEN
+ NEW."hiddenComponentNodeIds" := ARRAY(
+ SELECT DISTINCT hidden
+ FROM unnest(NEW."hiddenComponentNodeIds") AS hidden
+ WHERE hidden <> ALL (NEW."componentNodeIds")
+ );
+ END IF;
+ RETURN NEW;
+END;
+$$ LANGUAGE plpgsql;
+
+CREATE TRIGGER assembly_step_strip_own_hidden_components_trigger
+ BEFORE INSERT OR UPDATE OF "hiddenComponentNodeIds", "componentNodeIds"
+ ON "assemblyInstructionStep"
+ FOR EACH ROW
+ EXECUTE FUNCTION assembly_step_strip_own_hidden_components();
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index 17a4322448..eed06152ff 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -8376,15 +8376,27 @@ msgstr "Header"
msgid "Help"
msgstr "Hilfe"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "Verbergen"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "Kontonummer verbergen"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "Roh ausblenden"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "Systemmengen bis zum Überprüfungsschritt ausblenden"
@@ -8920,6 +8932,9 @@ msgstr "Installieren"
msgid "Installed"
msgstr "Installiert"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "Anweisungen"
@@ -11727,6 +11742,9 @@ msgstr "Keine anderen Artikel an diesem Ort haben Bestand zum Entnehmen."
msgid "Nothing here matches your search and filters."
msgstr "Nichts hier entspricht Ihrer Suche und Ihren Filtern."
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "Nichts im Archiv"
@@ -15370,6 +15388,9 @@ msgstr "Wählen Sie einen Grund aus, warum das Angebot nicht erstellt wurde."
msgid "Select a shape first to see available options"
msgstr "Wählen Sie zunächst eine Form aus, um verfügbare Optionen anzuzeigen"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "Wählen Sie zunächst einen Stoff und eine Form aus, um verfügbare Optionen anzuzeigen"
@@ -15977,16 +15998,29 @@ msgstr "Tastenkombinationen"
msgid "Show"
msgstr "Anzeigen"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "{0} weitere anzeigen"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "Zeigen Sie eine lesbare Kundennummern-Spalte in der Kundenliste, Kundenformularen und Dropdowns an. Kunden werden intern in jedem Fall identifiziert."
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "Zeigen Sie eine lesbare Lieferanten-ID-Spalte in der Lieferantenliste, Lieferantenformularen und Dropdowns an. Lieferanten werden intern in jedem Fall identifiziert."
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "Verfügbare Losnummern anzeigen"
@@ -18169,6 +18203,9 @@ msgstr "Diese Arbeitsstation läuft befähigungsgesteuerte Arbeit – sie läuft
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "Diese Station führt Arbeiten ohne Qualifikationsanforderung durch; Werker, die auf der Besetzungstafel zugewiesen sind, bestimmen das verfügbare Personal."
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "Dieser Speichertyp wird derzeit von {usageCount} Lagereinheit{0} verwendet."
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index 489ebfabab..da0beb69cd 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -8376,15 +8376,27 @@ msgstr "Headers"
msgid "Help"
msgstr "Help"
+msgid "Hidden on this step"
+msgstr "Hidden on this step"
+
msgid "Hide"
msgstr "Hide"
+msgid "Hide {label}"
+msgstr "Hide {label}"
+
msgid "Hide account number"
msgstr "Hide account number"
+msgid "Hide again"
+msgstr "Hide again"
+
msgid "Hide raw"
msgstr "Hide raw"
+msgid "Hide selected on this step"
+msgstr "Hide selected on this step"
+
msgid "Hide system quantities until the review step"
msgstr "Hide system quantities until the review step"
@@ -8920,6 +8932,9 @@ msgstr "Install"
msgid "Installed"
msgstr "Installed"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr "Installed on this step, so it can't be hidden here."
+
msgid "Instructions"
msgstr "Instructions"
@@ -11727,6 +11742,9 @@ msgstr "Nothing else at this location has stock to pull from."
msgid "Nothing here matches your search and filters."
msgstr "Nothing here matches your search and filters."
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+
msgid "Nothing in the archive"
msgstr "Nothing in the archive"
@@ -15370,6 +15388,9 @@ msgstr "Select a reason for why the quote was not created."
msgid "Select a shape first to see available options"
msgstr "Select a shape first to see available options"
+msgid "Select a step to hide parts on it."
+msgstr "Select a step to hide parts on it."
+
msgid "Select a substance and shape first to see available options"
msgstr "Select a substance and shape first to see available options"
@@ -15977,16 +15998,29 @@ msgstr "Shortcuts"
msgid "Show"
msgstr "Show"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr "Show {0}"
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "Show {0} more"
+msgid "Show {label}"
+msgstr "Show {label}"
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
+msgid "Show all"
+msgstr "Show all"
+
+msgid "Show all hidden on this step"
+msgstr "Show all hidden on this step"
+
msgid "Show available batch numbers"
msgstr "Show available batch numbers"
@@ -18169,6 +18203,9 @@ msgstr "This station runs ability-gated work — it only runs while a qualified
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
+msgid "This step"
+msgstr "This step"
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "This storage type is currently used by {usageCount} storage unit{0}."
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index 563241a3fa..4c25c4872e 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -8376,15 +8376,27 @@ msgstr "Encabezados"
msgid "Help"
msgstr "Ayuda"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "Ocultar"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "Ocultar número de cuenta"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "Ocultar sin procesar"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "Ocultar cantidades del sistema hasta el paso de revisión"
@@ -8920,6 +8932,9 @@ msgstr "Instalar"
msgid "Installed"
msgstr "Instalado"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "Instrucciones"
@@ -11727,6 +11742,9 @@ msgstr "Nada más en esta ubicación tiene stock para extraer."
msgid "Nothing here matches your search and filters."
msgstr "Nada aquí coincide con tu búsqueda y filtros."
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "Nada en el archivo"
@@ -15370,6 +15388,9 @@ msgstr "Selecciona una razón por la que la cotización no fue creada."
msgid "Select a shape first to see available options"
msgstr "Selecciona primero una forma para ver las opciones disponibles"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "Selecciona primero una sustancia y una forma para ver las opciones disponibles"
@@ -15977,16 +15998,29 @@ msgstr "Atajos"
msgid "Show"
msgstr "Mostrar"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "Mostrar {0} más"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "Mostrar una columna de ID de cliente legible en la lista de clientes, formularios de clientes y listas desplegables. Los clientes se identifican internamente de cualquier forma."
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "Mostrar una columna de ID de Proveedor legible en la lista de proveedores, formularios de proveedores y menús desplegables. Los proveedores se identifican internamente de cualquier forma."
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "Muestra números de lote disponibles"
@@ -18169,6 +18203,9 @@ msgstr "Esta estación ejecuta trabajo protegido por habilidad — solo se ejecu
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "Esta estación ejecuta trabajo sin requisito de habilidad; los operarios asignados en el tablero de personal moldean la mano de obra disponible."
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "Este tipo de almacenamiento está siendo utilizado actualmente por {usageCount} unidad de almacenamiento{0}."
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index c874ce7060..3a91c02d40 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -8376,15 +8376,27 @@ msgstr "En-têtes"
msgid "Help"
msgstr "Aide"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "Masquer"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "Masquer le numéro de compte"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "Masquer le brut"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "Masquer les quantités système jusqu'à l'étape de revue"
@@ -8920,6 +8932,9 @@ msgstr "Installer"
msgid "Installed"
msgstr "Installé"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "Instructions"
@@ -11727,6 +11742,9 @@ msgstr "Aucun autre article à cet endroit n'a de stock à prélever."
msgid "Nothing here matches your search and filters."
msgstr "Rien ici ne correspond à votre recherche et vos filtres."
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "Rien dans l'archive"
@@ -15370,6 +15388,9 @@ msgstr "Sélectionnez une raison pour laquelle le devis n'a pas été créé."
msgid "Select a shape first to see available options"
msgstr "Sélectionnez d'abord une forme pour voir les options disponibles"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "Sélectionnez d'abord une substance et une forme pour voir les options disponibles"
@@ -15977,16 +15998,29 @@ msgstr "Raccourcis"
msgid "Show"
msgstr "Afficher"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "Afficher {0} supplémentaires"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "Afficher une colonne ID client lisible sur la liste des clients, les formulaires clients et les listes déroulantes. Les clients sont toujours identifiés en interne de toute façon."
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "Afficher une colonne ID Fournisseur lisible sur la liste des fournisseurs, les formulaires de fournisseur et les listes déroulantes. Les fournisseurs sont toujours identifiés en interne de toute façon."
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "Afficher les numéros de lot disponibles"
@@ -18169,6 +18203,9 @@ msgstr "Cette station exécute du travail soumis à gating d'aptitude — elle n
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "Cette station exécute un travail sans exigence de compétence ; les opérateurs assignés sur le tableau d'affectation façonnent la main-d'œuvre disponible."
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "Ce type de stockage est actuellement utilisé par {usageCount} unité de stockage{0}."
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index 178ef1b381..a0354bded5 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -8376,15 +8376,27 @@ msgstr "हेडर"
msgid "Help"
msgstr "मदद"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "छिपाएं"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "खाता संख्या छिपाएँ"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "कच्चे को छुपाएं"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "समीक्षा चरण तक सिस्टम मात्रा को छिपाएं"
@@ -8920,6 +8932,9 @@ msgstr "इंस्टॉल करें"
msgid "Installed"
msgstr "स्थापित"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "निर्देश"
@@ -11727,6 +11742,9 @@ msgstr "इस स्थान पर कोई अन्य स्टॉक न
msgid "Nothing here matches your search and filters."
msgstr "यहां कुछ भी आपकी खोज और फ़िल्टर से मेल नहीं खाता।"
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "आर्काइव में कुछ नहीं है"
@@ -15370,6 +15388,9 @@ msgstr "उद्धरण क्यों नहीं बनाया गय
msgid "Select a shape first to see available options"
msgstr "उपलब्ध विकल्प देखने के लिए पहले एक आकार चुनें"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "उपलब्ध विकल्प देखने के लिए पहले एक पदार्थ और आकार चुनें"
@@ -15977,16 +15998,29 @@ msgstr "शॉर्टकट"
msgid "Show"
msgstr "दिखाएँ"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "{0} और दिखाएं"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "ग्राहक सूची, ग्राहक फॉर्म और ड्रॉपडाउन पर एक पठनीय ग्राहक आईडी कॉलम दिखाएं। ग्राहकों की पहचान आंतरिक रूप से किसी भी तरह से की जाती है।"
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "आपूर्तिकर्ता सूची, आपूर्तिकर्ता फॉर्म और ड्रॉपडाउन पर एक पठनीय आपूर्तिकर्ता ID कॉलम दिखाएं। आपूर्तिकर्ता अभी भी किसी भी तरह से आंतरिक रूप से पहचाने जाते हैं।"
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "उपलब्ध बैच नंबर दिखाएं"
@@ -18169,6 +18203,9 @@ msgstr "यह स्टेशन कौशल-गेटेड कार्य
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "यह स्टेशन कोई कौशल आवश्यकता के बिना काम चलाता है; मैनिंग बोर्ड पर असाइन किए गए ऑपरेटर उपलब्ध श्रम को आकार देते हैं।"
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "यह भंडारण प्रकार वर्तमान में {usageCount} भंडारण इकाई{0} द्वारा उपयोग किया जा रहा है।"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index 0e37cd22a5..845889d33f 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -8376,15 +8376,27 @@ msgstr "Intestazioni"
msgid "Help"
msgstr "Aiuto"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "Nascondi"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "Nascondi il numero di conto"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "Nascondi raw"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "Nascondi le quantità di sistema fino al passaggio di revisione"
@@ -8920,6 +8932,9 @@ msgstr "Installa"
msgid "Installed"
msgstr "Installato"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "Istruzioni"
@@ -11727,6 +11742,9 @@ msgstr "Niente altro in questa posizione ha stock da cui prelevare."
msgid "Nothing here matches your search and filters."
msgstr "Niente qui corrisponde alla tua ricerca e ai tuoi filtri."
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "Niente nell'archivio"
@@ -15370,6 +15388,9 @@ msgstr "Seleziona un motivo per cui l'offerta non è stata creata."
msgid "Select a shape first to see available options"
msgstr "Seleziona prima una forma per visualizzare le opzioni disponibili"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "Seleziona prima una sostanza e una forma per visualizzare le opzioni disponibili"
@@ -15977,16 +15998,29 @@ msgstr "Scorciatoie"
msgid "Show"
msgstr "Mostra"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "Mostra altri {0}"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "Mostra una colonna ID Cliente leggibile nell'elenco clienti, nei moduli cliente e nei menu a discesa. I clienti sono comunque identificati internamente in entrambi i casi."
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "Mostra una colonna ID Fornitore leggibile nell'elenco dei fornitori, nei moduli fornitori e nei menu a discesa. I fornitori sono comunque identificati internamente in entrambi i casi."
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "Mostra i numeri di lotto di produzione disponibili"
@@ -18169,6 +18203,9 @@ msgstr "Questa stazione esegue lavoro controllato dalle competenze — viene ese
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "Questa stazione esegue lavori senza requisito di competenza; gli operatori assegnati sulla plancia di organico modellano la manodopera disponibile."
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "Questo tipo di stoccaggio è attualmente utilizzato da {usageCount} unità di stoccaggio{0}."
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index cc0eb09217..e9828a67aa 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -8376,15 +8376,27 @@ msgstr "ヘッダー"
msgid "Help"
msgstr "ヘルプ"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "非表示"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "口座番号を隠す"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "生データを非表示"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "レビューステップまでシステム数量を非表示にする"
@@ -8920,6 +8932,9 @@ msgstr "インストール"
msgid "Installed"
msgstr "インストール済み"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "手順"
@@ -11727,6 +11742,9 @@ msgstr "この場所には他に引き出す在庫がありません。"
msgid "Nothing here matches your search and filters."
msgstr "検索と絞り込み条件に一致するものがありません"
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "アーカイブに何もありません"
@@ -15370,6 +15388,9 @@ msgstr "見積が作成されなかった理由を選択してください。"
msgid "Select a shape first to see available options"
msgstr "形状を先に選択すると、利用可能なオプションが表示されます。"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "物質と形状を先に選択すると、利用可能なオプションが表示されます。"
@@ -15977,16 +15998,29 @@ msgstr "ショートカット"
msgid "Show"
msgstr "表示"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "あと{0}個表示"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "得意先リスト、得意先フォーム、ドロップダウンで読みやすい得意先IDカラムを表示します。得意先はどちらの方法でも内部的に識別されます。"
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "仕入先リスト、仕入先フォーム、ドロップダウンで読みやすい仕入先IDカラムを表示します。仕入先はどちらの方法でも内部的に識別されます。"
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "利用可能なバッチ番号を表示"
@@ -18169,6 +18203,9 @@ msgstr "このステーションはスキル制限のある作業を実行しま
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "このステーションはスキル要求事項がない作業を実行します。マニング ボード上に割り当てられた作業者は、利用可能な労務を形作ります。"
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "このストレージタイプは現在{usageCount}個の保管ユニット{0}で使用されています。"
diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.po
index 525a588233..ee8c0810d2 100644
--- a/packages/locale/locales/ko/erp.po
+++ b/packages/locale/locales/ko/erp.po
@@ -8376,15 +8376,27 @@ msgstr "헤더"
msgid "Help"
msgstr "도움말"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "숨기기"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "계좌 번호 숨기기"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "원본 숨기기"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "검토 단계 전까지 시스템 수량 숨기기"
@@ -8920,6 +8932,9 @@ msgstr "설치"
msgid "Installed"
msgstr "설치됨"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "지시사항"
@@ -11727,6 +11742,9 @@ msgstr "이 위치에는 더 이상 가져올 재고가 없습니다."
msgid "Nothing here matches your search and filters."
msgstr "검색 및 필터와 일치하는 항목이 없습니다."
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "보관함이 비어 있습니다"
@@ -15370,6 +15388,9 @@ msgstr "견적이 생성되지 않은 사유를 선택하세요."
msgid "Select a shape first to see available options"
msgstr "먼저 형태를 선택하여 가용 옵션을 확인하세요."
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "먼저 재질과 형태를 선택하여 가용 옵션을 확인하세요."
@@ -15977,16 +15998,29 @@ msgstr "단축키"
msgid "Show"
msgstr "표시"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "{0}개 더 표시"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "고객 목록, 고객 양식, 드롭다운에 읽기 쉬운 고객 ID 열을 표시합니다. 어느 쪽이든 고객은 내부적으로 동일하게 식별됩니다."
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "공급업체 목록, 공급업체 양식, 드롭다운에 읽기 쉬운 공급업체 ID 열을 표시합니다. 어느 쪽이든 공급업체는 내부적으로 동일하게 식별됩니다."
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "가용 배치 번호 표시"
@@ -18169,6 +18203,9 @@ msgstr "이 작업장은 역량 게이트 작업을 실행합니다 — 자격
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "이 스테이션은 역량 요구사항이 없는 작업을 실행합니다. 인력 배치 보드에서 할당된 작업자는 가용 노무를 형성합니다."
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "이 보관 단위 유형은 현재 {usageCount}개의 보관 단위{0}에서 사용되고 있습니다."
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index 7c116b1677..8a80706adb 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -8376,15 +8376,27 @@ msgstr "Nagłówki"
msgid "Help"
msgstr "Pomoc"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "Ukryj"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "Ukryj numer konta"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "Ukryj surowe"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "Ukryj ilości systemowe do kroku przeglądu"
@@ -8920,6 +8932,9 @@ msgstr "Zainstaluj"
msgid "Installed"
msgstr "Zainstalowane"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "Instrukcje"
@@ -11727,6 +11742,9 @@ msgstr "W tym miejscu nic innego nie ma zapasów do pobrania."
msgid "Nothing here matches your search and filters."
msgstr "Nic tutaj nie odpowiada Twojemu wyszukiwaniu i filtrom."
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "Nic w archiwum"
@@ -15370,6 +15388,9 @@ msgstr "Wybierz powód, dla którego oferta nie została utworzona."
msgid "Select a shape first to see available options"
msgstr "Najpierw wybierz kształt, aby zobaczyć dostępne opcje"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "Najpierw wybierz substancję i kształt, aby zobaczyć dostępne opcje"
@@ -15977,16 +15998,29 @@ msgstr "Skróty"
msgid "Show"
msgstr "Pokaż"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "Pokaż {0} więcej"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "Pokaż kolumnę czytelnego identyfikatora klienta na liście klientów, formularzach klientów i listach rozwijanych. Klienci są nadal identyfikowani wewnętrznie w każdym przypadku."
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "Pokaż kolumnę czytelnego identyfikatora dostawcy na liście dostawców, formularzach dostawcy i listach rozwijanych. Dostawcy są nadal identyfikowani wewnętrznie w każdym przypadku."
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "Pokaż dostępne numery partii produkcyjnej"
@@ -18169,6 +18203,9 @@ msgstr "To stanowisko robocze wykonuje pracę ograniczoną do uprawnień — dzi
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "To stanowisko wykonuje pracę bez wymagań umiejętności; operatorzy przypisani na tablicy obsady kształtują dostępną robociznę."
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "Ten typ magazynu jest obecnie używany przez {usageCount} jednostkę magazynową{0}."
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index 18c2e3ba9d..dcd3be639c 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -8376,15 +8376,27 @@ msgstr "Cabeçalhos"
msgid "Help"
msgstr "Ajuda"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "Ocultar"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "Ocultar número da conta"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "Ocultar bruto"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "Ocultar quantidades do sistema até a etapa de revisão"
@@ -8920,6 +8932,9 @@ msgstr "Instalar"
msgid "Installed"
msgstr "Instalado"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "Instruções"
@@ -11727,6 +11742,9 @@ msgstr "Nada mais neste local tem estoque para puxar."
msgid "Nothing here matches your search and filters."
msgstr "Nada aqui corresponde à sua pesquisa e filtros."
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "Nada no arquivo"
@@ -15370,6 +15388,9 @@ msgstr "Selecione um motivo pelo qual a cotação não foi criada."
msgid "Select a shape first to see available options"
msgstr "Selecione uma forma primeiro para ver as opções disponíveis"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "Selecione uma substância e forma primeiro para ver as opções disponíveis"
@@ -15977,16 +15998,29 @@ msgstr "Atalhos"
msgid "Show"
msgstr "Mostrar"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "Mostrar {0} a mais"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "Mostrar uma coluna de ID de Cliente legível na lista de clientes, formulários de clientes e menus suspensos. Os clientes ainda são identificados internamente de qualquer forma."
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "Mostrar uma coluna de ID de Fornecedor legível na lista de fornecedores, formulários de fornecedor e menus suspensos. Os fornecedores ainda são identificados internamente de qualquer forma."
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "Mostrar números de lote de produção disponíveis"
@@ -18169,6 +18203,9 @@ msgstr "Esta estação executa trabalho com requisitos de habilidade — ela fun
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "Esta estação executa trabalho sem requisito de habilidade; operadores atribuídos no quadro de pessoal moldam a mão de obra disponível."
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "Este tipo de armazenamento está sendo usado por {usageCount} unidade de armazenamento{0}."
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index cf096bc426..add4bf42ce 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -8376,15 +8376,27 @@ msgstr "Заголовки"
msgid "Help"
msgstr "Справка"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "Скрыть"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "Скрыть номер счёта"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "Скрыть исходное"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "Скрывать системные количества до шага рассмотрения"
@@ -8920,6 +8932,9 @@ msgstr "Установить"
msgid "Installed"
msgstr "Установлено"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "Инструкции"
@@ -11727,6 +11742,9 @@ msgstr "На этом месте больше нечего извлекать и
msgid "Nothing here matches your search and filters."
msgstr "Здесь нет ничего, соответствующего вашему поиску и фильтрам."
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "Ничего в архиве"
@@ -15370,6 +15388,9 @@ msgstr "Выберите причину, по которой предложен
msgid "Select a shape first to see available options"
msgstr "Сначала выберите форму, чтобы увидеть доступные варианты"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "Сначала выберите вещество и форму, чтобы увидеть доступные варианты"
@@ -15977,16 +15998,29 @@ msgstr "Сочетания клавиш"
msgid "Show"
msgstr "Показать"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "Показать еще {0}"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "Показывать столбец с читаемым ID Покупателя в списке покупателей, формах и выпадающих списках. Покупатели по-прежнему идентифицируются внутренне одинаково."
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "Показать читаемый столбец ID поставщика в списке поставщиков, формах поставщиков и раскрывающихся списках. Поставщики по-прежнему идентифицируются внутри системы в любом случае."
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "Показать доступные номера серии"
@@ -18169,6 +18203,9 @@ msgstr "Эта станция выполняет работу, требующу
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "Эта станция выполняет работу без требований навыков; операторы, назначенные на таблицу назначений, формируют доступный труд."
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "Этот тип хранения в настоящее время используется {usageCount} единиц хранения{0}."
diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.po
index 602a664d1b..e86047a6ea 100644
--- a/packages/locale/locales/tr/erp.po
+++ b/packages/locale/locales/tr/erp.po
@@ -8376,15 +8376,27 @@ msgstr "Başlıklar"
msgid "Help"
msgstr "Yardım"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "Gizle"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "Hesap numarasını gizle"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "Ham verileri gizle"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "Sistem miktarlarını inceleme adımına kadar gizle"
@@ -8920,6 +8932,9 @@ msgstr "Yükle"
msgid "Installed"
msgstr "Yüklendi"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "Talimatlar"
@@ -11727,6 +11742,9 @@ msgstr "Bu konumda çekilecek başka hiçbir stok yok."
msgid "Nothing here matches your search and filters."
msgstr "Burada arama ve filtrelerinizle eşleşen hiçbir şey yok."
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "Arşivde hiçbir şey yok"
@@ -15370,6 +15388,9 @@ msgstr "Teklifin neden oluşturulmadığına dair bir sebep seçin."
msgid "Select a shape first to see available options"
msgstr "Kullanılabilir seçenekleri görmek için önce bir şekil seç"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "Kullanılabilir seçenekleri görmek için önce bir madde ve şekil seç"
@@ -15977,16 +15998,29 @@ msgstr "Kısayollar"
msgid "Show"
msgstr "Göster"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "{0} daha göster"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "Müşteri listesinde, müşteri formlarında ve açılır menülerde okunabilir bir Müşteri Kimliği sütunu gösterir. Müşteriler her iki durumda da dahili olarak tanımlanmaya devam eder."
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "Tedarikçi listesinde, tedarikçi formlarında ve açılır menülerde okunabilir bir Tedarikçi Kimliği sütunu gösterir. Tedarikçiler her iki durumda da dahili olarak tanımlanmaya devam eder."
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "Kullanılabilir parti numaralarını göster"
@@ -18169,6 +18203,9 @@ msgstr "Bu istasyon yetkinlik kapısı geçmeli işleri çalıştırır — yaln
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "Bu istasyon hiçbir Yetkinlik gereksinimi olmaksızın iş çalıştırır; personel panosuna atanan Operatörler mevcut İşçiliği şekillendirir."
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "Bu depolama türü şu anda {usageCount} depolama birimi{0} tarafından kullanılıyor."
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index 1f22a0d6ad..be6a85ca70 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -8376,15 +8376,27 @@ msgstr "标头"
msgid "Help"
msgstr "帮助"
+msgid "Hidden on this step"
+msgstr ""
+
msgid "Hide"
msgstr "隐藏"
+msgid "Hide {label}"
+msgstr ""
+
msgid "Hide account number"
msgstr "隐藏账户号码"
+msgid "Hide again"
+msgstr ""
+
msgid "Hide raw"
msgstr "隐藏原始内容"
+msgid "Hide selected on this step"
+msgstr ""
+
msgid "Hide system quantities until the review step"
msgstr "在评审步骤前隐藏系统数量"
@@ -8920,6 +8932,9 @@ msgstr "安装"
msgid "Installed"
msgstr "已安装"
+msgid "Installed on this step, so it can't be hidden here."
+msgstr ""
+
msgid "Instructions"
msgstr "说明"
@@ -11727,6 +11742,9 @@ msgstr "此位置没有其他可提取的库存。"
msgid "Nothing here matches your search and filters."
msgstr "没有与您的搜索和过滤条件匹配的内容。"
+msgid "Nothing hidden. Use the eye in the Components panel to hide parts on this step."
+msgstr ""
+
msgid "Nothing in the archive"
msgstr "存档中没有任何内容"
@@ -15370,6 +15388,9 @@ msgstr "选择未创建报价的原因。"
msgid "Select a shape first to see available options"
msgstr "请先选择形状以查看可用选项"
+msgid "Select a step to hide parts on it."
+msgstr ""
+
msgid "Select a substance and shape first to see available options"
msgstr "请先选择物质和形状以查看可用选项"
@@ -15977,16 +15998,29 @@ msgstr "快捷键"
msgid "Show"
msgstr "显示"
+#. placeholder {0}: group.name
+msgid "Show {0}"
+msgstr ""
+
#. placeholder {0}: overflow.length
msgid "Show {0} more"
msgstr "显示{0}个更多"
+msgid "Show {label}"
+msgstr ""
+
msgid "Show a readable Customer ID column on the customer list, customer forms, and dropdowns. Customers are still identified internally either way."
msgstr "在客户列表、客户表单和下拉菜单上显示可读的客户ID列。无论哪种方式,客户在内部仍然可以被识别。"
msgid "Show a readable Supplier ID column on the supplier list, supplier forms, and dropdowns. Suppliers are still identified internally either way."
msgstr "在供应商列表、供应商表单和下拉菜单上显示可读的供应商 ID 列。无论哪种方式,供应商在内部仍然可以被识别。"
+msgid "Show all"
+msgstr ""
+
+msgid "Show all hidden on this step"
+msgstr ""
+
msgid "Show available batch numbers"
msgstr "显示可用的生产批次号"
@@ -18169,6 +18203,9 @@ msgstr "此工作中心运行需要特定技能的工作 — 仅当具有资格
msgid "This station runs work with no ability requirement; operators assigned on the manning board shape available labor."
msgstr "该站运行无技能要求的工作;人员配备板上分配的操作员塑造可用人工。"
+msgid "This step"
+msgstr ""
+
#. placeholder {0}: usageCount === 1 ? "" : "s"
msgid "This storage type is currently used by {usageCount} storage unit{0}."
msgstr "此存储类型当前被 {usageCount} 个存储单元{0}使用。"
diff --git a/packages/viewer/src/AssemblyPlayer.tsx b/packages/viewer/src/AssemblyPlayer.tsx
index b5a852190d..21624eb7ab 100644
--- a/packages/viewer/src/AssemblyPlayer.tsx
+++ b/packages/viewer/src/AssemblyPlayer.tsx
@@ -56,6 +56,7 @@ import {
type FutureComponentsMode,
type InstalledComponentsMode,
occluderWeight,
+ stepHiddenNodeIds,
VIEW_MODES,
viewForModes,
visualForComponent
@@ -98,8 +99,6 @@ export type AssemblyPlayerProps = {
* Independent of click-selection.
*/
highlightedNodeIds?: string[];
- /** Components hidden from the viewer entirely (fixtures, reference geometry) */
- hiddenNodeIds?: string[];
/**
* Isolate/focus set. When non-empty, ONLY these components render — everything
* else is hidden so the user can inspect the selection in isolation. Empty =
@@ -193,7 +192,6 @@ export const AssemblyPlayer = forwardRef<
onSelectComponents,
onGraphLoaded,
highlightedNodeIds,
- hiddenNodeIds,
focusedNodeIds,
readOnly = false,
editMotion,
@@ -507,7 +505,6 @@ export const AssemblyPlayer = forwardRef<
futureMode={futureMode}
installedMode={installedMode}
highlightedNodeIds={highlightedNodeIds}
- hiddenNodeIds={hiddenNodeIds}
focusedNodeIds={isPlaying ? undefined : focusedNodeIds}
readOnly={readOnly}
onSelectComponents={onSelectComponents}
@@ -848,7 +845,6 @@ function AssemblyScene({
futureMode,
installedMode,
highlightedNodeIds,
- hiddenNodeIds,
focusedNodeIds,
readOnly,
onSelectComponents,
@@ -880,7 +876,6 @@ function AssemblyScene({
futureMode: FutureComponentsMode;
installedMode: InstalledComponentsMode;
highlightedNodeIds?: string[];
- hiddenNodeIds?: string[];
focusedNodeIds?: string[];
readOnly: boolean;
onSelectComponents?: (nodeIds: string[]) => void;
@@ -1017,10 +1012,9 @@ function AssemblyScene({
() => new Set(focusedNodeIds ?? []),
[focusedNodeIds]
);
- const hiddenSet = useMemo(
- () => new Set(hiddenNodeIds ?? []),
- [hiddenNodeIds]
- );
+ // Re-derived per step, so playback hides and restores each step's list as it
+ // moves through the sequence.
+ const hiddenSet = useMemo(() => stepHiddenNodeIds(activeStep), [activeStep]);
// Component picking is only meaningful in the editor (a selection callback,
// not read-only) — the drill affordance is gated on it so pure playback stays
@@ -2648,9 +2642,5 @@ const VIEW_LABELS: Record<
description:
"Focus this step by fading the already-installed components to see-through"
},
- isolate: {
- label: "Isolate",
- description: "Show only this step's components, hiding everything else"
- },
full: { label: "Full", description: "Show every component solid" }
};
diff --git a/packages/viewer/src/types.ts b/packages/viewer/src/types.ts
index ce4254cf1e..d01f402a03 100644
--- a/packages/viewer/src/types.ts
+++ b/packages/viewer/src/types.ts
@@ -108,6 +108,12 @@ export type AssemblyStep = {
* motion — a fabricated path would animate straight through geometry.
*/
flagged?: boolean;
+ /**
+ * Components the author hid on THIS step only (tooling, fixtures, installed
+ * parts blocking the view). Not drawn while this step is active; they return
+ * on the next step. Never applied to the step's own `componentNodeIds`.
+ */
+ hiddenComponentNodeIds?: string[];
/**
* Subassembly phase this step belongs to (baked at step generation from the
* plan's contact graph). `null`/absent = the main phase, built seated. A
diff --git a/packages/viewer/src/visibility.test.ts b/packages/viewer/src/visibility.test.ts
index fdc363e01a..9a5f30dfbe 100644
--- a/packages/viewer/src/visibility.test.ts
+++ b/packages/viewer/src/visibility.test.ts
@@ -3,6 +3,7 @@ import {
ASSEMBLY_VIEWS,
GHOST_OCCLUDER_WEIGHT,
occluderWeight,
+ stepHiddenNodeIds,
VIEW_MODES,
viewForModes,
visualForComponent
@@ -174,42 +175,10 @@ describe("named views", () => {
});
});
- it("hides everything but the active step in 'isolate'", () => {
- // The whole point of the view: "how do I just see the part I am fitting?"
- expect(VIEW_MODES.isolate).toEqual({
- installedMode: "hidden",
- futureMode: "hidden"
- });
- });
-
- it("draws nothing but the active step's components in 'isolate'", () => {
- const { installedMode, futureMode } = VIEW_MODES.isolate;
- expect(visualForComponent(0, 2, futureMode, installedMode)).toBe("hidden");
- expect(visualForComponent(1, 2, futureMode, installedMode)).toBe("hidden");
- expect(visualForComponent(2, 2, futureMode, installedMode)).toBe("active");
- expect(visualForComponent(4, 2, futureMode, installedMode)).toBe("hidden");
- // A component no step installs must vanish too, or "isolate" still leaves
- // stray geometry on screen.
- expect(visualForComponent(undefined, 2, futureMode, installedMode)).toBe(
- "hidden"
- );
- });
-
- it("leaves the camera nothing to dodge in 'isolate'", () => {
- // Every non-active component is invisible, so none may score as an
- // occluder — otherwise the camera frames around geometry it is not drawing.
- const { installedMode, futureMode } = VIEW_MODES.isolate;
- for (const stepIndex of [undefined, 0, 1, 3, 4]) {
- expect(
- occluderWeight(stepIndex, 2, futureMode, installedMode)
- ).toBeNull();
- }
- });
-
it("hides the future side in every working view", () => {
- // Build, Focus and Isolate are all "I am working this step" views; parts
- // that are not on the bench yet only add clutter. Full is the exception.
- for (const view of ["build", "focus", "isolate"] as const) {
+ // Build and Focus are "I am working this step" views; parts that are not
+ // on the bench yet only add clutter. Full is the exception.
+ for (const view of ["build", "focus"] as const) {
expect(VIEW_MODES[view].futureMode).toBe("hidden");
}
expect(VIEW_MODES.full.futureMode).toBe("solid");
@@ -233,6 +202,8 @@ describe("named views", () => {
// "hidden installed + solid future" is reachable from the props but is not
// a named view; it must seat a real button rather than none.
expect(viewForModes("hidden", "solid")).toBe("build");
+ // Nor is "hidden installed + hidden future" since the Isolate view went.
+ expect(viewForModes("hidden", "hidden")).toBe("build");
});
it("renders the active step untouched in every view", () => {
@@ -246,20 +217,34 @@ describe("named views", () => {
it("ghosts rather than deletes the built side in 'focus'", () => {
// Focus is about seeing PAST what is already fitted while keeping its
- // shape as context — that shell is the difference from Isolate.
+ // shape as context.
const { installedMode, futureMode } = VIEW_MODES.focus;
expect(visualForComponent(0, 2, futureMode, installedMode)).toBe("ghost");
expect(occluderWeight(0, 2, futureMode, installedMode)).toBe(
GHOST_OCCLUDER_WEIGHT
);
});
+});
- it("separates 'focus' from 'isolate' on the built side only", () => {
- // The two views differ in exactly one axis. If that ever collapses, one of
- // the two buttons has become a duplicate.
- expect(VIEW_MODES.focus.futureMode).toBe(VIEW_MODES.isolate.futureMode);
- expect(VIEW_MODES.focus.installedMode).not.toBe(
- VIEW_MODES.isolate.installedMode
- );
+describe("stepHiddenNodeIds", () => {
+ it("hides the active step's authored hidden list", () => {
+ const hidden = stepHiddenNodeIds({
+ componentNodeIds: ["bearing"],
+ hiddenComponentNodeIds: ["press-tool", "fixture"]
+ });
+ expect([...hidden].sort()).toEqual(["fixture", "press-tool"]);
+ });
+
+ it("never hides the parts the step itself installs", () => {
+ const hidden = stepHiddenNodeIds({
+ componentNodeIds: ["bearing"],
+ hiddenComponentNodeIds: ["bearing", "press-tool"]
+ });
+ expect([...hidden]).toEqual(["press-tool"]);
+ });
+
+ it("hides nothing when no step is active or none is authored", () => {
+ expect(stepHiddenNodeIds(null).size).toBe(0);
+ expect(stepHiddenNodeIds({ componentNodeIds: ["bearing"] }).size).toBe(0);
});
});
diff --git a/packages/viewer/src/visibility.ts b/packages/viewer/src/visibility.ts
index 14eedcd41b..a80cdb1a65 100644
--- a/packages/viewer/src/visibility.ts
+++ b/packages/viewer/src/visibility.ts
@@ -1,3 +1,5 @@
+import type { AssemblyStep } from "./types";
+
/** How components of steps after the active one are rendered. */
export type FutureComponentsMode = "ghost" | "hidden" | "solid";
@@ -13,14 +15,16 @@ export type ComponentVisual = "solid" | "active" | "hidden" | "ghost";
* wrong one for the screen (nine combinations, most meaningless). A view is a
* named point in that space, so the UI keeps one concept and the renderer both.
*/
-export const ASSEMBLY_VIEWS = ["build", "focus", "isolate", "full"] as const;
+export const ASSEMBLY_VIEWS = ["build", "focus", "full"] as const;
export type AssemblyView = (typeof ASSEMBLY_VIEWS)[number];
/**
* Ordered by how much context they strip: Build keeps what is already there,
- * Focus fades it, Isolate removes it, Full is the other extreme. The future
- * side is hidden in all but Full: parts not yet on the bench only add clutter.
+ * Focus fades it, Full is the other extreme. The future side is hidden in all
+ * but Full: parts not yet on the bench only add clutter. (An "Isolate" view that
+ * also hid the built side was dropped: Focus already shows the step in place,
+ * and per-step hidden parts cover removing clutter the author chooses.)
*/
export const VIEW_MODES: Record<
AssemblyView,
@@ -30,8 +34,6 @@ export const VIEW_MODES: Record<
build: { installedMode: "solid", futureMode: "hidden" },
/** This step, and where it mounts: what is built fades to a see-through shell. */
focus: { installedMode: "ghost", futureMode: "hidden" },
- /** This step alone: nothing else is drawn at all. */
- isolate: { installedMode: "hidden", futureMode: "hidden" },
/** The finished product: every component, solid. */
full: { installedMode: "solid", futureMode: "solid" }
};
@@ -120,3 +122,17 @@ export function occluderWeight(
(isInstalled && installedMode === "ghost");
return isGhosted ? GHOST_OCCLUDER_WEIGHT : 1;
}
+
+/**
+ * The nodeIds to hide while `step` is active: its authored hidden list, never
+ * including the parts the step itself installs. The DB already strips those on
+ * write; this guards stale or hand-edited data, since a step must not animate an
+ * invisible part.
+ */
+export function stepHiddenNodeIds(
+ step: Pick<AssemblyStep, "componentNodeIds" | "hiddenComponentNodeIds"> | null
+): Set<string> {
+ const hidden = new Set(step?.hiddenComponentNodeIds ?? []);
+ for (const nodeId of step?.componentNodeIds ?? []) hidden.delete(nodeId);
+ return hidden;
+}