Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Most replies
I have a UDF UsrCustomerID.I originally used this for my DAC #region UsrCustomerID [Customer] [PXUIField(DisplayName = "Customer")] [PXRestrictor(typeof(Where<BAccount.parentBAccountID, IsNotNull>), ICSMessages.ParentAccount)] public virtual int? UsrCustomerID { get; set; } public abstract class usrCustomerID : PX.Data.BQL.BqlInt.Field<usrCustomerID> { } #endregionI wanted to have access to the DescriptionField of the selector, so I tried this (which works) #region UsrCustomerID [PXDBInt] [PXUIField(DisplayName = "Customer")] [PXSelector(typeof(SearchFor<BAccount2.bAccountID>. Where<BAccount2.type.IsEqual<GetICSCustomerType>. And<BAccount2.parentBAccountID.IsNotNull>>), typeof(BAccount2.acctCD), typeof(BAccountCRM.acctName), SubstituteKey = typeof(BAccount2.acctCD), DescriptionField = typeof(BA
I have tried different methods for this case. I could change the lookup using an attribute, but for manual entry and for the Prev/Next/Last buttons, it doesn’t work. When I write e.NewValue = null or e.Cancel, or throw some exception in FieldUpdating/FieldVerifying, in some cases it returns an error, but the record still gets displayed. I tried using a Current Document delegate to change and add restrictions and also wrote a restriction attribute, but these options didn’t work either.
Hello there,We can add side panels to Entry screens now, and that’s awesome! However, I can’t figure out a way to add a side panel, that would be filtered according to the selection on the SO Line. I have created a couple GIs, added them onto a Dashboard that uses InventoryCD as a parameter. Now, I would like to be able to add this Dashboard as a side panel to Sales Orders screen, and filter data based on what line item is selected on the sales order.Any ideas? Thank you!
I am trying to create a new project in VS on a 25R2 instance. (first time working in 25R2).I open the project and simply try to compile it. I have not added anything to the project...just the default that was created.I get this error:Unable to find package Microsoft.Bcl.AsyncInterfaces. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, TestSDKI see that there was a similar error a couple of years ago, but it did not address my issue. From the above link, I tried removing Microsoft.Bcl.AsyncInterfaces from my csproj file. It compiles after doing that. But then the site will not load.After killing the site, I can get it back up by upgrading the site only using the installation tool.Note that simply attempting to compile my project in VS, it kills the site.Could not load file or assembly 'Microsoft.Extensions.Options.ConfigurationExtensions' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
Has anyone else had problems with modern UI for Acumatica screens that are customized? We have discovered that when you create extension modern UI files for a screen like the Vendor screen, they won’t work because Acumatica forgot to include export statements on the TS file for the screen so that they can be referenced by ISVs TS file to include custom fields onto the modern UI.Also, the extension modern UI files don’t seem to be able to loaded into a customization project...just the files that are for non-Acumatica screens. So, at this point, we apparently have to manually copy our files into the extensions folder for each screen and then edit the Acumatica screen TS file manually for every customized Acumatica screen for each of our customers? WTH?
Could someone please help in providing a solution of moving the UDF from PO into AP Invoice?I am new to developing in acumatica. I have created the user defined fields in POLine and APTran.While reviewing the source of APInvoiceEntry, I looked at overriding the method CopyCustomizationFieldsToAPTran.Code I added is below.public void CopyCustomizationFieldsToAPTran(APTran apTranToFill, IAPTranSource poSourceLine, Boolean areCurrenciesSame, CopyCustomizationFieldsToAPTranDelegate baseMethod) { baseMethod(apTranToFill,poSourceLine,areCurrenciesSame); var portID = poSourceLine.GetExtension<POLineExt>()?.UsrPortID; var tranline = apTranToFill?.GetExtension<APTranExt>()?.UsrPortID; if (tranline != null && portID != null ) tranline.UsrPortID = portID; }I am getting validation errors when I try to publish.error CS1929: 'IAPTranSource' does not contain a definition for 'GetExtension' and the best extension method overload 'PXCacheEx
Hello, I like Acumatica’s user defined fields feature, I can add fields without writing code.But these fileds are disabled when the shipment is completed, while I’d like to keep it being enabled. Is there a way to do it? I’ve found a similar question above, but as I checked, I can not find the “UDF” in automation steps. So I can not enable it. Is there any other way to do it?
How do I enable locked fields, like we used to in Automation Steps? I’m seeing it’s under Customizations now, but I am not seeing a useful walkthrough on this. I want to unlock a date filed on the SO Header when a shipment is created.
Hello Everyone,We have a specific requirement to add side panels to the default Acumatica Processing screen (Prepare Replinishment -IN508000)? Is this possible?
Hey guys, this is my first time playing around with views for a generic inquiry we will be requiring for a new legislation coming in.I have used the view in a GI and it has given me the error: ‘Error: An error occurred during processing of the field Base Item Weight: Specified cast is not valid.’.This is my view:CREATE VIEW CBAMCalculator ASSELECT Inv.CompanyID, TranLine.DocType, TranLine.BatNbr, Inv.InventoryID, Orders.OrderNbr, Line.LineNbr, Inv. BaseItemWeight FROM [InventoryItem] AS InvINNER JOIN [AMMTran] AS TranLine ON Inv.[InventoryID] = TranLine.[InventoryID]INNER JOIN [AMBatch] AS Batch ON TranLine.[DocType] = Batch.[DocType] AND TranLine.[BatNbr] = Batch.[BatNbr]INNER JOIN [SOLine] AS Line ON TranLine.[OrderType] = Line.[AMOrderType] AND TranLine.[ProdOrdID] = Line.[AMProdOrdID]INNER JOIN [SOOrder] AS Orders ON Line.[OrderType] = Orders.[OrderType] AND Line.[OrderNbr] = Orders.[OrderNbr]WHERE Batch.[DocType] = 'M'GOThis is my DAC:#region DocType [PXDBString(1, IsFixed = t
Checks and payments entry record creating Programmatically using .csv FilePayment Type Pmt Number CashAcct Pmt Date VendID ApplyToVendorRef ApplyToAmt TotalAmtCHECK 10184000001 ORE-OP 11/16/2021 PIOT INV2809 2185.02 2185.02 the above fields i have in csv file.. using Vendor reference number am fetching data from Bills Screen and then am trying to create checks and payments record against to that bill- am able to create header part when coming to insert in APAdjust table am facing an issue above error throwingError: An error occurred during processing of the field Reference Nbr. value 032616 Error: Reference Nbr. '032616' cannot be found in the system.am also sending the code which i have written for APAdjust .. Please suggest me with the Solution APPayment payment = new APPayment(); payment.DocType = APDocType.Check; payment = PXCache<APPayment>.CreateCopy(grp.Document.Insert(payment)
I’ve been asked to provide an estimate for a new customization. I’ve done several advance things in Acumatica but this one I’m wondering if a) is this possible? and/or b) should it even be attempted?They want to use Matrix Items with 8 attributes in a template. They want to be able to add cost/labor to each attribute value and have the price calculated during entry and saved directly to AR prices when item is createdAdd custom fields to Attribute values: Use these values to calculate a price during matrix entry: This does not look like traditional graph extension with overrides. I’ve tracked down some code PX.Objects\IN\Matrix\GraphExtensions\HeaderAndAttributesExt.cs which looks like where the fieldupdating event is being hooked up to each attribute value but I can’t see a way to sub-class or extend this abstract class.I guess I’m at the point where I just need to hear if this is a fools errand and/or if there is some other possible way to accomplish this. Customer does not want/
I am currently configuring an automated invoice emailing process in Acumatica using Business Events + Email Notifications + Attached Reports.My setup is the following:Business Event Type: Trigger by Record Change Screen: AR Open Invoice (GI based) Trigger Condition: Old Status = Balanced New Status = Open Subscriber Type: Email Notification Attached Report: AR641000 - Invoice/Memo “Use Event as Data Source” is enabled Source Table = ARInvoiceThe Business Event and Email Notification are working correctly:The email is successfully sent The subject/body correctly resolves dynamic values such as: ((ARInvoice_refNbr)) ((ARInvoice_docType)) The Related Entity in Business Event history correctly shows the invoice reference number The AR641000 report displays correctly when manually run from the screenHowever, the issue is that the PDF attachment generated from the Email Notification is blank.The PDF structure/layout loads, but no invoice data appears inside the report.I already test that
Hello!I am attempting to add some conditional formatting on the SO Order Details grid where the SO Lines are viewable when looking at a Sales Order.I have implemented a customization on the SO Order Entry graph which calculates the mark up of each line amount over total average cost of the line, which then puts this number into a custom field on an SO Line DAC Extension.I want to highlight the SO Line rows in red where the the custom field(usrMarkupPct) is less than 0.1.Everything I am finding says to edit the ASPX file of the Sales Order screen but I am not sure that is the best way to do this.Does anyone have any experience with applying formatting conditionally to SO Lines?As always, any help will be greatly appreciated!!
I have a new PXAction that I added to the InventoryItemMaint graph. public class InventoryItemMaintExtension : PXGraphExtension<InventoryItemMaint> { public PXAction<PX.Objects.IN.InventoryItem> PrintItemLabel; [PXButton(CommitChanges = true)] [PXUIField(DisplayName = "Print Label")] protected virtual void printItemLabel() { } } update screen IN202520 { update container "HeaderView" { add recordAction "PrintItemLabel" { behavior = PrintItemLabel } update layout "FooterLayout" { update layout "Line1" { add recordActionLink "PrintItemLabel" remove recordActionLink "ScanBarcode" } } }}My goal is to add this Print action to the IN202520 mobile application screen, and to remove the current “Scan” action, which is unnecessary both because the device has an attached harward barcode scanner, and we don’t want to use the camera to do scanning anyway.My sit
I’m trying to set an attribute invisible using this line of code : var row = (SOLine)e.Row; if(row != null){ var rowExtension = row.GetExtension<Objects.SO.SOLineExt>(); PXUIFieldAttribute.SetVisible<rowExtension.UsrStkDispEntrp>(cache,row,false); } but i’m getting this error : 'rowExtension' is a variable but is used like a type thanks.
If I want to add new DB fields on this screen, which table they will be added I know its ScanHeader DACExtension but I am not able to find the respective table. I need to add details like on which day this shipment was scanned it was scanned by whom and data like that.
I added my ICCProcessingPlugin in the R2 instance that was working on the R1 instance. When I try to create a Processing center I am not seeing the plug in I created as an option (see screen shot) would anyone be able to advise?
Hi, I need to add a custom unbound field to my smart panel. So I created a definition for an unbound field ‘selected’ in a DAC extension for POLine like below. This DAC extension is defined in my Graph extension which I use for my custom screen.public sealed class PoSelected : PXCacheExtension<POLine>{ public static bool IsActive() { return true; } #region Selected [PXBool] //[PXDefault(false)] [PXUIField(DisplayName = "Selected")] public bool? Selected { get; set; } public abstract class selected : PX.Data.BQL.BqlBool.Field<selected> { } #endregion}(I’m not sure whether this definition is right or wrong, If there is something to be added please let me know also)My purpose of using this field in the smart panel is allow the user to select rows and add to the custom screen like below.For now I use the selected field which is already in the P
When adding a new custom feature switch i get an error when changing another feature due to the null value in the new feature switch field. How can i prevent this?[PXDefault(false, PersistingCheck = PXPersistingCheck.Nothing)] doesn’t help here!
I’m trying to debug Acumatica 23r1 source code but am unable to get the symbol files to load so my breakpoints are hallowing and say “The Breakpoint will not currently be hit. No symbols have been loaded for this document.” I’d like to figure out how to get the source code debugging to work. Also has anyone else been able to debug the Acumatica 23r1 source code?I was using Acumatica 22r2 and I was able to debug that just fine. I also installed Acumatica 21r2 and I could debug that without issues. I tried 2 different builds of 23r1, 100.0138 and 103.0013(making sure to check the box to install the debugging tools), but both had the same issue.I’ve tried clearing my symbol cache via Visual Studio and deleting the TemporaryAspFiles folder where the files seem to get put but I still get the same issue. I’ve also tried installing fresh instances of Acumatica and creating fresh customization projects but that has not worked either. I used hyper-v to create a windows 11 VM(my PC is windows 10
Hi All!I have been trying to figure out how to customize an existing screen to add a tab in the stock item that is the same set up as cross reference tab, but for customer forecasting. I also would need to be able to have a user input field so we can manually input/update/change the customers forecast for that part. Then we would be able to run a report of actual vs. forecast for each item by customer. Any help or input is greatly appreciated, and any other ideas as to how to accomplish this is welcomed as well. Thanks!!
Hi, I have a requirement where the values entered in the Attributes form need to be pulled into a custom form I make. So, I basically need a way to have a custom line level drop-down list field which contains all the values that are previously entered in the Attributes form. Any help regarding this would be appreciated.
I am working in the Customization Project Editor. I went in and added on the Customer Screen a new custom field usrDate_Of_Loss. I think its BAccountExt.usr_Date_Of_Loss. I added it to the customer. I also added a usrDateOfLoss to the invoice ARRegisterExt.usrDateOfLoss I believe is what it is called. I also added the Default code and the Formula attributes where the custom field is declared in the Customization Project Editor. I am adding it to the Attributes section, I put in bold below: [PXDBDate][PXUIField(DisplayName="Date Of Loss")][PXDefault(typeof(Search<BAccountExt.usrDate_Of_Loss , Where<Customer.CustomerID, Equal<Current<ARInvoice.CustomerID>>>>), PersistingCheck = PXPersistingCheck.Nothing)][PXFormula(typeof(Default<ARInvoice.CustomerID>))] It is looking up I hope that custom field from Customer to put in the Invoice DateofLoss Field. The error on validation is: \App_RuntimeCode\PX_Objects_AR_ARRegister_extensions
Hello, Acumatica Community!I'm experiencing an issue with setting the visibility of a custom field in the SOOrder screen within my Acumatica ERP customization. Despite my attempts to control its visibility through both DAC extensions and the graph extension logic, the field does not display as expected under certain conditions. I'm looking for guidance on how to ensure visibility in a specific context while using a RowSelected event. Here's what I'm trying to achieve:Custom Field: I have a custom field, UsrAISIsSOWContent, added to the SOOrder DAC through the SOOrderExtension. On UsrAISIsSOWContentI set the Visible Properties to false on Screen settings. Visibility Requirement: The field should be visible only for the order type "QT" (Quote) and when a certain boolean field, UsrAISIsSOW, is set to true. Here's a snippet of my code for the graph extension: protected virtual void SOOrder_RowSelected(PXCache sender, PXRowSelectedEventArgs e, PXRowSelected baseMethod){ baseMe
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.