0

我准备了 LocationSearch 对象并发送到 NetSuite 服务器但结果是 Location 对象的 subidList 始终为空,它应该与父属性相同。

 [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] => 
                        )
                ................

类 Location 的 $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 获取位置的附属列表?非常感谢。致以最诚挚的问候

4

1 回答 1

0

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

于 2013-10-23T19:58:23.373 回答