 Library
Library
Customerstate Database Table
Holds various internal state and flags relating to individual customers. This state is shared between trading lanes to ensure that specific pricing rules and other conditions can correctly activate. eg Print a coupon after their first sale
Distrbuted Access: Lanes( read insert edit delete CanSync Edits-require-TUBT )
Fields
- physkey
- #100, Datatype: String 44 bytes
 Physkey of the customer this state record relates too
- state0
- #110, Datatype: Integer
 Current user defined state of record. See StateTable for information about state codes.Possible ValuesValue Description 0x0001xxxx New Customer 0x0002xxxx Opt out 0x0003xxxx Active 0x0004xxxx Stagnant 0x0005xxxx Gone/Historic 
- saleflags
- #120, Datatype: Integer