Table "Machine Center"
Properties
| Name | Value |
|---|---|
| Caption | Machine Center |
| DataCaptionFields | 1,3 |
| DrillDownPageID | Page Microsoft.Manufacturing.MachineCenter."Machine Center List" |
| LookupPageID | Page Microsoft.Manufacturing.MachineCenter."Machine 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 a name for the machine 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] | |
| "Work Center No." | Code[20] | Specifies the number of the work center to assign this machine center to. |
| "Direct Unit Cost" | Decimal | Specifies the direct unit cost of the machine center at one unit of measure. The basis of the direct unit cost is the usage quantity per time interval set in the Unit of Measure Code field in the assigned Work Center. The calculation is based on the amount of time used. |
| "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 machine center. |
| "Queue Time Unit of Meas. Code" | Code[10] | Specifies the queue time unit of measure code. |
| "Last Date Modified" | Date | Specifies when the machine center card was last modified. |
| Comment | Boolean | |
| Capacity | Decimal | Specifies the capacity of the machine center. |
| Efficiency | Decimal | Specifies the efficiency factor as a percentage of the machine center. |
| "Maximum Efficiency" | Decimal | Specifies the maximum efficiency of this machine center. |
| "Minimum Efficiency" | Decimal | Specifies the minimum efficiency of this machine center. |
| Blocked | Boolean | Specifies whether the machine 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" | |
| "Setup Time" | Decimal | Specifies how long it takes to set up the machine. |
| "Wait Time" | Decimal | Specifies the time a job remains at the machine center after an operation is completed, until it is moved to the next operation. |
| "Move Time" | Decimal | Specifies the move time required for a production lot on this machine. |
| "Fixed Scrap Quantity" | Decimal | Specifies the fixed scrap quantity. |
| "Scrap %" | Decimal | Specifies the scrap in percent. |
| "Setup Time Unit of Meas. Code" | Code[10] | |
| "Wait Time Unit of Meas. Code" | Code[10] | |
| "Send-Ahead Quantity" | Decimal | Specifies the send-ahead quantity. |
| "Move Time Unit of Meas. Code" | Code[10] | |
| "Flushing Method" | Enum Microsoft.Manufacturing.Setup."Flushing Method Routing" | Specifies the method to use to calculate and handle output at the machine 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. 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 posting of that order. |
| "Minimum Process Time" | Decimal | Specifies the minimum process time of the machine center. |
| "Maximum Process Time" | Decimal | Specifies the maximum process time of the machine center. |
| "Concurrent Capacities" | Decimal | Specifies how much available capacity must be concurrently planned for one operation at this machine center. |
| "Item Filter" | Code[20] | |
| "Stop Code Filter" | Code[10] | |
| "Scrap Code Filter" | Code[10] | |
| "No. Series" | Code[20] | |
| "Overhead Rate" | Decimal | Specifies the overhead rate of this machine 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 machine 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 machine center calendar entries have been calculated. If this date is in the past, run the Calculate Machine 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(OldMachineCenter: Record "Machine Center"): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| OldMachineCenter | Table Microsoft.Manufacturing.MachineCenter."Machine Center" |
Returns
| Type | Description |
|---|---|
| Boolean |
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; MachineCenterNo: Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| LocationCode | Code[10] | |
| BinCode | Code[20] | |
| BinCaption | Text | |
| MachineCenterNo | Code[20] |
Events
OnAfterGetBinCodeForFlushingMethod
[IntegrationEvent(False,False)]
local procedure OnAfterGetBinCodeForFlushingMethod(MachineCenter: Record "Machine Center"; FlushingMethod: Enum "Flushing Method"; var Result: Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| MachineCenter | Table Microsoft.Manufacturing.MachineCenter."Machine Center" | |
| FlushingMethod | Enum Microsoft.Manufacturing.Setup."Flushing Method" | |
| Result | Code[20] |
OnBeforeAssistEdit
[IntegrationEvent(False,False)]
local procedure OnBeforeAssistEdit(var MachineCenter: Record "Machine Center"; OldMachineCenter: Record "Machine Center"; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| MachineCenter | Table Microsoft.Manufacturing.MachineCenter."Machine Center" | |
| OldMachineCenter | Table Microsoft.Manufacturing.MachineCenter."Machine Center" | |
| IsHandled | Boolean |
OnValidateWorkCenterNoBeforeModify
[IntegrationEvent(False,False)]
local procedure OnValidateWorkCenterNoBeforeModify(var MachineCenter: Record "Machine Center"; xMachineCenter: Record "Machine Center"; CallingFieldNo: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| MachineCenter | Table Microsoft.Manufacturing.MachineCenter."Machine Center" | |
| xMachineCenter | Table Microsoft.Manufacturing.MachineCenter."Machine Center" | |
| CallingFieldNo | Integer |
OnWorkCenterNoOnValidateOnAfterCopyFromWorkCenter
[IntegrationEvent(False,False)]
local procedure OnWorkCenterNoOnValidateOnAfterCopyFromWorkCenter(var MachineCenter: Record "Machine Center"; WorkCenter: Record "Work Center")
Parameters
| Name | Type | Description |
|---|---|---|
| MachineCenter | Table Microsoft.Manufacturing.MachineCenter."Machine Center" | |
| WorkCenter | Table Microsoft.Manufacturing.WorkCenter."Work Center" |
OnBeforeValidateCity
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateCity(var MachineCenter: Record "Machine Center"; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| MachineCenter | Table Microsoft.Manufacturing.MachineCenter."Machine Center" | |
| PostCode | Table Microsoft.Foundation.Address."Post Code" | |
| CurrentFieldNo | Integer | |
| IsHandled | Boolean |
OnBeforeValidatePostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidatePostCode(var MachineCenter: Record "Machine Center"; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| MachineCenter | Table Microsoft.Manufacturing.MachineCenter."Machine Center" | |
| PostCode | Table Microsoft.Foundation.Address."Post Code" | |
| CurrentFieldNo | Integer | |
| IsHandled | Boolean |
OnValidateWorkCenterNoOnBeforeValidateLocationCode
[IntegrationEvent(False,False)]
local procedure OnValidateWorkCenterNoOnBeforeValidateLocationCode(var MachineCenter: Record "Machine Center"; WorkCenter: Record "Work Center"; var SkipValidateLocationCode: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| MachineCenter | Table Microsoft.Manufacturing.MachineCenter."Machine Center" | |
| WorkCenter | Table Microsoft.Manufacturing.WorkCenter."Work Center" | |
| SkipValidateLocationCode | Boolean |