Quota getAllQuotas

From Catglobe Wiki
Jump to: navigation, search



Quota_getAllQuotas

To get information of all quotas in questionnaire. ( view Quota_new)

Syntax

array Quota_getAllQuotas([number PQResourceId])

Arguments

PQResourceId : Resource Id of questionnaire to which quotas belong. If it is empty, the project questionnaire context is needed

Return type

array

Example

array a= Quota_getAllQuotas(34806989);

print(a);

//{{26,5915,Arkitekt, textilindustri,1000,Q3 == [5] ,5310088,,False,False,9,1},{26,5912,Bank, Egendomsmäklare och advokat,1000,Q3 == [2] ,5310088,,False,False,12,0},{26,5913,Bilhandlare och –uthyrare, möbler,1000,Q3 == [3] ,5310088,,False,False,9,0},{26,5914,Frisör, galleri, modebutik,1000,Q3 == [4] ,5310088,,False,False,3,0},{26,5830,GNF,1000,GNF_Dummy == [1] ,5310088,,False,False,26,0},{26,5911,Turism, hotell och restaurang,1000, Q3 == [1] ,5310088,,False,False,5,0}}

Availability

Version 5.8