Table of Contents

Table "Work Center"

ID 99000754
Namespace: Microsoft.Manufacturing.WorkCenter

Properties

Name Value
Caption Work Center
DataCaptionFields 1,3
DrillDownPageID Page Microsoft.Manufacturing.WorkCenter."Work Center List"
LookupPageID Page Microsoft.Manufacturing.WorkCenter."Work Center List"
Permissions TableData "Prod. Order Capacity Need" = rm
DataClassification CustomerContent

Fields

Name Type Description
"No." Code[20]

Specifies the number of the involved entry or record, according to the specified number series.

Name Text[100]

Specifies the name of the work center.

"Search Name" Code[100]

Specifies an alternate name that you can use to search for the record in question when you cannot remember the value in the Name field.

"Name 2" Text[50]
Address Text[100]
"Address 2" Text[50]
City Text[30]
"Post Code" Code[20]
"Alternate Work Center" Code[20]

Specifies an alternate work center.

"Work Center Group Code" Code[10]

Specifies the work center group, if the work center or underlying machine center is assigned to a work center group.

"Global Dimension 1 Code" Code[20]

Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company's most important activities, are available on all cards, documents, reports, and lists.

"Global Dimension 2 Code" Code[20]

Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company's most important activities, are available on all cards, documents, reports, and lists.

"Subcontractor No." Code[20]

Specifies the number of a subcontractor who supplies this work center.

"Direct Unit Cost" Decimal

Specifies the cost of one unit of the selected item or resource.

"Indirect Cost %" Decimal

Specifies the percentage of the center's cost that includes indirect costs, such as machine maintenance.

"Unit Cost" Decimal

Specifies the cost of one unit of the item or resource on the line.

"Queue Time" Decimal

Specifies the queue time of the work center.

"Queue Time Unit of Meas. Code" Code[10]

Specifies the queue time unit of measure code.

"Last Date Modified" Date

Specifies when the work center card was last modified.

Comment Boolean
"Unit of Measure Code" Code[10]

Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted.

Capacity Decimal

Specifies the amount of work that can be done in a specified time period. The capacity of a work center indicates how many machines or persons are working at the same time. If you enter 2, for example, the work center will take half of the time compared to a work center with the capacity of 1.

Efficiency Decimal

Specifies the efficiency factor as a percentage of the work center.

"Maximum Efficiency" Decimal

Specifies the maximum efficiency factor of the work center.

"Minimum Efficiency" Decimal

Specifies the minimum efficiency factor of the work center.

"Calendar Rounding Precision" Decimal

Specifies how calendar entries are rounded, such as whether minutes are rounded to hours.

"Simulation Type" Option

Specifies the simulation type for the work center.

"Shop Calendar Code" Code[10]

Specifies the shop calendar code that the planning of this work center refers to.

Blocked Boolean

Specifies whether the work center is blocked from being posted in transactions, for example, if the machine center is out of order.

"Date Filter" Date
"Work Shift Filter" Code[10]
"Capacity (Total)" Decimal
"Capacity (Effective)" Decimal
"Prod. Order Need (Qty.)" Decimal
"Prod. Order Need Amount" Decimal
"Prod. Order Status Filter" Enum Microsoft.Manufacturing.Document."Production Order Status"
"Unit Cost Calculation" Enum Microsoft.Foundation.Enums."Unit Cost Calculation Type"

Specifies the unit cost calculation that is to be made.

"Specific Unit Cost" Boolean

Specifies where to define the unit costs. If you place a check mark in this field, you can define the unit costs on the routing line. This allows you to have individual costs on every routing line. This is useful for subcontracting operations with varying rates.

"Consolidated Calendar" Boolean

Specifies whether the consolidated calendar is used.

"Flushing Method" Enum Microsoft.Manufacturing.Setup."Flushing Method Routing"

Specifies the method to use to calculate and handle output at the work center. Manual: Output must be posted manually by using the output journal. Forward: Output is automatically calculated and posted when you change the status of a simulated, planned (or firm planned) production order to Released. You can still post output manually from the output journal. Backward: Output is automatically calculated and posted when you change the status of a released production order to Finished or when the last operation is finished. You can still post output manually from the output journal. The setting you make in this field is copied to the Flushing Method field on the production order routing line according to the machine/work center of the master routing, but you can change the field for an individual production order to allow a different output (or consumption) posting of that order.

"No. Series" Code[20]
"Overhead Rate" Decimal

Specifies the overhead rate of this work center.

"Gen. Prod. Posting Group" Code[20]

Specifies the item's product type to link transactions made for this item with the appropriate general ledger account according to the general posting setup.

County Text[30]
"Country/Region Code" Code[10]
"Location Code" Code[10]

Specifies the location for which the bin codes on this work center apply. The bin codes are used on production order routing lines and components only when the production order's location matches this value.

"Open Shop Floor Bin Code" Code[20]

Specifies the default bin for production order components with manual, forward, or backward flushing method. Copied to the production order routing line when the location code matches, then used as the component's bin code based on the flushing method.

"To-Production Bin Code" Code[20]

Specifies the default bin for production order components with pick-based flushing methods (Pick + Forward, Pick + Backward, Pick + Manual). Copied to the production order routing line when the location code matches, then used as the component's bin code based on the flushing method.

"From-Production Bin Code" Code[20]

Specifies the default bin for finished output. Copied to the production order routing line when the location code matches. At the last routing operation, this bin code flows to the production order line's bin code.

"Calendar Entries Avail. Until" Date

Specifies the last date for which work center calendar entries have been calculated. If this date is in the past, run the Calculate Work Center Calendar report to extend the calendar.

SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

AssistEdit

procedure AssistEdit(OldWorkCenter: Record "Work Center"): Boolean

Parameters

Name Type Description
OldWorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"

Returns

Type Description
Boolean

ValidateShortcutDimCode

procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

GetBinCodeForFlushingMethod

procedure GetBinCodeForFlushingMethod(UseFlushingMethod: Boolean; FlushingMethod: Enum "Flushing Method"): Code[20]

Parameters

Name Type Description
UseFlushingMethod Boolean
FlushingMethod Enum Microsoft.Manufacturing.Setup."Flushing Method"

Returns

Type Description
Code[20]

CheckBinCode

procedure CheckBinCode(LocationCode: Code[10]; BinCode: Code[20]; BinCaption: Text; WorkCenterNo: Code[20])

Parameters

Name Type Description
LocationCode Code[10]
BinCode Code[20]
BinCaption Text
WorkCenterNo Code[20]

Events

OnAfterGetBinCodeForFlushingMethod

[IntegrationEvent(False,False)]
local procedure OnAfterGetBinCodeForFlushingMethod(WorkCenter: Record "Work Center"; FlushingMethod: Enum "Flushing Method"; var Result: Code[20])

Parameters

Name Type Description
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
FlushingMethod Enum Microsoft.Manufacturing.Setup."Flushing Method"
Result Code[20]

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var WorkCenter: Record "Work Center"; var xWorkCenter: Record "Work Center"; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
xWorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeAssistEdit

[IntegrationEvent(False,False)]
local procedure OnBeforeAssistEdit(var WorkCenter: Record "Work Center"; OldWorkCenter: Record "Work Center"; var IsHandled: Boolean)

Parameters

Name Type Description
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
OldWorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
IsHandled Boolean

OnBeforeValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var WorkCenter: Record "Work Center"; var xWorkCenter: Record "Work Center"; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
xWorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
FieldNumber Integer
ShortcutDimCode Code[20]

OnValidateLocationCodeOnBeforeCheckBinMandatory

[IntegrationEvent(False,False)]
local procedure OnValidateLocationCodeOnBeforeCheckBinMandatory(var WorkCenter: Record "Work Center"; var Location: Record Location; var SkipErrorIfLocationIsNotBinMandatory: Boolean)

Parameters

Name Type Description
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
Location Table Microsoft.Inventory.Location.Location
SkipErrorIfLocationIsNotBinMandatory Boolean

OnValidateWorkCenterGroupCodeBeforeModify

[IntegrationEvent(False,False)]
local procedure OnValidateWorkCenterGroupCodeBeforeModify(var WorkCenter: Record "Work Center"; var xWorkCenter: Record "Work Center")

Parameters

Name Type Description
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
xWorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"

OnBeforeValidateCity

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateCity(var WorkCenter: Record "Work Center"; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
PostCode Table Microsoft.Foundation.Address."Post Code"
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeValidatePostCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidatePostCode(var WorkCenter: Record "Work Center"; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
PostCode Table Microsoft.Foundation.Address."Post Code"
CurrentFieldNo Integer
IsHandled Boolean

See also