CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > Data Management

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-08-2012, 06:48 AM
gmatelich's Avatar
gmatelich gmatelich is offline
Registered User
 
Join Date: Oct 2002
Location: Bellevue, WA, USA
Posts: 396
How can we fill in Masterdata information when saving models to ModelManager?

When saving models from Modeling to ModelManager, in the ModelManager's save dialog, we would like to be able to fill in Masterdata fields at that time. For instance adding the material to the Masterdata, since we have Masterdata Name set to use Model Name.

When saving models, we are setup so the Masterdata Name and description are generated off the model name and description, it seems there must be reasonably easy way to also set the material at that time as well.

I'm pretty sure the answer lies in pseudo-attributes, but I'm not yet sure how to link the Model pseudo to the Masterdata actual in the save dialog.
Reply With Quote
  #2  
Old 10-27-2012, 09:17 AM
ludw ludw is offline
Registered User
 
Join Date: Dec 2006
Location: France
Posts: 86
Re: How can we fill in Masterdata information when saving models to ModelManager?

Thinking pseudo drives you in the right direction.
In your Model XML class definition let define an attribute related to one of your masterdata attribute and qualified with IsPartAttribute true. Let have a look to the example below:
...
<Class extends="DMModel, DMReleaseProcess">
<Name catalog="awm_stda" msg_num="258">MODEL_3D</Name>
...
<Attribute>BrdCode
<DisplayName catalog="acme" msg_num="1010">Masterdata Code</DisplayName>
<Searchable>false</Searchable>
<TargetAttributeName>BRDCODE</TargetAttributeName>
<IsPartAttribute>true</IsPartAttribute>
</Attribute>
...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:17 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.