Usage:
RECORDUSAGE INTEGER field,STRING desc1,STRING desc2,DWORD unitcost,INTEGER value
Example:
RECORDUSAGE DEB_CHAT,"Debit for chat", "Using PPE",10,10
field
is the field number to access (using DEB… consts) descr1 is the descripttion of the charge descr2 is a subdescription of the charge unitcost is the cost per unit value is the number of units
Recordusage
will update debit values in PCBoard as well as record descriptions and other information in an accounting file.
Valid values for the field parameter are 2-16. The constants corresponding with these values (DEB???) could and should be used here. (see the Accounting section for a list of consts)
See also: Accounting Account PCBAccount PcbAccStat