
Staff Database Table
Distrbuted Access: Lanes( read edit Edits-require-TUBT )
Fields
- tid
- #100, Datatype: Integer
- name
- #101, Datatype: String 64 bytes
Login name for this record. Can only contain A-Z,a-z,0-9,space,dash,underscore,$sign - active
- #102, Datatype: Integer
- password
- #103, Datatype: String 132 bytes
Password used to login to this account. Passwords cannot be read via APIs - barcode
- #107, Datatype: String 132 bytes
- ttype
- #109, Datatype: Integer
Possible Values
Value Description 2 Sales Rep flag - failcount
- #114, Datatype: Integer
- lastfaildt
- #115, Datatype: DateTime
- disabled
- #117, Datatype: Integer
- nameformal
- #121
- mainlocation,work_location
- #122, Datatype: Integer
Location ID where this person mainly works. - namePrinted
- #123, Datatype: String 48 bytes
- firstname
- #124
- lastname
- #125
- nickname
- #126
- startdt
- #127, Datatype: DateTime
Date this staff member first started working for you - leavedt
- #128, Datatype: DateTime
- physkey
- #129, Datatype: String 48 bytes
- emailpersonal
- #130
- emailwork
- #131
- pwdexpires
- #132
- onlinelogin
- #133, Datatype: String 96 bytes
Login name, usually an email address, that can be used to access Fieldpine servers from the internet - remoteprofile
- #136
- AutoLoginFromWindowsName
- #137, Datatype: String 200 bytes
- ApiKeyEnc1
- #138
- ApiKeyTransform1
- #139
- onlinepass
- #141, Datatype: String 96 bytes
Hashed password to be used for onlinelogin name. This value is salted and has many rounds, it can only be used by Fieldpine directly - onlinesalt
- #142, Datatype: String 96 bytes
- loginbitmask
- #143, Datatype: Integer
A bitmask indicating where this staff member can login. Not supported by all client applicationsPossible Values
Value Description 1 Can NOT login to PosGreen 2 CAN login to a store server 4 CAN login to a head office server 8 - externalid
- #144, Datatype: String 64 bytes
A site specific external Id, used when a link to another systems id is required - work_location
- #145, Datatype: String 50 bytes
Free form text used to describe in general terms where this person works. - accountoverdraftlimit
- #146, Datatype: Money/Currency
Defines the maximum amount this staff member can approve an account to go over their credit limit - membershipkey
- #147, Datatype: String 48 bytes
- roleflags
- #148, Datatype: Integer
Possible Values
Value Description 8 Auto Allocate to new staff
Remarks
The field AutoLoginFromWindowsName is used to provide autologin functionality. If a poslane is enabled, then the current user values for
- NameSamCompatible eg (Engineering\JSmith)
- NameUserPrincipal eg (jsmith@example.com)
- NameUniqueId eg ({4fa050f0-f561-11cf-bdd9-00ba003a77b7})
- NameDnsDomain eg (example.com\JSmith)
select ... from staff where ... and autologinfromwindowsname in (NameSamCompatible, NameUserPrincipal, NameUniqueId, NameDnsDomain)This means you can enter one of these values into this field to drive autologin. You may only one of the 4 possible values.
AutoLoginFromWindowsName is not used on retailers with integrated AD configurations.
Retailers using browser based web selling interfaces, mobile devices, etc, the same logic as above applies