Summary
Functions
Changeset for creating/editing draft goods receipts.
The character varying(N) widths PhoenixKitWarehouse.Migrations builds its
CREATE TABLE DDL from — the single source of truth so the migration
chain, this schema, and core's ExpectedSchema manifest can never
independently disagree on a number.
Changeset for correcting a posted goods receipt (note + storage_folder only — lines immutable after posting).
Changeset for posting a goods receipt (programmatic fields only — no cast).
Changeset for soft-deleting a goods receipt.
Changeset for setting the storage folder (programmatic — single field).
Types
@type t() :: %PhoenixKitWarehouse.GoodsReceipt{ __meta__: term(), created_by_uuid: term(), deleted_at: term(), deleted_by_uuid: term(), inserted_at: term(), lines: term(), location_uuid: term(), note: term(), number: term(), performed_by_uuid: term(), posted_at: term(), source_refs: term(), status: term(), storage_folder_uuid: term(), supplier_order_uuid: term(), supplier_uuid: term(), updated_at: term(), uuid: term() }
Functions
Changeset for creating/editing draft goods receipts.
@spec column_widths() :: %{required(atom()) => pos_integer()}
The character varying(N) widths PhoenixKitWarehouse.Migrations builds its
CREATE TABLE DDL from — the single source of truth so the migration
chain, this schema, and core's ExpectedSchema manifest can never
independently disagree on a number.
Changeset for correcting a posted goods receipt (note + storage_folder only — lines immutable after posting).
Changeset for posting a goods receipt (programmatic fields only — no cast).
Changeset for soft-deleting a goods receipt.
Changeset for setting the storage folder (programmatic — single field).