Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
Hello, How do I override the Capture CC action on the payments and applications screen? I pretty much want to run the basemethod in the override and once basemethod is completed, update a custom field.I tried below but it isn’t working as expected.public class BMEP_ARPaymentEntry_PaymentTransactionExt : PXGraphExtension<ARPaymentEntryPaymentTransaction, ARPaymentEntry> { public static bool IsActive() => true; public override void Initialize() => base.Initialize(); public delegate IEnumerable CaptureCCPaymentDelegate(PXAdapter adapter);[PXOverride] public virtual IEnumerable CaptureCCPayment(PXAdapter adapter, CaptureCCPaymentDelegate baseMethod) { baseMethod.Invoke(adapter); //custom logic return adapter.Get(); }}Thank you for your help!
How can add columns & rows dynamically by code at runtime to the Grid Table.
I want to customize the shipping label and print it according to my preference. Anyone got idea how do I print it directly via DevicHub. Is there any way we can make it push to DeviceHub to print automatically.Any help is appreciated.Thanks
Hi community! I am trying to add extra columns to the Location lookup on the Details tab of the Sales Order form. I tried the following, but it is showing only the new columns and removing the original ones public class SOOrderEntry_Extension : PXGraphExtension<PX.Objects.SO.SOOrderEntry> { #region CacheAttached [PXMergeAttributes(Method = MergeMethod.Merge)] [SOLocationAvail(typeof(SOLine.inventoryID), typeof(SOLine.subItemID), typeof(SOLine.costCenterID), typeof(SOLine.siteID), typeof(SOLine.tranType), typeof(SOLine.invtMult))] [PXCustomizeSelectorColumns( typeof(PX.Objects.IN.INLocation.locationCD), typeof(PX.Objects.IN.INLocationStatus.qtyAvail), typeof(PX.Objects.IN.INLocationStatus.qtyOnHand), typeof(PX.Objects.IN.INLocationStatus.active), typeof(PX.Objects.IN.INLocation.receiptsValid), typeof(PX.Objects.IN.INLocation.salesValid), typeo
Hi, I need to show the amount from the word in my custom report. I found some reference for thathttp://blog.acumatica.com.sg/2017/09/amount-to-words-conversion-at-acumatica.htmlBut,like that we can’t do the convert more than 10k numbers into word.Do we any alternative way do that from the report designer.
Hello,I am currently trying to open up a smart panel based on values in a grid on the row selected. Unfortunately, the values are not being updated on the filterview (a series of unbound fields I have) when I open it using PXFormula. It works when I open up the first row, but then after that, it doesn’t update with subsequent rows selected. To remedy this, I try to update my PXFilter view before running .AskExt.. and it works to update the values, but once I do this it won’t save the updated values. See below for code: public PXAction<ModifyDialog> Modify; [PXButton(CommitChanges = true, DisplayOnMainToolbar = false)] [PXUIField(DisplayName = "Modify")] protected void modify() { if (UpdateModifyView() != true ||ModifyDialogView.AskExt(true) != WebDialogResult.OK) return; else { ModifyActivity(); } } private bool UpdateModifyView() { EPActivityApprove modTPActivity = Timesheet
Hello,I was womndering is there any way to change the Headings Style in Acumatica grids? For example Change Fore/Back color or font style. I used this help from Stackoverflowhttps://stackoverflow.com/questions/42429061/acumatica-styling-a-specific-column-in-pxgrid/70338582#70338582 and managed to create the below but I’m wondering how I can set the same color to the grid headins?
Hello, I’d like to add 1 customized field on SOShipLineSplit dialogue, It would be easy, just after add controls on screen, the system would automatically generate a cs file to define the data class. User only have to define the attribute, and system maintain other codes. However, strangely, unlike other screen (Which means other screen are customizing perfectly) , the file generating on SOShiplineSplit data class are missing a “PX” at the beginning, the first line. Hence, I get an error on Validation. This error actually existed for a long time. Although I can manually change the PX_Objects_SO_SOShipLineSplit_extensions.cs file to let it pass validation. But is there a way to solve this issue permanently?
Hi, When a client is generating an invoice from the Invoices screen (SO303000), the result shows duplicate lines.The odd thing is that it doesn’t occur for all invoices, just a select number of them, so it could be the joins, but then it could be something else, and I am out of ideas of what I can look at.I tried things like changing the groupings, comparing a problematic invoice with one that works, but still couldn’t find anything that would be the problem.I have attached the report file below. Are you able to spot something that could be causing this occasional issue?Let me know if I can provide any further information. Kind regards,Andrew
Trying to extend the length of the UOM field in Acumatica and not having much success. I’ve done the following(This UOM field references INUnit.ToUnit which was previously customized by another developer to extend the field length.):Add the column length increase DB script: That however did not increase the length in the DB so I increased in manually.But I still got this error on the field I’m trying to customize: So in addition I tried option two from this article: Extend Address Line length - Acumatica Developers Blogand got this error:
Hey everyone, I’m coming across an issue where I can’t Add an SO to a newly created shipment (this newly created shipment is also being created by the import scenario). Essentially, our client is going to upload shipment information to Open SOs (defined by the scenario). I’ve uploaded the XML for your reference.I’ve already tried to map the ADDSO and ADDORDER actions but I can’t figure out how to Add & Close or even simply just adding the SO. I’m thinking this is more complicated than I had initially thought. Please advise!
I have a GI that queries a custom SQL View using a custom DAC. This GI has parameters StartDate and EndDate. Both of these parameters are not required and neither have a Default Value.GI ParametersI am then using the StartDate and EndDate to filter the results base on the OrderDate as seen here:GI ConditionsHowever, when I run view the inquiry, every time I try to select a date in one of the date parameters, it automatically gets cleared out to nothing - thus making the GI useless. I’ve tried making the parameter dates Default to @Today, but when the inquiry is run, whenever I try to change the date, it automatically reverts back to the default. 22R2 Build 22.213.0010 TIA, Dave
In Acumatica “Process Invoice and Memos” screen (ID: SO505000), one of the invoices my customer created apparently is causing the system to “hang forever” (their words -- the video they showed me has them trying to cancel it after waiting 2 minutes and 18 seconds...).When they hit cancel, they get a pop up error saying: “Cancellation Token Source Not Set”So, I sort of know what the error message is saying. But this looks like a Process form, and I’ve only extended Graphs. I am guessing it is an Acumatica Standard Processing form… they must have set up the cancellation logic… didn’t they? Do I need to find this whole thing in the source, copy it over, and then make changes, or can I just override a Process Form the same as I do a regular graph, and then just extend it as normal?Any thoughts as to how you debug an invoice that “sometimes” seems to “hang forever?”Any ideas would be appreciated! -Mark
I’m curious if there is a best-practices guide on what paths to exclude from antivirus scanning in order to gain performance increases.I found a few general development recommendations:Adds Windows Defender exclusions for developers (github.com) Antivirus Exclusion for ASP.NET applications hosted on IIS - Microsoft Community HubIn my (very recent) experience, excluding the above ☝🏻 makes publishing time remarkably faster.
I want to change the grid column header “Requested On” text color to Red. Is there anyone who has tried this before?
Value cannot be null.Parameter name: keyDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.ArgumentNullException: Value cannot be null.Parameter name: keySource Error: The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL: 1. Add a "Debug=true" directive at the top of the file that generated the error. Example: <%@ Page Language="C#" Debug="true" %> or: 2) Add the following section to the configuration file of your application: <configuration> <system.web> <compilation debug="true"/> </system.web> </configuration> Note that this second technique will cause all files within a given application to be compiled in debug mode. The
Really I want to update the Stock Items screen default price by an import scenario.Unfortunately, the default price field is not showing in the Price/Cost tab to me for creating an Import scenario.I am using the 22 R2 version. How should I get the default price field to the Import Scenario?
PX1043 Only the methods of the PXCache.Persist family can be used to save changes to the database from a RowPersisting event handlerhere is my code protected virtual void _(Events.RowPersisting<BOQTask> e) { BOQTask row1 = (BOQTask) e.Row; if (row1.SubID.HasValue) return; AutoBoqRefMaint instance = PXGraph.CreateInstance<AutoBoqRefMaint>(); BOQTmpRef boqTmpRef1 = new BOQTmpRef(); BOQTmpRef boqTmpRef2 = instance.bOQTmpRefView.Insert(boqTmpRef1); boqTmpRef2.BranchID = row1.BranchID; boqTmpRef2.AutoBOQRef = row1.TaskID; boqTmpRef2.Descr = row1.Descr; instance.bOQTmpRefView.Update(boqTmpRef2); //error here instance.Actions.PressSave(); BOQTask row2 = (BOQTask) e.Row; object newValue = (object) ("000000000" + instance.bOQTmpRefView.Current.AutoBOQRef); e.Cache.RaiseFieldUpdating<BOQTask.subID>((object) row2, ref newValue); row2.SubID = (int?) newValue; }
I have two selectors on a form, the first selects a Branch and the second selects a Warehouse within that Branch.I have CommitChanges = true and AutoRefresh=True so when the user invokes the selector the correct set of Warehouses is displayed.However, if the user selects the Branch and then tabs to the Warehouse field and starts to type, the auto-complete values are still using the old Branch value.It’s not a big deal but I would like to know if there is a way to make the auto-complete logic to refresh itself as well so the user can stay on the keyboard.
Hello All, I have a customization that programmatically downloads the attachments to a local folder “C:\Temp”. It works fine on my local environment but when I publish it to the cloud it doesn’t download to the expected path. In fact, it shows the process is completed successfully but I guess it uses the server’s local path instead of the user’s local machine. Any idea how I can fix this?
Hello everybody,I’d like to prevent our users to remove attached files depending on some conditions (for instance, a particular name or comment). To do that, I woud need to disable conditionnaly the “Remove Link” button in the standard “Files” dialog box when a file filling those conditions is selected in the grid of this dialog. Is there any way to do that ?Thx.
With Acumatica 2023r2 on the horizon, I’m curious who has been taking advantage of the ability in 2023r1 to begin playing with the Modern UI that uses TypeScript.In May, my friend Kyle Vanderstoep introduced us to getting started with the Modern UI via the Acumatica Blog.Developer Preview of Acumatica's New Modern UI | Acumatica Cloud ERPThen, in June, I followed up with a post showing my work to convert a simple screen from the CMMS-Lite project into the Modern UI."Hello World!" - Converting a simple screen from the Classic UI to the Modern UI | Community (acumatica.com)My current screen layout that I am learning is a Preference screen with tabs including assigning the approval map. I have another friend that recently showed me his work on setting up a simple processing screen, and I hope that he will feel comfortable to post about that soon on the community forums. However, a quick search on the forums, and I’m not really seeing much activity posted yet. The last couple of months
Hello Experts,I would like to know whether it is possible to develop a grid where there are some predefined values in the rows of one column of the grid and dropdown list values in other column as shown below.Text A, Text B are the predefined values in the fields to be added in the grid and there will be an individual dropdown list for each predefined field.The predefined values are to be made non editable in UI. Thank you in advance.
Cannot delete data access when click it show like this
When publish customization show error like this \App_RuntimeCode\InventoryItemMaint.cs(34): error CS0101: The namespace 'PX.Objects.IN' already contains a definition for 'InventoryItemMaint_Extension'
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.