Please bear in mind I am a new TM1 user, so following question might look silly for you.
There is a process in my model that runs daily and imports products (vProduct) from .csv file to a product dimension (V_Dimension). Then it adds attribute 'Product Status' value as 'Active' to every product from source Let's simplify that there are no consolidations in this dimension.
Metadata:
Data:DimensionElementInsert(V_Dimension, '', vProduct, 'N');
That .csv file contains a lot of products, some of them are indeed 'Active' some of them not. To manage this I created also dictionary cube that allows users to modify attributes and process that update atrributes based on that dictionary cube. But the process described at the beggining obviously overrite all the newly created attributes.AttrPutS('Active',V_Dimension,vProduct,'Product Status');
What I want to do is to add 'Active' attribute only to new elements from source, that weren't present in V_Dimension. What is the best practise to do this? Should I create somewhere a loop through V_Dimension and somehow flag existing products just not to insert attributes for them?
regards