F1632CopySubledgerFiscalYear

F1632 Copy Subledger Fiscal Year

Minor Business Rule

Object Name: N1600150

Parent DLL: CFIN

Location: Client/Server

Language: NER


Functional Description

2.1 Purpose
This function gets the data from the application P1632, checks to see whether a duplicate record with 
that data exists in the Table F1632. If it exists then the function returns an error else it inserts 

the data into the table. The function also the function Get Audit Information to retrieve User Name, 

Date, Time and Workstation ID.


2.2 Setup Notes and Prerequisites

None.

2.3 Special Logic

None.

Technical Specifications


Data Item Data Structure DescriptionI/ORequiredNotes


DRCDszDriverCodeIY

MCUszCostCenterIY

SBLszSubledgerIY

CFYmnCenturyFiscalYear_ToIY

SBLTcSubledgerType_ToIY

BLTszLedgerTypeIY

ACBTszActivityCodeIY

ITMmnIdentifierShortItemIY

ABR1szManagerialAnalysisCode1IY

ABT1cmanagerialAnalysisType1IY

ABR2szManagerialAnalysisCode2IY

ABT2cmanagerialAnalysisType2IY

ABR3szManagerialAnalysisCode3IY

ABT3cmanagerialAnalysisType3IY

ABR4szManagerialAnalysisCode4IY

ABT4cmanagerialAnalysisType4IY

PIDszProgramIDIY

SUPPScSuppressErrorMessageIYif want error 

displayed

DTAIszErrorMessageIDOY

CFYmnCenturyFiscalYear_FromIY

SBLTcSubledgerType_FromIY




2.2Related Tables 

Table Table Description
F1632Driver Balances


2.4Processing   


1.Get the values from the P1632 and using the keys and the _To keys for Ledger Type and Fiscal year, 
check whether the record already exists in the database.

2.If the record exists in the database then pass the error 073P specifying that record duplication 

is not allowed.

3.If the record does not exist then a Fetch Single is performed based on the _From set of keys. 

While insertion into the database all the records fetched (excluding LedgerType_From and FiscalYear_From) 

and LedgerType_To , FiscalYear_To are inserted.

4.If due to some reason the insertion fails, error 078F is returned.



^

Data Structure

D1600150 - F1632 Copy Subledger Fiscal Year

Parameter NameData ItemData TypeReq/OptI/O/Both
szDriverCodeDRCDcharOPTNONE

A code that identifies drivers within the Advanced Cost Accounting system.

szCostCenterMCUcharOPTNONE

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.

szSubledgerSBLcharOPTNONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharOPTNONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szManagerialAnalysisCode1ABR1charOPTNONE

A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify 
the cost object type. This field functions the same and is validated the same as the subledger field, but the system does not post the data in 
the cost object code field to the Account Balances file (F0902).

cManagerialAnalysisType1ABT1charOPTNONE

A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can 
be added or modified using the Cost Object Types program (P1620).

szManagerialAnalysisCode2ABR2charOPTNONE

A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify 
the cost object type. This field functions the same and is validated the same as the subledger field, but the system does not post the data in 
the cost object code field to the Account Balances file (F0902).

cManagerialAnalysisType2ABT2charOPTNONE

A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can 
be added or modified using the Cost Object Types program (P1620).

szManagerialAnalysisCode3ABR3charOPTNONE

A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify 
the cost object type. This field functions the same and is validated the same as the subledger field, but the system does not post the data in 
the cost object code field to the Account Balances file (F0902).

cManagerialAnalysisType3ABT3charOPTNONE

A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can 
be added or modified using the Cost Object Types program (P1620).

szManagerialAnalysisCode4ABR4charOPTNONE

A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify 
the cost object type. This field functions the same and is validated the same as the subledger field, but the system does not post the data in 
the cost object code field to the Account Balances file (F0902).

cManagerialAnalysisType4ABT4charOPTNONE

A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can 
be added or modified using the Cost Object Types program (P1620).

mnCenturyFiscalYear_ToCFYMATH_NUMERICOPTNONE

A field used to store the century concatenated with the fiscal year.

szLedgerType_ToLTcharOPTNONE

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

szActivityCodeACTBcharOPTNONE

The aggregation of actions performed within an organization that are useful for purposes of activity-based costing.

mnIdentifierShortItemITMMATH_NUMERICOPTNONE

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

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.

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTNONE

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.

mnCenturyFiscalYear_FromCFYMATH_NUMERICOPTNONE

A field used to store the century concatenated with the fiscal year.

szLedgerType_FromLTcharOPTNONE

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

Related Functions

None

Related Tables

None