G Gaia

Switch factory

CYTO-11 — Balakong Jaya CTSB CYTO-29 CTSB CYTOWELL-54 — Taming Jaya PIC/S CTWSB CYTOCNGZ-602 — Guangzhou CTCNGZ

Only factories you are granted appear here (Filament tenant menu).

Leo Lim

leo@navi.my · Owner / Admin

Profile settings Change password

Theme

Sign out
RetailSellR&DMakeBuyStockPlanItemsGMPAdminInsights
← Stocktakes / STK-63

STK-63

Counting in progress Completed

Stocktake Raw Materials (AliPrime & JFlex March 2026)

Counts saved Print counting sheet
Stocktake #
STK-63
Location
29, Balakong Jaya
Created
2026-03-17
Counted by
Ahmad
Verified by
Farah (QA)
Lines
6
Progress
Stock adjustment
— created on completion SA-519
Stock is not frozen during counting — movements posted after the created date shift variances. Complete promptly. Counts are per batch / lot for batch-tracked items (GMP).
Completed 2026-03-25 · Stock adjustment SA-519 created (−269.05 MYR) — view in Stock adjustments
6 counting lines · one line per batch / lot (batch-tracked items) · unit mg System qty snapshot at line generation — unit rides on the item (admin-locked units list)
# Item SKU Batch Bin System qty at count start Counted qty Variance qty Cost / unit Variance value Status
Variance total (counted lines): MYR
Completing writes ONE stock adjustment covering all variance lines; zero-variance lines post nothing.

— enter counted qty to enable Complete

Project Gaia — static mockup in Filament v3 idiom. No backend. Counting lines are illustrative — batches CK4548-2603A, G04112343 and 25050306-BG04 are real snapshot lots, ACK-240718 / AF1647-2601A / S390-2512 illustrative; the variance total −269.05 MYR reconciles with SA-519 in the Stock adjustments capture. demo: reset sheet

Stocktake counting sheet — field manifest

FieldFilament componentTypeSourceFK target
Stocktake #TextEntry (Infolist)string doc numberstored: stocktakes.no — 'STK-' sequence with gapsstocktakes.id
ReasonTextEntrystring, nullablestored: stocktakes.reason (free text; tenant convention encodes room/category + month)
LocationTextEntryFKstored: stocktakes.location_id — per-location documentlocations.id
Created / CompletedTextEntry::date()date / date nullablestored: stocktakes.created / completed — Completed ≥ Created (STK-63: 03-17 → 03-25)
StatusTextEntry::badge()enum Not started | In progress | Completedstored: stocktakes.status — flips to In progress on first counted line
Stock adjustmentTextEntry::url()FK, nullablestored: stocktakes.sa_id — set on completion (SA-519)stock_adjustments.id
Line: Item / variantTextColumn::url() (repeater line)FKstored: stocktake_lines.variant_idvariants.id
Line: Batch GaiaTextColumn (font-mono)FK, REQUIRED when item is batch-trackedstored: stocktake_lines.batch_id — Gaia GMP superset; one counting line per batch / lotbatches.id
Line: BinTextColumnstringstored: stocktake_lines.bin (storage location label)
Line: System qtyTextColumn::numeric()decimal, base unitstored: stocktake_lines.system_qty — snapshot at line generation (stock not frozen)
Line: Counted qtyTextInput::numeric() (inline editable)decimal, nullablestored: stocktake_lines.counted_qty — null = Pending; captured in the item's stock UoM (base unit)
Line: Cost / unitTextColumn::numeric(decimalPlaces: 5)decimal(20,10) MYRstored: stocktake_lines.cost_snapshot — moving-average cost at line generation
Line: Variance qty / valueTextColumn::color(fn) red − / green +derivedderived: counted_qty − system_qty; × cost_snapshot — never stored

Engine notes

  • Completion auto-creates the linked Stock adjustment carrying the STK number as its Reason (matches the Stock adjustments rows: SA-519 / 'STK-63'). One SA covers all variance lines; zero-variance lines post nothing.
  • Status flips to In progress on the first counted line; Completed date is set on completion and can lag Created by days (STK-63: 2026-03-17 → 2026-03-25).
  • Stock is not frozen during the count — system_qty is a snapshot at line generation, so movements posted mid-count shift variances. Complete promptly.
  • Counted quantities are captured in the item's stock UoM (base unit mg / ml / pcs). The unit rides on the item from the admin-locked units list — never typed; conversion factors are hard-coded system knowledge.
  • Batch-tracked items generate one counting line per batch / lot (Gaia GMP superset — Katana counts at item level only); the variance adjustment posts per batch.
  • Variance is valued at each line's cost_snapshot (moving average at generation); completing posts a 'stocktake' type movement per line via the SA, keeping the ledger append-only and audit-safe (GMP).
  • Corrections after completion go through a new stocktake (cf. STK-33 'Amend STK-15') — the counting sheet locks on completion.