Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Enabling Automated COnsolidation Journals using HS.Con("",vPcon,"Nature")

MarkSmithHFMMay 28 2015 — edited May 29 2015

Hi Experts.

I'm having a problem with the rule to populate the Automated Consolidation Journals for all Elim. entries made during the HFM consolidation process.


My application is set to use Consolidation Rules and I have incorporated the standard consolidation rules and they are working fine.

An Oracle tutorial says to use the HS.Con "",vPCon,"text identifier").

I added this rule at the end of my consolidate section, and the Journals were getting generating at the "Elimination" value member, but the amounts were not the correct Elimination amounts we should be seeing.

'   Call Hs.Con with Nature to track elims so that Automated Consolidation Journals can be generated.

Set vDataUnit = HS.OpenDataUnit("")

vPCon = HS.Node.PCon("")

vNumItems = vDataUnit.GetNumItems()

For i = 0 To vNumItems - 1

Call vDataUnit.GetItem(i, vAccount, vICP, vCustom1, vCustom2, vCustom3, vCustom4, dData)

If HS.Account.IsICP(vAccount) Then

Call HS.Con("V#[Elimination]", vPCon, "Elimination")

End If

Next

End Sub

So I then tried to integrate Oracle’s suggested rule HS.Con("", vPCon, "Elimination") right into the main consolidation script, but then we don’t get any parent level data when consolidating (like it breaks the consolidation before it can finish properly).

Should we be using a rule something like this to ensure we are grabbing the Elimination value member when running the Open Data Unit loop?

Set vDataUnit = HS.OpenDataUnit("")

vNumItems = vDataUnit.GetNumItems()

For i = 0 To vNumItems - 1

Call vDataUnit.GetItem(i, vAccount, vICP, vCustom1, vCustom2, vCustom3, vCustom4, dData)

If HS.Account.IsICP(vAccount) Then

povValue= "[Elimination]" or use a variable like Set vElim = HS.Account.Elimination

Call HS.Con (vElim,vpCon, "Elimination")

End If

Next

Do you have any suggestions for how to make the rule work to populate the journals with the data from the Elimination value member of each ICP account?

Thanks very much in advance.
Mark Smith

Here is the data I get in my journals:

Sample Report showing Elim Journals

Application: CENXTEST

Scenario: Actual

User: cenxadmin@Native Directory

Year: 2018

Date: 5/28/2015

Period: Feb

Time: 11:28:06 AM

Value: [Elimination]

Status Filter: Working,Submitted,Approved,Rejected,Posted

Type Filter: Auto-Reversing,Regular,Auto-Reversal

Balance Type Filter: Balanced,Balanced by Entity,Unbalanced

Entity

Label

Description

Account

ICP

Debit

Credit

TOT_OPS

CENX_CONS_TOT_OPS_Elimination

CENX_CONS.TOT_OPS

1519200

0502

1,280,000

0540

1,280,000

NA_OPS_W_CORP

TOT_OPS_NA_OPS_W_CORP_Elimination

TOT_OPS.NA_OPS_W_CORP

1519200

0502

640,000

0540

640,000

NA_OPS

NA_OPS_W_CORP_NA_OPS_Elimination

NA_OPS_W_CORP.NA_OPS

1519200

0502

320,000

0540

320,000

CAKY

NA_OPS_CAKY_Elimination

NA_OPS.CAKY

1519200

0540

160,000

0502

CAKY_0502_Elimination

  1. CAKY.0502

1519200

0540

80,000

CASC

NA_OPS_CASC_Elimination

NA_OPS.CASC

1519200

0502

160,000

0540

CASC_0540_Elimination

  1. CASC.0540

1519200

0502

80,000

Total

2,480,000

2,480,000

Here is another rule we tried but it didn’t work:

Dim vPCon

Dim vElim

Dim vNumItems

vPCon = HS.Node.PCon("")

Set vDataUnit = HS.OpenDataUnit("")

vNumItems = vDataUnit.GetNumItems()

For i = 0 To vNumItems - 1

Call vDataUnit.GetItem(i, vAccount, vICP, vCustom1, vCustom2, vCustom3, vCustom4, vData)

If HS.Account.IsICP(vAccount) Then

Set vElim =HS.Account.Elim(vAccount)

Call HS.Con(vElim, vPCon, "Elimination")

End If

Next

This post has been answered by ericerikson on May 29 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 26 2015
Added on May 28 2015
1 comment
729 views