|
|
Line 762: |
Line 762: |
| *NOTNULL | | *NOTNULL |
| | | | | |
− | *Rule Context key=== | + | *Rule Context key |
| *Company Key | | *Company Key |
| *Warehouse Key | | *Warehouse Key |
Line 781: |
Line 781: |
| !Key Description | | !Key Description |
| |- | | |- |
| + | |
| ===wmRuleContextLine=== | | ===wmRuleContextLine=== |
| *ruleContextLineKey int NOTNULL Rule Context Line Key | | *ruleContextLineKey int NOTNULL Rule Context Line Key |
Revision as of 16:32, 18 September 2006
Whistle Database Tables
The Whistle application uses a number of database tables to store and organize warehouse information. Whistle updates most tables automatically. Other tables, such as the ‘user’ tables, are updated manually through the use of data maintenance frames (see chapter on Data Maintenance Frames). This is a comprehensive listing of all Whistle – specific database tables and their corresponding parameters.
The following is a list of all Whistle database tables. Each table is described in detail in later in this appendix.
Whistle Tables and Definitions
Column
|
Data Type
|
Nullable
|
Key Description
|
wmCountDetail
- company
- warehouse
- countKey
- containerHeader
- containerDetail
- bin
- item
- pack
- lot
- originalQty
- countedQty
- countedCost
- variance
- varianceCost
- countedBy
- countedOn
- updateCounter
|
- varchar(2)
- varchar(4)
- int
- varchar(10)
- int
- varchar(10)
- varchar(10)
- varchar(10)
- varchar(10)
- decimal(18,4)
- decimal(18,4)
- decimal(18,4)
- decimal(18,4)
- decimal(18,4)
- varchar(10)
- datetime
- int
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
|
- Company Key
- Warehouse Key
- Count Key
- Container Header Key
- Container Detail Key
- Bin Key
- Item Key
- Pack Key
- Lot Key
- Original Quantity Value
- Counted Quantity Value
- Counted Cost Value
- Variance Value
- Variance Cost Value
- User Key
- Counted On Date/Time Value
- Update Counter Key
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmCountMaster
- company
- warehouse
- countKey
- countStatus
- createdBy
- createdOn
- completedBy
- completedOn
- countedCost
- netVarianceCost
- numCounts
- numErrors
|
- varchar(2)
- varchar(4)
- int
- varchar(10)
- varchar(10)
- datetime
- varchar(10)
- datetime
- decimal(18,4)
- decimal(18,4)
- int
- int
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NULL
- NULL
- NULL
- NULL
- NULL
- NULL
|
- Company Key
- Warehouse Key
- Count Key
- Count Status Key
- User Key
- Counted On Date/Time Value
- User Key
- Completed On Date/Time Value
- Counted Cost Value
- Net Variance Cost
- Number of Counts Value
- Number of Errors Value
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmCountZones
- company
- warehouse
- countZone
- bin
|
- varchar(2)
- varchar(4)
- varchar(10)
- varchar(10)
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
|
- Company Key
- Warehouse Key
- Count Zone Key
- Bin Key
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmCountedBins
- company
- warehouse
- countKey
- bin
- errors
- countedBy
- countedOn
- updateCounter
|
- varchar(2)
- varchar(4)
- int
- varchar(10)
- int
- varchar(10)
- datetime
- int
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
|
- Company Key
- Warehouse Key
- Count Key
- Bin Key
- Errors Key
- User Key
- Counted On Date/Time Value
- Update Counter Key
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmCustomer
- company
- warehouse
- customerKey
- showCustPartNumber
|
- varchar(2)
- varchar(4)
- varchar(10)
- int
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
|
- Company Key
- Warehouse Key
- Customer Key
- Show Customer Part Number Key
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmDemand
- company
- warehouse
- orderKey
- orderType
- demandLine
- status
- item
- pack
- lot
- demandQty
- pickedQty
- uom
- createTime
- activeUser
- lockCounter
- minShelfLife
|
- varchar(2)
- varchar(4)
- varchar(10)
- int
- int
- varchar(50)
- varchar(20)
- varchar(8)
- varchar(20)
- decimal(18,4)
- decimal(18,4)
- varchar(2)
- datetime
- varchar(10)
- int
- int
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NULL
- NULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
|
- Company Key
- Warehouse Key
- Order Key
- Order Type Key
- Demand Line Key
- Status Key
- Item Key
- Pack Key
- Lot Key
- Demand Quantity Value
- Picked Quantity Value
- UOM Value
- Created Date/Time Value
- User Key
- Lock Counter Key
- Minimum Shelf Life Key
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmItemInstruct
- company
- warehouse
- item
- pack
- context
- instruction
|
- varchar(2)
- varchar(4)
- varchar(20)
- varchar(8)
- int
- varchar(255)
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
|
- Company Key
- Warehouse Key
- Item Key
- Pack Key
- Context Key
- Instruction Text Value
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmLabelCrossRef
- company
- branch
- deliverFrom
- labelKey
|
- varchar(2)
- varchar(4)
- varchar(10)
- int
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
|
- Company key
- Branch Key
- Deliver From Key
- Label Key
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmLabelElements
- labelKey
- elementKey
- dataType
- elementDescription
- position
- width
- uom
- decimalPosition
- mapsTo
- required
- lastModifiedBy
- lastModifiedOn
|
- int
- int
- int
- varchar(10)
- int
- int
- varchar(2)
- int
- varchar(20)
- int
- varchar(10)
- datetime
|
- NOTNULL
- NOTNULL
- NOTNULL
- NULL
- NOTNULL
- NOTNULL
- NULL
- NOTNULL
- NULL
- NOTNULL
- NOTNULL
- NULL
|
- Label Key
- Element Key
- Data Type Value
- Element Description Value
- Position Value
- Width Value
- UOM Value
- Decimal Position Key
- Maps To Key
- Required Key
- User Key
- Last Modified Date/Time Value
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmPickAllocation
- pickAllocKey
- companyKey
- warehouseKey
- orderType
- orderKey
- orderLineKey
- containerKey
- itemKey
- packKey
- allocLotKey
- allocQuantity
- allocUOM
- status
- lastChangedBy
- lastChangeDate
- createdBy
- creationDate
- lockCounter
|
- int
- varchar(10)
- varchar(10)
- smallint
- varchar(30)
- int
- varchar(10)
- varchar(20)
- varchar(10)
- varchar(30)
- float
- varchar(2)
- smallint
- varchar(30)
- datetime
- varchar(30)
- datetime
- int
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
|
- Pick Allocation Key
- Company Key
- Warehouse Key
- Order Type Key
- Order Key
- Order Line Key
- Container Key
- Item Key
- Pack Key
- Allocation Lot Key
- Allocation Quantity Value
- Allocation UOM Value
- Status Key
- User Key
- Changed on Date/Time Value
- User Key
- Created On Date Value
- Lock Counter Value
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmPrintJobs
- company
- warehouse
- track
- numLabels
- printDoc
- printer
- prePrint
- printSequence1
- printSequence2
- printSequence3
|
- varchar(2)
- varchar(4)
- varchar(10)
- int
- varchar(255)
- varchar(255)
- int
- varchar(10)
- varchar(10)
- varchar(10)
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NULL
- NULL
- NOTNULL
- NULL
- NULL
- NULL
|
- Company Key
- Warehouse Key
- Tracking Key
- Number of labels Value
- Print Document Value
- Printer Value
- Pre print Value
- Print Sequence 1 Value
- Print Sequence 2 Value
- Print Sequence 3 Value
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmRuleContext
- ruleContextKey
- companyKey
- warehouseKey
- contextName
- contextType
- binKey
- lastChangedBy
- lastChangeDate
- createdBy
- creationDate
- lockCounter
|
- int
- varchar(10)
- varchar(10)
- varchar(60)
- smallint
- varchar(10)
- varchar(30)
- datetime
- varchar(30)
- datetime
- int
|
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
- NOTNULL
|
- Rule Context key
- Company Key
- Warehouse Key
- Context Name Value
- Context Type Value
- Bin Key
- User Key
- Changed on Date/Time Value
- User Key
- Created on Date/Time Value
- Lock Counter
|
Column
|
Data Type
|
Nullable
|
Key Description
|
wmRuleContextLine
- ruleContextLineKey int NOTNULL Rule Context Line Key
- ruleContextKey int NOTNULL Rule Context Key
- rulePriority smallint NOTNULL Rule Priority Value
- ruleMasterKey int NOTNULL Rule Master Key
- sortOrder smallint NULL Sort Order Value
- lastChangedBy varchar(30) NOTNULL User Key
- lastChangeDate datetime NOTNULL Changed on Date
- createdBy varchar(30) NOTNULL User Key
- creationDate datetime NOTNULL Created on Date
- lockCounter int NOTNULL Lock Counter Value
Column
|
Data Type
|
Nullable
|
Key Description
|
wmRuleMaster
- ruleMasterKey int NOTNULL Rule Master Key
- ruleName varchar(60) NOTNULL Rule Name Value
- ruleTable varchar(30) NULL Rule Table Value
- ruleColumn varchar(30) NULL Rule Column Value
- ruleIdentifier varchar(30) NULL Rule ID Value
- lastChangedBy varchar(30) NOTNULL User Key
- lastChangeDate datetime NOTNULL Changed on Date Value
- createdBy varchar(30) NOTNULL User Key
- creationDate datetime NOTNULL Created on Date Value
- lockCounter int NOTNULL Lock Counter Value
Column
|
Data Type
|
Nullable
|
Key Description
|
wmScaleDefinition
- company varchar(2) NOTNULL Company Key
- warehouse varchar(4) NOTNULL Warehouse Key
- scaleKey varchar(60) NOTNULL Scale Key
- scaleDescription varchar(128) NULL Scale Description Value
- scaleAddress varchar(128) NOTNULL Scale Address Value
Column
|
Data Type
|
Nullable
|
Key Description
|
wmTaskMaster
- taskMasterKey int NOTNULL Task Master Key
- taskType varchar(20) NOTNULL Task Type Value
- taskName varchar(30) NOTNULL Task Name Value
- refLabel1 varchar(30) NULL Reference Label 1
- refLabel2 varchar(30) NULL Reference Label 2
- refLabel3 varchar(30) NULL Reference Label 3
- lastChangedBy varchar(30) NOTNULL User Key
- lastChangeDate datetime NOTNULL Changed On Date/Time Value
- createdBy varchar(30) NOTNULL User Key
- creationDate datetime NOTNULL Created On Date/Time Value
- lockCounter int NOTNULL Lock Counter Value
Column
|
Data Type
|
Nullable
|
Key Description
|
wmTestHistory
- testKey varchar(10) NOTNULL Test Key
- effectiveDate datetime NOTNULL Effective Date/Time Value
- sequence int NOTNULL Sequence Value
- item varchar(20) NOTNULL Item Key
- pack varchar(10) NOTNULL Pack Key
- lot varchar(30) NOTNULL Lot Key
- sampleID varchar(20) NOTNULL Sample ID Value
- status varchar(20) NOTNULL Status Value
- result varchar(60) NOTNULL Result Value
- measured decimal(18,4) NULL Measured value
- measuredUOM varchar(2) NULL Unit Of Measure Value
- comments varchar(255) NULL Comment Value
- transactionTime datetime NOTNULL Transaction Date/Time Value
- tranactionUser varchar(10) NULL User Key