Scale Intelligence■ Docs
Docs / The model / Stock

Stock.

For one kind, one place and one scope: the level, the rates, the age of the oldest with its reason, the count past the longest wait, and who reads it

Figure 1Stockspecified
STOCKview at platform scopekindKindplacetextscopeScopeno level when never readlevelcountoptionalrate_incountoptionalrate_outcountoptionaloldestOldestoptionalpast_longest_waitcountoptionalreadertextread_attimeoptionalKINDthrough kindSCOPEthrough scopeOLDESTthrough oldest
Stock is a view at platform scope. The drawing shows its fields and the objects that they point at.
kind
view
scope
platform
key
the kind, the place and the scope
store
derived
family
ops_console

Fields#

fieldtyperequirednote
kindKindyes
placetextyes
scopeScopeyes
levelcountnono level when never read
rate_incountno
rate_outcountno
oldestOldestno
past_longest_waitcountno
readertextyes
read_attimeno

Routes that use it#

No route takes or returns Stock directly. The record holds it, and the objects that point at it reach it.