F3293CopyAssemblyInclusionRules

F3293 Copy Assembly Inclusion Rules

Major Business Rule

Object Name: B3200300

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description
This business function will copy Assembly Inclusion Rules from one Configured Item to another.

1.1Purpose


1.2Setup Notes and Prerequisites

1.3Special Logic


2.Technical Specifications

2.4Processing 

1. Check if keys To Short Item Number/To Branch/Rule Type (if passed) has existing records. If so, 
return error (1619 Record already exist for key).

2. Check if keys From Short Item Number/From Branch has existing records. If not, return error (3505 

Record does not exist).

3. If Rule Type is blank, then key to the file is From Short Item Number/From Branch, else the key is 

From Short Item Number/From Branch/Rule Type.

4. Copy all records for keys From Short Item Number/From Branch/Rule Type (if passed) in F3293 to new 

keys To Short Item Number/To Branch, except 2nd and 3rd Item Numbers which will be obtained through 

call to X4101 Get Item Master Row. Add Audit Info to Each.

5. If Component Branch not equal to Blank:

update table with Component Branch equal to passed in value
 else, update table with the Component Branch value in the From records

6.If  Configurator If Selection Value (ATIV) is equal to *VALUE(S), copy all records for keys 

Configurator Rule Type/From Short Item Number/From Branch in F32921 to new keys Configurator Rule Type/To 

Short Item Number/To Branch.

7.If Configurator If Selection Value (ATIV) is equal to *RANGE(S), copy all records for keys 

Configurator Rule Type/From Short Item Number/From Branch in F32922 to new keys Configurator Rule Type/To 

Short Item Number/To Branch.


^

Data Structure

D3200300 - F3293 Copy Assembly Inclusion Rules

Parameter NameData ItemData TypeReq/OptI/O/Both
mnFromShortItemNumberKITMATH_NUMERICNONENONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant item number.    2.   2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3.   3rd Item Number - Another 
25-digit, free form, user defined alphanumeric item number.

szFromBranchMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

cRuleTypeATOTcharNONENONE

A value that identifies whether the resulting value of the assembly inclusion rule is a part number, price, routing operation, or calculated 
value. The valid values are:    P Part List    Q Work Order Component    C Calculation    H Hot Spot    X Price/Cost Adjustment    R Route Sheet

mnToShortItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szToBranchCMCUcharNONENONE

A secondary or lower-level business unit. The system uses the value that you enter to indicate that a branch or plant contains several 
subordinate departments or jobs. For example, assume that the component branch is named MMCU. The structure of MMCU might be as follows:    
Branch/Plant - (MMCU)       Dept A - (MCU)       Dept B - (MCU)       Job 123 - (MCU)

cSuppressErrorMessagesEV01charNONENONE

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.

szProgramIDPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szComponentBranchCMCUcharNONENONE

A secondary or lower-level business unit. The system uses the value that you enter to indicate that a branch or plant contains several 
subordinate departments or jobs. For example, assume that the component branch is named MMCU. The structure of MMCU might be as follows:    
Branch/Plant - (MMCU)       Dept A - (MCU)       Dept B - (MCU)       Job 123 - (MCU)

Related Functions

B9800100 Get Audit Information
X4101 Validate and Retrieve Item Master

Related Tables

F32921 Cross Segment Editing Rules - Values
F32922 Cross Segment Editing Rules - Range
F3293 Assembly Inclusions Rules
F4101 Item Master