Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
We have a non stock item called DS - Drop Ship. On the Sales Order Screen and while adding a new Inventory Item I type ds into the inventory field and as I type the first thing it comes up with is something with ds in the description, ignoring the Inventory Code which exactly matches. Is there a way to alter the search to search by Inventory Code first before searching description or failing that to only look at the Inventory code and not the description for the search as you type functionality. Sorry if I am not using the correct terms but I hope you can understand what I mean. Thanks for any help,Phil
I exported a Project Package, then imported it on another server/instance. If I try to look at the Customization on the new server, it displays an Access Denied error. So I cannot see any of the contents. I added the new program to the site map, on the original server, but I don’t see it on the new server either. How do I add the new program to the site map?
Hi,The T200 series of documents states that you should be able to step into Acumatica code in debug mode using Visual Studio if you have installed Debugger tools. Specifically:The install program I used to setup a local instance of Acumatica didn’t have any Install Debugger check box and I think as a consequence when I attempt to step into Acumatica code called from my customisation code, Visual Studio steps right over the function (ie. I can step through my own customization code but not the Acumatica code). Screen shots of the install program used are as follows:I select Deploy New Application Instance, thenClick Next,Click Next,Click Next,Click Next,Click, NextClick Next,Click Finish, and the Install proceeds to an installation complete dialog box.No where along the process is there a check box to Install Debugger Tools. What Am I missing? Is there a difference between an Acumatica install and an MYOB install? My current understanding is that these are the same things but with
Hello,I have a screen with a grid, which has AllowFormEdit property set to true and SyncPosition set to true.The data view of this grid has an order by clause.The issue is, when user switches from grid view to a form view by clicking "Pencil" button, the form view sometimes shows different record.If I remove order by clause in the data view, everything works fine.Have you encountered issue like this before and if so what could be the reason.ThanksEugene Golshtein
I have two variables (_approvalBase & _approvalLast) both of the same type but they should be keeping different values. But when I assign value to one, another one changes too. Why?dialogData = RoutingPanelDialogData.Current;EPApproval _approvalBase = SetApproval(Base, approvalBase, dialogData, EPStatuses.Approved, PXDBOperation.Update);EPApproval _approvalLast = SetApproval(Base, approvalLast, dialogData, EPStatuses.Skipped, PXDBOperation.Insert);
Hello guys One of my selector field can’t inserting data in the field. when I selected data it’s disappearing from the field. suggest me guysThanks
I would like to modify the Inventory ID lookup on AP301000 to pull from the Project Cost Budget on PM301000. The only values which would be in the lookup would be the Inventory ID’s assigned to the Project Task.
Hey all, We are seeing an issue in 2021 R1 where if an order comes in with a future date, it messes up the sort order on the Allocation Details screen. Because the sort doesn’t take into account the date, it just sorts by order number and so you have 3 orders together in the list but the middle one has a date 3 months in the future so users are accidentally printing pick lists for orders that don’t need to be filled. The way that Acumatica returns the filterable ResultRecords dataset, it re-populates the list every time a filter is selected. Trouble is that the CalculateResultRecords that it uses to filter the Result Records is protected. I have tried overriding the ResultsRecords sort but it doesn’t get applied. Can anyone help me figure out what is the right way to override the sort on this?
I need to programmatically tie an email to a Case. The code I have makes some kind of association, because the email will display in the Case activities. However, the email ‘Related Entity’ field remains blank. Here’s my code:Base.CurrentMessage.SetValueExt<CRSMEmail.refNoteID>(email, taxCase.NoteID);email = Base.CurrentMessage.Update(email);Base.Actions.PressSave();In the database, the field is being correctly set, but the UI does not reflect the change.
Hello I am working with Acumatica Version: 20.213.0026. Every time I publish any customization, it takes forever to complete the process, it keeps on loading for more that 30-40 minutes. Regardless how loaded the customizations are, it shouldn’t take this long.Action after this:For local instance, I have to restart the service in IIS.For live environment: Create a ticket and let Acumatica support to forcefully stop and restart the service.(Happened twice on live and site was down for more than an 40-60 minutes.)I am not sure If anyone else encountered with similar issues and have a possible solution that I can try.I have already generated a ticket and support is looking into this issue.Any advice will be appreciated!Thanks
Hello, I add customer balance and credit limit through side panels on SO screen. Is there a way to set the side panel be expanded by default? I’d like to let the sales see customer balance directly. Thank you.
I have a method which is called after Acumatica original method is invoked. I know Acumatica’s base method when invoked, updates an existing record, creates another record with ifferent status and saves the changes. What I’m doing is to run some additional validations and if validations passed then allow to Acumatica’s base method be completed. To make this happen, I have enveloped everything into a TransactionScope. At the end either the whole process will be commited or rejected. I have put partial my code below. My problem is when I run the code outside the PXTransactionScope I can access both updated and inserted record and modify but when it is run inside the TransactionScope as they are not saved to DB after Acumatica’s base nmethod is invoked i can not access them and modify. I need this to happen inside a TS. I tried to access the Cache to see if the inserted and updated records are in Cache (Base.DACView.Cache.Cached) but I do not see the modification is passed to Cach either.
public PXAction<PMProject> complete; [PXButton, PXUIField(DisplayName = "Complete Project")] public virtual IEnumerable Complete(PXAdapter adapter) { if (Project.Current != null) { //Project can only be completed if all task are completed. PXResultset<PMTask> res = PXSelect<PMTask, Where<PMTask.projectID, Equal<Current<PMProject.contractID>>, And<PMTask.isCompleted, Equal<False>, And<PMTask.isCancelled, Equal<False>>>>>.Select(this); if (res.Count > 0) { Project.Cache.RaiseExceptionHandling<PMProject.status>(Project.Current, Project.Current.Status, new PXSetPropertyException<PMProject.status>(Messages.UncompletedTasksExist, PXErrorLevel.Error, res.Count)); throw new PXException(Messages.UncompletedTasksExist, res.Count); } Project.Current.IsCompleted = true; Project.Current.ExpireDate = Accessinfo.BusinessDate; Project.Update(Project.Current); } return adapter.Get();
Is there a way to auto-number employee ID’s? I looked through Numbering Sequences and Employee Classes Preferences without luck. I’d like the person setting up new employees not have to find the last number to assign the sequential one after that.
I’m overriding on of Acumatica methods. This method is triggered when “Remove Hold” action is called. The method clears all records from Approval table. I would like to keep this records. So I have added a trigger on the table that restores any deleted record. My method is called after Remove Hold does it work. I would like to access the records restored by trigger and manipulate a certain record. What happens I can see the record exist in DB when I select from query analyzers but my method is not being informed and returns null value. How can I address this issue?
We wanted to add a field under the Employee record so we could select it when using “Employee from Document” in Approval Maps. The default fields in Employee were not working with the mapping. After many weeks, we found the solution.We created a custom field “Approver” and added it to the Employee record. The DAC:[PXDBString(255)][PXUIField(DisplayName="Approver")][PXSelector(typeof(Users.username),SubstituteKey = typeof(Users.fullName))] The Problem:In the very deep backend SQL, Approvals for the “Employee” field when using “Employee from Document” is expecting a username value from Users.username. We were using bAccountID, defContactID, employeeID and every other ID in the system and nothing worked. The Solution:Now we can choose ((ClaimDetails.EmployeeID.UsrApprover)) and the Approvals work great
I was contemplating how to document the contents of a customization project. I thought about adding a readme document as a File in the project. There are also Wiki options or perhaps a Code file that doesn’t get exported to the Extension library.This might include a change log so that I can include that with the project in a way that someone else can look at without having to go somewhere else to read what’s new/changed.How do you document your functionality and changes so that others can understand what the customization project is doing?
Hi Team,I have 2 customized fields(“COO, Date Code”) in LineDetails on Labor Screen, upon release i want to insert these field values to LineDetails in Receipt. I’m using the below code to do so, but it is not insert the fields in Receipt. could you please help me on this. namespace PX.Objects.AM{ public class LaborEntry_Extension : PXGraphExtension<LaborEntry> { #region Event Handlers public delegate IEnumerable ReleaseDelegate(PXAdapter adapter); [PXOverride] public IEnumerable Release(PXAdapter adapter, ReleaseDelegate baseMethod) { var amtransplit = Base.splits.Select().FirstTableItems.ToList(); amtransplit.ForEach(f => { f.ExpireDate = DateTime.Now; Base.splits.Update(f); Base.Save.Press(); }); baseMethod(adapter); PXLongOperation.WaitCompletion(Base.UID); var amheader = Base.batch.Current; if (amhea
Hi,I have to calculate Values Based on Expression given for Individual Line.For Example:In Sales Order Screen Line Details I have 3 Items.Item 1 Qty Value Expression will be-- Item 2 Qty + Item 3 Qty + 5 ;If I change Item 2 Qty, Then Automatic Item1 Qty will get default based on Item 1 Expression.. Expression will be Dynamic.Like this Concept how can I create Expression and Default the Calculations. Thanks,Giri.
Is there any official or unofficial details about compatibility with Visual Studio 2022 for customization development and integration? Any issues with developers using it now that it is released?
We have a project that will require some UI capabilities that just don’t appear to be possible with the current Acumatica toolset. I know I could do what I need with some telerik or other third party html5 controls or even asp.net controls. Is there any way to incorporate those into an Acumatica screen and use javascript or even the code behind to push/pull data into and out of the controls?
I am trying to add the Employees last name to the payroll Possessing screen so I can sort the payments by this field. I have tried to follow some instructions to get this done but can not get my code extension to process. Can someone take a look at it and tell me what I am doing wrong.using PX.Data.BQL.Fluent;using PX.Data.EP;using PX.Data.CR;using PX.Data.ReferentialIntegrity.Attributes;using PX.Data;using PX.Objects.AP;using PX.Objects.CA;using PX.Objects.CM;using PX.Objects.CS;using PX.Objects.EP;using PX.Objects.GL;using PX.Objects.PR;using PX.Objects.CR;using PX.Objects;using System.Collections.Generic;using System;namespace PX.Objects.PR{ public class PRPaymentExt : PXCacheExtension<PX.Objects.PR.PRPayment> { #region UsrLastname [PXDBString(255)][PXUIField(DisplayName="Last Name")][PXFormula(typeof(Selector<PRPayment.EmployeeID, Contact.bAccountID>))][PXSelector(typeof(Search<Contact.bAccountID>), SubstituteKey = typeof(Contact.LastName)))]
I have added a custom Action Button “CustomApprove” that I press it through an event handler. This action button then displys a SmartP Panel “RoutingPanelDialogData” with OK/Cancel buttons. When user clicks on OK, I expect the method resume from the point displayed the smart panel but when I trace doesn’t hit this point at all. Can some advise what Im doing wrong?Here is my Event Handler: protected void EPApproval_RowInserted(PXCache cache, PXRowInsertedEventArgs e) //, PXRowInserted InvokeBaseHandler) { //InvokeBaseHandler?.Invoke(cache, e); APInvoice document = Base.Document.Current; EPApproval approval = e.Row as EPApproval; EPApproval approvalPrev = PXSelect<EPApproval, Where<EPApproval.refNoteID, Equal<Required<EPApproval.refNoteID>>, And<EPApproval.status, NotEqual<Required<EPApproval.status>>, And<EPApproval.approvalID
Hi Guys, Hope you are doing great.Could you please assist me on the below one:I am saving FSServiceContract record noteID value in Agreements table - RefNoteID field for reference purpose. While constructing the DataView to get the matched records infromation from the Agreements (this DataView present inside the FSServiceContractExt Graph), I am unable to get the “FromCurrent” option.Below one is the my DataView: public SelectFrom<Agreements>. Where<Agreements.refNoteid.IsEqual<FSServiceContract.noteID.FromCurrent>>. View Agreements; → Unable to get “FromCurrent” in the above DataView.Note: The noteID was defined like the below inside the FSServiceContract class. public abstract class noteID : IBqlField, IBqlOperand { protected noteID(); } Thanks in Advance.Moulali Shaik.
Hi there, I have a DAC called VendorAccountMapping and tried to the field of AP Account in Bills and Adjustments screen via this code: public class APInvoiceEntry_Extension : PXGraphExtension<APInvoiceEntry> { //protected void APInvoice_VendorID_FieldUpdated(PXCache cache, PXFieldUpdatedEventArgs e) protected void _(Events.FieldUpdated<APInvoice, APInvoice.vendorID> e) { APInvoice row = (APInvoice)e.Row; VendorAccountMapping vendorAccountMapping = SelectFrom<VendorAccountMapping>.Where<VendorAccountMapping.vendorID.IsEqual<@P.AsInt>.And<VendorAccountMapping.branchID.IsEqual<@P.AsInt>>>.View.Select(this.Base, row.VendorID, row.BranchID); if (vendorAccountMapping != null) { row.APAccountID = vendorAccountMapping.APAcctID; } } } Weirdly enough, the above piece of code does not work but I have tried the similar piece of code as shown below for
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.