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’m attempting to override the ReleaseFromHold action on the POOrderEntry graph, I need to add my own validation before the baseMethod is called.I created the delegate using the following code, but I receive the error message below.I’ve been able to override other action on this same graph using this method, is there something unique about the ReleaseFromHold action? public delegate IEnumerable ReleaseFromHoldDelegate(PXAdapter adapter); [PXOverride] protected IEnumerable ReleaseFromHold(PXAdapter adapter, ReleaseFromHoldDelegate baseMethod) { return adapter.Get(); } 8/18/2023 2:46:05 PM Error:Attempt by method 'Wrapper.PX.Objects.PO.Cst_POOrderEntry.ReleaseFromHoldGeneratedWrapper(PX.Objects.PO.POOrderEntry, PX.Data.PXAdapter)' to access method 'PX.Objects.PO.POOrderEntry_Ext.ReleaseFromHold(PX.Data.PXAdapter, ReleaseFromHoldDelegate)' failed. at Wrapper.PX.Objects.PO.Cst_POOrderEntry.ReleaseFromHoldGeneratedWrapper(POOrderEntry g, PXAda
Good day,I have several questions about buttons.I am trying to establish a sequence when creating customer locations, in the customer locations screen when a user selects a customer and is going to add a new location, it has to press the button, so it automatically assigns the number for the sequence. If I Define the action with PXButton in the graph extension, it creates a button in the toolbar and when pressed it does the sequence, but it places it in the wrong spot.First picture shows the button in the toolbar and on the top left corner the value.I am specifying in the code that I want the value in the LocationCD field but is not working.Then if I define the action with PXLookupButton(DisplayOnMainToolbar = false) there is no button in the toolbar which is good, but when I create a button control in the aspx the Command attribute doesn't seem to work. I can't link the code in the graph with the aspx. I did a debug and when I press the button it does nothing. And finally, I want the
Tôi muốn tạo mới report và chỉnh sữa báo cáo trên Acu phải làm như thế nào I want to create a new report and edit the report on Acu, how to do it?
Hello every one,I have done a payment integration on AcuPos. when the payment is processed succefully, the provider send back a payment reference.I have configured the payment reference to be pushed to the database directly upon being receive.Now, the user have to refresh the browser tab for the reference to reflect from the database to the UI.see below; is there a way I can refresh the specific field or the column or the tab so that the database value can reflect on the user interface without the user having to refresh the entire tab.Kindly assist.any kind of response will be appreciated.Thank you, great community!
Where does the data such as ‘Qty on Hand’, ‘Available’ and ‘Available for Shipping’ come from and is there a way to highlight the verbiage if something is below a certain amount?
Hi,Is it possible to hide a screen from the workspaces where it is displayed if a given feature is not enabled ?To describe my situation, I have a graph A and its extension B. public class A: PXGraph<A> { public SelectFrom<EAPInvoice>.Where<True.IsEqual<False>>.View emptyView; } public class B: PXGraphExtension<B> { #region Properties public static bool IsActive() => PXAccess.FeatureInstalled<FeaturesSetExt.myFeature>(); ... }A screen has been created using graph A and has been added to the “Payable” workspace. It uses fields from a DAC that also depend on the feature. public class MyDAC: IBqlTable { public static bool IsActive() => PXAccess.FeatureInstalled<FeaturesSetExt.myFeature>();…}When “myFeature” is disabled from CS100000, none of fields from the DAC are displayed ; that’s OK. However, the screen is always available in the “Payable” workspace whereas I’d like it not being
Good day, I have 2 custom fields on the purchase receipt line and in Bills and adjustment line, I want those fields in the Dialog of the ADD PO RECEIPT LINE button in the Bills and adjustment screen, retrieve the information and apply it on the Bills and adjustment line.I can release the purchase receipt but I can't get the data in the Bills and adjustment.I have a projection override and my events in a graph extension of the Bills and adjustment screen, to retrieve the information, I use the POReceiptLine DAC but I don't know why I am having the error Invalid Object Name POReceiptLineS everytime I want to Enter AP Bill. It seems POReceiptLineS is a DAC but I don't see where I need to reference it. public class APInvoiceEntry_Extension : PXGraphExtension<PX.Objects.AP.APInvoiceEntry> { [PXProjection(typeof(Select<POReceiptLineAdd>))] public partial class POReceiptLineAddOverride : POReceiptLineAdd { #region UsrTicketSupplier [PXDBString
Good day,I have 2 custom fields on the purchase receipt line and in Bills and adjustment line, I want those fields in the Dialog of the ADD PO RECEIPT LINE button in the Bills and adjustment screen, retrieve the information and apply it on the Bills and adjustment line.I can release the purchase receipt, but I can't get the data in the Bills and adjustment.I have a projection override and my events in a graph extension of the Bills and adjustment screen, to retrieve the information, when my DAC override inherits from POReceiptLineAdd I am having the error Invalid Object Name POReceiptLineS everytime I want to Enter AP Bill. POReceiptLineAdd inherits from POReceiptLineS and when my DAC inherits from it the warning error disappears but the ADD PO RECEIPT LINE button does nothing. public class APInvoiceEntry_Extension : PXGraphExtension<PX.Objects.AP.APInvoiceEntry> { [PXProjection(typeof(Select<POReceiptLineAdd>))] public partial class POReceiptLineAddOverr
I'm having trouble with this way of saving the data in Acumatica inside an async method for some reason when I call the method and try to save the current data it always takes the last company in the database. I mean loses the current context.I have a site in 22R2 with 2 company: Database: I have this code: Asynchrony method public async Task SaveAsync(DeviceLicenseData? data) { if (data == null || string.IsNullOrEmpty(data.AccessToken)) { await ResetAsync(); return; } SaveToAcumatica(data); } Method to save in Database public void SaveToAcumatica (DeviceLicenseData data) { License.Current = License.Search<License.fRServerId>(data.DeviceId); License.Cache.AllowUpdate = true; var frlicense = License.Current ?? new License(); frlicense.FRServerId = data?.DeviceId ?? default; frlicense.FRHubServerName = data?.ServerN
How can I modify the list of Termination Reasons under Employees > Employment History ?
I am embarking on the journey to begin learning the new UI and migrating my customizations to it.I only have VS 2022 installed. When I was installing Node.js, it shows that it is trying to modify the VS 2019 installer. There were errors in the Node.js install. Do I have to do this in VS 2019? I don’t want to install it if I don’t have to.Has anyone begun this journey? I have never worked with TypeScript etc..
I’m modifying the pick list to have Qty Orders, Qty already Picked and Qty left to pick. I’m running into issues.=[SOLine.OrderQty] works for Qty Ordered.What fields would I use to show Qty Picked and Qty left to pick?I’ve tried various combinations of things to populate either value and they are coming up blank:=[SOShipLine.OpenOrderQty]=[SOShipLine.OpenQty]=[SOShipline.Qty]=([SOShipline.Qty]-[SOShipLine.OpenQty])=([SOShipline.Qty]-[SOShipLine.OpenOrderQty])=([SOShipline.OrigOrderQty]-[SOShipline.Qty])This is outside of the realm of acumatica support, so hopefully someone has some ideas on what I’m doing wrong. Denis
Hello, I'm working on a query result that i-m adding conditions and joins in the view delegate and it's working, but I would like to append group by statements on the query, Is there a way to achieve this in the view delegate?
Hello everyone, I created a table with the following script.CREATE TABLE [dbo].[GDLFAVehicleDetails]( [CompanyId] [int] NOT NULL, [AssetId] [int] NOT NULL, [VehicleRegNo] [nvarchar](50) NOT NULL, /***other fields left out***/ CONSTRAINT [PK_GDLFAVehicleDetails] PRIMARY KEY CLUSTERED ( [CompanyId] ASC, [AssetId] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY], CONSTRAINT [IX_GDLFAVehicleDetails_1] UNIQUE NONCLUSTERED ( [VehicleRegNo] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY]GOI needed to make VehicleRegNo to accept only unique valuesso I added Iskey= true on the DAC as shown below;However when I add the Iskey=true value the user input disappears, when I remove it user input does not disappear on the UI and user is able to save the input entered.What could be the issue? #region VehicleRegNo
Hello All,I have done action override a hundred times but I am facing an issue in Close Action of ServiceOrder that I am not sure why is happening. The problem is the "baseMethod" has a null value and as a result, I get an error that "An unhandled exception has occurred in the function 'MoveNext'. Please see the trace log for more details." Without this piece of customization, it is working just fine. Please note I have other stuff so that I am calling Base1 and Base2 in addition to the Base in my graph extension. Here is the part of the code relevant to the issue. Any help is appreciated.using System.Collections;using System.Collections.Generic;using System.Linq;using PX.Common;using PX.Data;using PX.Objects.FS;namespace Test{ public class MyServiceOrderEntryExt : PXGraphExtension<ServiceOrderEntryWorkflow, ServiceOrderEntryVisibilityRestriction, ServiceOrderEntry> { public static bool IsActive() => true; [PXOverride] public delegate IEnumerable Clo
I added a custom action to the Details grid of the Sales Quotes screen. It works as expected.If the setup for my module is disabled, I am able to disable the button, but I cannot seem to hide it from view.These are the ASPX changes to add the button. (added to the top of the form: <px:PXDSCallbackCommand Name="ResetPrice" Visible="false" CommitChanges="true" DependOnGrid="ProductsGrid" /></CallbackCommands> Toolbar button added in the grid seciton: <px:PXToolBarButton Text="Reset Price" Visible="False"> <AutoCallBack Target="ds" Command="ResetPrice"> <Behavior CommitChanges="True" /></AutoCallBack> In the RowSelected, I check if my module is enabled. If it is not, I try to set the Visibility to false. if (setup == null || (setup.EnablePricingMarkup == null || setup.EnablePricingMarkup == false) || (setup.UseQuotesOpportunities == null || setup.UseQuotesOpportunities == false)) { PXUIFieldAttribute.SetVi
HelloI want to override Subaccount field of GLTran when it is generated by Release an payment (APPayment) by the rule: take first 2 parts of existing SubCD then concat with a “ABCD”.For example: if the Subaccount is 000-00000-0000, it should be replace by Subaccount 000-00000-ABCD.And I found that there is a case that I can’t find by calculated SubCD, so I need to create new Sub by calculated SubCD (000-00000-ABCD) then set GLTran.SubID to the created one.How to create new Sub in event RowInserting of GLTran? Is it possible? p/s: I don’t want to use RowPersisting event because I wonder they could impact the performance when generating a bulk of GLTran but I’m not sure.Thanks
I had to add new field into SO303000 screen Detail Grid.Field name - Claim Percentage When the above filed is updated or entered amount need to be calculated like below formula. Amount = Amount*(Claim Percentage/100)When add the claim percentage without discount amount, It's calculations are okey. In my case,After I have add the quantity,unit price and discount amount , the Amount shows below like that. Then,I added the claim percentage. When I add the claim percentage, Discount Amount,Discount percentage and Amount all the fields are changed.Why this is happened and how I resolve this? Below I have attached my claim p field updated event. protected void ARTran_UsrClaimPercentage_FieldUpdated(PXCache cache, PXFieldUpdatedEventArgs e) { var row = (ARTran)e.Row; ARTranExt detail = PXCache<ARTran>.GetExtension<ARTranExt>(row); if(detail.UsrClaimP == null || detail.UsrClaimP == 0){ decimal? val1 =detail.UsrClaimPercentage/100; decimal? va
I have a custom field that is throwing the following error:Error: An error occurred during processing of the field PD Inches/SQIN: Specified cast is not valid..I have the following #region UsrPDinches [PXDBInt] [PXUIField(DisplayName="PD Inches/SQIN")] public int? UsrPDinches { get; set; } public abstract class usrPDinches : PX.Data.BQL.BqlInt.Field<usrPDinches> { } #endregionWhat could be causing this issue?Another questtion,This field is on a production order. I can’t find how to disable the field when the production order status is completed. How do I do that?
Hello , I want to display green background color to the status field with font color as white in the sales order screen. I Followed Two methods for that, 1)Method 1: By using below code in this i obtained colour for status value not in the background, i need background colour for the status field and letters are in white colour. <px:PXDataSource> <ClientEvents CommandPerformed="changeStatusColor" /> </px:PXDataSource> <script type="text/javascript"> function changeStatusColor(sender, e) { var edStatus = px_all["ctl00_phF_form_t0_edStatus"]; var edStatusControl = document.getElementById("ctl00_phF_form_t0_edStatus"); if (edStatus && edStatus.value == "H") edStatusControl.background.color = "#FF0000"; else edStatusControl.style.color = "#00FF00"; } </script>Method 2: Using this method, I received no updates to the field. in this ca
I have added a custom action to the Field Service > Appointment scree (FS300200) to Print Service Order. Everything is working fine with it, except it isn’t saving before navigating to the report.Is there a way to get the action to save the record before navigating to the new screen? How it is set up.
Hi There, I have to print a Box label section depending on the field value entered. If the value entered is 2 then second section in report to print twice, but first section to print only once.can someone please help me?
Can I Make Report Desainer Grup By Budget Code And Project ID , I will make Summry cost transakasi by Project ID and Budget Code.This relasion one to many like this picture And i need a Reprot like this : This a report view , total spending by budget code and spending by Project ID must not be the same this my gruping the report any one can help me ? make a report
Hi Experts.I want enable field Subaccount in the below image.I try: PXUIFieldAttribute.SetEnabled<APTran.subID>(cache, row, true); and set enable in worflow:but it not work (I try this solution for Sales Orders screen SO301000 and success).Can you help me?Thank everyone so much.
I have a customization that has slowly had much of it moved to another DLL (for house keeping)How all it has left that matters is some Screen modifications (done in the ERP, not in code)Can I somehow combine that with another customization so I don’t need to maintain and publish both of them? I know I can export a GI or a dashboard and import it into something else. What about screen modifications?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.