Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Quota getAllQuotas: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
 
Line 4: Line 4:
====Quota_getAllQuotas====
====Quota_getAllQuotas====


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


'''Syntax'''
'''Syntax'''
Line 12: Line 12:
'''Arguments'''
'''Arguments'''


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


'''Return type'''
'''Return type'''
Line 20: Line 20:
'''Example'''
'''Example'''


array a= Quota_getAllQuotas([34806989]);
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'''
'''Availability'''

Latest revision as of 09:23, 3 January 2012



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