I am using php toolkit for netsuite 2013.1. My code here:
need_once ("2013_1 / NetSuiteService.php"); $ Service = new NetSuiteService (); $ GetCustomizationType = "itemCustomField"; $ GetCustomizationIdRq = New GetCustomizationIdRequest (); $ GetCustomizationIdRq- & gt; Customization type = new optimization type (); $ GetCustomizationIdRq- & gt; CustomizationType-> GetCustomizationTypeSpecified = true $ GetCustomizationIdRq- & gt; Optimization type- & gt; GetCustomizationType = GetCustomizationType :: itemCustomField; $ GetCustomizationIdResult = $ service-> GetCustomizationId ($ getCustomizationIdRq, incorrect); More results: No such operation is 'getCustomizationId'
So I think this function is missing? Function
Go here again ...
$ NSservice = new NetSuiteService (); $ CT = New Optimization Type (); $ CT- & gt; GetCustomizationType = "customRecordType"; // or item custom field or whatever $ gcIdR = new GetCustomizationIdRequest (); $ GcIdR- & gt; Customization type = $ cT; $ GcIdR- & gt; Includes Permissions = Incorrect; $ ReadResp = $ NSservice- & gt; GetCustomizationId ($ gcIdR); Print_r ($ readResp);
No comments:
Post a Comment