Insert AREF Account Cache
This business function inserts or updates records into cache for the AREF Budget Calculation. Based on the key values passed in, if a cache record
already exists and the record's lock flag is not locked, the record will be updated. If the cache record does not exist, it will be inserted. The following is the list
of data structure parameters.
NameAlias I/OReqDescription
Building MCUIYAREF Building to calculate lease revenue
Revision NumberRVNBIYRevision Number of Budget Calculation
Account AIDIYF15L109 cache record key
Century CTRYIYF15L109 cache record key
Fiscal Year FYIYF15L109 cache record key
Subledger SBLIYF15L109 cache record key
Subledger TypeSBLTIYF15L109 cache record key
Amount1 AN01I
Amount2 AN02I
Amount3 AN03 I
Amount4 AN04 I
Amount5 AN05 I
Amount6 AN06 I
Amount7 AN07 I
Amount8 AN08 I
Amount9 AN09 I
Amount10 AN10 I
Amount11 AN11 I
Amount12 AN12 I
PostingBU MCU2I
Object OBJI
Subsidiary SUBI
Lock Flag BELKI
Record Exists EV01 O Return 1 if Cache record exists
Return Status EV01O Returns 1 if error occurred
ComputerID CTIDIYPart of Cache Name
Pseudo Code:
Insert AREF Account Cache
Set error return flag to false
Concatinate Object Name and ComputerID as Cache Name
Call Create Cache internal function
If Create Cache is successful
Call Load Cache Key internal function
Call Insert Cache Records internal function
If cache insert unsuccessful
If cache open cursor successful
Set function return error
Create Cache
Initialize Behavior
If behavior initialization is successful
Initialize cache
If fetch cache record successful
Insert cache record
D15L0002A - AREF Budget Calculation Account Cache
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBuilding_MCU | MCU | char | OPT | INPUT |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
mnRevisionNumber_RVNB | RVNB | MATH_NUMERIC | OPT | INPUT |
A number that specifies a unique budget revision. You store multiple revisions of information you set up and calculated budget information
| ||||
szAccountId_AID | AID | char | OPT | INPUT |
A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. | ||||
mnCentury_CTRY | CTRY | MATH_NUMERIC | OPT | INPUT |
The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19
| ||||
mnFiscalYear_FY | FY | MATH_NUMERIC | OPT | INPUT |
A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal
| ||||
szSubledger_SBL | SBL | char | OPT | NONE |
A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an
| ||||
cSubledgerType_SBLT | SBLT | char | OPT | NONE |
A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger
| ||||
mnAmountNetPosting001_AN01 | AN01 | MATH_NUMERIC | OPT | NONE |
A number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting002_AN02 | AN02 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting003_AN03 | AN03 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting004_AN04 | AN04 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting005_AN05 | AN05 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting006_AN06 | AN06 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting007_AN06 | AN07 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting008_AN08 | AN08 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting009_AN09 | AN09 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting010_AN10 | AN10 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting011_AN11 | AN11 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting012_AN12 | AN12 | MATH_NUMERIC | OPT | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
szObjectAccount_OBJ | OBJ | char | OPT | NONE |
The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into
| ||||
szSubsidiary_SUB | SUB | char | OPT | NONE |
A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account. | ||||
cLockFlag_BELK | BELK | char | OPT | NONE |
A code that determines whether the system updates a budget result record when you run the AREF Budget Calculation program
| ||||
szPostingBusinessUnit_MCU2 | MCU2 | char | OPT | NONE |
An accounting entity, such as a profit center, department, warehouse location, job, project, workcenter, and so on, required for management
| ||||
cRecordExists_EV01 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cReturnStatus_EV01 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szComputerID_CTID | CTID | char | REQ | INPUT |
jdBudgetEndDate_EFTE | EFTE | JDEDATE | OPT | NONE |
The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used
|
None |
None |