2013-10-23 14 views
0

我準備了LocationSearch對象併發送到NetSuite服務器 但結果是,LocationObject的subsetList始終爲null,它應該與父屬性相同。類位置的我如何從NetSuite獲取位置的附屬清單?

[record] => Array 
       (
        [0] => Location Object 
         (
          [name] => zzzzzz 
          [parent] => RecordRef Object 
           (
            [internalId] => 7 
            [externalId] => 
            [type] => 
            [name] => xxxxxxxx 
           ) 
          [includeChildren] => 
          [subsidiaryList] => 
          [isInactive] => 
          [tranPrefix] => 
          [attention] => 
          [addressee] => zzzz 
          [addrPhone] => 
          [addr1] => 
          [addr2] => 
          [addr3] => 
          [city] => 
          [state] => 
          [zip] => 
          [country] => _zz 
          [addrText] => zzzzz 
          [override] => 
          [logo] => 
          [makeInventoryAvailable] => 1 
          [makeInventoryAvailableStore] => 1 
          [classTranslationList] => 
          [customFieldList] => 
          [internalId] => 11 
          [externalId] => 
          [nullFieldList] => 
         ) 
       ................ 

$ paramtypesmap

"name" => "string", 
"parent" => "RecordRef", 
"includeChildren" => "boolean", 
"subsidiaryList" => "RecordRefList", 
"isInactive" => "boolean", 
"tranPrefix" => "string", 
"attention" => "string", 
"addressee" => "string", 
"addrPhone" => "string", 
"addr1" => "string", 
"addr2" => "string", 
"addr3" => "string", 
"city" => "string", 
"state" => "string", 
"zip" => "string", 
"country" => "Country", 
"addrText" => "string", 
"override" => "boolean", 
"logo" => "RecordRef", 
"makeInventoryAvailable" => "boolean", 
"makeInventoryAvailableStore" => "boolean", 
"classTranslationList" => "ClassTranslationList", 
"customFieldList" => "CustomFieldList", 
"internalId" => "string", 
"externalId" => "string", 

我怎樣才能從NetSuite的位置subsidiaryList? 非常感謝 致以問候

回答

0

您是否將「只有身體領域」設置爲偏好?如果是這樣,請關閉它。

+0

我把它關掉了,我可以得到subsidiaryList。 – caophamtruongson

+0

非常感謝Dave Weiss。 – caophamtruongson