Difference between revisions of "Quota getQuotaByName"
(jrfconvert import) |
Cg huyphong (talk | contribs) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Questionnaire_Functions]] |
− | + | {{HelpFiles}} | |
====Quota_getQuotaByName==== | ====Quota_getQuotaByName==== | ||
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