Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Translate the entire conversation x

BusinessRule IDs and BusinessRuleLink IDs

vgh
7-Bedrock
7-Bedrock

BusinessRule IDs and BusinessRuleLink IDs

I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.8

The IDs of a new BusinessRule and BusinessRuleLink are different in the Database than in the LoadFile.
Does the ID in the LoadFile matter, or can it be any given ID? If not, how to maintain an overview over the loaded BusinessRules?
An export from the Database would be convenient, but the IDs aren't matching with the LoadFile. So I'm not sure what is correct.
ACCEPTED SOLUTION

Accepted Solutions
rhart
16-Pearl
(To:vgh)

If the loadfile is for new rules, any ID number can be given, IDs are assigned when the rules are created. If an existing rule or set is being referenced then the ID from the database has to be used in the loadfile.

 

For a new rule you can just give it ID 123 and reference it as ID 123 in the link - within the loadfile.

 

If the loadfile is to update existing rules the IDs in the loadfile needs match the persist object ID in the database.

View solution in original post

1 REPLY 1
rhart
16-Pearl
(To:vgh)

If the loadfile is for new rules, any ID number can be given, IDs are assigned when the rules are created. If an existing rule or set is being referenced then the ID from the database has to be used in the loadfile.

 

For a new rule you can just give it ID 123 and reference it as ID 123 in the link - within the loadfile.

 

If the loadfile is to update existing rules the IDs in the loadfile needs match the persist object ID in the database.

Announcements


Top Tags