0

在 NetSuite Web Service 中,Inventory Item 有一个名为 matrixType 的属性,负责定义父子关系。此属性接受值为 _parent 或 _child。但是这个属性不能通过 NetSuite 的 web 服务在 Assembly Item 中更新

但是,如果我们尝试通过 CSV 进行导入,它是可用的。在这种情况下,我们可以将项目定义为 Inventory 类型或 Assembly 类型,还可以定义 matrixType(父级或子级)属性。

我无法找到是否有办法通过网络服务来做到这一点。

有人可以帮忙吗?

4

1 回答 1

0

在 Web Service Item 类中具有 matrixTypeField 字段

public ItemMatrixType matrixType 
{
            get {
                return this.matrixTypeField;
            }
            set {
                this.matrixTypeField = value;
            }
 }

public enum ItemMatrixType {

        /// <remarks/>
        _parent,

        /// <remarks/>
        _child,
    }
Item.matrixType = ItemMatrixType._parent;
于 2018-10-02T06:24:20.803 回答