Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
I am attempting to completely replace the default Case Workflow via code. I copied nearly the entire default CaseWorkflow code and customized it to my liking. However, I am not able to make the changes display in any way. Some important bits of code are:namespace CaseTest{ using static PX.Data.WorkflowAPI.BoundedTo<CRCaseMaint, CRCase>; public class CaseWorkflow_CRCaseMaint_Workflow : PXGraphExtension<CRCaseMaint> { public static bool IsActive() => true; public override void Configure(PXScreenConfiguration config) {PXTrace.WriteInformation("!"); var context = config.GetScreenConfigurationContext<CRCaseMaint, CRCase>(); context.ReplaceScreenConfigurationFor(screen => { return screen .StateIdentifierIs<CRCase.status>() .FlowTypeIdentifierIs<CRCase.caseClassID>(true) .WithFlows(flows => {
Version 2021 R1On the Tasks screen (CR306020), my customer would like to send an email to the owner of the Opportunity when a task is completed if the owner of the TASK is different than the owner of the Opportunity.Is there an example somewhere of how to trigger an email from Visual Studio code?I created a Notification Template. I’d like to trigger the template from code. I’d need to be able to supply the From and To fields. I also want to provide a custom body for the email.Is this possible?If this is covered in Acumatica Training, I don’t know which lesson to do. Please let me know if there is training available that I don’t see.
We have a problem where the Side Panels text is too light to read. We are using the Indigo theme and would like to continue using this as people are used to it. I have changed the theme to Default and the text is readable again but we’d really like to use Indigo. While investigating I discovered the Controls.css needs to be edited to fix this issue but our installation is not on prem so I can’t access the files directly. Is there a way to edit this file in our case? Thanks, Phil
Is there anyway to show multi-line text on the dashboards? I have a few text control on our project screen which are defined as multi-line text on project screen. I need to show them on a dashboard as they are defined but dashboards show only a limited number of characters in one row and cut the rest. Can anyone help?
Hello ,Can I have a sample how to customize Category Filter field in Self Service Portal for My Cart Screen or any screen please? Thank youJennifer
Where does Included field get saved in Acumatica.Could you please figure out the table?
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.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.