我如何从NetSuite获得locationList的位置?

时间:2013-10-23 10:57:35

标签: php search netsuite

我准备了LocationSearch对象并发送到NetSuite服务器 但是在结果中,Location Object的subsidiaryList总是为null,它应该与parent属性相同。

 [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获取位置的子列表? 非常感谢你 最好的问候

1 个答案:

答案 0 :(得分:0)

您是否将“仅限正文字段”设置为首选项?如果是这样,请将其关闭。