Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
Hi Team,One of our client is using multiple UOM(base Unit and Pallets) and they would still like to process SO with base UOM. But would like to see Converted UOM(Pallet Quantity) based on the order quantity in Sales Order. Is this possible? Can someone help me on this?
Developer gurus,What is the best practice to send a custom report to DeviceHub and update a field to show that it has been printed?We have a custom Workflow Action that prints a custom report (labels) from the Production Order Maintenance screen. The action opens the report on the screen and uses the “Field Updates” tab to update the IsReportPrinted field.Now instead of printing to the screen, we would like to print this report directly using DeviceHub. Is there any way in the Low Code/NoCode framework to do this?I think we have some working code based on a very helpful thread and the response by @Gabriel Michaud, but I’m just wondering is there any way to accomplish this using the new workflow engine? We hope to build in such a way that this will upgrade easily as Acumatica makes advancements to the workflow engine.Code is based on the example attached to this thread: using System;using PX.Data;using PX.Objects.IN;using PX.Objects.CS;using System.Collections;using System.Collection
Hello,I’ve been playing around with modifier options (I know, not supported), and trying to figure out the work around. For my purposes, mapping the product options to Transactions.NoteText is exactly where I want them. It keeps them connected to the base product without adding additional columns on my SO screen as I’ve seen on some existing customizations for this. The problem is, I’ll have multiple modifier options aka source fields that I would want to map to the Transactions.NoteText target field.Is there anyway to get multiple source fields to map to one target field? I feel like I’m one line of code away from solving a major pain point for me. Use case: We sell made-to-order blazers for airline pilots. Long story short, there are 160,000 possible variations so making kits, matrixes, templates is not going to work for this. Though I am open to any other ideas. Thank you,Nathan
What is the best way to customize the SOQuickProcess Extension? It is located as a nested class in PX.Objects.SO.SOOrderEntry.My assumption would be to start with a fresh extension, but I wanted to ask first.
Hello All, I am trying to override a DAC field “get” method. below is the original DAC field declaration:#region AmountToCompletepublic abstract class amountToComplete : PX.Data.BQL.BqlDecimal.Field<amountToComplete> { }[PXBaseCury()][PXDefault(TypeCode.Decimal, "0.0", PersistingCheck = PXPersistingCheck.Nothing)][PXUIField(DisplayName = "Cost To Complete", Enabled = false)]public virtual Decimal? AmountToComplete{ [PXDependsOnFields(typeof(budgetedAmount), typeof(completedAmount))] get { return Math.Max(0, BudgetedAmount.GetValueOrDefault() - CompletedAmount.GetValueOrDefault()); }}#endregion and I want to completely override it so below is what I have put in my DAC Ext:#region AmountToCompletepublic abstract class amountToComplete : PX.Data.BQL.BqlDecimal.Field<amountToComplete> { }protected Decimal? _AmountToComplete;[PXMergeAttributes(Method = MergeMethod.Replace)][PXBaseCury()][PXUnboundDefault(TypeCode.Decimal, "0.00", PersistingCheck = PXPersistingCheck.Nothing)][PXU
I have some questions around PXDBDate fieldsI’m trying to understand when does a date field care about UTC and when does it not? Looking at SODate.OrderDate I see that it doesn’t store any time value. Jan 1st, 2023 is always that date regardless of the time when the order was placed or what my timezone setting is.I added a date field to SO Line and when I update the value of the field there is no time component. And, yet, the column is displayed in UTC. I’m in PST (-8) so if I enter 2023-02-01 with no time component and then change my timezone, the display value changes. The database is holding no time component.So my two questions are:How do I set up a Date field that does act like a UTC value? In other words, the date I’m entering is “local time” and it will adjust depending on the user’s timezone setting. How do I set up a Date only field that does not act like a UTC value? Like a sales order’s date field where Jan 10, 2023 on the screen matches what is stored in the database, rega
Hello, I see some errors on system monitor:When I go to Process push notifications, yes , there are also errors. I did NOT configure or Activated any push notifications. My question:1, What is this all about? I did not configure to send notifications why it is kept sending?2, how can I stop these errors? I don’t know what are them for. I don’t need them.
The Restrictor attribute PX.Objects.PR.ProjectWithWarningsAttribute became an issue for me after adding an additional stage to my Project workflow. The additional stage required an appended/expanded version of the PXStringListAttribute for the Project Status field. This caused an issue with the ProjectWithWarningsAttribute. When pMProject.Status != "A" it calls string text = new ProjectStatus.ListAttribute().ValueLabelDic[pMProject.Status];This causes a key not found in dictionary exception as my ProjectStatus_Ext is being used and contains keys not in the standard ProjectStatus ValueLabelDic.My suggestion would be to use TryGetValue and to use the IsActive field in the project rather than checking if the Status field equals ‘A’.
What is the difference between Press() & PressButton() ?
I am running 21R2 21.205In a graph,How can I listen to system events to see if a "Side Panel" is open? If there are multiple Side Panels, how do I know which one is currently Active? Can I programmatically force to refresh “Side Panel” when an EventHandler is triggered?
Getting the above error in vendors details; Upgraded from 2020r2 to 2022r2.what could be the issue?kindly assist, all responses will be highly appreciated. see full code below;using System;using System.Collections.Generic;using System.Collections;using PX.Data;using PX.Objects.GL;using PX.Objects.CS;using PX.Objects.CM;using PX.Objects;using PX.Objects.AP;namespace PX.Objects.AP{ public class APDocumentEnq_Extension : PXGraphExtension<APDocumentEnq> { public PXSelectOrderBy<APDocumentEnq.APDocumentResult, OrderBy<Asc<APDocumentEnq.APDocumentResult.docDate>>> Documents; protected virtual IEnumerable documents() { decimal decCurrRunningBal = 0; decimal decRunningBal = 0; Dictionary<string, decimal> curydict = new Dictionary<string, decimal>(); BqlCommand query = Base.Documents.View.BqlSelect; PXView view = new PXView(Base, true, query, Base.Documents.View.BqlDelegate);
I’m working on a simple customization to extend the field length of the Summary (Description) field in the grid of the the Employee Time Activities screen. I’ve updated the field length with a database script included in the package (I’ve confirmed that the length is changed in the database) and I’ve updated the DAC (PMTimeActivity) to reflect the new 4000 character limit.[PXDBString(4000, InputMask = "", IsUnicode = true)][PXDefault][PXUIField(DisplayName = "Summary", Visibility = PXUIVisibility.SelectorVisible)][PXFieldDescription][PXNavigateSelector(typeof(PX.Objects.CR.CRPMTimeActivity.summary))]The field on the Employee Time Activities screen still only accepts the default 256 character limit. It seems like this change isn’t being inherited in the EPActivityApprove DAC that the Employee Time Activities screen uses. Either I’m running into a bug or I’m missing something simple here.
I seem to be getting caught more and more by this. I have this line of code:orderGraph.Document.Current = orderGraph.Document.Search<SOOrder.orderType, SOOrder.orderNbr>(graphBulk.Order.Current.OrderType, graphBulk.Order.Current.OrderNbr);I believe it should be looking for a sales order record. It worked fine in testing with SO for the order type. Then we added another order type, BK, and this code failed to find the record.So I switched the code to this:SOOrder order = SOOrder.PK.Find(graphBulk, graphBulk.Order.Current.OrderType, graphBulk.Order.Current.OrderNbr);And it finds the record without a problem.So what is the Search method doing that causes it not to find the record? Sometimes I will need to use a search but I need to be able to understand why it operates differently (and cannot find the SO record when I’ve supplied both key field values).
I followed the topic and I was able to add an icon to a custom workspace. YAY However, the svg icon looks pretty ugly. If you open the svg file in Chrome, this is what it looks like:I modeled my svg file that I placed on the web server to follow the formatting of one of the manufacturing icons already on the site. My svg file has a bunch of paths whereas the manufacturing.svg file only has one path per symbol. PRETTY UGLY. If anyone has any experience with svg files, I’ve uploaded the original file that looks great when viewed directly in a browser. I also uploaded the file as I currently have on the site. Original file is merge_icon_Original.svg and the one I am using is merge_icon.svg. I zipped them up so that I could upload them here.Any help formatting this svg file to get it looking pretty would be greatly appreciated!
I have deployed SSRS-Scale out along with Azure Load balancer. Seems it is working but I see the below error for some executions. Seems Report viewer cache the session along with the user name of local instances in the database and if the successive request goes another instance, it gives an error.I can avoid this issue by changing the session affinity of azure load balancer (by client IP), but all of my requests will be coming from the same source. How can I solve the issue? Is there a way to remove session caching for the report viewer?
update from 2020 r2 to 2022 r2 and got the following error in the following code. Kindly assist.All responses will be highly appreciated.
Hi,I want to get the old value of the field when selecting the order to modify,For example :I have 60 in the field, I modified the field 3 times I put 45, 50 and 30, I just want to keep the first value 60 in another fieldwhen I enter with the purpose of modifying an input field multiple times to change, I want to keep the first value.I tried with "SOOrder_RowUpdated" but in each modification the field value takes the previous value.
how to fetch field values from tables for acu loan
Hello all,I was wondering does Acumatica have any function that can be used in its DAC properties settings to dynamically return the index of a Character in String something like IndexOf or LastIndexOf?For example typeof(Substring<DAC.Field, Zero, IndexOfChar>) I can have it in get/set but I need it in the properties.
Apologies this is a long one.Customizations added:Custom field added via ARTranExt for field “SomeField” of type string Custom field added via ARRegisterExt for field “SomeFieldChanged” of type boolean Custom action “EnableSomeField” added on the Action menuWhat I’m trying to achieve:When a user opens an existing invoice, ARTranExt.SomeField must not be editable When the user clicks the EnableSomeField action, only SomeField must become editable. I set a property calleld “editMode” to true When the user selects an ARTran row, in Event.RowSelected<ARTran>, I check if editMode is true, and if yes, enable ARTranExt.SomeField In Events.RowUpdated<ARTran>, I check if currentRow.SomeField == oldRow.SomeField, and if not, I set ARRegisterExt.SomeFieldChanged to trueThe code:public class ARInvoiceEntry_Extension : PXGraphExtension<ARInvoiceEntry> { private bool editMode = false; public override void Initialize() { base.Initialize();
Hi, I am completely new to Acumatica. My company is looking at integrating its shipping solution with Acumatica. I am currently researching Acumatica and the process, web service endpoints, form customization, etc., but I am struggling with the concept and steps to follow if you’d like to develop a solution for the Acumatica marketplace.How does this process work?Note: I already setup a local development environment that is fully functioning.Thank you in advance.
Hi,I have created a new custom field called LineCtr (Line Counter) to the PMTask DAC, and I want the value that a user enters in this field to appear in the LineCntr field that is in the PMRevenueBudget column called LineCntr (Line Counter).In the Projects screen, the custom field I have created is in the Tasks tab, and the field I want to update is in the Revenue Budget tab. Below is an example of how the custom field would be used. And this is the Revenue Budget tab: In the Revenue Budget tab, the Project Task is added via a selector. Currently, my custom field is displayed as a column in the selector so that the user can be sure what number they are going to be adding to the LineCntr column. As shown below, this is how the selector will look: What I would like to happen is, when a user selects a row from this selector, the LineCtr column that is shown in the selector above should be added to the LineCntr column that can be seen in the Revenue Budget tab.What I am having trouble fi
HI, When I try to add a SOLine Item having a Non-Inventored item through customization. I am getting Error: Trandate cannot be emptyWhile debugging the code Trandate has value in the SOLine row. What may be the reason for this issue? at PX.Data.PXDBDefaultAttribute.RowPersisting(PXCache sender, PXRowPersistingEventArgs e) at PX.Data.PXCache.OnRowPersisting(Object item, PXDBOperation operation) at PX.Data.PXCache`1.PersistUpdated(Object row, Boolean bypassInterceptor) at PX.Data.PXCache`1.Persist(PXDBOperation operation) at PX.Data.PXGraph.Persist(Type cacheType, PXDBOperation operation) at PX.Data.PXGraph.Persist() at PX.Objects.SO.SOOrderEntry.PersistImpl() at PX.Objects.SO.SOOrderEntry.Persist() at PX.Objects.Extensions.ProcessAffectedEntitiesInPrimaryGraphBase`4.Persist(Action basePersist) at PX.Objects.Extensions.ProcessAffectedEntitiesInPrimaryGraphBase`4.Persist(Action basePersist) at PX.Objects.Extensions.PaymentProfile.PaymentProfileGraph`2.Persist(Action
Does Acumatica have a generic table that contains:A Key - a String A Value - also a String, with an expanded value for the key, to be used in any way that is appropriate A value type - optional, identifies the value has a format of String, Decimal, Date, etcI would add custom entries to this table, as an alternative to creating a new table to store simple values that can be retrieved based on a user-defined key.Thank you,Randy
Hay guys, I had a great shipping API customisation which was working, however it stopped working. I went to debug and this method of accessing the packages doesn’t work anymore. Any advice? PXResult<SOPackageDetailEx> pack = Base.Packages.Select(); When I query pack I get zero pack’s even though I can see them in the database. So I tried the below: SOShipmentEntry shipGraph = Base as SOShipmentEntry;var pack = PXSelect<SOPackageDetailEx, Where<SOPackageDetailEx.shipmentNbr, Equal<Current<SOShipment.shipmentNbr>>>>.Select(shipGraph); I am still getting zero packs returned from pack.Please help, I don’t know how to code this any other way.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.