SlideShare a Scribd company logo
1 of 13
11
Copyright © 2008, Oracle. All rights reserved.
Creating, Loading, and Extracting Member
Lists
Copyright © 2008, Oracle. All rights reserved.
Objectives
After this lesson this lesson, you should be able to:
• Describe the differences between system-generated and
user-defined member lists
• Create scripts for creating static and dynamic user-defined
member lists
• Load and extract member lists
Copyright © 2008, Oracle. All rights reserved.
Member Lists Overview
A member list is a subset of related members that belong to a
single dimension.
Income
Before Taxes
Gross Margin
Interest Expense
Admin Expense
Total Revenue
Sales
Sales Interco
Total Costs
Salaries
Account Dimension
Total Revenue
Total Costs
Admin Expense
Member List
Copyright © 2008, Oracle. All rights reserved.
System-Defined Member Lists
Base Member
List
Sales
Sales Interco
Salaries
Children of
Parent Member
List
Sales
Sales Interco
Interest Chgs
Admin Expense
Income
Before Taxes
Gross Margin
Interest Expense
Admin Expense
Total Revenue
Sales
Sales Interco
Total Costs
Salaries
Copyright © 2008, Oracle. All rights reserved.
User-Defined Member Lists
Create user-defined member lists to customize your
application.
Income Before
Taxes
Gross Margin
Interest Expense
Admin Expense
Total Revenue
Sales Interco
Total Costs
Salaries
Dynamic
Member List
Total Costs
Salaries
Interest Chgs
Static Member
List
Total Revenue
Total Costs
Admin ExpenseAdmin Expense
Sales
Copyright © 2008, Oracle. All rights reserved.
Creating Member Lists
• You create member lists in a text file that you load into
your application.
• You include definitions for all user-defined member lists in
a single file.
Sub EnumMemberLists()
Dim aEntityLists(2)
Dim aAccountLists(1)
If HS.Dimension = "Entity" Then
aEntityLists(1) = "UnitedStates"
aEntityLists(2) = "Europe"
HS.SetMemberLists aEntityLists
ElseIf HS.Dimension = "Account" Then
aAccountLists(1) = "ProfitAndLoss"
HS.SetMemberLists aAccountLists
End If
End Sub
Copyright © 2008, Oracle. All rights reserved.
Sub EnumMemberLists()
Dim aEntityLists(2)
Dim aAccountLists(1)
If HS.Dimension = "Entity" Then
aEntityLists(1) = "UnitedStates"
aEntityLists(2) = "Europe"
HS.SetMemberLists aEntityLists
ElseIf HS.Dimension = "Account" Then
aAccountLists(1) = "ProfitAndLoss"
HS.SetMemberLists aAccountLists
End If
End Sub
Identifying Member Lists in a File
You use the EnumMemberLists subroutine to specify the
number of member lists and the names of the member lists.
Copyright © 2008, Oracle. All rights reserved.
Creating Static Member Lists
You use the EnumMembersInList to create both static and
dynamic member lists.
Sub EnumMembersInList()
If HS.Dimension = "Account" Then
If Hs.MemberListID=1 Then
HS.AddMemberToList "Sales"
HS.AddMemberToList "SalesInterco"
HS.AddMemberToList "Purchases"
HS.AddMemberToList "PurchasesInterco"
End If
End If
End Sub
Copyright © 2008, Oracle. All rights reserved.
Creating Dynamic Member
Lists for the Entity Dimension
Dynamic member lists select members from a dimension based
on a criteria you specify.
Creates an array of the
dimension members
Loops through the dimension members
Checks the currency property
of each member
If HS.Dimension = "Entity" Then
If HS.MemberListID=1 Then
ELi=HS.Entity.List("","")
For i=Lbound(ELi) to Ubound(ELi)
If (StrComp(HS.Entity.DefCurrency(ELi(i)),
“USD”,vbTextCompare)=0) Then
HS.AddEntityToList "",ELi(i)
End If
Next
End If
End If
Copyright © 2008, Oracle. All rights reserved.
Creating Dynamic Member
Lists for Other Dimensions
Ali=HS.Account.List("","")
For i=Lbound(ALi) to Ubound(ALi)
If (StrComp(HS.Account.AccountType(ALi(i)),"asset",vbTextCompare)=0) Then
HS.AddMembertoList ALi(i)
End If
Next
Checks the account type property of each
member
Creates an array of the dimension members Loops through the dimension members
Copyright © 2008, Oracle. All rights reserved.
Loading Member Lists
You access the Load Member Lists task from the Load Tasks
menu in the view pane.
Copyright © 2008, Oracle. All rights reserved.
Extracting Member Lists
You access the Extract Member Lists task from the Extract
Tasks menu in the view pane.
Copyright © 2008, Oracle. All rights reserved.
Summary
In this lesson, you should have learned to:
• Describe member lists
• Describe the differences between system-generated and
user-defined member lists
• Create scripts for creating static and dynamic user-defined
member lists
• Load and extract member lists

More Related Content

Similar to L11 creating member lists

Rinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat PortfolioRinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat PortfolioRinkeshkumar15
 
Hibernate Training Session1
Hibernate Training Session1Hibernate Training Session1
Hibernate Training Session1Asad Khan
 
Userguide xmllistboxlite
Userguide xmllistboxliteUserguide xmllistboxlite
Userguide xmllistboxliteSamir Dash
 
Sql interview question part 7
Sql interview question part 7Sql interview question part 7
Sql interview question part 7kaashiv1
 
Reynaldo Fadri’S Porfolio
Reynaldo Fadri’S PorfolioReynaldo Fadri’S Porfolio
Reynaldo Fadri’S Porfoliorfadri
 
STOCK PRED.pdf
STOCK PRED.pdfSTOCK PRED.pdf
STOCK PRED.pdfAnushakp9
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database ConceptsRosalyn Lemieux
 
Programming Building Blocks for Admins
Programming Building Blocks for Admins Programming Building Blocks for Admins
Programming Building Blocks for Admins Salesforce Admins
 
Cse3 March2009cwd35with Crane
Cse3 March2009cwd35with CraneCse3 March2009cwd35with Crane
Cse3 March2009cwd35with CraneEmmanuel Fuchs
 
SharePoint Saturday Baltimore 7/25/09 - Introduction To Developing Custom Act...
SharePoint Saturday Baltimore 7/25/09 - Introduction To Developing Custom Act...SharePoint Saturday Baltimore 7/25/09 - Introduction To Developing Custom Act...
SharePoint Saturday Baltimore 7/25/09 - Introduction To Developing Custom Act...Geoff Varosky
 
Essay On Sunset In Telugu. Online assignment writing service.
Essay On Sunset In Telugu. Online assignment writing service.Essay On Sunset In Telugu. Online assignment writing service.
Essay On Sunset In Telugu. Online assignment writing service.Joanna Gardner
 
Ajug hibernate-dos-donts
Ajug hibernate-dos-dontsAjug hibernate-dos-donts
Ajug hibernate-dos-dontsRoy Russo
 
Bootcamp - Web Development Session 2
Bootcamp - Web Development Session 2Bootcamp - Web Development Session 2
Bootcamp - Web Development Session 2GDSCUniversitasMatan
 
Informatica Online Training
Informatica Online Training Informatica Online Training
Informatica Online Training saikirancrs
 
20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous DatabaseSandesh Rao
 

Similar to L11 creating member lists (20)

Rinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat PortfolioRinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat Portfolio
 
Hibernate Training Session1
Hibernate Training Session1Hibernate Training Session1
Hibernate Training Session1
 
Userguide xmllistboxlite
Userguide xmllistboxliteUserguide xmllistboxlite
Userguide xmllistboxlite
 
Ebook7
Ebook7Ebook7
Ebook7
 
Sql interview question part 7
Sql interview question part 7Sql interview question part 7
Sql interview question part 7
 
Reynaldo Fadri’S Porfolio
Reynaldo Fadri’S PorfolioReynaldo Fadri’S Porfolio
Reynaldo Fadri’S Porfolio
 
Linq
LinqLinq
Linq
 
STOCK PRED.pdf
STOCK PRED.pdfSTOCK PRED.pdf
STOCK PRED.pdf
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
 
Programming Building Blocks for Admins
Programming Building Blocks for Admins Programming Building Blocks for Admins
Programming Building Blocks for Admins
 
Crm 4.0 customizations basics
Crm 4.0 customizations basicsCrm 4.0 customizations basics
Crm 4.0 customizations basics
 
Test script
Test scriptTest script
Test script
 
Cse3 March2009cwd35with Crane
Cse3 March2009cwd35with CraneCse3 March2009cwd35with Crane
Cse3 March2009cwd35with Crane
 
SharePoint Saturday Baltimore 7/25/09 - Introduction To Developing Custom Act...
SharePoint Saturday Baltimore 7/25/09 - Introduction To Developing Custom Act...SharePoint Saturday Baltimore 7/25/09 - Introduction To Developing Custom Act...
SharePoint Saturday Baltimore 7/25/09 - Introduction To Developing Custom Act...
 
Essay On Sunset In Telugu. Online assignment writing service.
Essay On Sunset In Telugu. Online assignment writing service.Essay On Sunset In Telugu. Online assignment writing service.
Essay On Sunset In Telugu. Online assignment writing service.
 
Ajug hibernate-dos-donts
Ajug hibernate-dos-dontsAjug hibernate-dos-donts
Ajug hibernate-dos-donts
 
Bootcamp - Web Development Session 2
Bootcamp - Web Development Session 2Bootcamp - Web Development Session 2
Bootcamp - Web Development Session 2
 
Informatica Online Training
Informatica Online Training Informatica Online Training
Informatica Online Training
 
Form part1
Form part1Form part1
Form part1
 
20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database
 

More from Naresh Kumar SAHU

More from Naresh Kumar SAHU (19)

L21 sharing data using data synchronization
L21 sharing data using data synchronizationL21 sharing data using data synchronization
L21 sharing data using data synchronization
 
L20 managing the review cycle using process management
L20 managing the review cycle using process managementL20 managing the review cycle using process management
L20 managing the review cycle using process management
 
L19 running consolidations
L19 running consolidationsL19 running consolidations
L19 running consolidations
 
L18 adjusting data with journals
L18 adjusting data with journalsL18 adjusting data with journals
L18 adjusting data with journals
 
L17 entering intercompany data
L17 entering intercompany dataL17 entering intercompany data
L17 entering intercompany data
 
L16 creating tasklists
L16 creating tasklistsL16 creating tasklists
L16 creating tasklists
 
L15 data forms
L15 data formsL15 data forms
L15 data forms
 
L14 assigning access
L14 assigning accessL14 assigning access
L14 assigning access
 
L13 adding users
L13 adding usersL13 adding users
L13 adding users
 
L10 entering data using data grids
L10 entering data using data gridsL10 entering data using data grids
L10 entering data using data grids
 
L08 deploying applications
L08 deploying applicationsL08 deploying applications
L08 deploying applications
 
L07 entities scenarios
L07 entities scenariosL07 entities scenarios
L07 entities scenarios
 
L05 creating applicationviews
L05 creating applicationviewsL05 creating applicationviews
L05 creating applicationviews
 
L04 loading metadata
L04 loading metadataL04 loading metadata
L04 loading metadata
 
L02 navigate
L02 navigateL02 navigate
L02 navigate
 
L01 intro
L01 introL01 intro
L01 intro
 
App c classicadmin2
App c classicadmin2App c classicadmin2
App c classicadmin2
 
App a automating tasks
App a automating tasksApp a automating tasks
App a automating tasks
 
App b intercompanytrans
App b intercompanytransApp b intercompanytrans
App b intercompanytrans
 

L11 creating member lists

  • 1. 11 Copyright © 2008, Oracle. All rights reserved. Creating, Loading, and Extracting Member Lists
  • 2. Copyright © 2008, Oracle. All rights reserved. Objectives After this lesson this lesson, you should be able to: • Describe the differences between system-generated and user-defined member lists • Create scripts for creating static and dynamic user-defined member lists • Load and extract member lists
  • 3. Copyright © 2008, Oracle. All rights reserved. Member Lists Overview A member list is a subset of related members that belong to a single dimension. Income Before Taxes Gross Margin Interest Expense Admin Expense Total Revenue Sales Sales Interco Total Costs Salaries Account Dimension Total Revenue Total Costs Admin Expense Member List
  • 4. Copyright © 2008, Oracle. All rights reserved. System-Defined Member Lists Base Member List Sales Sales Interco Salaries Children of Parent Member List Sales Sales Interco Interest Chgs Admin Expense Income Before Taxes Gross Margin Interest Expense Admin Expense Total Revenue Sales Sales Interco Total Costs Salaries
  • 5. Copyright © 2008, Oracle. All rights reserved. User-Defined Member Lists Create user-defined member lists to customize your application. Income Before Taxes Gross Margin Interest Expense Admin Expense Total Revenue Sales Interco Total Costs Salaries Dynamic Member List Total Costs Salaries Interest Chgs Static Member List Total Revenue Total Costs Admin ExpenseAdmin Expense Sales
  • 6. Copyright © 2008, Oracle. All rights reserved. Creating Member Lists • You create member lists in a text file that you load into your application. • You include definitions for all user-defined member lists in a single file. Sub EnumMemberLists() Dim aEntityLists(2) Dim aAccountLists(1) If HS.Dimension = "Entity" Then aEntityLists(1) = "UnitedStates" aEntityLists(2) = "Europe" HS.SetMemberLists aEntityLists ElseIf HS.Dimension = "Account" Then aAccountLists(1) = "ProfitAndLoss" HS.SetMemberLists aAccountLists End If End Sub
  • 7. Copyright © 2008, Oracle. All rights reserved. Sub EnumMemberLists() Dim aEntityLists(2) Dim aAccountLists(1) If HS.Dimension = "Entity" Then aEntityLists(1) = "UnitedStates" aEntityLists(2) = "Europe" HS.SetMemberLists aEntityLists ElseIf HS.Dimension = "Account" Then aAccountLists(1) = "ProfitAndLoss" HS.SetMemberLists aAccountLists End If End Sub Identifying Member Lists in a File You use the EnumMemberLists subroutine to specify the number of member lists and the names of the member lists.
  • 8. Copyright © 2008, Oracle. All rights reserved. Creating Static Member Lists You use the EnumMembersInList to create both static and dynamic member lists. Sub EnumMembersInList() If HS.Dimension = "Account" Then If Hs.MemberListID=1 Then HS.AddMemberToList "Sales" HS.AddMemberToList "SalesInterco" HS.AddMemberToList "Purchases" HS.AddMemberToList "PurchasesInterco" End If End If End Sub
  • 9. Copyright © 2008, Oracle. All rights reserved. Creating Dynamic Member Lists for the Entity Dimension Dynamic member lists select members from a dimension based on a criteria you specify. Creates an array of the dimension members Loops through the dimension members Checks the currency property of each member If HS.Dimension = "Entity" Then If HS.MemberListID=1 Then ELi=HS.Entity.List("","") For i=Lbound(ELi) to Ubound(ELi) If (StrComp(HS.Entity.DefCurrency(ELi(i)), “USD”,vbTextCompare)=0) Then HS.AddEntityToList "",ELi(i) End If Next End If End If
  • 10. Copyright © 2008, Oracle. All rights reserved. Creating Dynamic Member Lists for Other Dimensions Ali=HS.Account.List("","") For i=Lbound(ALi) to Ubound(ALi) If (StrComp(HS.Account.AccountType(ALi(i)),"asset",vbTextCompare)=0) Then HS.AddMembertoList ALi(i) End If Next Checks the account type property of each member Creates an array of the dimension members Loops through the dimension members
  • 11. Copyright © 2008, Oracle. All rights reserved. Loading Member Lists You access the Load Member Lists task from the Load Tasks menu in the view pane.
  • 12. Copyright © 2008, Oracle. All rights reserved. Extracting Member Lists You access the Extract Member Lists task from the Extract Tasks menu in the view pane.
  • 13. Copyright © 2008, Oracle. All rights reserved. Summary In this lesson, you should have learned to: • Describe member lists • Describe the differences between system-generated and user-defined member lists • Create scripts for creating static and dynamic user-defined member lists • Load and extract member lists