acumatica

Scheduled process return

╄→尐↘猪︶ㄣ 提交于 2019-12-11 14:05:09
问题 I have scheduled a ProcessAll action. I have a throw new PXOperationCompletedException(statusText); at the end of the routine if there are no errors during the process. However, this causes the schedule to show with a red X icon on the Automation Schedules screen. Commenting out the exception allows the schedule to show a green check mark, but then the status text is not returned nor does it show on the regular process page when hovering over the check mark at the top of the screen. Is there

Process runs fine while running through process screen but not under automated schedule

帅比萌擦擦* 提交于 2019-12-11 11:00:33
问题 I have a process that I'm trying to schedule. When the schedule runs, I get the following error: Message: Error #199: You are not currently logged in. Date/Time: 09/06/2015 10:20 Platform: Browser: Source: PX.Data Target Site: Int32 GetCurrentCompany() Stack Trace: at PX.Data.PXDatabaseProviderBase.GetCurrentCompany() at PX.Data.PXDatabaseProviderBase.getCompanyID(String tableName, companySetting& setting) at PX.Data.PXDatabaseProviderBase.getRestriction(String table, String alias, Boolean

Add Files to Salesorder line item

倾然丶 夕夏残阳落幕 提交于 2019-12-11 10:24:41
问题 I want to add files to salesorder line items in Acumatica using web services. What endpoint should be used? I want to add an image as shown in the screenshot above, using web service endpoint. 回答1: REST API needs to reference the detail line in the body. Since the body is used to pass the binary data of the attachment REST API can't be used to attach files to detail line. Below is a screen based API snippet that creates a new master/detail document and attach images to the detail line. If you

Acumatica: Report Design Different When Printed

左心房为你撑大大i 提交于 2019-12-11 10:22:00
问题 I noticed that the report's designs preview and printed are different. I found it that all of the reports are the same. So I tried to create new test report and notice that background colors are not rendered on print. How too keep the design when printing? Design: +++ Printed: 回答1: By default Reports are rendered in HTML mode. As is often the case with HTML, the report as seen in the browser uses a different CSS style then the one sent to the browser print dialog. I'm pretty sure the reason

Acumatica API: Using .ActionConvertToBAccount for converting Lead is failing

可紊 提交于 2019-12-11 10:09:46
问题 I'm trying to use the Acumatica API (Version 4.20.2231) for the Lead screen to convert a Lead to a Business Account. I was a bit worried about this even before I tried it because when you use the "Convert to Business Account" Action in Acumatica, it pops up a small dialog box. Here's what it looks like in Acumatica after choosing Actions > Convert to Business Account: With the API, the first arrangement of commands I tried was failing to convert the Lead and not producing any kind of error.

Use of CSAttributes in new pages

不打扰是莪最后的温柔 提交于 2019-12-11 08:39:27
问题 We have a new page where we are looking to use the CS Attributes similarly to how they are used in the Item Class and Non Stock item pages Item Class: Attribute definition. Non Stock item page: Attribute implementation. NOTE : I simplified the page to narrow down any potentially needed attributes in the ASPX. Based on this, my Attribute definition page has the following elements: Graph: #region Datamembers public PXSelect<MDEquipmentType> EquipmentType; [PXViewName("Attributes")] public

How to create new tab that has style as Description tab for Stock Items?

末鹿安然 提交于 2019-12-11 08:17:00
问题 I want to create new tab (Software Solution) and add new field (Solution) that is the same as Description tab to allow users put some description. This is what I have done. 回答1: You need to use the PXRichTextEdit control to achieve that. The customization design will not allow you to pick this control type, so you will likely need to manually edit the ASPX file directly to add a PXRichTextEdit. From the layout editor, select Actions->Edit Aspx, and manually modify the ASPX to add your new

How to make outgoing request or webhook in Acumatica?

三世轮回 提交于 2019-12-11 06:52:12
问题 I'm integrating an Asp.NET application with Acumatica that needs to update shipping information (tracking #, carrier, etc.) when it becomes available in Acumatica. Is there a way to have Acumatica call an endpoint on my Asp.NET app when a shipment is created? I've searched through a lot of the docs (available here), but I haven't come across anything to send OUT information from Acumatica to another web service. Ideally, this outgoing call would send the shipment object in the payload. 回答1:

Nothing happen after click upload excel

穿精又带淫゛_ 提交于 2019-12-11 06:28:00
问题 i click upload for Excel but nothing happen ? ScreenId=PM301000 > tab Tasks ( Allow upload = true , Graph : [PXImport(typeof(PMTask))] public PXSelectJoin<PMTask, LeftJoin<PMTaskTotal, On<PMTaskTotal.projectID, Equal<PMTask.projectID>, And<PMTaskTotal.taskID, Equal<PMTask.taskID>>>>, Where<PMTask.projectID, Equal<Current<PMProject.contractID>>>> Tasks; how can i fix it ? 回答1: You have to use the primary data view DAC as the PXImport type which for this page is PMProject . Change the view

PXFormula attribute isn't calculating correctly

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 04:47:51
问题 I have a customization to the SalesOrder (SO301000) screen as follows: I've created a User field on the header section (SOOrder) called 'Total Revenue' (SOOrderExt.UsrTotalRevenue): I've added a PXFormula attribute to the Ext. Price field in the grid (SOLine.CuryLineAmt) as follows: This calculates correctly, until one tries to copy an order to create another order. When this happens, the value is doubled - as if it's summing the original order PLUS the copied order. At that point, even if