Skip to content

Fields and permissions

Package header

FieldRequiredNotes
NameYesDisplay name at POS and in reports
SKUNoOptional package SKU; shown as monospace chip in list
DescriptionNoShort text; searchable
ActiveYes (default on)Inactive packages hidden from counter selection

Line items

FieldNotes
ProductMust exist in tenant catalog; no duplicates per package
QuantityInteger ≥ 1
Price modedefault = retail price at sale time; custom = adjustment
Adjustment% or fixed Rs when custom; applied to base retail price

Service charge

TypeBehavior
FixedFlat Rs added to items subtotal
Percentage% of items subtotal

Stored on package_products.include_service_charge, service_charge_amount, service_charge_type.

Permissions

Users need catalog product permissions to access /pims/package-products. Create, edit, and delete use the same route guard as the Products area.

Data model

  • package_products — header row per bundle
  • package_product_items — product lines with qty and pricing overrides
  • RPCs: fetch_package_products, fetch_package_product_details, search_products_prefix