sapb1 - 如何将销售订单数据插入到用户定义的表中
问题描述
如何使用数据事件(使用 C#)或 SAP B1 中的任何其他方式将销售订单数据(如 docEntry、对象类型)插入到用户定义的表中。
提前致谢
解决方案
检查此代码:
UserTable oUserTable = null;
oUserTable = conexionSAP.oCompany.UserTables.Item("TABLE_NAME");
oUserTable.Code = "2";
oUserTable.Name = "SUPER_SACO";
oUserTable.UserFields.Fields.Item("USER_FIELD1").Value = "9746";
oUserTable.UserFields.Fields.Item("USER_FIELD2").Value = "1084.00";
oUserTable.Add()
再见。
推荐阅读
- javascript - javascript: document.getElementsByName("sample[]") 不工作
- python - 如何在线运行python脚本?
- javascript - XPATH 获取子元素 Typescript/Javascript
- kotlin - Kotlin Companion Object 只是从接口添加功能的一种方式吗?
- javascript - 提交表单后如何重定向到某个页面
- multithreading - 让 Rust 线程脱离阻塞操作的标准方法是什么?
- c# - 部署在 Azure 上的 .NET Core App 指的是已删除的类
- java - 我的 Spring 应用程序不工作。出现 404 错误而不是 jsp 文件
- ios - 如何将纹理传递给顶点着色器?(iOS & Metal) (IOAF 代码 5)
- bash - 访问远程机器时如何在heredoc中运行for循环