问题标签 [acumatica-kb]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
acumatica - 从 PO 订单行到 ReceiptLine 的承诺日期
我想在创建采购订单收据时将承诺日期从采购订单 (PO802388) 行复制到采购收据行 (PO302000)。
我正在尝试自定义项目,但找不到如何将采购订单收据行链接到订单行以获取所需的日期字段。在采购订单上,同一库存项目将有多行。
任何帮助将不胜感激。非常感谢
acumatica - 关于在自定义中覆盖方法的问题
如果我覆盖特定屏幕上的方法怎么办。
For example:
假设日志交易屏幕,我已经覆盖了该方法Release()
,我已经让它在Posting Transactions
应用了自General Ledger
定义的情况下停止方法,会先申请吗?Journal Transaction
acumatica - Acumatica 报告未显示在 Acumatica 中
我最近刚进入 Acumatica 报表设计器。我遵循了我在https://www.timrodman.com/building-your-first-report-in-acumatica-report-designer/找到的快速教程,但是当我将报告放入我的本地 Acumatica 实例时,我看不到。我可以直接将屏幕 ID 放在 URL 中,但如果我搜索它,则不会弹出任何内容。我将报告本身的所有访问权限更改为授予。我拥有本地实例的所有管理员权限。我错过了什么?
acumatica - Acumatica - 图形扩展和屏幕重命名
再会!
我扩展了一个图表来更改现有页面的屏幕标题。
不幸的是,该方法似乎不起作用。
我还尝试为该现有图表创建一个新页面,以便我可以控制命名页面,但是当我单击新创建的链接时,我被重定向到图表的原始页面,因此页面标题还是一样。
有什么方法可以让我正确重命名我的页面吗?
任何建议表示赞赏。谢谢你。
acumatica - 在列配置中为所有用户隐藏列
我想在所有用户的费用收据屏幕 (EP301020) 上的“费用项目”查找屏幕中隐藏列(库存 ID 和描述除外)。
我如何在“列配置”的“可用列”部分中为所有用户设置一些列(不需要),默认情况下,查找屏幕中只有所需的列。默认情况下,所有列都是列配置中的选定列列表中。请指教。谢谢
acumatica - Change Default Sort on Contact Activities Tab
On the Activities tab of the Contacts screen, I am pulling activity data from an outside source and creating corresponding Acumatica activities. This activity creation is a periodically schedule process, so the activities are not created real-time. Therefore the CreatedDateTime
field for the external activities does not reflect the actual time that the activities happened.
However, I need these external activities to be sorted according to when they actually occurred (not according to when they were created in Acuamtica) and to be displayed in proper sequence relative to existing Acuamtica activities. But the Activities view for the Contacts graph is sorted by CreatedDateTime
, so these activities are being displayed according to Acuamtica creation time not their actual time.
I can think of two possible solutions, but I cannot see a way to accomplish either one.
1. Set the CRActivity.CreatedDateTime
field to be the actual activity time.
If we could set the Created Date Time to be the actual time of the activity, the default sort order for the Activities tab would correctly display the external activities in sequence of when they actually occurred. However, this field is a default system field, and I do not see a good way to force it to be anything other than the time the Acumatica object is persisted. Is there any way to specify a value for the CreatedDateTime
field?
2. Modify the default sort order of the Activities tab.
We can set the StartDate
of the new activities to be the actual time that they occurred. So if we could order the Activities grid by Start Date rather than by Created Date Time, that would also achieve the desired affect. If the Activities view were a straightforward PXSelect
, we could simply create a new PXSelect
statement with the order by we want in our graph extension and use that as the data member for the grid. However, the Activities view is not simple and the OrderBy
is buried inside the GenerateOriginalCommand
method of the CRActivityListBase
class. Is there anyway to override this OrderBy
in way that takes advantage of all the functionality of CRActivityListBase
?
Is there an acceptable way to use either of these approaches, or is there an alternative approach that would display the activities sorted by actual time?
acumatica - 我可以将我的子报表设置为仅在某些页面上打印吗?
我创建了一个包含 6 个子报表的支票汇款和表格。子报表 1-3 打印检查 1-18 的详细信息,子报表 4-6 打印检查 19-37 的详细信息。在我报告的第一页,我想打印子报表 1-3,在第二页,我想打印子报表 4-6。我尝试将它们放在不同的 GroupHeaders 中,并使用 PrintIndex Globals 将可见性表达式设置为仅在第 1 页和第 2 页上打印,但这不起作用。我想知道是否可以将它们全部放在组标题中并使用 PrintIndex 全局变量设置它们的可见性表达式,以便仅在第 1 页或第 2 页上打印。有人有什么想法吗?我也尝试过变量......没有运气。我一定做错了什么。
acumatica - 页面加载后按条件重定向 Acumatica ERP
如果在打开第一页时出现某些情况,是否有任何方法可以从一个自定义页面重定向到另一个自定义页面?
我尝试使用PXRedirectByScreenIDException
withRowSelected
事件,但没有处理异常并且重定向不起作用。