AREFCalculateDetailAssumption

AREF Calculate Detail Assumption

Major Business Rule

Object Name: N15L0004

Parent DLL: CCRIN

Location: Client/Server

Language: NER

N15L0004 - AREF Calculate Detail Assumption (New)
This function calculates a units detail assumptions.  Each detail assumption is computed and posted to the Budget Results file based on a specified 

calculation method.  This function also assumes all unlocked lease revenue records have been deleted before entry into this BSFN.


D15L0004:
Name AliasI/OReqDescription
Building MCUIYAREF Building to calculate lease revenue

Revision NumberRVNBIYRevision Number of Budget Calculation

Unit UNITIYAREF Unit to calculate lease revenue

Lease NumberDOCOIY  Real Estate module's Lease Number; Zero means AREF estimated lease
Lease TypeEV01O   Lease type - (L = Real Estate Production Lease,  A = AREF Estimated Lease

Lease Begin DateEFTBO Lease 1 begin date
Lease End DateEFTEO Lease 1 end date

CompanyCOI   Company of AREF Building
PropertyMCUSI   Property Number of AREF Building

Unit Sq. FootageSUSAIYSqare Footage of Unit (based on Area Type)
Budget Begin DateEFTBIYStarting budget date

Budget End DateEFTEIYEnding budget date

Active AssumptionASP1O   Unit Assumption that is active based on assumption assigments and terms
Active Asmp ActionAACTO Unit Assumption's action - (N)ew or (R)enew
Computer IDCTIDIY  Computer ID for cache retrieval
Subledger TypeSBLI   Type of Subledger for unit number


MethodFormula Posts

CM 1Rent X Detail Market Rate First Period of Lease

CM 2(Rent X (% Grown Year 1 Detail Market Rate)) + First Period of Lease

(Rent X (% Grown Year 2 Detail Market Rate))  +
    +

(Rent X (% Grown Year N Detail Market Rate)).

Where N =  Number of Years of Lease 


CM 3(Detail Market Rate X Unit Square Footage) X Years of LeaseFirst Period of Lease


CM 4(Rent X (Fxd Grown Year 1 Detail Market Rate)) + First Period of Lease

(Rent X (Fxd Grown Year 2 Detail Market Rate)) +
(Rent X (Fxd Grown Year 3 Detail Market Rate))


CM 5(Detail Market Rate X Unit Square Footage) / 12 Each Period of Lease


CM 6Detail Market Rate Each Year of Lease - 1st Period of lease then period 1 

thereafter 


CM 7 - %(Rent Year 1 X (% Growth Pattern Year 1)) + First Period of Lease

(Rent Year 2 X (% Growth Pattern Year 2)) +
(Rent Year 3 X (% Growth Pattern Year 3)) +

'85 +

(Rent Year 15 X (% Growth Pattern Year 15))


CM 7 - FXFixed Amount Growth Pattern Year 1 + First Period of Lease

Fixed Amount Growth Pattern Year 2 +
Fixed Amount Growth Pattern Year 3 +

'85+

Fixed Amount Growth Pattern Year 15


CM 7 - SFUnit Sq. Ft.  X (SF Growth Pattern Year 1) + First Period of Lease

Unit Sq. Ft.  X (SF Growth Pattern Year 2) +
Unit Sq. Ft.  X (SF Growth Pattern Year 3) +

'85+

Unit Sq. Ft.  X (SF Growth Pattern Year 15)


OT - %Detail Market Rate X Grown % Growth Pattern Each Year of Lease - 1st Period of lease then period 1 

thereafter 


OT - FXDetail Market Rate + Grown Fixed Growth Pattern Each Year of Lease - 1st Period of lease then period 1 

thereafter 


OT - SFDetail Market Rate + Grown Square Foot Growth Pattern Each Year of Lease - 1st Period of lease then period 1 

thereafter 



Name Event Rule

Calculate period/century/fiscal year for lease and budget begin and end dates and 4 digit loop years

Set Lease Start and End within budget flags

Calculate lease term in years (# of months/12)

Select F15L112 Detail Assumptions

Fetch F15L112 record returning all information

While detail assumptions exist

If calculation method 1, 2, 3, 4, 7 and lease starts first is false OR calculation method is 5, 6
If posting bill code not equal to blank/null
Validate posting bill code/AAI
Else
Validate posting object account by building/property/company business unit
If valid posting bill code/AAI OR object account
Set market rate based on active assumption action
Initialize assumption amount
If assumption type equal to OT
Set posting period/century/fiscal year
For each year of budget
Retrieve F15L109 cache by account (bill code), subledger, fiscal year
If cache record not locked

Apply OT calculation
Add assumption amount to existing F15L109 posting amount
Insert F15L109 into cache - B15L0002 (NEW)
Increment loop year
else
If calc method is 1
Set posting period/century/fiscal year
Retrieve F15L109 cache by account (bill code), subledger, fiscal year
If cache record not locked

If all 3 retrieval bill codes are blank
Set Apply AREF Rules to 2
else
Set Apply AREF Rules to 3
AREF Calc Lease Revenue returning lease revenue
Apply calculation method 1 calculation

Add assumption amount to existing F15L109 posting amount - first period of lease

Insert F15L109 into cache - B15L0002 (NEW)
If calc method is 2
Set posting period/century/fiscal year
Retrieve F15L109 cache by account (bill code), subledger, fiscal year
If cache record not locked

Set Grow Year
If all 3 retrieval bill codes are blank

Set Apply AREF Rules to 2
else
Set Apply AREF Rules to 3
AREF Calc Lease Revenue returning lease revenue
Loop through each year of lease and apply calculation method 2 calculation

Add assumption amount to existing F15L109 posting amount - first period of lease

Insert F15L109 into cache - B15L0002 (NEW)
If calc method is 3
Set posting period/century/fiscal year
Retrieve F15L109 cache by account (bill code), subledger, fiscal year
If cache record not locked

Apply calculation method 3 calculation
Add assumption amount to existing F15L109 posting amount - first period of lease

Insert F15L109 into cache - B15L0002 (NEW)
If calc method is 4
Set posting period/century/fiscal year
Retrieve F15L109 cache by account (bill code), subledger, fiscal year
If cache record not locked

Set Grow Year
If all 3 retrieval bill codes are blank

Set Apply AREF Rules to 2
else
Set Apply AREF Rules to 3
AREF Calc Lease Revenue returning lease revenue
Loop through 3 year of lease and apply calculation method 4 calculation

Add assumption amount to existing F15L109 posting amount - first period of lease

Insert F15L109 into cache - B15L0002 (NEW)
If calc method is 5
Set posting period/century/fiscal year
For each year of budget
Retrieve F15L109 cache by account (bill code), subledger, fiscal year
If cache record not locked

Apply calculation method 5 calculation
Add assumption amount to existing F15L109 posting amount

Insert F15L109 into cache - B15L0002 (NEW)
Increment loop year
If calc method is 6
Set posting period/century/fiscal year
For each year of budget
Retrieve F15L109 cache by account (bill code), subledger, fiscal year
If cache record not locked

Apply calculation method 6 calculation
Add assumption amount to existing F15L109 posting amount

Insert F15L109 into cache - B15L0002 (NEW)
Increment loop year
If calc method is 7
Set posting period/century/fiscal year
Retrieve F15L109 cache by account (bill code), subledger, fiscal year
If cache record not locked

Fetch F15L105 - Growth pattern record
If growth pattern type is fixed

Apply calculation method 7-fixed calculation
If growth pattern type is percent
If all 3 retrieval bill codes are blank
Set Apply AREF Rules to 2
else
Set Apply AREF Rules to 3
Set Grow Year 
For each year of lease
AREF Calc Lease Revenue returning lease revenue for each year of lease
Calculate yearly dates and set to lease begin and end date parameters
Apply calculation method 7-Percent calculation

Increment grow year

If growth pattern type is sq. foot
Apply calculation method 7-sq. foot calculation
Add assumption amount to existing F15L109 posting amount - first period of lease
Insert F15L109 into cache - B15L0002 (NEW)
Fetch F15L112 detail assumption record
End While


Data Structure

D15L0004 - AREF Calculate Detail Assumption

Parameter NameData ItemData TypeReq/OptI/O/Both
szBuilding_MCUMCUcharOPTINPUT

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.

mnRevisionNumber_RVNBRVNBMATH_NUMERICOPTINPUT

A number that specifies a unique budget revision. You store multiple revisions of information you set up and calculated budget information 
within the system.  The system stores each "what-if" scenario according to the budget revision number you assign.

szUnitNo_UNITUNITcharOPTINPUT

The number that identifies the actual space within a building that is or can be leased, such as an apartment, office, retail space, parking 
space, and so on.

mnLeaseNumber_DOCODOCOMATH_NUMERICOPTINPUT

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

cLeaseType_EV01EV01charOPTINPUT

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

jdLeaseBeginDate_EFTBEFTBJDEDATEOPTINPUT

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. 

jdLeaseEndDate_EFTEEFTEJDEDATEOPTINPUT

The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used 
generically throughout the system. It could be a lease effective date, a price or cost effective date, a currency effective date, a tax rate effective 
date, or whatever is appropriate.

szCompany_COCOcharOPTINPUT

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szProperty_MCUSMCUScharOPTINPUT

Either a subsequent business unit or a project number. A subsequent business unit specifies where to charge costs (or revenues) when the 
original business unit has been closed or suspended. For example, the subsequent business unit can be used in corporate reorganizations 
when you close a business unit and direct all costs to the subsequent business unit. In this situation, you must enter journal entries to transfer 
existing balances. A project number is used to group business units within an overall business unit. For example, you can group jobs by 
project. In this case, the project business unit can also have accounts for tracking overhead costs that can be allocated to jobs.

mnUnitSqFootage_SUSASUSAMATH_NUMERICOPTINPUT

You can use this field to enter an override square footage amount to use when calculating Sales Overage Billings.  Square footage may be 
assigned at the Property/Building, Floor, Unit or Lease level; it can be overridden by the Product Scales specifications for selected 
Leases.  Square footage entered here relates to the combination of DBA, Product Code, Building, and Unit identified on the same line.  It does not 
relate to the ULI Code or Reporting Codes.

jdBudgetBeginDate_EFTBEFTBJDEDATEOPTINPUT

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. 

jdBudgetEndDate_EFTEEFTEJDEDATEOPTINPUT

The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used 
generically throughout the system. It could be a lease effective date, a price or cost effective date, a currency effective date, a tax rate effective 
date, or whatever is appropriate.

szAssumption_ASP1ASP1charOPTINPUT

A code that specifies the Assumption ID that the system uses to calculate the expected revenue and expenses associated with a unit. Use 
this code to reference the Assumption IDs that you have defined. This code is maintained in the AREF Unit Assumptions Master Header 
table (F15L102).

szAsmpActioin_AACTAACTcharOPTINPUT

A user defined code (15L/UA) that specifies the type of action that applies to the assumption rule.  The following assumption actions are 
defined by PeopleSoft, and should not be changed: N New R Renew B Market Blend 

szComputerID_CTIDCTIDcharOPTINPUT

cSubledgerType_SBLTSBLTcharOPTINPUT

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  

cAsmp1TermCalculation_EV01EV01charOPTINPUT

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

cAddDowntimeEV01charOPTNONE

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

jdOriginalBudgetEndDateEFTEJDEDATEOPTNONE

The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used 
generically throughout the system. It could be a lease effective date, a price or cost effective date, a currency effective date, a tax rate effective 
date, or whatever is appropriate.

Related Functions

None

Related Tables

None