Logo GenPRES

Component Module

Creates a component of an orderable from an id, a name, a form, the quantity and count variables, a dose, the items and the products.

Functions and values

Function or value Description

create id nm sh cmp_qty orb_qty orb_qty_adj orb_cnt ord_qty ord_cnt orb_cnc dos ii pp

Full Usage: create id nm sh cmp_qty orb_qty orb_qty_adj orb_cnt ord_qty ord_cnt orb_cnc dos ii pp

Parameters:
Returns: Component
id : string
nm : string
sh : string
cmp_qty : OrderVariable
orb_qty : OrderVariable
orb_qty_adj : OrderVariable
orb_cnt : OrderVariable
ord_qty : OrderVariable
ord_cnt : OrderVariable
orb_cnc : OrderVariable
dos : Dose
ii : Item[]
pp : ComponentProduct[]
Returns: Component

Type something to start searching.