Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
This custom Processing graph was modelled after PX.Objects.AM.AM.Fullgen.cs. There is no list of rows to Select, and only the ‘Process All’ is enabled. It uses PXProjection to set up a single row (AMRPSetup) to pass to the delegate method. During debugging the constructor runs fine, but the delegate method (public static void ProcessFcst(List)) is never executed.Here is the complete source code:using System;using PX.Data;using PX.Objects.AM;using PX.Objects.IN;using System.Collections.Generic;namespace KSIMRPExtensions{ public class ForecastWhseCubes : PXGraph<ForecastWhseCubes> { public PXProcessing<FcstProcessingSetup> FcstProcessing; public PXCancel<FcstProcessingSetup> Cancel; public PXSetup<AMRPSetup> setup; // Turn off the new UI processing window (19R1+) public override bool IsProcessing { get { return false; } set { } } public ForecastWhseCubes() { //che
Hello Everyone,We have below requirement, can anyone help me on thisRequirement:We have custom inquiry screen where we are loading all the uploaded files in Sales Orders based on OrderNbr selected in header section.Once we click on the Grid row, we would like to see the file in the below panel after grid. Please find the screenshot for reference.
Hi, I am currently trying to throw a redirect to report exception in a customization project. But because I need the page to refresh as well as the new page to be thrown, the exception needs to be thrown in another thread to not interfere with the return value of the function. The function is as follows:public delegate IEnumerable PrintInvoiceDelegate(PXAdapter adapter, String reportID);[PXOverride]public IEnumerable PrintInvoice(PXAdapter adapter, String reportID, PrintInvoiceDelegate baseMethod){ PXLongOperation.StartOperation(Base, delegate () { //Calls the stock print method of SO303000 which will throw a report redirection in new tab baseMethod(adapter, reportID); }); //I want the function to still return because I want the page to refresh and show the updated information return adapter.Get();} 1. Before calling print action 2. PXLongOperation success 3. After complete, page refresh and files now shows that a new file has been attached My question is,
Hello everyone,I need to run a query without the platform merging the DB result with the Cache and showing it to me. I have something very simple like thisbool isResumed = PXSelect<EPApproval, Where<EPApproval.refNoteID, Equal<Required<EPApproval.refNoteID>>, And<EPApproval.status, Equal<Required<EPApproval.status>>>>> .Select(Base, RefNoteID, HCLEPStatuses.CustomPending) != null;In one of my queries I know for sure it should return false as I do not have the matching criteria in DB but because the query result is merged with Cache “true” is returned. I could clear the Cache before querying but the case is I need the data stored in the Cache by the platform for further processing. Any help will be appreciated. I got around it using “PXDatabase.SelectSingle<EPApproval> …” but I do not believe it is the correct way.
Is there any way to add a delete button to a selector, allowing us to delete a record which showing in the selector window?
I have a customization that has CacheAttached for PMInstanceID for SOOrderEntry that is overridden in two different areas.Is there a way to control the order these apply? e.g. I need them to apply in a specific order or it doesn’t work correctly as the merge removes some attributes.
I created 2 separate push notification with GI of ItemXRef and BCSyncStatus respectively. It’s perfectly working on my local and other acumatica instance except for the one instance., same configuration same webhook link and same data but push notification is not working on once instance.. May I ask if what possible cause or solution to this?I have tried using webhook site but it seems that event is not being triggered everytime a transaction happens.
Is there a way to pass quantities less than 1 kg for Scan and Transfer Screen? I keep getting errors saying that the quantity is negative. The error I get is down below. Is there something I have to do with the graph or DAC to fix this? Any help would be great.
During or shortly after the Release action for a ChangeOrder I would like to perform additional updates to the related Project. However, I am not sure how to do this in a way where the Release action is full persisted before continuing. Below I have attempted to handle the standard release action (Base.Release), and then tag on a function call (SetCurrentOrderSet) to update the project, however since the Release action has not been persisted my logic in SetCurrentOrderSet fails.public class ChangeOrderEntry_Ext : PXGraphExtension<ChangeOrderEntry>{ public PXAction<PMChangeOrder> release; [PXUIField(DisplayName = "Release")] [PXProcessButton] public virtual IEnumerable Release(PXAdapter adapter) { var result = Base.Release(adapter); PMProject prj = this.Base.Project.Current; ProjectEntry prjGraph = PXGraph.CreateInstance<ProjectEntry>(); ProjectEntry_Extension prjGraph_Ext = p
Hello!Currently, if a PXSetPropertyException is thrown from the FieldVerifying event, the error is packaged up nicely for the specific field under an “error” property on the field in the response with a status code 422. What I’d like to do is validate multiple fields on an SO Line using the RowUpdating/Inserting/Deleting events, and if a field fails validation have the response come back in that same way. Based on the framework docs I’ve tried this on the SO line, but the response comes back with status code 500:sender.RaiseExceptionHandling<SOLine.inventoryId>(line, line.InventoryId,new PXSetPropertyException("failed validation."));e.Cancel = true;Is this even possible or does it require that the PXSetPropertyException be thrown from the FieldVerifying event?
I want max two number in my Custom field. Example the value of that field cannot go above 99.I have set the MinValue and MaxValue like this[PXDBInt(MinValue = 1, MaxValue = 99)] but ideally i would like to restrict user from entering the third digit. If anyone knows plz answer.Thanks.
Hello All, I am trying to activate an extension in APInvoiceEntry conditionally based on a setup extension from PreferencesGeneral. In all methods typically I can pass “Base” as a parameter in my code and retrieve the expected data but in “public static bool IsActive()” when I try to pass the Base (in my case APInvoiceEntry) it is not recognized. As an alternative, I tried to directly select from the database but I am not sure why the setup record is returned null and obviously, I can not get the extension from null. I read @Sergey post “https://asiablog.acumatica.com/2017/02/dynamically-activate-extensions.html” but couldn’t find a solution there either. See my code below and advise how I can overcome this issue. public class HCLAPInvoiceEntry : PXGraphExtension<APInvoiceEntry>{ public static bool IsActive() { PreferencesGeneral setup = PXDatabase.SelectMulti<PreferencesGeneral>() as PreferencesGeneral; HCLSMPreferencesGeneral setupExt = setup.GetExtens
How to Regenerate Token through OAuth 2.0 in Rest Api. I have pass the data in api but I have access only grant_type is API How To user permission to offline access to get refresh token
Hello guys,i have a case that i want to call an API daily in a custom function i wrote.i tried the business events but i think it dosent accept a custom code.is there a way to call a function daily in acumatica?
After unpublishing the customization package in one or multiple instances and again trying to re-publish, the system throws the below mentioned error exception:System.IO.IOException: The process cannot access the file 'C:\Program Files\Acumatica ERP\Administrator\.vs\Administrator\FileContentIndex\write.lock' because it is being used by another process.There isn’t any other customizations that have been published before.Can anyone please guide us out the reason of this exception message.Thank you.
In a Project, under the Addresses tab, in the State field, users are allowed to free type data instead of only using the selector list. This misinformation is skewing our reports. How can we disable free type?
We have a client on 21.208 that has the self service portal. When I publish customizations on the portal some of their workflow customizations in their main site go away. Specifically reports and actions that we have added to the shipment screen (SO302000) through normal workflow customizations disappear. This requires us to republish on the live site again.Can someone confirm if this is a bug that is fixed in a newer version or build?Thanks,Kurt
I want to add a new column for the custom calculation on total of all inventory item’s Ext.Price. How do achieve that. The value should update as the new field is added to the details tab.
how can I use SOAP APIs to import payments from bank to acumatica.
After clicking of the print action on invoices and memos as shown below, the checkbox (printed) is checked(triggered to be true) and a new form is opened.The new form opened is as below, if the user does not proceed to print using the opened form print action the checkbox on the other form remain checked.The checkbox printed remain true.Is there a way I can customize so that the checkbox (printed) can only be activated or set to true only if the print action on the second form is triggered?
Hi, I am trying to add Custom Field Tab on the Custom page to accept user defined data. How to ebable Manage User define field menu optionRegards,R.Muralidharan
I’m currently working on a customization project in which a file is created and attached to an invoice every time a user presses the print invoice button. The logic is implemented in ARInvoiceEntry and works perfectly, after pressing print the page refreshes and then redirects to a new tab for the report. However, in SOInvoiceEntry the logic is run from the ARInvoiceEntryExtension class which works as desired, the file is created and attached to the SOInvoice entry but the refresh does not work which means the Files indicator does not update to show that the file has been attached so the user needs to manually refresh the page to see the change. All I need is a way to refresh the page before the redirect exception is thrown and the report is shown so that the files indicator updates in SO303000. I tried using Base.Save.Press() in SOInvoiceEntryExtension class but it does not refresh even though the same method works with ARInvoiceEntryExtension. Any insight would be kindly appreciated,
A previously working report is now giving me this error “Response is not well-formed XML.”
Hello everyone, As you know on top of each Acumatica screen we have a more “...” button that allows accessing all related buttons. when we click on “...” from the list we can add any of the buttons to our favorites by star-ing it. This will add that button to the main toolbar and here is when the problem appears. The problem is that the favorited button always becomes visible even if I hide that button through the “row selected” event handler.To be clear the button visibility is set properly in the “...” more menu but it always remains visible on the Main Manu of the screen even when you SetVisible to false.To make this work when I initialize my graph I remove the buttons I want set their visibilities from the “FavoriteActionRecord” table as the user had not added those button as their favorite but I know it is not the proper way. Any thoughts on how I can overcome this issue?
I have been playing around with a product called “Indoor Atlas”. It is a toolset for mapping indoor locations. In effect, it gives you the ability to have a Google Maps like routing experience, but indoors. For example, warehouses, office buildings, stadiums, etc...if you want the application to route your from where you are currently to the popcorn stand in the stadium, it can do that. Indoor Atlas uses some proprierary tech that leverages the magnetometer in most smartphones today (basically the compass), along with Bluetooth Low Energy Beacons and Wifi to locate users indoors. I have been working on using this with the WMS product we are rolling out.IndoorAtlas provides an open source Android demonstration application that is intended to get users up and running quickly with their SDK and toolset. It’s purpose is to allow people to build their own mobile experiences, but leveraging the IndoorAtlas code and platform to get started faster. It is located here: https://github.com/Indoor
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.