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

Resource searchByChildResourceIdAndResourceType: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
Nguyenduyan (talk | contribs)
Line 23: Line 23:
array resourceId={15600608, 15601655, 15601668};
array resourceId={15600608, 15601655, 15601668};
number resourceType = 6;
number resourceType = 6;
array result = Resource_searchByChildResourceIdAndResourceType( resourceId, resourceType);
Dictionary result = Resource_searchByChildResourceIdAndResourceType( resourceId, resourceType);
print(result);
print(result);
//{{10,15590630,an0001,6,15539352,15551369},{10,15590886,an0002,6,15539352,15551369}}
/*
 
{
"15600608": {{10,15559701,BUS 2017,6,75733,2071},{10,75733,Survey,6,75732,2071},{10,75732,Omnibus,6,6376,2071}},
"15601655": {},
"15601668": {{10,15588464,Qnaire Send Email,6,15563252,2071},{10,15563252,CG1876vox,6,2126,2071}}
}
*/
</source>
</source>

Revision as of 08:19, 16 May 2018

Resource_searchByChildResourceIdAndResourceType

Syntax

Resource_searchByChildResourceIdAndResourceType(array resourceRId, number resourceType);

Arguments

array resourceRId

number resourceType

Return type

Dictionary

Example

array resourceId={15600608, 15601655, 15601668};
number resourceType = 6;
Dictionary result = Resource_searchByChildResourceIdAndResourceType( resourceId, resourceType);
print(result);
/*
{
"15600608": {{10,15559701,BUS 2017,6,75733,2071},{10,75733,Survey,6,75732,2071},{10,75732,Omnibus,6,6376,2071}}, 
"15601655": {}, 
"15601668": {{10,15588464,Qnaire Send Email,6,15563252,2071},{10,15563252,CG1876vox,6,2126,2071}}
}
*/