체크 아웃 규칙
체크 아웃 규칙은 객체가 사용자 또는 프로젝트로 체크 아웃되지 않았는지 검증합니다.
다음 XML 예제에서는 체크 아웃 규칙을 구현하는 비즈니스 규칙 객체 세트를 정의합니다.
비즈니스 규칙 세트:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BusinessRuleSet SYSTEM "standardX20.dtd">
<BusinessRuleSet>
<ObjectID><localId>wt.businessRules.BusinessRuleSet:45346</localId></ObjectID>
<key>CHANGEABLE_PRE_RELEASE</key>
<name>com.ptc.windchill.enterprise.change2.change2ClientResource:
CHANGE_PRE_RELEASE_RULESET_NAME</name>
<description>com.ptc.windchill.enterprise.change2.change2ClientResource:
CHANGE_PRE_RELEASE_RULESET_DESC</description>
<enabled>true</enabled>
<overridable>true</overridable>
</BusinessRuleSet>
비즈니스 규칙:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BusinessRule SYSTEM "standardX20.dtd">
<BusinessRule>
<ObjectID><localId>wt.businessRules.BusinessRule:158915</localId></ObjectID>
<key>CHECKOUT_RULE</key>
<selector>CHECKOUT_RULE</selector>
<name>com.ptc.windchill.enterprise.change2.change2ClientResource:
CHECK_OUT_VALIDATOR_RULE_NAME</name>
<description>com.ptc.windchill.enterprise.change2.change2ClientResource:
CHECK_OUT_VALIDATOR_RULE_DESC</description>
<enabled>true</enabled>
</BusinessRule>
비즈니스 규칙 링크:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BusinessRuleLink SYSTEM "standardX20.dtd">
<BusinessRuleLink>
<ObjectID><localId>wt.businessRules.BusinessRuleLink:158919</localId></ObjectID>

<ruleSet><ObjectReference><localID>wt.businessRules.BusinessRuleSet:45346</localId>
</ObjectReference></ruleSet>

<rule><ObjectReference><localID>wt.businessRules.BusinessRule:158915</localId>
</ObjectReference></rule>
<blockNumber>1</blockNumber>
</BuisnessRuleLink>
도움이 되셨나요?