Delete from list: but first check if any values in versions
Hi,
I am looking to create an action that uses the 'Delete using Selection' action functionality. However I only want the user to be able to delete if there is no data against the list item in any version.
Is there a specific way of doing this in Anaplan?
eg I have a list of GL codes. At some point some of these GLs will no longer be in use and as part of a clean up I want to check if they have any data in any version before deleting them from the list.
Thanks,
Wes
Comments
-
WesleyMiller Member, ALL USERS, Partner, Community Member, Certified Model Builder Posts: 5 Occasional Contributor
Thanks.
The above is what was I was going to do, but I am more interested in what the logic is to do the "using logic that there is no data in any version" part.
Apologies, I should have been more specific.
Wes0 -
WesleyMiller Member, ALL USERS, Partner, Community Member, Certified Model Builder Posts: 5 Occasional Contributor
Thanks all.
I looked into the IF statements for checking the dimensions, but felt this fell into the realms of 'hard coding'. Ie having to update the formula if any new versions are added. In order to keep it dynamic I have avoided formulas and opted for an action instead.
My solution for anyone in the same boat:
- Create a 'Delete Module' with line items per the screenshot
- Create an action that pulls in all dimension data to the one line item 'Value in Version'. (Anaplan aggregates data when loaded via an import)
- Add line item 'Delete CAI list' which drives my 'Delete from Selection' action
- Add a DCA line item to hide unavailable options for the end user. (Which I will put in a proper best practice DCA system module).
- Add the action in number 2 to the monthly rollover process. This works behind the scenes so doesn't need manual updating.
- Update the UX
Module screenshot
Action Screenshot
Thanks
Wes
0
Categories
- All Categories
- 2.3K Anaplan Community
- Academy
- Anaplan Talent Builder
- Model Design Course
- The Anaplan Way
- Archive
- 2 Idea exchange
- 62 Enterprise Scale
- 1.1K Extensibility
- 21 Intelligence
- 1.6K Planning & Modeling
- 331 Security
- Community Connections
- Connections
- Experiences
- Groups
- Personas
- Employees
- CS Toolkit
- Customer Care Center
- Forums
- Academy & Training
- Community Feedback & Updates
- Japan
- Anaplan Community Japan
- Anaplan Community Japan Knowledge Base
- HyperCare Japan
- JP-Central
- Support-Japanese
- Partners
- Partner Leadership Council
- Partner Product Council
- 724 Platform
- Anapedia
- App Hub
- Centers Of Excellence
- Extensions
- Planual
- Platform Updates
- 724 User Experience
- Profile Builder
- Resources
- Anaplan Advocates
- Anaplan Live!
- Community
- Community Advancement
- Community Connections
- Partner Program
- The Official Master Anaplanner Program
- Videos
- Welcome to the Anaplan Community!
- Success Central
- Support
- Case Portal Link
- Common Support Questions
- HyperCare Redirect
- Known Issues and Workarounds
- Support test page
- SupportFAQ
- Survey
- 2 Training Day Takeaways