0

我正在为 netsuite 2013.1 使用 php 工具包。这是我的代码:

require_once("2013_1/NetSuiteService.php");

$service = new NetSuiteService();

$getCustomizationType = "itemCustomField";
$getCustomizationIdRq = new GetCustomizationIdRequest();
$getCustomizationIdRq->customizationType = new CustomizationType();
$getCustomizationIdRq->customizationType->getCustomizationTypeSpecified=true;
$getCustomizationIdRq->customizationType->getCustomizationType = GetCustomizationType::itemCustomField;

$getCustomizationIdResult = $service->getCustomizationId($getCustomizationIdRq, false);

结果:没有这样的操作'getCustomizationId'

所以我认为缺少这个功能?功能链接

4

1 回答 1

0

给你...

$NSservice = new NetSuiteService();


$cT = new CustomizationType();  
$cT->getCustomizationType = "customRecordType";  // or itemCustomField or whatever

$gcIdR = new GetCustomizationIdRequest();
$gcIdR->customizationType = $cT;
$gcIdR->includeInactives = false;

$readResp = $NSservice->getCustomizationId($gcIdR);
print_r($readResp);
于 2013-11-05T19:24:14.563 回答