在NetSuite中使用项目组创建SalesOrder [英] Creating a SalesOrder within NetSuite with Item Groups

查看:106
本文介绍了在NetSuite中使用项目组创建SalesOrder的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望通过外部报价系统与NetSuite集成.如果我使用标准的非库存物料并且能够创建销售订单,则一切正常.

I am looking to integrate with NetSuite from an external quoting system. Everything works fine if I use standard Non-Inventory Items and I am able to create a Sales Order.

我遇到的问题是,当我添加一行作为项组"的行时,它实例化了该项组中所有项的新副本,这些副本不具有正确保存所需的所有默认值.

The problem that I run into is when I add a line that is an Item Group, it instantiates a new copy of all of the items that are part of that Item Group which do not have all the defaults needed to properly save.

我尝试提取在NetSuite中使用项目组手动创建的SalesOrder,然后将其映射回新的SalesOrder请求,这也会导致相同的错误.

I have tried to extract a SalesOrder that I had manually created in NetSuite with Item Groups, and then map that back to a new SalesOrder request, and that too also results in the same error.

我希望能够利用项目组,好奇地想知道是否有某种方法可以通过API来工作,还是需要编写SuiteScript?

I would like to be able to leverage item groups, curious to know if there is a way for this to work through the API, or will I need to write SuiteScript?

推荐答案

因此,项目组"实际上只不过是预烘焙的仅客户端"脚本.它只是将项目的ID存储在组中.然后,当您选择它时,将使用这些项目ID填充行(在浏览器中).

So, an 'Item Group' is really nothing more than a pre-baked "Client-Side only" script. It simply stores the ids of the items in the group .. then when you choose it, it populates the lines (in the browser) with those item ids.

因此,不能在服务器端使用项目组.因此,您不能在脚本或集成中使用它们.

Because of this, Item Groups cannot be used server-side. So, you can't use them in scripts or integration.

这篇关于在NetSuite中使用项目组创建SalesOrder的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆