Difference between revisions of "Pandora - Find a Level 1 Company"

From SmartWiki
Jump to: navigation, search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
This function is used to find a Level 1 company/account.
+
This function is used to find a {{l1}} company/account.
  
 
  levelonecompany_find(flag,callback,appid,opportunityid,fields,filter,order,start,end)
 
  levelonecompany_find(flag,callback,appid,opportunityid,fields,filter,order,start,end)
Line 47: Line 47:
  
 
==Notes==
 
==Notes==
* The company category with which the company is assigned to the Level 1 record is stored in the '''opcroleid''' field
+
Standard field names on the intersection table:
 +
* '''opcroleid''': The roleid of the company role that the company is assigned to the Level 1 with
 
* '''opccompanyid''': the company ID.
 
* '''opccompanyid''': the company ID.
 
* '''opcopportunityid''': the opportunity ID.
 
* '''opcopportunityid''': the opportunity ID.
* '''opcid''': the intersection ID of the contact/Level 1 intersection
+
* '''opcid''': the intersection ID of the company/Level 1 intersection
 +
 
  
 
==See Also==
 
==See Also==

Latest revision as of 14:35, 14 June 2013

This function is used to find a Level 1 company/account.

levelonecompany_find(flag,callback,appid,opportunityid,fields,filter,order,start,end)
Parameter Description
Flag True or false, send synchronously or asynchronously.
Callbackfunc Function to be used after the asynchronous function call.
appid Application ID for the UTA.
opportunityid The role assigned to the L1 with the field.
Fields The field list to be retrieved.
Filter The criteria to apply on the return records.
Order The field to be ordered by for the return records.
Start The index of the first record to be returned from the record set retrieved based on the filter.
End The index of the last record to be returned from the record set retrieved based on the filter.
Returns ssRecordSet object


Where:

Fields = always the driver for created record set.

Filter = 'lastname like "y*"'

Order = 'lastname desc'

Start = 0 to 200 default = 0

End = 200 default = 200

Blank ,"","",

Prefix=??


Notes

Standard field names on the intersection table:

  • opcroleid: The roleid of the company role that the company is assigned to the Level 1 with
  • opccompanyid: the company ID.
  • opcopportunityid: the opportunity ID.
  • opcid: the intersection ID of the company/Level 1 intersection


See Also