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 have a created a custom field which I want to use to track when the item sales categories have changed. See image below:I added code to field verifying:protected void INItemCategory_CategoryID_FieldVerifying(PXCache cache, PXFieldVerifyingEventArgs e, PXFieldVerifying InvokeBaseHandler) { if(InvokeBaseHandler != null) InvokeBaseHandler(cache, e); var row = (INItemCategory)e.Row; if (row == null) return; PXTrace.WriteInformation("Set BC Updated"); // Update the BC Updated field to false try { InventoryItem inventoryItem = PXSelect< InventoryItem, Where<InventoryItem.inventoryID, Equal<Required<InventoryItem.inventoryID>> >>.Select(Base, ((PX.Objects.IN.INItemCategory)cache.Current).InventoryID); if (inventoryItem != null) { PXTrace.WriteInformation("InventoryItem found" + inventoryItem.InventoryID); } InventoryItemExt invItemExt = PXCache<I
I use this code to create poRQRequestEntry_Extension.CreatePO(requisition);It didn’t create po from that extension and in 2018R1 this function working properly but in 22R2 it’s not working. and no error no result of create
my code like but the po is still hold. so how to invoke remove hold action in code POOrderEntry instance2 = PXGraph.CreateInstance<POOrderEntry>(); instance2.Document.Current = (PX.Objects.PO.POOrder) instance2.Document.Search<PX.Objects.PO.POOrder.orderType, PX.Objects.PO.POOrder.orderNbr>((object) field0, (object) field1); instance2.Document.Current.Hold = new bool?(false); instance2.Document.Update(instance2.Document.Current); instance2.Save.Press();
I’m working on the following process graph:When debugging, the prepay.Record registers as null, despite the prepay having a single complete record of the invPrepayList resultset. Visual studio does not flag the application of the result.record.fields to the new rec fields as an error. It simply runs as though the record is null. Can anyone tell me what I am missing?
. Invoice To Cancel Invoice Action to show this error How To slove this error ?public delegate void PersistDelegate(); [PXOverride] public void Persist(Action del) { if (Base.Document.Cache.GetStatus((object)Base.Document.Current) == PXEntryStatus.Inserted) { if (Base.Document.Current != null) { ARTran objARTran = Base.Transactions.Select().FirstTableItems.ToList().FirstOrDefault(); if (objARTran != null) { SOOrder objSOOrder = SOOrder.PK.Find(Base, objARTran.SOOrderType, objARTran.SOOrderNbr); if (objSOOrder != null) { SOOrderExt soOrderExt = objSOOrder.GetExtension<SOOrderExt>(); ARInvoiceExt invoiceExt = Base.Document.Current.GetExtension<ARInvoiceExt>(); invoiceExt.UsrCommentQuote = soOrderExt.U
Hi Team,I need to make changes in the selector of the 'Labor Items' field in the 'Employee Time Card' screen's details tab, based on the earning type I am selecting. Kindly assist me in how I can customize this. Please find attached images. If the earning type = RG, then Labor Items displayed should not include those that begin with X. If Earning Type <> "RG, the Labor Items displayed should be only whose that begin with X. We will wait for your response.RegardsSagar
I have a sales order with a pre-payment on it. The pre-payment has a balance meaning that the Applied to Order value is less than the value of the pre-payment and less than the value of the order.In my case I have a detail line on the sales order that is increasing in value and I would like to bump up the Applied to Order value accordingly.However, when I try to do this via code, I get an error: Entry must be less or equal to $X. $X is always the value of the Applied to Order amount.Is there something that I’m missing that I need to do to the order so that I can change the SOAdjust record?public PXAction<SOOrder> TestPreAuthEdit;[PXButton(CommitChanges = true, IsLockedOnToolbar = true, Category = "")][PXUIField(DisplayName = "Test Pre Auth Edit", MapEnableRights = PXCacheRights.Select, MapViewRights = PXCacheRights.Select, Enabled = true)]public virtual IEnumerable testPreAuthEdit(PXAdapter adapter){ SOOrder order = Base.Document.Current; foreach (SOLine line in Base.Transacti
I am unable to open Modules in Acumatica.After login system will continuously processing and processing nothing after that showing and can’t even display modules as well.Need help , Thanks in advance.
Friends, I’ve posted this question before, but unfortunately, the solutions to the first question are not an optionI am trying to extend a customer to a vendor or a vendor to a customer programmatically. I want to get my application certified for the marketplace. However, SQL Views are forbidden. SO, my current solution will prevent me from getting a certification.Here is the issue. There does not seem to be a way within C# and the available DACs to retrieve a deleted customer or vendor record. If I try to extend a customer to be a vendor programmatically, when I add the vendor account, it errors because Acumatica sees it as a duplicate.I need to be able to determine if a vendor account is in the db with a DeletedDatabaseRecord = 1 if it is there and of a deleted status, change it to no longer deleted.If I cannot find a way to extend a customer to a previously deleted vendor without using SQL Views, I kind of screwed.
I was looking to add some functionality to the Generic Inquiry (SM208000) form but it does not display it’s BLC or DAC in the source code viewer. The Screen ASPX displays just fine.Wondering if that’s intentional since it’s core functionality.
I am working on customizing the Acumatica Mobile app. I have the sales order on the app. Now I want to be able to search the sales orders by scanning a barcode. On the screen which displays all the records, is there a way to add the option to scan a barcode to the input box?Thanks in advance.
We’re looking to implement calendaring / scheduling screens that allow end users to get a greater understanding of staff and employee resource usage over time. We are aware of the existing calendaring and scheduling screens which are limited to service orders and appointments. We’d like to be able to view general activities and events in the same view as booked appointments. In addition to the data sourced locally from Acumatica we would also be looking to integrate external data sources such as Outlook (365).I’m aware this topic and related topics surrounding scheduling have reached the stage of “Gathering Feedback”. We may need to implement something in the near future and probably cannot wait for the ideas to reach a major release.My immediate question is regarding the built-in “Bryntum” libraries that are currently used to provide the scheduling and calendaring views. It appears Acumatica have a general license for this to allow those libraries to be redistributed.Can a developer c
Hi, i have added a Custom UDF for SOLine on Sales order screen, everything works fine, but when i apply a filter to that feild it doesnot work, any help will be greatly appriciatedthank you
Hi all, I’m trying to accomplish this here from a previous post of mine:Basically, I want the Shipping Tab > FOB Point dropdown menu to default to the value “Clarkdale”. We only have two FOB Points defined in our preferences -- Origin and Clarkdale.So I added [PXDefault(CLARKDALE)] to a customization project, appending to the original menu settings: Saved and then attempted to publish. I received this Validation failed error:Help! I’ve only done a few customizations before and have never edit menus so I’m doing something very wrong, lol! Thank you!
Greetings,I am currently working on my first proper customization and have some trouble with field values.The plan is to include another fourth addressline in addition to the already existing three addresslines, not only in the Customer-Data but also for use in invoices and other forms.I went ahead and wrote these two Extensions:AddressExtension:using PX.CS.Contracts.Interfaces;using PX.Data.ReferentialIntegrity.Attributes;using PX.Data;using PX.Objects.Common.Bql;using PX.Objects.CR.MassProcess;using PX.Objects.CR;using PX.Objects.CS;using PX.Objects;using System.Collections.Generic;using System.Diagnostics;using System;namespace PX.Objects.CR{ public class AddressExt : PXCacheExtension<PX.Objects.CR.Address> { #region UsrAdressLine4 [PXDBString(50)] [PXUIField(DisplayName="Adresszeile 4")] public virtual string UsrAdressLine4 { get; set; } public abstract class usrAdressLine4 : PX.Data.BQL.BqlString.Field<usrAdressLine4> { } #endregion }} ARAddressExt
Hi all,I would like to do similar to what is done here:What I would like to do differently is to remove to of the default values, “Organic Search” and “Campaign”. When I select those values, however, I can’t uncheck Active or hit x to delete.Is there any way to delete an out of the box combo value?Thanks!
Hello, How do I override the Capture CC action on the payments and applications screen? I pretty much want to run the basemethod in the override and once basemethod is completed, update a custom field.I tried below but it isn’t working as expected.public class BMEP_ARPaymentEntry_PaymentTransactionExt : PXGraphExtension<ARPaymentEntryPaymentTransaction, ARPaymentEntry> { public static bool IsActive() => true; public override void Initialize() => base.Initialize(); public delegate IEnumerable CaptureCCPaymentDelegate(PXAdapter adapter);[PXOverride] public virtual IEnumerable CaptureCCPayment(PXAdapter adapter, CaptureCCPaymentDelegate baseMethod) { baseMethod.Invoke(adapter); //custom logic return adapter.Get(); }}Thank you for your help!
How can add columns & rows dynamically by code at runtime to the Grid Table.
I want to customize the shipping label and print it according to my preference. Anyone got idea how do I print it directly via DevicHub. Is there any way we can make it push to DeviceHub to print automatically.Any help is appreciated.Thanks
Hi community! I am trying to add extra columns to the Location lookup on the Details tab of the Sales Order form. I tried the following, but it is showing only the new columns and removing the original ones public class SOOrderEntry_Extension : PXGraphExtension<PX.Objects.SO.SOOrderEntry> { #region CacheAttached [PXMergeAttributes(Method = MergeMethod.Merge)] [SOLocationAvail(typeof(SOLine.inventoryID), typeof(SOLine.subItemID), typeof(SOLine.costCenterID), typeof(SOLine.siteID), typeof(SOLine.tranType), typeof(SOLine.invtMult))] [PXCustomizeSelectorColumns( typeof(PX.Objects.IN.INLocation.locationCD), typeof(PX.Objects.IN.INLocationStatus.qtyAvail), typeof(PX.Objects.IN.INLocationStatus.qtyOnHand), typeof(PX.Objects.IN.INLocationStatus.active), typeof(PX.Objects.IN.INLocation.receiptsValid), typeof(PX.Objects.IN.INLocation.salesValid), typeo
Hi, I need to show the amount from the word in my custom report. I found some reference for thathttp://blog.acumatica.com.sg/2017/09/amount-to-words-conversion-at-acumatica.htmlBut,like that we can’t do the convert more than 10k numbers into word.Do we any alternative way do that from the report designer.
Hello,I am currently trying to open up a smart panel based on values in a grid on the row selected. Unfortunately, the values are not being updated on the filterview (a series of unbound fields I have) when I open it using PXFormula. It works when I open up the first row, but then after that, it doesn’t update with subsequent rows selected. To remedy this, I try to update my PXFilter view before running .AskExt.. and it works to update the values, but once I do this it won’t save the updated values. See below for code: public PXAction<ModifyDialog> Modify; [PXButton(CommitChanges = true, DisplayOnMainToolbar = false)] [PXUIField(DisplayName = "Modify")] protected void modify() { if (UpdateModifyView() != true ||ModifyDialogView.AskExt(true) != WebDialogResult.OK) return; else { ModifyActivity(); } } private bool UpdateModifyView() { EPActivityApprove modTPActivity = Timesheet
Hello,I was womndering is there any way to change the Headings Style in Acumatica grids? For example Change Fore/Back color or font style. I used this help from Stackoverflowhttps://stackoverflow.com/questions/42429061/acumatica-styling-a-specific-column-in-pxgrid/70338582#70338582 and managed to create the below but I’m wondering how I can set the same color to the grid headins?
Hello, I’d like to add 1 customized field on SOShipLineSplit dialogue, It would be easy, just after add controls on screen, the system would automatically generate a cs file to define the data class. User only have to define the attribute, and system maintain other codes. However, strangely, unlike other screen (Which means other screen are customizing perfectly) , the file generating on SOShiplineSplit data class are missing a “PX” at the beginning, the first line. Hence, I get an error on Validation. This error actually existed for a long time. Although I can manually change the PX_Objects_SO_SOShipLineSplit_extensions.cs file to let it pass validation. But is there a way to solve this issue permanently?
Hi, When a client is generating an invoice from the Invoices screen (SO303000), the result shows duplicate lines.The odd thing is that it doesn’t occur for all invoices, just a select number of them, so it could be the joins, but then it could be something else, and I am out of ideas of what I can look at.I tried things like changing the groupings, comparing a problematic invoice with one that works, but still couldn’t find anything that would be the problem.I have attached the report file below. Are you able to spot something that could be causing this occasional issue?Let me know if I can provide any further information. Kind regards,Andrew
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.