Difference between revisions of "Quota getQuotaByName"
Cg huyphong (talk | contribs) |
|||
Line 14: | Line 14: | ||
- quotaName : the name of new quota. | - quotaName : the name of new quota. | ||
− | - PQResourceId : Id of questionnaire to which quota belongs. | + | - PQResourceId : Resource Id of questionnaire to which quota belongs. If it is empty, the project questionnaire context is needed |
'''Return type''' | '''Return type''' | ||
Line 22: | Line 22: | ||
'''Example''' | '''Example''' | ||
− | array a= Quota_getQuotaByName(" | + | array a = Quota_getQuotaByName("Arkitekt, textilindustri",5310088); |
+ | |||
+ | print(a); | ||
+ | |||
+ | //{26,5915,Arkitekt, textilindustri,1000,Q3 == [5] ,5310088,,False,False,9,1} | ||
+ | |||
'''Availability''' | '''Availability''' |
Latest revision as of 10:34, 3 January 2012
Quota_getQuotaByName
To get information of quota by name.
Syntax
array Quota_getQuotaByName(string quotaName[, number PQResourceId])
Arguments
- quotaName : the name of new quota.
- PQResourceId : Resource Id of questionnaire to which quota belongs. If it is empty, the project questionnaire context is needed
Return type
array
Example
array a = Quota_getQuotaByName("Arkitekt, textilindustri",5310088);
print(a);
//{26,5915,Arkitekt, textilindustri,1000,Q3 == [5] ,5310088,,False,False,9,1}
Availability
Version 5.8