vbscript 查找声明过程中的覆盖动态数据

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vbscript 查找声明过程中的覆盖动态数据相关的知识,希望对你有一定的参考价值。

Dim objPolicy as clsPolicyVersion
Dim objSubscribedCoverage As clsSubscribedCoverage
Dim objClaim As clsClaim
Dim boolValeurANeufBienMo
dim objPolicyVersionData as clsPolicyVersionForClaim 

objClaim = GetObjectToBeUsedForThisClass(GetType(clsClaim).Name, ListOfObjectsToBeUsedInFormula)
for each objPolicyVersionData in objClaim.ListOfPolicyVersionForClaims
	objPolicy =clsObjectStorageFunctionality.Manager().GetObject(objPolicyVersionData.PolicyVersionIdentifier)
	Trace("Policy found on the claim" & objPolicy.AsString("") ,7)
	
	for each objSubscribedCoverage in objPolicy .ListOfSubscribedServices
		if objSubscribedCoverage.MyOfferedCoverage isnot nothing and objSubscribedCoverage.MyOfferedCoverage.OfferedServiceCode="DBIE" then
			 Trace("DBIE coverage found",7)
			 boolValeurANeufBienMo=clsDynamicMethodOrPropertyCall.Manager.ValueForAPropertyName(objSubscribedCoverage.MySubscribedServiceSpecificData, "Valeuraneufbienmobilier", Nothing, True)
			result(0)=boolValeurANeufBienMo=true
                        exit for
		 end if
	next
 '/!\need to be enhanced to handle multiple policies
 exit for
next

以上是关于vbscript 查找声明过程中的覆盖动态数据的主要内容,如果未能解决你的问题,请参考以下文章

vbscript 提供基于损失评估线的动态数据值的覆盖选择规则

VBScript基础篇

vbscript 使用此代码段从Excel中的数据行创建动态数组。

vbscript 获取覆盖数据

VBScript(QTP)中的'Exist'方法是不是声明存在

C++ 中的动态绑定