Library
Localdb_salestechnicalaudit Database Table
Internal integrity checks for sales
Fields
- physkey
 - #100, Datatype: String 44 bytes
Reference to Sales.physkey for this record - sid
 - #101, Datatype: Integer
Reference to Sales.sid for this record - checkdtu
 - #102, Datatype: DateTime
Date/time UTC this sale was most recently checked - checkversion
 - #103, Datatype: String 24 bytes
Version of application that performed this check - financialerrormask
 - #110, Datatype: Integer
Bitmask of finanical errors in the salePossible Values
Value Description 1 Total of salelines does not equal total payments 2 Unknown payment type present  - financialWarnmask
 - #111, Datatype: Integer
Bitmask of finacial warnings in the salePossible Values
Value Description 1 Total of salelines does not equal total payments 4 No salelines present  - headererrormask
 - #120, Datatype: Integer
Bitmask of errors in the sale headerPossible Values
Value Description 1 Location is invalid 2 Phys_Location is invalid 4 Teller is invalid 8 Cid is invalid 16 One or more Srcuid fields is invalid  - lineserrormask
 - #130, Datatype: Integer
Bitmask of errors in one or more salelinesPossible Values
Value Description 1 Invalid Pid  - lineswarnmask
 - #131, Datatype: Integer
Bitmask of warning in one or more salelinesPossible Values
Value Description 1 Qty of zero detected 2 A Qty is outside expected or predicted range of 3 Sd 4 A Qty is between 2 and 3 Sd