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 have been asked if it’s possible to set the From Period to default to 01-2022 instead of 01-2023. I’m not sure how to go about doing this. I presume I need to somehow get the correct Period ID from the string 01-2022 or date 01/01/2022 and set it in the FieldDefaulting Event Handler but I’m not sure how to go about getting the PeriodID to set.Thanks for any advice,Phil
Hi,I’m new to the acumatica development and I had to create a new screen, In the screen I need to get customer currency code after the customer is selected.This is my DAC code for customer #region CustomerID [PXDefault] [CustomerActive(DisplayName = "Customer",DescriptionField = typeof(Customer.acctName))] public virtual int? CustomerID { get; set; } public abstract class customerID : PX.Data.BQL.BqlInt.Field<customerID> { } #endregionThis is my Field Update event is Graph.cs file protected void _(Events.FieldUpdated<APProforma, APProforma.customerID> e) { APProforma row = e.Row; if (row.CustomerID != null) { Customer cust = PXSelectorAttribute.Select< APProforma.customerID>(e.Cache, row) as Customer; row.currency = cust.CuryID; } }After I adding the
hello, I have bild a new customization project in visual studio after that when I try to open acumatica I’m getting this error. Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I have been trying to add a new report in the SO301000 screen and I’m not able to create an action for it in the workflows section. How shall I create it?Thanks in advance.
My selector returns no data when I try to restrict the results to the WorkgroupID field of the current record. If I don’t try to restrict the selector with the current Workgroup value, it returns all records in my custom table, whereas I only want it to return records from the custom table where the WorkgroupID is the same as what was selected on the grid.These are the UDF’s on the PMTimeActivity table. They all save to the PMTimeActivity table and function correctly otherwise.This is the Selector for the UsrProductID field. #region UsrProductID [PXDBInt] [PXUIField(DisplayName = "Product Code")] [PXSelector(typeof(SearchFor<ICSProductCode.productID>. Where<ICSProductCode.active.IsEqual<True>. And<ICSProductCode.workgroupID.IsEqual<EPTimecardDetail.workgroupID.FromCurrent>>>), typeof(ICSProductCode.productCD), typeof(ICSProductCode.description), SubstituteKey = typeof(ICS
When we are trying to add the customized actions to the mobile application it is not showing in the mobile app.actions in the customized screen: In the screenshot we can see the actions under the Actions complex type in WSDL Schema In the code part we have tried with the different action commands still we could not able to see the actions in the mobile applications.add container "HeaderView"{ add recordAction "Save" { behavior = Save } add recordAction "Cancel" { behavior = Cancel } add recordAction"ScanReset" { behavior = Record } add recordAction"UserSetupDialog" { behavior = Record } add recordAction"ScanRemove" { behavior = Record } add recordAction"ScanQty" { behavior = Record } add recordAction"ScanReleaseTransfer" { behavior = Record } add layout "HeaderViewHeader" { layout = "HeaderSimple" add layout "HeaderViewHeaderRow1" { layout = "Inline" add field "Sugge
Hi experts,I tried to bring field Description of Purchase Receipt to screen (PO302000).However, it only shows the textbox without label and value of this field will be discarded when I save it.Is there anyway to show label also and we could input value for this field?
somebody can you help me? what is the process for transferring of signatory thank you
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.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.