KVSFCYProdLineOpportunityCost#
Fields#
| Name | Type | Note |
|---|---|---|
| Status | Option | OptionMembers: Simulated,Planned,Firm Planned,Released,Finished |
| Prod. Order No. | Code[20] | |
| Prod. Order Line No. | Integer | |
| Line No. | Integer | |
| Type | Option | OptionMembers: Opportunity Cost,Item,Work Center,Machine Center,Resource |
| No. | Code[20] | |
| Description | Text[100] | |
| Description 2 | Text[50] | |
| Unit of Measure Code | Code[10] | |
| Expected Quantity | Decimal | |
| Variant Code | Code[10] | |
| Direct Unit Cost | Decimal | |
| Indirect Cost % | Decimal | |
| Overhead Rate | Decimal | |
| Quantity per | Decimal | |
| Unit Cost | Decimal | |
| Qty. per Unit of Measure | Decimal | |
| Expected Qty. (Base) | Decimal | |
| Cost Amount | Decimal | |
| Calculation Part Direct Cost | Code[20] | |
| Calculation Part Descr. Direct | Text[50] | FlowField |
| Calculation Part Ovhd Cost | Code[20] | |
| Calculation Part Descr. Ovhd | Text[50] | FlowField |
| Calculation Type | Option | OptionMembers: Material,,Capacity |
| Calculation Condition No. | Code[20] | |
| Overhead Rate fixed | Decimal | |
| Indirect Cost % fixed | Decimal | |
| Position | Code[10] | |
| E+D-Position | Code[50] | |
| Cost Group Direct Cost (Requ.) | Option | OptionMembers: ,Material Cost,,Capacity Cost,,Subcontracting Cost |
| Cost Group Ovhd Cost (Requ.) | Option | OptionMembers: ,,Material Ovhd Cost,,Capacity Ovhd Cost,,Subcontracting Ovhd Cost |
| Reworked | Boolean | Warning: Obsolete |
Procedures#
Caption() : Text#
Summary: Generates a descriptive caption for the production line opportunity cost record. This procedure creates a formatted string that combines the production order number, production order description, and item number to provide a meaningful identifier for opportunity cost entries in lists and forms. Used primarily for display purposes to help users identify specific opportunity cost contexts within production orders.
procedure Caption(): Text
Returns: A formatted text string containing the production order number, description, and item number, or empty string if the production order is not found.