Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
In 2021r2, the compiler complains about obsolete PXReportTools and ReportProcessor methods. And also, "SettingsProvider" does not have an "Instance" property so, this is causing a build error. How can I fix this? Below is the code snippet currently I’m using. //Report Processing PX.Reports.Controls.Report _report = PXReportTools.LoadReport(“AP621C1”, null);PXReportTools.InitReportParameters(_report,parameters,SettingsProvider.Instance.Default);ReportNode reportNode = ReportProcessor.ProcessReport(_report);//Generation PDFbyte[] data = PX.Reports.Mail.Message.GenerateReport(reportNode,ReportProcessor.FilterPdf).First();
error convert string to int in report parameters. please advice me
I Make New Scene I need List Subitem Input type , I make new DAC. I try to check the Subitem but no value if I press f3 Any . why is this even though the table subitem has a value ? This My new Screen Thi table My Sub item many value This My DAC Code using PX.Data;using PX.Objects.CS;using PX.Objects.IN;using PX.Objects.PO;using System;namespace Car{ [Serializable] [PXCacheName("DetailDAC")] public class DetailDAC: IBqlTable { #region DocumentID [PXDBString(30, IsUnicode = true, InputMask = "")] [PXUIField(DisplayName = "Document ID")] public virtual string DocumentID { get; set; } public abstract class documentID : PX.Data.BQL.BqlString.Field<documentID> { } #endregion #region InventoryID [PXDBInt] [PXUIField(DisplayName = "Inventory ID")] [PXSelector( typeof(Search<InventoryItem.inventoryID>), typeof(InventoryItem.inventoryCD), typeof(InventoryItem.descr), Substit
We’re trying to press the UPDATE IN action button on the shipment screen after a 2 step transfer. Steps: We create a new Sales Order with type TR. Create the shipment and goes to the Confirmed status. UPDATE IN. The button is active, it processes however the status doesnt change and the button remains active/visible like nothing happened.No customisations, and no exceptions in the Trace Log for the updateIN function?..
Hello All, I have an issue with access rights with 24R1 (no issue with 23R2).I have an action that opens custom report but it doesn’t work because of the error: "You have insufficient rights to access the object (IC970001).".I tested accessing to this screen directly from the link and got a blank screen.I have tried to change access rights to “Granted” for this report from “Access rights by screen”. Then it starts working.But when I add access rights to Customization Project and publish it I lose settings for Generic Inquires (checkbox “Replace Entry Screen with this Inquiry in Menu” is no longer selected).I also found in the 24R1 Release Notes:If a site map node does not exist in the target instance, the site map node will not be available for any roles; the access rights will be set to Revoked. That is, after the customization has been published, the system administrator should grant the access rights explicitly.In my case I have site map node (but without Workspace an category) But
How can i wrap a json response in square brackets in acumatica customization?
When I recompile my VS library, it takes on average 3 minutes or more to reload my site.In 2021, I bought a Lenovo Thinkpad (the “industrial” version). Here are the specs on my pc:I am using Chrome as my browser.I’ve turned of IIS logging.It seems a lot slower than t used to be. I’m wondering if I need to reset my pc and re-install everything. Of course, that would be a royal pain.If I am debugging and trying to fix something, this REALLY annoying and feels like I spend half my day waiting for the site to reload.Is this normal? Do I need to buy a new PC? Any suggestions? Edit: I’ve gone through the article on optimizing IIS as well as making the recommended changes to the web.config file. I have a 2TB SSD. I also read the topic That article is a year old, so I was wondering if things have changed.
Hi, we have installed PrintCustomerRefundPkg to print refund checks which worked fine,but we recently upgraded to 2022R2 and it stopped working raising error belowi found that Acumatica updated the DAC Schema for CashAccountPaymentMethodDetail and stopped using the “AccountID” field, i updated the Relationships in the ar640501.rpx report to CashAccountID but it still didn't workmy assumption is that i need to update the subReport as this report show's the account & routing # in MICR font - which this data is in CashAccountPaymentMethodDetail tableany idea where i could find this MDMICR1.rpx report to update the Relationships? or any other solution?
Hi,Though I have added all the references and dll to the customization project and solution, I am getting the below error. Thanks,
In acumatica project screen(PM301000) i have add two custome fields. those are UsrOnBudget and UsrCompletedPrec. i need to develop when i check UsrOnBudget check box get PMRevenueBudget.CuryAmount and divide by PMCostBudget.CuryAmount And that value show on UsrCompletedPrec field. Those To Customized Field locate in CT.ContractExt. How can I achieve it?
Hi Everyone, I am getting Error in mobile App as below : Packages are published as below :I am trying to check inside the package gives same error : trying to click on below Gives same error. please provide me solution for this. Thanks
I’m trying to add a new DAC to the global search. The dac is part of an an ISV product.I have customized the DAC with the following code, which seems to partially work, but it’s not displaying properly in the search results. After I run the rebuild Full Text process for this entity, I can see the data appears to look correct in the SearchIndex table, but it shows blank data in the Acumatica search results. (screenshots below)Any Ideas? Am I missing something?ThanksScott public class IGMP_DAC_IGMPINDispatch_ExistingColumn : PXCacheExtension<IGMPINDispatch> { #region NoteID [PXMergeAttributes(Method = MergeMethod.Replace)] [PXNote( DescriptionField = typeof(IGMPINDispatch.workOrderNbr), Selector = typeof(IGMPINDispatch.workOrderNbr), ShowInReferenceSelector = true, BqlField = typeof(IGMPINDispatch.noteID) )] [PXSearchable(PX.Objects.SM.SearchCategory.All, "WO {0}: {1} - {2}", new Type[] {typeof
Does anybody already try to add Action button in this section:
How can i change the Activity details to display on the side in the Opportunity screen (CR304000) the default view of Activity details is on the bottom of the screenhow can i change it it should show up on the side of the screen - see sample below
Hello,I want to make some changes to fields when the Parent Account field is updated on the CustomerMaint graph.public class CustomerMaint_Extension : PXGraphExtension<PX.Objects.AR.CustomerMaint>{ protected virtual void _(Events.RowUpdated<Customer> e) { if (e == null) return; Customer customer = e.Row; if (e.Row.ParentBAccountID != e.OldRow.ParentBAccountID && e.Row.ParentBAccountID != null) { BAccount bAccount = Base.Select<BAccount>().FirstOrDefault(x => x.BAccountID == customer.ParentBAccountID); //bAccount is returned when the parent BAccount is a customer //bAccount is null when the parent BAccount is a supplier //do things } }}I’ve created an extension and I’m using the code above to get the BAccount record of the selected Parent Account. Problem is, when the Parent Account is a supplier the BAccount is not returned, when the Parent Account is a customer to works.If I add the following code, it worked for both suppliers and customers,
I don’t see file path in add file
Hello All, I have created a class Extension to override a methd and then I want to call that class extension in a graph extension that I am overriding an action of the graph.Here is my Graph Ext:using System.Collections;using PX.Data;using PX.Objects.EP;namespace MyProject{ public class MyTimeCardMaintExt : PXGraphExtension<TimeCardMaint> { public static bool IsActive() => true; public MyEmployeeCostEngineExt MyEmployeeCostEngine; public delegate IEnumerable ReleaseDelegate(PXAdapter adapter); [PXOverride] [PXButton] public virtual IEnumerable Release(PXAdapter adapter, ReleaseDelegate baseMethod) { // Do some stuff return baseMethod?.Invoke(adapter); } }}and here is my Class Ext:using System;using PX.Data;using PX.Objects.EP;namespace MyProject{ public class MyEmployeeCostEngineExt : EmployeeCostEngine { public MyEmployeeCostEngineExt(PXGraph graph) : base(graph) { } public static bool IsActive
If a grid column is added within code, is there a way to get its column position to persist after a user moves it - like any other grid column? I'm adding the column to the grid in the Page_Load event in a graph extension, but it doesn't seem to magically know what position it was moved like the others because it is being added each time. Could there be a setting I'm missing, or would I have to roll my own position persistence to get this to work?
I am trying to get the values in the address column of my grid to plot point in google maps using the javascript api. I’ve seen other posts about using px_alls[“gridid”] to get the data but I can’t get it to read the items property when I do px_all[“grid”].rows.items even though there is a row with data in my grid. This is the code:var map;async function initMap() { const center = { lat: 32.86, lng: -80.02 }; const { Map } = await google.maps.importLibrary("maps&quot;); const { AdvancedMarkerElement } = await google.maps.importLibrary(&quot;marker&quot;); const { Geocoder } = await google.maps.importLibrary(&quot;geocoding&quot;); /* the map */ map = new Map(document.getElementById(&quot;map&quot;), { zoom: 10, center: center, mapId: &quot;DEMO_MAP_ID&quot;, }); /* get addresses from Acumatica field */ var addresses = px_alls[&quot;grid&quot;]; /*var addressesToPlot = &quot;Robisonia, PA;
Hello,I working on a customization to the Inventory Item page. I have 2 attribute fields and 2 other fields that I am trying to sync. One field is a length stored as a decimal and one field is the length stored in the format of ft’ in”. I am converting fine, but when I try to save the document, the attribute fields are not updated.//Updating the attributelengthAttribute.Value = Fractions.DecimalToFraction(itemExt.UsrLength ?? 0m);I edit the field: Edit this field Attribute is updated as expected.Attribute is updated as expectedBut when I save, it revert the attribute to the previous values.But when I save, it revert the attribute to the previous valueDoes anyone know what I am missing to get the attribute to save? Thanks in advance!
When I create a FeaturesSetExt to introduce a new Feature Flag, the new Field on the database is initialized with NULL.Even though I set the PXDefault to false (I know this is redundant), I have trouble activating other Features, if my new feature was not activated and is still NULL, I always get the error “’MyFeature’ cannot be empty”. public sealed class FeaturesSetExt : PXCacheExtension<FeaturesSet> { public static bool IsActive() => true; #region UsrMyFeature [PXDefault(false, PersistingCheck = PXPersistingCheck.Nothing)] [Feature(false, typeof(FeaturesSet.subAccount), DisplayName = "UsrMyFeature" )] public bool? UsrMyFeature{ get; set; } public abstract class usrMyFeature: BqlBool.Field<usrMyFeature> { } #endregion }I solved it by adding an SQL UPDATE script to my customization that initializes the field with False. But it doesn’t look like the best solution.Do you have ideas on how to solve this?
Hello everyone,The goal is to set a custom field simultaneously when the Shipping information of the Sales Order is populated upon selecting the Customer.I tried to accomplish this through customization, but unfortunately, I'm unable to locate the correct method name for capturing the moment when the Customer information is integrated into the Sales Order.Appreciate any assistance!
I added a field on a customer record to the SO header. When I add this customer to the SO the field appears as does the value on the customer record. However, when I close the record and return to it later the value disappears. If I do something in this record and save it again the value will reappear. Below is the attribute...do I need to add something here? I have tried to commit the changes but that does not work. Advise would be appreciated. [PXDBBool][PXUIField(DisplayName="COA")]
I have a custom screen with 3 tabs. I created it using the Tab (Tab View) template.The form looks great and displays the data in my 3 tabs, one grid in each tab.When I change a record in one of the grids, the Save icon becomes enabled, but when I click the Save icon, it does not do anything.This is Acumatica 101, but I could use help to get this working.Here is my Graph: public class ICSPreferences : PXGraph<ICSPreferences> { public PXSave<MasterTable> Save; public PXCancel<MasterTable> Cancel; public PXFilter<MasterTable> MasterView; public PXSelect<ICSDistrictsPref> DistrictsView; public PXSelect<ICSOwnershipGroupPref> OwnershipGroupView; public PXSelect<ICSESGPref> ESGView; [Serializable] public class MasterTable : IBqlTable { } }Here is my ASPX:<%@ Page Language="C#" MasterPageFile="~/MasterPages/TabView.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="IC202070.aspx.cs" Inherits="Page_IC202070" Title="Untitled
Hi,We have developed full custom screen name as Proforma screen(PI.30.10.00),We attached a report to the screen. We need to send that report when Proforma invoice is released.We have setup a business event using the custom screen. After PI is released, Email will not triggered. These setups worked well for standard screen.May I know the reason why it is not working for custom screen?.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.