F3002ValidateFeatureCostPercent

F3002 Validate Feature Cost Percent

Major Business Rule

Object Name: B3001760

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
Validate the feature cost percent for Co/By Products.  Sum the Feature Cost Percent by Operation 
Sequence (OPSQ).  The sums for each sequence must be less than or equal to 100 unless the sum is for the 

last Operation Sequence.  If the sum is for the last Operation Sequence the Feature Cost Percent total 

must equal 100%.


2.Technical Specifications


2.4 Processing:
1.0 For each record in the grid write a duplicate to the link list.
1.1 After the Link List has been filled with the records from the grid:

a. Do While not End of LL
   Read thru the Link List 
• Save the LLOPSQ and the LLF$RP of the first record
• If the LLOPSQ = the LLSaveOPSQ 
F$RPTotal = F$RPTotal + F$RP
       Else

            If the end of the Link List has not been reached and F$RPTotal > 100

   Error Message = '4070'

            Else 

            If the end of Link List has been reached and F$RPTotal <> 100 

    Error Message = '4071'

            End If     

        F$RPTotal = F$RP
        LLSaveOPSQ = LLOPSQ

        End If
                    End While       

Data Structure

D3001760 - F3002 Validate Feature Cost Percent

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOperationsSequenceNoOPSQMATH_NUMERICNONENONE

A number used to indicate an order of succession. In routing instructions, a number that sequences the fabrication or assembly steps in the 
manufacture of an item. You can track costs and charge time by operation. In bills of material, a number that designates the routing step in the 
fabrication or assembly process that requires a specified component part. You define the operation sequence after you create the routing 
instructions for the item. The Shop Floor Management system uses this number in the backflush/preflush by operation process. In engineering 
change orders, a number that sequences the assembly steps for the engineering change. For repetitive manufacturing, a number that 
identifies the sequence in which an item is scheduled to be produced. Skip To fields allow you to enter an operation sequence that you want to begin 
the display of information. You can use decimals to add steps between existing steps. For example, use 12.5 to add a step between steps 
12 and 13.

mnFeatureCostPercentF$RPMATH_NUMERICNONENONE

A percentage that the Simulate Cost Rollup program uses to calculate the cost of a feature or option item as a percentage of the total cost 
of the parent. Enter the percentage as a whole number, for example, enter 5% as 5.0.

mnLastOperationSequenceOPSQMATH_NUMERICNONENONE

A number used to indicate an order of succession. In routing instructions, a number that sequences the fabrication or assembly steps in the 
manufacture of an item. You can track costs and charge time by operation. In bills of material, a number that designates the routing step in the 
fabrication or assembly process that requires a specified component part. You define the operation sequence after you create the routing 
instructions for the item. The Shop Floor Management system uses this number in the backflush/preflush by operation process. In engineering 
change orders, a number that sequences the assembly steps for the engineering change. For repetitive manufacturing, a number that 
identifies the sequence in which an item is scheduled to be produced. Skip To fields allow you to enter an operation sequence that you want to begin 
the display of information. You can use decimals to add steps between existing steps. For example, use 12.5 to add a step between steps 
12 and 13.

cSuppressErrorMessageEV01charNONENONE

An option that specifies the type of processing for an event.

szErrorMessageIDDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cModeEV01charNONENONE

An option that specifies the type of processing for an event.

idLinkedListPointerGENLNGIDNONENONE

General purpose ID variable.

Related Functions

None

Related Tables

None