elioria-sst-x
    Preparing search index...

    Implements

    • EpiReceivingRpc
    Index
    supabase: PostgrestClient

    The supabase value.

    • Generated

      Executes receiveEpiPurchaseRequest.

      Parameters

      • params: {
            p_ca_snapshot: string | null;
            p_items: { itemId: string; quantityReceived: number }[];
            p_notes: string | null;
            p_request_id: string;
            p_tenant_id: string;
            p_user_id: string;
        }

        The params value.

      Returns Promise<ReceiveRpcResult>

      The function result.

      Objective: In module packages/db/src/repositories/epi-receiving-rpc.ts, run receiveEpiPurchaseRequest.

      Behavior: Async; accepts params; returns a value; invokes this.supabase.rpc; may throw.

      When the function cannot complete normally.