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 press the CAPTURE button on code level.I found its action method is declared in CreatePaymentExt class, so I call it from the extension. I tried to access the method hardcoding the name. SOInvoiceEntry soInvoiceEntry = PXGraph.CreateInstance<SOInvoiceEntry>(); var paymentExt = soInvoiceEntry.GetExtension<CreatePaymentExt>(); paymentExt?.captureDocumentPayment?.Press(); //soInvoiceEntry?.Actions["CaptureDocumentPayment"]?.Press(); As the CAPTURE is a background operation, I added this after Press(), but noting actually happens. PXLongOperation.WaitCompletion(soInvoiceEntry.UID);I tried also PressImpl(), again no result. I try to run this logic from a Processing screen. Here is its view. The filter DAC has Serializable attribute. [PXFilterable] public PXFilteredProcessingJoin<ARAdjust2, BZWoocommerceOrderFilter, InnerJoin<ARPayment, On<ARAdjust2.adjgDocType, Equal<ARPayment.docType>,
Sales Orders screen has Inventory’s availability calculation on the screen’s bottom part. How can I add that line of On Hand, Available, Available for Shipping and Allocated values on another Acumatica screen where again a Stock Items are visible? I need to add it on Purchase Orders screen. Would I need to create an extension or only editing the Screen Editor would be enough?
Hi,I have a processing screen that operates on a non persisted DAC that works in all respects except that the select box on the lines throws an error. I feel like I’m missing something super simple here,When the screen loads it looks like the below:The grid is populated by details Method (rows 24 to 85 below) which makes a single API call on a 3rd party piece of software, The MASCProcessDetail DAC is non persisted, and none of it’s properties are persisted (eg [PXDBInt], [PXDBDecimal],...). There are 2 key fields CommissionID and Line Number which uniquely identify each record.Everything works fine except that when you tick the select box on any line you get the following. Process All works and the processing form loops through each line and “ticks” the select box on each row. Any ideas on what I’m missing here re the select tick box error? Thanks in advance for any help,John.
I want to prevent a custom page from loading based on a condition. For example, I want to put an expiration date on my custom application. When the application date has expired, I want to prevent the page from being accessed. I’m trying to roll my own security on my custom app.I found documentation that used this scenario:public static bool IsActive() => PXAccess.FeatureInstalled<FeaturesSet.someFeature>();If I put public static bool IsActive() => false; in my graph, should that prevent the page from loading? It doesn’t seem to have any effect.If that is not the way to do it, does anyone know how?
I can not get process and process all to show up on this graph: public class RecycleSeries : PXGraph<RecycleSeries> { [PXProcessButton] public PXProcessing<Series> SeriesRecords; public PXSelect< SeriesDetail, Where<SeriesDetail.seriesID, Equal<Current<Series.bookSeriesID>>>> SeriesDetailRecords; public RecycleSeries() { SeriesRecords.SetSelected<Series.selected>(); SeriesRecords.SetProcessDelegate(Process); SeriesRecords.SetProcessAllVisible(true); SeriesRecords.SetProcessVisible(true); }Removed Process handler for clarity.Could the aspx be messed up?I have this for the aspx: <CallbackCommands> <px:PXDSCallbackCommand Visible="True" Name="Process" ></px:PXDSCallbackCommand> <px:PXDSCallbackCommand Visible="True" Name="ProcessAll" ></px:PXDSCallbackCommand></CallbackCo
I have scenario in my application to call Acumatica endpoints by the client side script(JQUERY) , getting error of CORS policy like ‘origin been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request’, but I am able to call Acumatica token API, to get access token, I am sharing code below--------------------------------Get access token----------------------------function CallTokenAPI(){ $.ajax({ url : 'https:/{Acumatica Instance}/identity/connect/token', type : 'POST', contentType: 'application/x-www-form-urlencoded', data : { "grant_type": "password", "username": "XXXXXXX", "password": "XXXXXXX", "scope": "api", "client_id": "XXXXXX@Company" "client_secret": "XXXXXXXXXX" }, success : function(data){ localStorage.setItem('t
I want to add a button on top header of screen near to “Notes” button like in share image I draw “My Button”, so that this button will be available to all the pages and its click event handle in a graph.
I need help to add a new column in the AP301000 Transaction Details grid. Column Name: PCV Number
I want to join the tables together to have the following information: Customer | Project | Type Activities 1 customer can have multiple projects, and 1 project can have multiple activities. Activities are associated with both Customer and Project. That means my table Activities must contain 2 primary keys, the customer ID and the project ID. I found the CRPMTimeActivity DAG table that meets the conditions, but I can only see it in the generic inquiry and not in the database.The report I constructed is based on a complex logic involving three tables: Activity, Project (PMProject), and BAccount, so I need to process data in SQL Server before uploading it into Acumatica to create a new DAC. I just saw CRActivity, but in this one, I didn’t have a Project ID, so it caused duplication when I tried to join the project table (PMProject) with CRActivity. Because CRActivity has no ProjectID (ContractID). Does it have any other name to call in the database or what can I do or will you update i
I have OrderQty, totalConsumedQty, and MaximumOrderQty. Orders are being placed in parallel. Each order reads the current totalConsumedQty, adds its OrderQty, and checks if it exceeds MaximumOrderQty. When multiple orders are placed at exactly the same time, they all see the same original value of totalConsumedQty, and each thinks it’s safe to place the order. Result: totalConsumedQty is exceeded because updates are not aware of each other. Updating totalConsumedQty is happens while Saving, It is required
I am currently writing logic to automatically create move transaction records from the materials screen. Currently the records are being created successfully via code but when I try to release the move transaction automatically I get the following error: “Parent Lot/ Serial Number is required.”But on creating the move transaction automatically the parent lot/ serial number is being correctly assigned as below:using System;using System.Linq;using System.Collections;using System.Collections.Generic;using PX.Data;using PX.Data.BQL;using PX.Data.BQL.Fluent;using PX.Objects.Common;using PX.Objects.Common.Exceptions;using PX.Objects.IN;using PX.Objects.CM;using PX.Objects.CS;using PX.Objects.AM.Attributes;using PX.Objects.PM;using PX.Objects.GL;using PX.Objects;using PX.Objects.AM;namespace PX.Objects.AM{ public class MaterialEntry_Extension : PXGraphExtension<PX.Objects.AM.MaterialEntry> { #region Release Override public delegate IEnumerable ReleaseDelegate(PXAda
Hi,I have added user-defined fields to the Sales Order (SO) screen. In our client’s business process, user create BL order type Sales Orders, and if the user enters values into these user-defined fields, they should be copied to the child orders linked to the BL order without duplicating the data insert work. Kindly help me to fullful this requirement.Thanks/Prasad
hello, i'm trying to implement the authentication, i want to check the feasibility of connecting an angular client to acumatica if is possible i want to get solution.Best regards.
I need the .exe build of Acumatica version 21.215.0016 to be used in my localhost. Where can I find it?It is not listed under https://builds.acumatica.com/
Hey guys. We’ve done an integration for a customer and they have a Shopify Test store which works perfectly. We used a snapshot of their Production Tenant and when I’ve setup both stores on the Shopify Stores screen (BC201010) and the Test store works perfectly, but the live store failed on all the entities except for the Sales Orders which worked. It can prepare the data correctly, but once we try to process it, it fails. I have reached out to Shopify but because this is a request from Acumatica, there is not a lot that they can do except for checking the settings which they have found no problems with. Has anyone experienced something like this before? Any help would be appreciated.
Hello,I am trying to add a custom field to the INSiteStatusByCostCenter DAC. I have been able to add the field and have it populated when I create an inventory adjustment. However, when I create an inventory issue, the value of the field is removed from the database. I have tracked it down to two places where I think this is happening but now I am stuck on how to get past it. Problem 1:In the SiteStatusByCostCenter DAC, the fields have their assign behavior set to summarize in the prepare insert of an Accumulator attribute. Is it possible to do this on my DAC extension? protected override bool PrepareInsert(PXCache cache, object row, PXAccumulatorCollection columns){ if (!base.PrepareInsert(cache, row, columns)) { return false; } columns.Update<qtyOnHand>(PXDataFieldAssign.AssignBehavior.Summarize); columns.Update<qtyAvail>(PXDataFieldAssign.AssignBehavior.Summarize); columns.Update<qtyHardAvail>(PXDataFieldAssign.AssignBehavior.Summarize);
Hello,how can I add LotSerialNbr from SOShipline (SO302000) in SO303000 (Invoice) in detail grid ? Thanks in advance
I’m trying to create two pxformula attribued on a DAC. #region UpcomingCycleID [PXInt] [PXUIField(DisplayName = "Upcoming Cycle ID", Enabled = false)] [PXFormula( typeof(Search< CycleDetail.cycleID, Where< CycleDetail.cycleMajor, Equal<Current<SeriesDetail.cycleMajor>>, And<CycleDetail.cycleMinor, Equal<Current<SeriesDetail.cycleMinor>>, And<CycleDetail.date, Greater<Current<AccessInfo.businessDate>>>>>> ))] public virtual int? UpcomingCycleID { get; set; } public abstract class upcomingCycleID : PX.Data.BQL.BqlInt.Field<upcomingCycleID> { } #endregion #region UpcomingCycleDate [PXDate] [PXUIField(DisplayName = "Upcoming Cycle Date", Enabled = false)] [PXDependsOnFields(typeof(SeriesDetail.cycleMajor), typeof(SeriesDetail.cycleMinor))] [PXFormula( typeof
Hello,I would like to know how I can display the Alternate ID in the Invoice detail grid.Could you please guide me on how to achieve this?
I’m trying to create a customization so that when orders get created from the acumatica commerce connector. I want too modify the Warehouse ID for specific stock items on “SP” order types.I created the customization and extended the sales order screen but no luck so far. I thought I could listen for RowInserted event for order Details but nothing is working and when I add trace logs I don’t see them.using System;using System.Collections;using System.Collections.Generic;using System.Diagnostics;using System.Linq;using System.Text;using PX.Common;using PX.Data;using PX.Objects.AP;using PX.Objects.AR;using PX.Objects.CA;using PX.Objects.CM;using PX.Objects.CR;using PX.Objects.CS;using PX.Objects.DR;using PX.Objects.EP;using PX.Objects.GL;using PX.Objects.IN;using PX.Objects.PM;using PX.Objects.PO;using PX.Objects.TX;using POLine = PX.Objects.PO.POLine;using POOrder = PX.Objects.PO.POOrder;using PX.CarrierService;using PX.Concurrency;using CRLocation = PX.Objects.CR.Standalone.Location;usi
hello everyone , as per our requirement classic to converted into modern UI, while publishing the package getting errorts file code HTML File code please suggest how to resolve these error
I have a processing screen that works perfectly. After processing, all data is updated correctly and the screen looks and functions exactly as it should.However, when the processing is complete, the results window is screwed up.When I click POST ALL, the code posts any entries that are unposted (based on the drop down filter) and does not post entries with a batch error. WORKS GREAT!When the processing delegate fires, if the batch has errors, I throw an exception on that recordPXProcessing<ICSPendingHDR>.SetError(entriesToProcess.IndexOf(entry), e);On the web site, the processing screen temporarily shows an item in the ERROR box which is what I expect: Then, when both records have been processed, the results changes to 2 process successfully When I click the 2 Processed button, I get results that are messed up. The Batch Has Errors column should show a checkbox and not True or False. It is pushing the columns to the right. Also, the descriptions on the Messages are in the wr
I have a local instance with a snapshot of client data on build 25.101.0153. After installing the instance, I ran the npm run getmodules and npm build. I have custom screens. I can npm build my screens and they look great in my local instance.I added the custom Modern UI files to the Modern UI files section in the Project Editor screen.When I publish the project in the same instance that I created the MUI files, I get errors. I think this is the main reason for the errorts-loader: Using ts-patch/compiler@5.5.2. This version may or may not be compatible with ts-loader.I have about 20 instances of MANY build versions as my snapshots are being restored into the build of the client’s snapshots.In google, the AI tells me that I should use NVM to manage my active node.js version. The error seems to have something to do with typescript.For sake of argument, say I am able to get my active version of node.js / typescript to match the instance I am publishing into. Before I spend hours tryin
When recording, a dedicated button should appear, but it doesn't because there's a warning on the screen. Can anyone help me resolve this? Here is my action codepublic PXAction<PX.Objects.AR.ARInvoice> LoadDocumentsPro; [PXButton(CommitChanges = true)] [PXUIField(DisplayName = "Load Documents")] protected virtual void loadDocumentsPro() { }Here is my code where I do the validation to show the action, it works when there is no warning, if there is the event does not work. protected virtual void _(Events.RowSelected<ARInvoice> e) { var row = e.Row; var cache = e.Cache; if (row != null) { bool validacionPro = false; bool validacionPro2 = false; PXResultset<XTProformaInvoice> value_1 = this.proformaView.Select(); foreach (XTProformaInvoice item in value_1) { if (item.L
There were some functions that were not possible with the report designer so I have to code a custom screen and add RUN REPORT action to that custom screen.And I want to replace the default Report screen(screenshot below) with my custom screen so there is no confusion as there will be only one screen to run that report. Is there any way we can do this please let me know. Default screen Thanks
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.