F1212InsertParentHistory

F1212 Insert Parent History

Major Business Rule

Object Name: B1200030

Parent DLL: CAEC

Location: Client/Server

Language: C

Purpose
The purpose of F1212 Insert Parent History is to insert a record in the Parent History Table (F1212) when a record is added to the Asset Master Table 

(F1201) or when a change is made to the Parent Number (AAID) on the Asset Master Revisions.

Data Structure

D1200030 - F1212 Insert Parent History

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAssetItemNumberNUMBMATH_NUMERICREQINPUT

An 8-digit number that uniquely identifies an asset.

mnParentNumberAAIDMATH_NUMERICREQINPUT

A parent number groups related components together. You can associate each item of property and piece of equipment with a parent item. 
For example, you can associate a mobile telephone with a specific automobile (the parent), a printer with a computer (the parent), or a flat 
bed with a specific truck chassis (the parent). Note: If this is a data entry field, the default value is the asset number. For example, if the asset 
number is 123, the system assigns 123 as the default parent number.

jdDateBeginEFTBJDEDATEREQINPUT

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

cErrorCodeEV01charOPTOUTPUT

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

cValidateOnlyEV01charOPTINPUT

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

szProgramIdPIDcharOPTNONE

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.

Related Functions

None

Related Tables

F1212 Parent History