Skip to content

Color Kitchen AL Extension Prototype#13

Draft
MHimmelbjoern with Copilot wants to merge 2 commits into
mainfrom
copilot/printvis-color-kitchen-prototype
Draft

Color Kitchen AL Extension Prototype#13
MHimmelbjoern with Copilot wants to merge 2 commits into
mainfrom
copilot/printvis-color-kitchen-prototype

Conversation

Copilot AI commented Jun 23, 2026

Copy link
Copy Markdown

Prototype PrintVis BC extension for managing ink recipes, LOT-tracked base component consumption, and mixing station workflow.

Data Model

  • CK Recipe Line (50100) — recipe template: mixed ink item → base components with weight percentages
  • CK Mix Header (50101) — mixing job per ink per PrintVis case/job; tracks planned/actual qty, output LOT, eco labels, status
  • CK Mix Line (50102) — base component lines per mix job with operator-scanned LOT, shelf no., required/used qty
  • EnumsCK Mix Status (Not Started / In Progress / Completed), CK Mix Line Status (Pending / Consumed)

Business Logic — CK Management (50100)

  • GenerateLOTNo() — produces CK-YYYYMMDDHHMMSS LOT numbers
  • LoadRecipeLines() — populates mix lines from recipe, calculates qty per component from header qty × %
  • PostConsumption() — negative item adjustments per base component; skips blank LOTs
  • PostMixedInkToStock() — positive adjustment for finished ink; auto-generates LOT if unset
  • GetBaseComponentLOTsText() — builds traceability string for labels and job tickets

Pages

  • CK Recipe Page (50100) — editable per-item recipe list; "Check Total %" action validates sum = 100
  • CK Page (50101) — job-scoped Color Kitchen list with live stock FlowField, eco labels, status styling, bulk start/print
  • CK Mixing Card (50102) — operator card: Start → Load Recipe → scan LOTs → Consume → adjust qty → Complete → Print LOT Label; actions gate on status
  • CK Mix Lines (50103) — subpage locked once consumed

Entry Points

  • Item Card extension (50100) — "Color Kitchen Recipe" action under Navigation
  • SF Electronic Ticket extension (50101) — "Color Kitchen" button on Page 6010731, filters by Rec."Case No." / Rec."Job No." — verify field names match your PrintVis installation

Reports

  • CK Component List (50100) — operator pick-list: component, LOT, shelf, qty; option to include consumed lines
  • CK LOT Label (50101) — finished ink label with output LOT + all source component LOTs for traceability

Both reports ship with minimal placeholder RDLC layouts pending proper design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants