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 experts,I have been trying to add a dropdown list to a new processing screen but, the list isn’t getting displayed. I have shared the dac and graph codes below. Please guide me out where i am getting wrong.Thanks in advance.Dac code:using System;using PX.Data;namespace MassCust{ [Serializable] [PXCacheName("Mass_Activity_Table")] public class Mass_Activity_Table : IBqlTable { #region Activities [PXDBString(50, IsUnicode = true, InputMask = "")] [PXUIField(DisplayName = "Activities")] public virtual string Activities { get; set; } public abstract class activities : PX.Data.BQL.BqlString.Field < activities > { } #endregion #region Source [PXDBString(10, IsFixed = true, IsUnicode = true, InputMask = "")] [PXUIField(DisplayName = "Source")] public virtual string Source { get; set; } public abstract class source : PX.Data.BQL.BqlString.Field < source > { } #endregion #region Cust_Lead_ID [PXDBString(IsUnicode = true, InputMas
Hello All, I have a Field updated Event Handler that calls a method. It works fine until the change to the field comes from a PXLongOperation. To be more specific, on APInvoice the status field is updated by the different actions. All actions and status changes are monitored just fine until I Release the document (Status changes from Balanced to Open). This is when the handler misses the change possibly because it is running in a separate thread/scope. Below is the Handler I have. How can make the handler listen to the change from PXLongOperation too?protected void _(Events.FieldUpdated<APInvoice, APInvoice.status> e){ if (e.Row == null) return; SyncStatusTransitionLog(Base, e.OldValue, e.NewValue);}
On my custom page, I have an action to open the Recalculate Customer Balances screen (AR509900) public PXAction<RecordsToProcessFilter> Rebuild; [PXButton(CommitChanges = true)] [PXUIField(DisplayName = "Rebuild Accounts")] protected virtual IEnumerable rebuild(PXAdapter adapter) { var graph = PXGraph.CreateInstance<ARIntegrityCheck>(); throw new PXRedirectRequiredException(graph, false, "Rebuild Accounts"); } There are two versions of this screen. The new one and the (old) one.When the graph gets instantiated, the highlighted line sees the screen being called from IC501010, not AR509900. Thus, it kicks me to the else section and uses the OLD way of doing it. It actually opens screen ID AR509901. The arReleaseGraph actually errors out when recalculating a customer in the U100 sample data, whereas the new way does not. Plus, the new way is a LOT faster.protected virtual void _(Events.RowS
Hi,We need to add created by user name into payment voucher report is acumetica.We try to join ApPayment and Users Table.ApPayment has CreatedByID and User table has username field.Below screen shots attached for the reference.ApPayment TableUsers Table We join these table using report builder below like that.After the report complied it shows below error. Because CreatedById is uniqueidentifier type and user name is nvarchar type. Can you give the solution to get createdby name for the apPayment transactions is Payment Voucher Report.Thank you
Hi All, I want to stop adding new lines to a sales order based on a condition. How can I do this.?I tried adding the following. But It did not worked. protected void SOLine_RowInserting(PXCache cache, PXRowInsertingEventArgs e) { var row = (SOLine)e.Row; if (row == null) return; //Condition if(Condition == true) { Base.Transaction.Delete(row); } }
I have a custom table that stores the customer ID of customers that have been merged in my “Merge Customers” application. After customers get merged, I want to automatically select them to be processed on the Recalculate Customer Balances screen. After merging, it is just simpler to let Acumatica calculate the new customer balances than to do it myself.I created an extension for that graph. The idea is that I redirect to this screen at the end of the Merge Customers process and the user simply has to click PROCESS on the screen as all the affected customers would be selected already.In the extension, I thought I could use the RowInserting method on the grid to check the box on the line if it was in my custom table. That line doesn’t fire when the grid is being filled from the related View. I also tried FieldVerifying on the Customer field of the grid (and a few others) but they don’t fire unless you actually interact with the grid.Just to try to get something to work, I committed a
Hi, I’m trying to create a unit test for my Extension Library, but retrieving a DAC Extension always returns null for some reason. I followed all the steps in T280 course but I still can’t get the DAC Extension. I am currently trying to create unit tests for version 22R1. Here is the code snippet: using Xunit;using PX.Data;using PX.Tests.Unit;using PX.Objects.CA;using Custom.DAC;using PX.Objects.GL;namespace Customization.Tests{ public class CashAccountMaintExtTest : TestBase { [Fact] public void TestingCashAccountExtension() { Setup<CashAccountMaint>(new GLSetup()); Setup<CashAccountMaint>(new CASetup()); var graph = PXGraph.CreateInstance<CashAccountMaint>(); CashAccount cashAccount = (CashAccount) graph.Caches[typeof(CashAccount)].Insert( new CashAccount { CashAccountCD = "Test" } ); //This
Hello Hello, I have a custom field on POOrder named “additionaldescr” (Usradditionaldescr).I want to bring this field value to POReceipt which also have the “Descr1” (UsrDescr) when creating Purchase Receipt by click button “ENTER TO RECEIPT”. After that I would like to carry again “ Descr1” field to APInvoice which have the “Descr2”(UsrDescr2) by clicking Enter AP Bill.The goal is like this. POOrder » POReceipt» APInvoice . Can someone help me please. Best Regards,May
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 am trying to access the ADD LINK action in the appointments screen which, when invoked, calls up the Search In Files screen. When I add the Appointments screen to a customization project I am unable to find any reference to this dialog box or linkage anywhere. Does anyone know how I can access this dialog box?
Hello experts,I have been trying to generate a DAC using the below mentioned steps: But upon publishing the following validation error is triggered:
EDIT: I wish I could edit the Title for this question...It should be How do I get access to another cache inside a FieldUpdated handlerI added User Defined fields to the Details tab of the Employee Time Card Entry screen EP305000.The fields pull data from custom maintenance tables. It is working.The table that the UDF’s are stored in is the PMTimeActivity table. That is the table that holds the Details grid data.The graph extension for the screen is public class TimeCardMaint_Extension : PXGraphExtension<TimeCardMaint> In the extension, I grab the customer ID that is selected using the FieldUpdating handler for the UsrCustomerID field.My current code can only get the DAC extension for PMTimeActivity if the record has been saved. I get the reference to the extension using a BQL statement. I highlighted in red the code that gets the PMTimeActivity extension.If the row is not saved, tcd will always be null.namespace PX.Objects.EP{ public class TimeCardMaint_Extension : PX
Good morning, Fellow Developers!I have a custom screen that uses the same object for address sections of my screen. Note graph below: Note that the views Billing_Address and Transfer_Address use the same ACM DAC object ‘Address’. When using the RowSelected event, it does in fact set the visibility; however, it affects BOTH Billing_Address and Transfer_Address. Is there a way to only set the visibility for the specific view? I only want to hide the Transfer_Address view, but the above code is not working. Any thoughts from the gurus? Thank you in advance for any assistance!
Hello experts,I’ve been trying to add a new grid under a new tab in the Stock Items (IN202500) screen. But upon checking out it came to know that we have to add a new Data member property first in order to set the grid and its fields. Can anyone please let me know how can we define a new Data member/View for such a case in detail procedure?Thanks a lot in advance.
Hi , In Create purchase orders screen I want to process only certain records according to a condition. And also, for records those do not meet meet the condition, I want to print an error for each in the processing window. Can I put my logic inside POCreateFilter_Rowselected event handler or FixedDemand.SetProcessDelegate? What is the most efficient way to do this? Thanks
We get a warning on many Sales Orders that there are cross sell items available.The message says “Cross-sell items exist for this item. Click the button to select an item.”See screenshot below:We don’t want to see this message any more and it distracts from actual issues like items being out of stock etc. Is there a way to disable specific warnings via a customization (or elsewhere in the config)? Thanks, Phil
Hi All,I’m getting the below error in Service Order screen, Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index please assist.
Hello, I want to carry value of field from POLine >> POReceiptLine » APTaxTrans. Can someone help me please? Regards,May
Hi there, I have tried the steps shown here to enable the custom field in Purchase Receipt screen on the summary area. I have replicated all of the workflows and added the fields on the Released state as shown below but it am unable to get the desired result:
Hi,I have customized the AR invoice report using acumetica report builder.I want to add bank details of the relevant invoice details in AR invoice report.In this case we customized existing standard AR Invoice report with adding cashaccount payment details table.I joined the cash account table and cashaccount payment method details table below like that. Before the joining report output is shown like that. But, After the cashacount table and cashaccount payment method detail table are joining .Report’s item details lines are duplicated. Can you help to remove above duplication.
I’m trying to add the Customer Details screen as a side panel to the Customer Profile screen and to the Sales Order transaction screen. I am having difficulty identifying the correct key to use for both, as well as how to set parameters in the customer details screen. For the Customer Profile and Sales Orders screens,I want to be able to conditionally see Either the Customer Details for this customer’s bill-to parent Or the Customer Details for this customer if it doesn’t have a bill-to parent To have the Show All Documents, Include Child Accounts, and Include Unreleased Documents all checked by default when the screen loadsI don’t know which key to use for both customizations. Here are the two customization screen details I have at present for each of the two side panels: Customer Profile Sales Orders Any thoughts on the proper keys to use as well as how to set the defaults? I must be missing something somewhere. Thanks in advance!
Hi All,Need help in rectifying the below error,Error CS0234 -- The type or namespace name 'FS' does not exist in the namespace 'PX.Objects' (are you missing an assembly reference?) I’am trying to add the AddressLine1 and AddressLine2 from customer location screen (FS300100) and adding in existing Location field - service order screen(FS300100).see below here is my code, and am getting the above error.
Hi,I’m new to the acumetica development area.I need to develop new custom data enter screens and data view screens into my client acumetica system.And also I need to custom a existing screen with adding a new button.Can you recommend a good online resources, you tube videos or online trainings materials(paid/not paid) for me.Thanks you
On the Lead profile screen (CR301000), I created a custom field to store a string values called UsrDepartment. I also created the same field on the Contact profile screen (CR302000). When the user chooses to “Create Contact” from the Lead profile, it correctly creates the contact. However, the data in the custom field I created doesn’t automatically carry over. How and where can I add logic to copy the value over from the lead to the contact?
Season's greetings!We want our delivery persons to execute the action ‘confirm the shipment’ at the shipping location mentioned in the shipment form. To track whether it had happened or not we want to track the location of that user when performing the action. Is there any possibility to track the location of the user when they are performing relevant actions using different forms? Thank You Amanda
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.