\BuyableStockCalculatedQuantity

works out the quantity available for each buyable based on the the number of items sold, recorded in BuyableStockOrderEntry, and manual corrections, recorded in BuyableStockManualUpdate.

Synopsis

class BuyableStockCalculatedQuantity extends DataObject {
}

Hierarchy

Extends

  • DataObject

Members

private

  • $calculation_done
  • $casting
  • $db
  • $default_sort
  • $defaults
  • $field_labels
  • $has_many
  • $indexes
  • $plural_name
  • $searchable_fields
  • $singular_name
  • $summary_fields

Methods