Table
KanbanRule
Kanban rules
Stores Kanban rules, identified by a rule ID. A rule sets the type (manufacturing or withdrawal), the replenishment strategy, card handling, printing options and alert limits. It links to a Kanban flow, a legal entity and a card number sequence, and it can point to another rule that replaces it.
- Table name
KanbanRule- Module
Production control- Table group
Main- Table type
Regular- Data per company
No- Configuration key
LeanManufacturing- Primary index
None- Replacement key
RuleIdIdx- Key fields
RuleId- Model
Foundation
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RuleIdUnique code that identifies the Kanban rule. | String (20)LeanReplenishmentRuleId | Yes | None | |
AllowDeviatingQuantityYes/no choice for whether the product quantity may differ from the default quantity. | EnumNoYesIdNoYes (enum) | No | None | |
CardAssignmentTypeShows whether cards are assigned automatically or manually. | EnumKanbanCardAssignmentType (enum) | No | None | |
CardsNumberSequencePoints to the number sequence used to number the Kanban cards. | Int64RefRecId | Yes | NumberSequenceTable.RecId | None |
HandlingUnitEmptyPolicySets when a handling unit is registered as empty, for example on receipt, when the source requirement is met, or manually. | EnumLeanHandlingUnitEmptyPolicy (enum) | No | None | |
KanbanFlowPoints to the Kanban flow that the rule belongs to. | Int64KanbanFlowRefRecId | Yes | KanbanFlow.RecId | None |
KanbanTypeShows whether the rule is for manufacturing or for withdrawal. | EnumLeanKanbanType (enum) | No | None | |
LegalEntityPoints to the legal entity (company) record that the rule is for. | Int64LegalEntity | Yes | CompanyInfo.RecId | None |
MaximumAlertLevelUpper limit that triggers an alert for the rule. | IntegerKanbanTriggerLevel | No | None | |
MaximumDeviatingQuantityLargest amount by which the quantity may go above the default quantity. | RealKanbanQuantity | No | None | |
MinimumAlertLevelLower limit that triggers an alert for the rule. | IntegerKanbanTriggerLevel | No | None | |
MinimumDeviatingQuantityLargest amount by which the quantity may fall below the default quantity. | RealKanbanQuantity | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrintCardWithPickingListYes/no choice for printing the Kanban card together with the picking list. | EnumKanbanPrintCardWithPickingListNoYes (enum) | No | None | |
PrintInstructionsOnCardChooses which instructions are printed on the card: work instructions or shipping instructions. | EnumKanbanPrintInstructions (enum) | No | None | |
PrintKanbanAutomaticallyChooses the stage at which the Kanban prints automatically, or none. Stages are creation, plan, prepare, start and receive. | EnumKanbanAutoPrintType (enum) | Yes | None | |
QuantityDefault quantity for Kanbans created from this rule. | RealKanbanQuantity | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReplacingKanbanRulePoints to another Kanban rule that replaces this one. | Int64KanbanRuleRefRecId | No | KanbanRule.RecId | None |
ReplenishmentStrategyReplenishment strategy of the rule: fixed, scheduled or event. | EnumLeanReplenishmentStrategy (enum) | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TriggerLevelQuantity level used for automatic planning. | IntegerKanbanTriggerLevel | No | None | |
UrgencyLevelUrgency level given to the Kanban rule. | RealKanbanRuleOverviewUrgencyLevel | No | None | |
UsesCirculatingCardsYes/no choice for whether the rule uses circulating cards. | EnumNoYesIdNoYes (enum) | No | None |
Indexes (4)
RuleIdIdxReplacement keyUnique, alternate key.
FK_ReplacingKanbanRuleNot unique.
FK_KanbanFlowNot unique.
KanbanTypeIdxNot unique.
Relations (4)
Each relation joins KanbanRule to another table on the fields shown.
KanbanFlow→KanbanFlowJoin on
KanbanFlow = KanbanFlow.RecIdOne or more KanbanRule records → exactly one KanbanFlow record
KanbanRule_Replacing→KanbanRuleJoin on
ReplacingKanbanRule = KanbanRule.RecIdZero or one KanbanRule record → zero or one KanbanRule record
LegalEntity→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany KanbanRule records → exactly one CompanyInfo record
NumberSequenceTable→NumberSequenceTableJoin on
CardsNumberSequence = NumberSequenceTable.RecIdMany KanbanRule records → exactly one NumberSequenceTable record
Get this data out
No public entity reads from KanbanRule. Its data is only reachable through the application, a custom entity or a database export.
Need help with KanbanRule in a report, an integration or a migration? Talk to Dr Dynamics.