More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{HelpFiles}} | ||
==== 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} | |||
<br/>'''Availability''' | |||
Version 5.8 __NOTOC__ | |||
<!-- imported from file: 8021.htm--> |
Revision as of 09:08, 11 November 2016
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