Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
Hello Everyone,We need to include the Appointment's Customer name in the recently viewed list. We can put the customer's name in Line 1, but we need it in the title header next to the Appointment Nbr. We have added the customer field on the PXSearchable Attribute like below but it is not working. Also we have performed rebuild index process on Rebuilt Full-Text Entity Index. public class AppointmentEntry_Extension : PXGraphExtension<AppointmentEntry> { #region [PXMergeAttributes(Method = MergeMethod.Append)] [PXRemoveBaseAttribute(typeof(PX.Data.PXSearchableAttribute))] [PXSearchable(SM.SearchCategory.FS, "SM {0}: {1} {2}", new Type[] { typeof(FSAppointment.srvOrdType), typeof(FSAppointment.refNbr) , typeof(FSAppointment.customerID) }, new Type[] { typeof(Customer.acctCD), typeof(FSAppointment.docDesc) }, NumberFields = new Type[] { typeof(FSAppointment.refNbr) }, Line1Format = "{0:d}{1}", Line1Fields = new Type[] { typeof(FS
Good day, everyone.We are attempting to display our custom GI on a mobile app, but some of the fields data are showing as empty, despite the fact that everything is displaying correctly on the browser GI result.Please see the screenshot below for reference. The customer and customer location data are not displayed correctly in the mobile app, but they are displayed correctly in the browser. Also, I attempted to add this screen to mobile using customization, but I received the error "SiteMap description does not contain primary container." The screenshot and code are shown below. add screen GI002170 { add container "Result" { add field "OrderNbrSOOrderOrderNbr" add field "InventoryID" } }sitemap { add folder "Mobile GIs"{ icon = "system://Pen" type = "ListFolder" add item "GI002170" { displayName = "BackOrder Summary custom" icon = "system://Culture" }} } Can anyone tell me what I'm doing wrong or why the data in the generic query isn't displaying
I have created a user defined field (Customer Line Number) on SO301000 to the Details > Grid: Transactions for my company. This field is working as expected, however I am unable to map an excel upload to the grid to that user defined fieldIs there a way to enable import mapping to a user defined field? See picture for more details.2022 R2 Build 22.209.0029
Hello.We require an additional field "AddressLine4" in both the Business Partner and Customer records, which needs to be incorporated into our opportunities, sales order, delivery note, and invoice documents. However, we are unsure of how to implement this, since the only thing differentiating (for Example at the customer records) between Finance and Shipping is the viewName BillAdress and DefLocationAddress.Is there any Code-Example or would anyone be kind enough to share a package with this implemented?
Good day,with reference to the Acumatica Developer Training and Course T190 in particular, where custom fields with in-cache list values called “Constants” are added to a standard table (inventory item), I would like to ask into the round whether this is basic Acumatica architecture philosophy and how you would compare to storing constants in separate custom tables first.My thinking:Constants are enumerators. Whenever the enumerator needs to be maintained by Business (or an Administrator), storing the values in cache makes it difficult to maintain the data. Loading up scripts with enumerator lists is less performant than storing it in a dedicated SQL table. When creating reports, the constants will not be available.For these reasons, storing Constants in scripts seems intriguing. How do you look at it?How do you maintain enumerator lists, specifically when they may grow, need to be translated, or referred to in reporting?Is my thinking misaligned?I am looking forward to your thoughts!
Hello Community,I decided to post the below as I saw quite a few questions about managing the “Notes” & “Files” action buttons on the forms and how to prevent changes based on some conditions but couldn’t really see a solution or workaround that can benefit others. The below workaround is not so great but does the work. Notes: In the below example, I am reverting the changes made to the “Notes” of the Sales Orders which are not On Hold, Pending Approval, or Pending Processing. Disabling the “Notes” most of the time is not really work because people need to read the comments but at the same time, you do not want to change. I didn’t spend lots of time on it but couldn’t find an easy way to disable cache modification or the OK button of the Note dialog so instead, I am reverting the changes made on SOs which are not in the above-mentioned statuses. Users can make changes but it won’t be saved and when the page is “Refreshed” or closed or navigated to another document the original not
Hi everyone-We are working on implementing shipping integration but we have an issue with how Acu handles ‘boxes’. The dimensions of the box used to ship, and thus the dimensions used to generate the shipping label, seem to only be able to be specified in the ‘Boxes’ configuration screen.You can enter weight on a shipment, but you can not enter custom dimensions on a shipment, you have to select one of the pre-set box dimensions.Everything we ship is a different dimension, we do not have pre-set or standard boxes, so we need to specify the dimensions of the shipment for every shipment. I was wondering if anyone has had any ideas on solving this, or if anyone has a customization to add Length, Width, and Height fields to the ‘Packages’ tab of the ‘Shipments’ screen that override the dimensions of the selected Box ID? Thank you!!
I have a couple of methods that I will need to use them in multiple graphs. These methods work if I pass them specific Graph, View … but the problem is I have to copy these methods into any screen I need them (currently in 6 places). For example assume I’m doing the exact same thing on APInvoice (APInvoiceEntry) and POOrder (POOrderEntry).If I copy my methods into these graph extensions, I can declare APInvoiceEntry and APInvoice as my method input parameters and pass to my methods then from inside my methods I will have access to the internal objects of them. For example I can access to the Base Graph Viewes or Actions. The same goes to POOrderEntry and other graphs. The problem is I have repeated my codes six times and any improvement and bug fix should happen in six different places.Ideally I would like to convert my methods to generic methods that I can pass any desired Graph and DAC and access to their dependent objects like as views and actions. It could be done through Reflectio
Hello everyone,How can I add a code(to print receipt) to this existing button called PROCESS without replacing the existing methods.The PROCESS button creates payment, invoices etc. on POS but it not printing the Receipt.And I would like to add this functionality on it. Kindly assist.All responses will be highly appreciated.
I have a new graph built accessing a header/detail pair of new DACs.Now I want to add a dialog box to the graph.I use the visual editor, open my custom screen, select Dialogs and add a pop-up panel.Then I try to add a form to the pop-up panel and I get the dreaded “An entry with the same key already exists.” That corrupts the form.I can customize an existing form and add a dialog box to it with no issues. I can reproduce this at will so I’m guessing that I’m doing something wrong.
Has someone done workflow customization within CRM that only when opportunity status is Won, the opportunity/Sales Quote can be converted to Sales Order
Hello Everyone, After creating the Sales Quote from the Opportunities screen and when I try to add a new line item in the Sales Quote --> Details tab and click on the Save and line item getting disappeared. I have un-published all the customization and we are still seeing this issue. Any inputs highly appreciated!!
Hello,I have a custom DAC called Unidad and I need to see all the records regardless of the company or branch that I am logged in,I tried to do this but it did not work: https://stackoverflow.com/questions/58980178/how-do-i-return-data-for-other-branches-for-a-user-with-access-to-only-one-brancThis is my custom DAC:using System;using PX.Data;using PX.Objects.AP;using PX.Objects.GL;using PX.CS;using PX.Objects.CR;using PX.Objects.AR;using HgDevTraficoLocal;namespace HgDevSeguridad{ [Serializable] [PXCacheName("Unidad")] public class Unidad : IBqlTable { #region BranchID [Branch()] [PXUIField(DisplayName = "Branch ID")] public virtual int? BranchID { get; set; } public abstract class branchID : PX.Data.BQL.BqlInt.Field<branchID> { } #endregion #region UnidadID [PXDBIdentity()] public virtual int? UnidadID { get; set; } public abstract class unidadID : PX.Data.BQL.BqlInt.Field<unidadID> { } #endregion #region UnidadCD [PXDBString(255,
Customize Sales Order to add notes per line item based on the product modifiers from BC
Please help me on this requirementSame as Files button need to add in my screen This is just example. Custom file button need to place at other location of scree. Thanks,Divyang Darji
Hi team,I am doing customization on selector Customer ID on screen AR303000 to bring field Contact.fullName to selector view as following:but I got error timeout when enter a text to searchThe selector Customize ID is customized the field with following code:using PX.Data;using PX.Objects.CR;namespace PX.Objects.AR{ // Acuminator disable once PX1016 ExtensionDoesNotDeclareIsActiveMethod extension should be constantly active [PXNonInstantiatedExtension] public class AR_Customer_ExistingColumn : PXCacheExtension<PX.Objects.AR.Customer> { #region AcctCD [PXMergeAttributes(Method = MergeMethod.Merge)] [PXSelector(typeof(Search2<Customer.acctCD, InnerJoin<Contact, On<Customer.defBillContactID, Equal<Contact.contactID>>, InnerJoin<Address, On<Contact.bAccountID, Equal<Address.bAccountID>>, InnerJoin<Location, On<Address.addressID, Equal<Location.defAddressID>>>>&
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
Hello everyone, I am trying to carry over the approval map in my test environment to another environment. I can export the map as a XML but when I try importing it, it shows the busy mouse icon and then nothing happens. Am I missing a step here? Thank you!
Hello Everyone,We have requirement like add a ShipVia field in the Export Filtering for the Shipment entity.If Shipments are meets the ShipVia condition then these should be exported from Acumatica to Shopify.Could you please help me with the code sample to achieve this?Screenshot for reference.
From watching the training the way I get a Process Form to call the Action Button from the Graph it is calling, By doing the following; rename the Process button on Process From to the name of the button on the Graph Change the void for the Action on the Graph to be IEnumerable and have it call a static void The call has to use delegate when calling static voidI did all this and my original graph still works with 2 and 3 change. So I am assuming no syntax errors there.But 1 does not work. The Process Form does not seem to call the graph’s Action Buttonwhen I checked trace and put trace writes all over, it never seems to call the graphIt does have an error not sure if related: Object reference not set to an instance of an object. Send Raised At: 12/6/2022 7:18:03 AM Screen: VC.50.10.00 Details: 12/6/2022 7:18:03 AM Error: Object reference not set to an instance of an object. at PX.Data.PXProcessing`1.<>c__DisplayClass82_0.b__1() at PX.Data.PXLo
I’m trying to add the Postal Code for the customer (General tab) to the Global Search. I thought that I could start with using MergeMethod.Replace but use the original definition from Customer.cs and change the heading (“zig zag”).namespace PX.Objects.AR{ public class CustomerExt : PXCacheExtension<PX.Objects.AR.Customer> { #region NoteID [PXMergeAttributes(Method = MergeMethod.Replace)] [PXSearchable(SM.SearchCategory.AP | SM.SearchCategory.PO | SM.SearchCategory.AR | SM.SearchCategory.SO | SM.SearchCategory.CR, "Zig zag", new Type[] { typeof(Customer.acctName) }, new Type[] { typeof(Customer.acctName), typeof(Customer.acctCD), typeof(Customer.acctName), typeof(Customer.acctCD), typeof(Customer.defContactID), typeof(Contact.displayName), typeof(Contact.eMail), typeof(Contact.phone1), typeof(Contact.phone2), typeof(Contact.phone3), typeof(Contact.webSite)}, NumberFields = new Type[] { typeof(Customer.acctCD) }, Line1Format = "{0}{2}{3}{4}", Line1Fields =
Hello, I’m trying to change the colour of some text on a form. Specifically on screen PM.30.10.00 Projects. This contains a field called Status and I would like to set the colour to red when the status is Active.By following the article below, I’ve been able to change the colour of the status field when the description field is updated! https://asiablog.acumatica.com/2016/12/client-events-using-javascript.html To do this I have added a JavaScript control to the form and entered a Javascript function, shown below. The script is called on the ValueChanged event on the Description field.Having the colour of the status value set when the description value changes isn’t much use. I’d like to use the ValueChanged event on the Status field, however, because Status is a readonly field the ValueChanged event doesn’t fire. The other event I have attempted to use is the CommandPerformed client event on the DataSource:ProjectEntry object. But this event fires before the Status value is written to
Hello All,I am wondering has anyone done something that allows having a default side panel and when a “Data Entry Screen” like AP Bills is loaded to open the default Side Panel automatically without the need to click on side panel buttons?
Hi All,I tried to follow the instructions from https://community.acumatica.com/customizations-187/adding-a-new-column-to-a-grid-5268 in order to add column in the gridBut I'm data is not getting displayed, Maybe it was changed in an update?Graph Extension:public class TimeCardMaint_Extension : PXGraphExtension<TimeCardMaint> { #region Event Handlers protected virtual void EPTimeCardSummaryWithInfo_ProjectID_FieldUpdated(PXCache cache, PXFieldUpdatedEventArgs e, PXFieldUpdated InvokeBaseHandler) { if(InvokeBaseHandler != null) InvokeBaseHandler(cache, e); var row = (EPTimeCardSummaryWithInfo)e.Row; if (row != null) { PMProject objPMProject = PXSelect<PMProject, Where<PMProject.contractID, Equal<Required<PMProject.contractID>>>>.Select(Base, row.ProjectID); if (objPMProject != null) { Customer obj = PXSelect<Customer, Where<Customer.bA
I have an existing custom customisation I have to work with. Below is the Dac for the grid I want to add and the graph extension to be used [Serializable] [PXCacheName("TestTable")] [PXPrimaryGraph(typeof(TSSTStudentEntryExt))] public class TestTable : IBqlTable { #region LineNbr [PXDBIdentity(IsKey = true)] [PXUIField(DisplayName = "Line Nbr")] public virtual int? LineNbr { get; set; } public abstract class lineNbr : PX.Data.BQL.BqlInt.Field<lineNbr> { } #endregion #region StudentType [PXDBString(2, IsFixed = true, IsKey = true)] [PXDefault(typeof(TSSTStudent.StudentType))] [PXUIField(DisplayName = "Student Type", Visible = false, Enabled = false)] public virtual string StudentType { get; set; } public abstract class StudentType : PX.Data.BQL.BqlString.Field<StudentType> { } #endregion #region StudentNbr [PXDBString(15, IsKey = true, IsUnicode = true, I
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.