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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RuleIdUnique code that identifies the Kanban rule.String (20)
LeanReplenishmentRuleId
YesNone
AllowDeviatingQuantityYes/no choice for whether the product quantity may differ from the default quantity.Enum
NoYesId
NoYes (enum)
NoNone
CardAssignmentTypeShows whether cards are assigned automatically or manually.Enum
KanbanCardAssignmentType (enum)
NoNone
CardsNumberSequencePoints to the number sequence used to number the Kanban cards.Int64
RefRecId
YesNumberSequenceTable.RecIdNone
HandlingUnitEmptyPolicySets when a handling unit is registered as empty, for example on receipt, when the source requirement is met, or manually.Enum
LeanHandlingUnitEmptyPolicy (enum)
NoNone
KanbanFlowPoints to the Kanban flow that the rule belongs to.Int64
KanbanFlowRefRecId
YesKanbanFlow.RecIdNone
KanbanTypeShows whether the rule is for manufacturing or for withdrawal.Enum
LeanKanbanType (enum)
NoNone
LegalEntityPoints to the legal entity (company) record that the rule is for.Int64
LegalEntity
YesCompanyInfo.RecIdNone
MaximumAlertLevelUpper limit that triggers an alert for the rule.Integer
KanbanTriggerLevel
NoNone
MaximumDeviatingQuantityLargest amount by which the quantity may go above the default quantity.Real
KanbanQuantity
NoNone
MinimumAlertLevelLower limit that triggers an alert for the rule.Integer
KanbanTriggerLevel
NoNone
MinimumDeviatingQuantityLargest amount by which the quantity may fall below the default quantity.Real
KanbanQuantity
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintCardWithPickingListYes/no choice for printing the Kanban card together with the picking list.Enum
KanbanPrintCardWithPickingList
NoYes (enum)
NoNone
PrintInstructionsOnCardChooses which instructions are printed on the card: work instructions or shipping instructions.Enum
KanbanPrintInstructions (enum)
NoNone
PrintKanbanAutomaticallyChooses the stage at which the Kanban prints automatically, or none. Stages are creation, plan, prepare, start and receive.Enum
KanbanAutoPrintType (enum)
YesNone
QuantityDefault quantity for Kanbans created from this rule.Real
KanbanQuantity
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplacingKanbanRulePoints to another Kanban rule that replaces this one.Int64
KanbanRuleRefRecId
NoKanbanRule.RecIdNone
ReplenishmentStrategyReplenishment strategy of the rule: fixed, scheduled or event.Enum
LeanReplenishmentStrategy (enum)
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TriggerLevelQuantity level used for automatic planning.Integer
KanbanTriggerLevel
NoNone
UrgencyLevelUrgency level given to the Kanban rule.Real
KanbanRuleOverviewUrgencyLevel
NoNone
UsesCirculatingCardsYes/no choice for whether the rule uses circulating cards.Enum
NoYesId
NoYes (enum)
NoNone

Indexes (4)

Relations (4)

Each relation joins KanbanRule to another table on the fields shown.

  • KanbanFlow → KanbanFlow

    Join on KanbanFlow = KanbanFlow.RecId

    One or more KanbanRule records → exactly one KanbanFlow record

  • KanbanRule_Replacing → KanbanRule

    Join on ReplacingKanbanRule = KanbanRule.RecId

    Zero or one KanbanRule record → zero or one KanbanRule record

  • LegalEntity → CompanyInfo

    Join on LegalEntity = CompanyInfo.RecId

    Many KanbanRule records → exactly one CompanyInfo record

  • NumberSequenceTable → NumberSequenceTable

    Join on CardsNumberSequence = NumberSequenceTable.RecId

    Many 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.

Email sales@drdynamics.co.uk