创建转移订单时,“转至主表”表单菜单未出现在参考字段中
我从销售订单行创建了一个数量为 5 的采购订单。在我的销售热线表格中的“其他”选项卡下,我有参考号字段。当我右键单击该字段时,它将显示类似“转到主表表单”的菜单。
但是当我从销售订单行创建一个数量为 5 的转移订单时。在我的销售热线表格中的“其他”选项卡下,我有参考号字段。当我右键单击该字段时,它不会显示“转到主表表单”之类的菜单。
如何在转移订单中显示“转到主表表单”该菜单。
I created a purchase order from sales order line with 5 quantity. In my salesline form under Other tab I have Reference Number Field. When I right clicked on that field it will show menu like "Go to Main Table Form".
But when I created a transfer order from sales order line with 5 quantity. In my salesline form under Other tab I have Reference Number Field. When I right clicked on that field it will not show menu like "Go to Main Table Form".
What to do to show "Go to Main Table Form" that menu in transfer order.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当参考类型为销售订单、采购订单或生产时,转到主表表单将仅显示参考编号。如果引用类型为空或其他内容,则不会显示转到主表表单。
Go to the Main Table Form will only show up for Reference number when the Reference type is Sales order, Purchase order, or Production. If Reference type is blank or something else, Go to the Main Table Form won't show up.
我认为如果您创建方法
\Forms\SalesTable\Data Sources\SalesLine\Fields\InventRefId\Methods\jumpRef
,您应该能够“转到主表表单”来获取转移订单,例如:I还没有检查它是否有效,并且您可能需要修改
InventJournalTable
表单,因为默认情况下它仅显示打开的日记,但我希望此示例代码有助于理解如何创建自定义“Go”到主表表单”的行为。PS 想想看,为了更好地控制用户权限,也许使用
MenuFunction
及其 create 方法而不是提供的代码,尽管它在您的场景中可能并不重要。I think you should be able to "Go to Main Table Form" for transfer orders if you create method
\Forms\SalesTable\Data Sources\SalesLine\Fields\InventRefId\Methods\jumpRef
, something like:I haven't checked if it works, and you'd probably need to modify the
InventJournalTable
form anyway because by default it shows only open journals but I hope this sample code helps to understand how to create custom "Go to the Main Table Form" behaviour.P.S. To think of it, to better control user permissions maybe it would make sense to use
MenuFunction
and its create method instead of the provided code though it might not be critical in your scenario.