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 need to attached XML file to File. I developed code for generate XML file and download. How is the possible way change that code to attached XML file to Files.This is my code : #region Action public PXAction<PX.Objects.SO.SOOrder> Attach; [PXButton(CommitChanges = true)] [PXUIField(DisplayName = "Attach")] protected virtual IEnumerable attach(PXAdapter adapter) { // Use your favorite library to create XML file XmlDocument xmlDoc = new XmlDocument(); xmlDoc.AppendChild(xmlDoc.CreateXmlDeclaration("1.0", "UTF-8", null)); // Create root node of XML file XmlNode rootNode = xmlDoc.CreateElement("GridData"); // Iterate rows of the DataView foreach (SOLine dacRecord in Base.Transactions.Select()) { // Create an XML Element to represent the DAC row XmlNode xmlDACRecord = xmlDoc.CreateElement("DACRecord"); // Add desired
After reload page, every page blank how to solve it.
Hello all,I have been trying to get displayed some fields of the Details tab of the Invoices (SO303000) in the Acumatica mobile app. I have been following the T410 guide and have added the following, But the mobile app doesn’t show up the fields that have been added under the “Details” Container.
Currently, a set of reports have been designed based on the type as Invoice, Debit Memo, Credit Memo and etc. Currently these reports can be accessed by the SO workspace menu items. Please check the below screenshot. Now user needs to directly run the appropriate report without navigating to workspace menu items. That means when user click the “PRINT INVOICE” button the pre designed set of report should be listed down like a dropdown and after selecting the relevant report, the report should be displayed.So if you can provide guidance to perform this customization, it is highly appreciated. Thank you.
/* I added a customization project with a single code file:*/using PX.Data.ReferentialIntegrity.Attributes;using PX.Data;using PX.Objects.Common.Attributes;using PX.Objects.GL.Attributes;using PX.Objects.GL;using PX.Objects.PR;using PX.Objects;using System.Collections.Generic;using System;/* This field was already added to the database table with a default constraint value of false.*/namespace PX.Objects.PR{ public class PRPayGroupPeriodExt : PXCacheExtension<PX.Objects.PR.PRPayGroupPeriod> { #region SwipeAndConfirmationLock [PXDBBool()] [PXDefault(false)] [PXUIField(DisplayName="Swipe And Confirmation Lock")] public virtual bool SwipeAndConfirmationLock { get; set; } public abstract class swipeAndConfirmationLock: PX.Data.BQL.BqlBool.Field<swipeAndConfirmationLock> { } #endregion }}/* When navigating to Paychecks and Adjustments the following error occurs: Error: An error occurred during processing of the field Swipe And Confirmation Lock: Obj
Hello, good day everyone.I just started learning the Acumatica Test SDK by reading the SDK Readme, when I went to the section for creating Extension Classes for Generated Page Wrappers, I got an error at GL102000_GLSetupMaint, the error is attached in the photo below. Please help me, thank you.
In Batch Payment (AR305000) how can i export xml file include Reference Nbr, payment date, payment method using grid button. any one know solution ?
Hello, I’ve added an attribute to the Customer screen and an attribute to the Location screen.Attributes on the Customer screen. Attributes on the Location screen.I’ve finding that the attribute data is being saved to two different places.The customer attributes are saved to the CSAnswers table. I can access this easily. The location attributes are saved to the LocationKvExt table. I don’t know how to access data in these KvExt tables.PXGraph p = new PXGraph();Location location = p.Select<Location>().FirstOrDefault(x => x.LocationID == ardoc.CustomerLocationID);CSAnswers cSAnswersLocationANACode = p.Select<CSAnswers>().FirstOrDefault(x => x.RefNoteID == location.NoteID && x.AttributeID == "CHGLLOCEAN");I use the code above to access the attribute from the CSAnswers table - does anyone know how to access the data from LocationKvExt?
How to duplicate Bills and adjustment screen with same actions and workflow.
I’ve added a new string field to InventoryItem: #region UsrMCVisibility [PXDBString(1, IsFixed = true)] [PXUIField(DisplayName = "Visiblility")] [PXDefault(typeof(ItemVisibility.shopDefault), PersistingCheck = PXPersistingCheck.Nothing)] [ItemVisibility] public virtual string UsrMCVisibility { get; set; } public abstract class usrMCVisibility : PX.Data.BQL.BqlString.Field<usrMCVisibility> { } #endregionItemVisibility is a PXStringListAttribute: public class ItemVisibility : PXStringListAttribute { public const string ShopDefault = "X"; public const string Visible = "V"; public const string Featured = "F"; public const string Invisible = "I"; public class shopDefault : PX.Data.BQL.BqlString.Constant<shopDefault> { public shopDefault() : base(ShopDefault) {; } } public class visible : PX.Data.BQL.BqlString.Constant<visible> {
I am attempting to override the DAC attribute of TXAvalaraCustomerUsageType with a custom derivative. It is working on DAC extensions, however, there are some existing graphs that are already overriding with CacheAttached and if I try to do my own graph extension, it is not applying my change. For example:CustomerMaint has this:[PXDBString(1, IsFixed = true, BqlField = typeof(PX.Objects.CR.Standalone.Location.cAvalaraCustomerUsageType))][PXUIField(DisplayName = "Entity Usage Type", Required = true)][TXAvalaraCustomerUsageType.List][PXDefault("0", typeof(Search<CustomerClass.avalaraCustomerUsageType, Where<CustomerClass.customerClassID, Equal<Current<Customer.customerClassID>>>>))] protected virtual void _(Events.CacheAttached<PX.Objects.CR.Standalone.Location.cAvalaraCustomerUsageType> e) { }And I am trying to change the TXAvalaraCustomerUsageType.List (note: this is what’s in the code but the class is actually TXAvalaraCu
Hi All,I created a virtual DAC and linked that to my graph but when opening the screen it gives this error. can someone help me out?Incorrect syntax near the keyword 'WHERE'. My DAC and Graph [PXCacheName("HMRCVendorRegisterDetailDummy")] [PXVirtual] public class HMRCVendorRegisterDetailDummy : IBqlTable { #region Hmrcregid public virtual int? Hmrcregid { get; set; } public abstract class hmrcregid : PX.Data.BQL.BqlInt.Field<hmrcregid> { } #endregion #region VendorID [PXUIField(DisplayName = "Vendor", Required = true)] [PXInt] [PXCheckUnique(typeof(bAccountID))] [PXUnboundDefault(PersistingCheck = PXPersistingCheck.NullOrBlank)] public virtual int? BAccountID { get; set; } public abstract class bAccountID : PX.Data.BQL.BqlInt.Field<bAccountID> { } #endregion #region Utrno [PXString(256, IsUnicode = true, InputMask = "")] [PXUnboundDefault(P
How to change value Type dropdownlist value. i want remove some value in dropdownlist only check show in dropdownlist
Dear Team, I have created duplicate Screen and use the same graph and DAC, I want show show only related screen records when i click toolbar attached image below. When navigate through toolbar it shows both screen records. how to filter record here. I have filter separate GI & Selector Thanks,Arun.
Good day, I am having an issue updating a record in my custom table, I have a trigger in the INItemStats table, when the Maxcost changes the trigger adds a record to the custom table, these records are used in my processing screen only if their status is 0, after processing and doing the expected action I want to change the status of the record to 1, but Every attempt I do it gives me the same error, “Another process has updated EVTCMaxcost your changes will be lost”. And in the code is PX.Data.LockViolationException. I have changed the code multiple times to update, to save in the database and cleared the cache, but always get the same error. (I can’t use this. right now, because of the modification made and the method being static. )Cache.Persist(PXDBOperation.Update); this.ProcessView.Cache.Update(item); this.ProcessView.Cache.PersistUpdated(item); this.ProcessView.Cache.Persist(PXDBOperation.Update); this.ProcessView.Cache.Clear(); this.Actions.PressSave(); this.Persist();public c
Hi Team,We are using Manual tax zone for Invoice type order , when we are creating invoice to the sales order tax is not carrying to the Invoice.I’m using the 23.109 version.Tax at sales OrderTax at Invoice.Thanks in Advance.
Hi Team,We would like to implement the following feature.When entering a customer into the Case screen => If that customer has had previous Cases, the system automatically adds rows of the previous Cases in “RELATED CASES” TAB and are arranged in CreatedDateTime of Cases. I created Event RowInserted but haven't achieved results yet.Please advise how to do this. Note: Acumatica Version 2020R1 Best Regatrds,NNT //////////////////////////////////////////////////////namespace PX.Objects.CR{ public class CRCaseMaint_Extension : PXGraphExtension<CRCaseMaint> { #region Event Handlers protected void CRCaseReference_RowInserted(PXCache cache, PXRowInsertedEventArgs e, PXRowInserted InvokeBaseHandler) { if(InvokeBaseHandler != null) InvokeBaseHandler(cache, e); var row = (CRCaseReference)e.Row; if (row == null) { return; } CRCase rRCa = Base.Case.Current; CRCase cRCase = PXSelect<CRCase,
Hi All,Need to clear the data view in the graph in the beginning. Currently following view returns data from the table. But I need to remove coming data from the view and show the grid empty(As per attached image).public SelectFrom<HMRCVendorRegisterDetail>.View VendorRegisterDetail_X;Can someone help me out?Thanks
Hi,I need to trim a part from the string in my report field.This is my report I need to show ST2-MATERIAL HANDLING -GST value as MATERIAL HANDLINGand ST2-AGRICULTURE PNEUMATI -GRN as AGRICULTURE PNEUMATI How can i do from the report designer in acumatica
I have a few processing screens that I’ve created recently that I just noticed recently don’t update their progress until the processing is completely finished. For example, if I process 25 records, the progress bar will spin indeterminately with 25 ‘remaining’ until it has completely finished, and then all 25 will be ‘processed’.This does not strike me as being normal behavior, but I wanted to check in to see if anyone else has experienced this or if I am doing something wrong. I am working with 22.209
Hi,I added the user defied field (UsrFlag) in the POLine table, I've extended the Endpoint to add the custom field. How I can pass the user defied field to the PurchaseOrderDetail class using the Custom property? Thanks,Ev
Hi,Previously I asked similar question in this topic and I was provided by this linkHowever that is not what I needMy aim is to call an external code which consists of html, css and javascript which will show a new dialog windowFor example : user presses some button, after that my new method in my visual studio customization project is called and I need to call new Acumatica window which will depict this html, css and javascript viewHow can I achieve this ?
an error occured while importing data into table i swill back up data but this erorr , why ?,can help me , what this problem ?thanks
I know I just asked a similar question recently, but I am still having an issue. I really need to be able to use a dynamic value in the PXSelectBase command.In this code, I am overriding a PXSelectBase command. (public delegate PXSelectBase GetShipmentsSelectCommandDelegate(SOShipmentFilter filter);) One of my overrides works, but the one with the GroupBy / Having clause fails.This one works. Note that the And is pulling from the ICSProcShipPref.QtyLessThan field in my custom table. If I change the value in the table, the result set comes back as I would expect. This allows me to use a dynamic amount to be selected based on the value in the table at run time (not have to use a constant). cmd = new SelectFrom<SOShipment>. InnerJoin<INSite>.On<SOShipment.FK.Site>. InnerJoin<Customer>.On<SOShipment.customerID.IsEqual<Customer.bAccountID>>.SingleTableOnly. InnerJoin<SOOrderShipment>.On<SOOrderShipment.shipmentNbr.IsEqual<SOShipment.shipm
Hello all, I have come across a special need that requires changing of “Time” field in EP317000. The graph is EPWeeklyCrewTimeEntry, the DAC is EPActivityApprove (driven from PMTimeActivity) and the field in question is Date. This is one of those fields that has DateTime value but in the UI Date part and Time Part are displayed in two different columns of the grid. Out of the box, these two fields carry a DisplayName of the “Date” and the “Time” that absolutely makes sense. But for a very good business case reason, we need to change the “Time” column DisplayName to “Hours”. When I look at the field property on the UI the platform assigns “Date_Time” name to the “Time” column but in reality, such a field does not exist at all. So the question is how can I change the name of a field that does not exist in DAC. Just to be clear I am not referring to bound and unbound properties. The “Date_Time” is a made up column name that does not exist in DAC. I need to 1) change the DisplayName presum
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.