Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
The requirement is to open a released billed case after the related invoice was deleted. I got as far as to open the case but can’t open a completed, billed work item. I am trying to do it with the CRActivityMaint graph and using the Activities view for the update, but the record doesn't change although there are no errors.This is the case update:// Acuminator disable once PX1045 PXGraphCreateInstanceInEventHandlers [Justification] var graphCase = PXGraph.CreateInstance<CRCaseMaint>(); // var ret = CRPMTimeActivity.PK.Find(graphAct, link.TimeActivityNoteID); var ret = CRCase.PK.Find(graphCase, row.CaseCD); if (ret != null) { if (ret.Released == true) { ret.Released = false; ret.Resolution = "IP"; ret.Status = "O"; graphCase.Case.Current = ret; graphCase.Ca
I have a custom edit screen (single record at a time) with corresponding custom table. Similar to other edit pages, I have a primary text/search field where I want the user to enter a new value for a new record, or an existing value that selects an existing record (e.g. Stock Item or Project). The primary key of the table is an internal identity, but the UI field is a string field and unique/alternate key. Can someone remind me how to get the field to be more than a search and allow new values? I was first using a PXSelector, but I couldn’t get it to allow new values. I also then tried creating a Segmented Key with one segment for it, and then using a PXDimensionSelector and PXSegmentMask as the control, thinking it may need that to allow a new value to be entered, but that didn’t help. When attempting to save, it is not allowing a new value -- it’s showing an error that the value doesn’t exist, which of course it shouldn’t. The DAC field is shown below. What am I missing in co
Hello!I’m trying to add a new Vendor with the minimum of data but I’m struggling and I don’t understand what I’m doing wrong. This is on Acumatica 2022R1. Can anyone assist?Here is the code. There is a bit of hard coding in there at the moment but they are all valid values on my system.I’m using the DefLocationExt extension to set the values for country and some account codes, these are mandatory fields. private void CreateVendor(string VendorCD) { VendorMaint vendorMaint = PXGraph.CreateInstance<VendorMaint>(); VendorR vendorR = (VendorR)vendorMaint.BAccount.Cache.CreateInstance(); vendorR.AcctCD = VendorCD; vendorR = vendorMaint.BAccount.Insert(vendorR); vendorR.VendorClassID = "AAA"; vendorR = vendorMaint.BAccount.Update(vendorR); vendorR.AcctName = "New Vendor"; vendorR = vendorMaint.BAccount.Update(vendorR); vendorR.DiscTakenAcctID = 10025; vendorR.DiscTakenS
I have created a GI to get data records from custom table. I want to filter the records by UserID. So that I added a condition as follows. But using @me as Value1 shows a validation error as follows. Why i’m getting this error. I have used @me as UserId in another GI and it works well & did not show any validation error.Any Idea on this? Thanks.
Hi every one,I have a custom field on POLine named “Custom Note” (UsrCustomNote)I want to bring this field to POReceiptLine when creating Purchase Receipt by click button “ENTER TO RECEIPT”The goal like: Could you please help me? Regards,Khoi
Hi, I add a customized label in Order header , i want to make it invisible when custom field 'Remise Comm' greater than 0
Hi,I install the pdf connector on my prod environment and I try for differences browser and I have this error : Please update your PDF Embed API viewerA new version of this PDF viewer has been released with an improved user experience and this version will no longer be supported. Please review the migration guide for further details.This is my version of acumatica Copyright © 2005-2022 Acumatica, Inc. All rights reserved.Acumatica Cloud ERP 2022 R1Build 22.109.0023 +Could you please help me ?
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.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.