Skip to content

Order Management Implementation Notes

Item Module Changes

Item

  • Item.description: Text to allow users to provide a description of the item.
  • Item.sku: Text a code given to the item for identification purposes within the tenant.
  • Item.preferredSupply(): ItemSupply a calculated value that provides the preferred supply source for the item according to these rules:
    • If defaultSupply is not null, returns the ItemSupply that matches its supplier field with it from primarySupply and secondarySupply.
    • If defaultSupply is null, returns the ItemSupply from primarySupply if not null, otherwise return the value of secondarySupply (which may be null).
    • Otherwise, returns the first ItemSupply entry if any exist, or null if none exist.
  • Item.effectiveSupply(requestedSupplier: String = null): ItemSupply a calculated value that provides the preferred supply source for the item according to these rules:
    • If requestedSupplier is not null, returns the ItemSupply that matches its supplier field. If none matches, returns null.
    • if requestedSupplier is null, returns the Item.preferredSupply().

Item Supply

  • ItemSupply.name: Text to hold the name of the item given by the supply source. Defaults to the ItemSupply.sku.

Kanban Card Module Changes

Order Module Changes

Order Line

Additional Fields.
  • title: Text to hold the identification of the item being ordered by the line.

Comments