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 there, I have tried the steps shown here to attempt passing the value of the custom fields from Requisitions over to the custom fields in Purchase Orders screen when Create Orders button is clicked. However, the custom fields in the created Purchase Order remain blank. Below is the DAC for both RQRequisitionLine and POLine:RQRequisitionLine [PXDBString(50)] [PXUIField(DisplayName = "Tax Purpose")] public virtual string UsrTaxPurpose { get; set; } public abstract class usrTaxPurpose : PX.Data.BQL.BqlString.Field<usrTaxPurpose> { } #endregion #region UsrProjectNo [PXDBString(50)] [PXUIField(DisplayName = "Project No")] public virtual string UsrProjectNo { get; set; } public abstract class usrProjectNo : PX.Data.BQL.BqlString.Field<usrProjectNo> { } #endregion #region UsrCategory [PXDBString(50)] [PXUIField(DisplayName = "Category")] public virtual string UsrCategory { g
We are trying to a a new data field to a shipping line to capture a unique product number other than serial number at time of shipment. We add to the grid, and receive this error when publishing. Can anyone assist? What do we need to look for to correct this error?[2023-06-30 17:21:13.830] \App_RuntimeCode\PX_Objects_SO_SOShipLineSplit_extensions.cs(1): error CS0246: The type or namespace name 'Data' could not be found (are you missing a using directive or an assembly reference?)
I need to customize the Lead's “Convert to Opportunity” Action (convertToOpportunityAll) to map the Lead Class to the Opportunity Class and then als the related attributes.I’m trying to create a LeadMaint Graph Extension in a Customization project in 2022 R2.Problems:1. When I try to Inspect the Element for the convertToOpportunityAll Action Button and click ACTIONS and choose CUSTOMIZE BUSINESS LOGIC it creates a Code file like this:using PX.Data;using PX.Data.BQL;using PX.Data.BQL.Fluent;using PX.Objects.AR;using PX.Objects.CR.Extensions.CRDuplicateEntities;using PX.Objects.CR.Extensions.SideBySideComparison;using PX.Objects.CR.Extensions.SideBySideComparison.Merge;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using PX.Objects;using PX.Objects.CR;namespace PX.Objects.CR{ public class LeadMaint_Extension : PXGraphExtension<PX.Objects.CR.LeadMaint> { #region Event Handlers #endregion }}but when I click OVER
I am trying to add Vendor Class to AP.30.10.PL - but I am getting no values to appear in the column after I have added to the RESULTS tab.I have tried JOINs from APInvoice.BAccount to DACs: BAccount, VendorR, and Vendor to get the column to populate; but I have had no success.Any guidance on what I am missing?Thank you in advance for any tips.
I have a custom maintenance screen that has a form and a grid. The form is attached to one table (ICSPricingHeader table). When I insert a record in the grid, I want to default the PriceClassID field in the grid (ICSPricingINItemClass) to default to the value in the header table. In the screen below, I am showng the PriceClassID on the grid just so I can verify the value in the field is populated.When I click the plus sign, the PriceClassID is not being filled in. If I try to save the record, I get a “you didn’t provide a priceclassid” error.In my child table DAC, I have the following code that I think should be putting the Price Class ID from the top of the form into the table (cache). #region PriceClassID [PXDBString(10, IsUnicode = true, IsKey = true)] [PXDefault(typeof(ICSPricingHeader.priceClassID.FromCurrent))] public virtual string PriceClassID { get; set; } public abstract class priceClassID : PX.Data.BQL.BqlString.Field<priceClassID> { } #endregionThe PXDefault
I have added custom fields in the opportunity Details TAB.I need to propagate those custom fields to the Quotes screen when Opportunity is converted to Quote.How can we achieve that by overriding the Action ?Thanks
Hi,How I can override the CorrectInvoice action from the Correction graph extension?I’m using this code, but the page give me an error.public class Test : Correction { public static bool IsActive() { return true; } public override void Initialize() { base.Initialize(); } public override IEnumerable CorrectInvoice(PXAdapter adapter) { return base.CorrectInvoice(adapter); } }Error[ArgumentNullException: Value cannot be null.Parameter name: key] System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) +52 System.Collections.Generic.Dictionary`2.FindEntry(TKey key) +14244583 System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value) +21 PX.Web.UI.WebApi.Services.QPToolBarDataProvider.GetActionsSource(PXGraph graph, Boolean isPopupOn, Boolean popupInline, IScreenCommandsCustomInfo screenCommandsCustomInfo) +1495 PX.Web.UI.PXBaseDataSource.Get
Hi Team,In version 2020R2 we have override the “ActionDelegate” method in SOShipmentEntry Graph. Now we are upgarding to version 2022R2. I could see this method is available in the latest.Could you please let me know how i can resolve this. Regards,Ramya Krishna
Hi All, Can you help to figure out why the option - Publish to multiple tenants is not enabled?I can’t find any permission issue that would set it off. When I publish from one tenant some changes like the ones on the screen is added to other tenants as well. Basically other tenants do get a half baked customisation. As a workaround I exported and imported the same customisation to all tenants and published individually. Is this okay to do? I also have one variable value that needs to be changed in Production tenant only. So I am thinking to change that value in production customisation and publish in production. Am I doing this right or can there be any implications? Thank you very much!
Good Morning,is there a way to easily import dozen of Notifcation Templates to replace the Standard Design? As far as i see it is only possible via Import/Export from the XML Files or?
I needed to conditionally disable the Standard Delete Action Button of a grid. Lat say the view associated with the grid is MyView. I can get some of the grid action buttons’ names like the Upload button using something like “MyView$ImportAction”. I need the same for the grid Delete Action Button. So I am trying “MyView$DeleteAction” and “MyView$Delete but seems nothing exists that I can Enable/Disable in the RowSelected event. If that was for the whole grid I could just simply set its Cache.AllowDelete = false but I need only disable on specific lines. Any idea how can I make this work?
hi i’m starting with the courses of development and i have a doubt about the instalation process. in the guide says i can install in windows 10 but only for testing purposes, i want to now how this afect the course or if is not problem for the moment
I want to customize Release process logic on Release AP Documents screen. Although I override the Release logic using ReleaseDelegate method on APInvoiceEntry Graph, the logic is not triggering when I Release AP Documents from Release AP Documents screen. Any idea or suggestion?
Hello colleagues,I want to attach files of Sales Orders when sending Email Notification by Business EventIn my case, I want the file HD_VIE also in attachment.I don’t know if it is possible because it seems like we only could attach report in attachment of email.Please let me know if there is any way to accomplish this requirement in version 2022 R2 I found an similar topic but didn’t get the answer Thanks for your help
Hi,I have requirement to read data from xml file and insert the data into the custom table.This xml file is daily updated into the location.So,I need to automated the process.Anyone can suggest resources or workaround for that.
Hi All,Lately in our test env we have started noticing this random error while updating/inserting to a cache. This is one of the errors, we have noticed similar error with other columns as well, this happens intermittently.If we refresh the page and try again the error goes away. Anything to do with the caches?Unknown column 'ARInvoice.BranchID' in 'field list', at PX.MySql.MySqlDatabaseProvider.throwInvalidColumnName(MySqlException e, IDbCommand cmd) at PX.MySql.MySqlDatabaseProvider.ExecuteReaderInternal(IDbCommand command, CommandBehavior behavior)
Hi,There is a requirement to add custom string list field called Usrdiscountcode in SOLine DAC. I have defined the string list like below.[PXDBString(1000)][PXStringList(new string[] {"A", "B", "C", "D","E","F","G", }, new string[]{"SPRING", "HARVEST","XPT","TESTTIRE","SPECIAL","REBATE","DISCOUNT" })][PXUIField(DisplayName="New Discount Code")]now I need to set the value (ex: SPRING) to a grid level field of the customized screen. For that, I defined an event in the graph extension like this.using System;using PX.Objects;using PX.Data;using PX.Objects.SO;namespace GRIProformaInvoice{ public class APProformaEntry_Extension : PXGraphExtension<GRIProformaInvoice.APProformaEntry> { #region Event Handlers public PXSelect<SOLine> soview; protected void APProformaItemList_RowInserted(PXCache cache, PXRowInsertedEventArgs e) { var row = (APProformaItemList)e.Row; foreach (PXResult<SOLine> result1 in soview.Select()) { SOLine line = resul
I created about 50 different methods that update different tables. The code in them is exactly the same, except the table names and field names are different.I know this is really a C# question, but I am not very good with C#. I’ve looked at the Acumatica repository to try to see how to do it, but I am pretty darn ignorant about how to do it.Below you will see the code that is hard coded with the table and fields. It is the code after the //all this stuff is hard coded comment. I want to create a generic method I can call that would accept the table name and field name as parameters.Here is a signature for what I *think* is what I need to have. At a minimum, I got something to compile.How do I replace the hard coded table names and field names? Is this an easy thing to do?My application works fine with 50 different methods (each having the table name and field name hard coded), but this would make my app more “professional”. public static List<T> TableUpdate<T, TField&g
How do I create a shortcuts for Create Blanket Sales Order on the Sales Order Menu and on the Customers three dots menu? I’m trying to easily go from creating a customer to creating a blanket sales order in a single click.
Hi,I’m using an expression that has a translation in a given screen (say screen A) and an other translation in an other screen (say screen B). In this case, the same neutral value should be translated differently wether we open screen A or screen B.How is it possible to do that using the “Translation Dictionaries” ?Thanks.
Hello, I’m trying to get file info from the UploadFileMaintenance graph using the code below.Unfortunately, the GetFile and GetFileWithNoData methods always returns null for me and I cannot understand why, and I’m out of ideas of try.I’ve added comments to the code to explain what I believe is happening. Can anyone explain what I’m doing wrong please?//create the CABatchEntry graph, find the batch I'm interested in and set the graphs 'current' record to the record I've found.CABatchEntry graph = PXGraph.CreateInstance<CABatchEntry>();PXResultset<CABatch> pXResults = SelectFrom<CABatch>.Where<CABatch.batchNbr.IsEqual<@P.AsString>>.View.Select(new PXGraph(), batchID);graph.Document.Current = (CABatch)pXResults.TopFirst;//create the UploadFileMaintenance graphvar fileUploadGraph = PXGraph.CreateInstance<UploadFileMaintenance>();//get a list of all FileIDs for the current recordvar savedFilesIDs = PXNoteAttribute.GetFileNotes(graph.Document.Cache, graph.
Hi Team,I’m getting Object reference error when inserting to Cache. Though I’m setting InvoiceCust value , exception is thrown stating InvoiceCust is null. Please see the code snippet below. Am doing anything wrong here? XRBContrDet newSchedule = (XRBContrDet)ContractDetails.Cache.CreateCopy((XRBContrDet)OldSchedule); newSchedule.ContractID = NewContract.ContractID; newSchedule.LineNbr = null; newSchedule.NoteID = null; newSchedule.CuryAmount = 0; newSchedule.CuryPrePayBal = 0; newSchedule.InvoiceCust = OldSchedule.InvoiceCust; newSchedule = ContractDetails.Insert(newSchedule); View [PXCopyPasteHiddenFields(new Type[] { typeof(XRBContrDet.manuallyBooked), typeof(XRBContrDet.aRRefNbr), typeof(XRBContrDet.sOOrdNbr) })] public PXSelectJoin<XRBContrDet, LeftJoin<ARInvoice, On<ARInvoice.refNbr, Equal<XRBContrDet.aRRefNbr>>>, Where<XRBContrDet.contractID
Hi Team,PXSelector with same code name not able to select the correct code. If it is having two same code means it will be when we select the second one it will will automatically point to the first one. Please find the selector and image. #region Location [PXDBString(50)] [PXUIField(DisplayName = "Project Location")] [PXDefault(PersistingCheck = PXPersistingCheck.Nothing)] [PXSelector( typeof(Search<ProjectLocation.locationID>), DescriptionField = typeof(ProjectLocation.description), SubstituteKey = typeof(ProjectLocation.locationID))] public virtual string Location { get; set; } public abstract class location : PX.Data.BQL.BqlString.Field<location> { } #endregion Regards,Sakthi
I have a minor change I need to make to the Appointment screen (FS300200).Instead of “Invoice Total” I want the Display text to read: “Appointment Total” (There are other changes I would like to make as well, but this one is the simplest to explain)I have unpublished every other customization. I made a new one with just this change.I pull up the screen: And select the Invoice Total field:I select “Customize Attributes”, replace Original, and make my change:I save it. Everything is fine. Until I publish it, and get this: In case you can’t read the screenshot, the error is: [2023-06-22 15:11:03.238] Building directory '\WebSiteValidationDomain\App_RuntimeCode\'.[2023-06-22 15:11:11.111] \App_RuntimeCode\PX_Objects_FS_FSAppointment_extensions.cs(32): error CS0246: The type or namespace name 'curyBillableLineTotal' could not be found (are you missing a using directive or an assembly reference?)[2023-06-22 15:11:11.111] \App_RuntimeCode\PX_Objects_FS_FSAppointment_extensions.cs(32): error
Hi Leaders,need your help in this by adding in the contract attributes a line that would display the total of all highlighted in yellow below and the total need to display below,kindly please help me for any detailed solution on this Thank you
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.