Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
The below custom code is not working in SOOrderEntry graph extension when I upgraded my customization to 24R1 version, though the same code is working fine in SOInvoiceEntry graph extension in save versionI am trying to add action menu item. public override void Initialize(){ base.Initialize(); this.Base.action.AddMenuAction(recalculateCPPriceAction); }Below is the error and screenshotBelow is my SOOrderEntry graph extension structure Can anyone help me out with this issue, I am confused about its working in anothe graph extension(SOInvoiceEntry) but not working in SOOrdrEntry graph extension in the same project. Thanks and RegardsSD
We’re using MRP for production. We don’t include On Hold sales orders in the calculation. But now we have a change in requirements so that we want to include orders in the Awaiting For Payment status - which has the order being on hold.The idea is that we want to prepare for the order to be placed but we don’t want to ship it until we’ve received a prepayment. But we do want to be able to plan our production around this order.So I figured there are two ways to tackle this:Via customized workflow. I create a custom field to indicate that we’re waiting on a payment for this order. That field will impact the visibility to the Create Shipment button. So the order will be officially “open” and thus included in MRP but, from the user’s standpoint, they cannot ship the order until a prepayment has been applied to the order. Adjust the MRP calculation to include this sub-set of orders similar to how Blanket Orders are added to the MRP calc. The concern is that MRP is a complicated set of calcu
Hi, I’m trying to override a method in a graph extension, then override it again in a second extension. I’ve simplified the code to provide an example.public class SOShipmentEntryWrite : PXGraphExtension<PX.Objects.SO.SOShipmentEntry>{ [PXOverride] public void ConfirmShipment(SOOrderEntry docgraph, SOShipment shipment) { Base.ConfirmShipment(docgraph, shipment); //Write some info }}public class SOShipmentEntryRead : PXGraphExtension<PX.Objects.SO.SOShipmentEntryWrite, PX.Objects.SO.SOShipmentEntry>{ [PXOverride] public void ConfirmShipment(SOOrderEntry docgraph, SOShipment shipment) { Base1.ConfirmShipment(docgraph, shipment); //Read the info }}There are 2 classes SOShipmentEntryWrite and SOShipmentEntryRead. SOShipmentEntryRead is an extension of SOShipmentEntryWrite.My hope was that ConfirmShipment in SOShipmentEntryRead would override ConfirmShipment in SOShipmentEntryWrite.Then I could use Base1.ConfirmShipment in SOShipmentEntryRead to call ConfirmShipm
I call WebDialogResult multiple times in a loop.However, this window is displayed only once:(My code:foreach (DateTime dateTime in dateTimeList) { WebDialogResult result = PaymentCalendar.Ask(ActionsMessages.Warning, PXMessages.LocalizeFormatNoPrefix(textMessage), MessageButtons.YesNo, MessageIcon.Warning, true); if (result != WebDialogResult.Yes) continue; } } Help me please
Hello community,I want to filter list records in Grid result by a custom field on screen Vendor Prices (APVendorPriceFilterExt.usrShippingTermID) How to override the original select statement and add condition?Source code of selects Records:[PXFilterable]public PXSelectJoin<APVendorPrice, LeftJoin<InventoryItem, On<InventoryItem.inventoryID, Equal<APVendorPrice.inventoryID>>, LeftJoin<INItemClass, On<INItemClass.itemClassID, Equal<InventoryItem.itemClassID>>, LeftJoin<Vendor, On<APVendorPrice.vendorID, Equal<Vendor.bAccountID>>, LeftJoin<INSite, On<APVendorPrice.siteID, Equal<INSite.siteID>>>>>>, Where2<Where<Vendor.bAccountID, IsNull, Or<Match<Vendor, Current<AccessInfo.userName>>>>, And2<Where<InventoryItem.inventoryID, IsNull, Or<Match<InventoryItem, Current<AccessInfo.userName>>>>, And2<Where<INItemClass.itemClassID, IsNull, Or<Match<IN
Hey guys,Hope you are all well, I am working on including some of our ISO records onto Acumatica. I have created a new from for Non-Conformance entries and a substitute GI for the entry screen.However, I keep receiving the error ‘Error: Another process has updated the 'NCRLog' record. Your changes will be lost.’ The first save works fine, however any actions thereafter, e.g., save, delete, cancel, all give that error. Has anyone encountered this before?I have attached my code files here.NCRLog.csGilcrestMaint.csThanks,Aleks
I’m following the steps in the article below to add a new method onto my GIRO data provider. My data provider is called .CheckGIRO. The attached package is intended to add a running total to the file (which ultimately needs to be a line number for invoices applied to the payment). Once I was able to add the method in the package and publish, I now get the following error trying to use it on the Batch Payments screen saying the method doesn’t exist.https://asiablog.acumatica.com/2016/08/configuring-batch-payments-for-custom.html
On the RowSelected Event, I am checking parameters and displaying a popup. The popup is working, but it displays the popup an endless number of times. I have tried adding a cookie when the dialog is displayed and required the cookie to not be there for the dialog to display again, but that does not seem to work.var response = HttpContext.Current.Response;if (!response.Cookies.AllKeys.Contains("mycookie")){ HttpCookie mycookie = new HttpCookie("mycookie"); response.Cookies.Remove("mycookie"); response.Cookies.Add(mycookie); Base.Document.Ask("This is a TEST.", MessageButtons.OK); return;} I am news to Acumatica Development, so any guidance or tips would be appreciated!
So normally when you want to require a field that’s a fairly simple task. But what can you do when you want to require a record to exist in a detail grid? For example, on the Customer maintenance page there is a SalesPersons tab. I want to make sure at least one record is in that grid before allowing the customer to save. Is that an easy task? I didn’t see anything in the grid properties that would make sense and figure it will likely have to be done with a graph extension, but not sure how to go about it. For example, there is no salesperson record saved here so saving the customer should result in an error: Thanks for any recommendations or tips!
Hi all,I have created a custom screen as seen below, showing payment reciepts for corresponding invoices. I have added the syncPostion attribute to the grid in order to be able to select and open the various payments via the provided link. However this is not happening.see below KIndly assistAny kind of response will be highly appreciated.Thank you
Hi, I am trying to access a variable in my graph extension from the script on my page, can someone please help me achieve this. Trying to build a URL in graph extension and sending it Javascript to render it in an iframe.This is the code, where i want to access the key field from this GraphExtension in my javascript function #region Selects public PXSelect<SOOrder> AllRecs; #endregion #region Event Handlers #endregion [PXString] [PXUIField(DisplayName="API")] public virtual String vartanaKey {get; set;} public PXAction<SOOrder> VACreateOrder; [PXButton] [PXUIField(DisplayName = "Create Order")] public virtual IEnumerable vaCreateOrder(PXAdapter adapter) { try { usrVAVartanaConfigGraph configGraph = PXGraph.CreateInstance<usrVAVartanaConfigGraph>(); VAVartanaConfig keyRec = configGraph.AllRecs.Select().FirstOrDefault(); vartanaKey = keyRec.UsrVAApiKey;//throw new PXException(vartanaKey.U
In 23R2, when you create a drop ship purchase order and select a value in the FOB Point field, then create a Sales Order from the Purchase Order, the FOB Point value is not being transferred to the Sales Order.Is this expected behavior or is this a bug?As a workaround, I’m trying to add an event handler to the CreateSalesOrder action. However, I believe this action is actually in the public class DropShipLinksExt : PXGraphExtension<POOrderEntry> extension. public class POOrderEntry_Extension : PXGraphExtension<POOrderEntry> { public static bool IsActive() => true; [PXOverride] public IEnumerable createSalesOrder(PXAdapter adapter, Func<PXAdapter, IEnumerable> baseMethod) { PXGraph.InstanceCreated.AddHandler(delegate (SOOrderEntry graph) { graph.RowUpdated.AddHandler<SOOrder>(delegate (PXCache sender, PXRowUpdatedEventArgs e) { SOOrder objSOOrder = e.Row
Hello Everybody,i added an action that i want it to modify a user defined field then i want to Call Actions.PressSave()to save the chages to the database.but the line Actions.PressSave() is getting this error: Error: The record cannot be saved.i know that i could use PxDataBase.Update, but the company doesn’t want this solution.is there any suggestions?
Hi,One of customized field values are not indication after the system upgrading in the system, which is a text customized field and the field name is UsrShipment_Num. other text customized fields are working without any errors which are same to the mentioned earlier. Is the issue arised due to the underscore ( _ ) symbol?what can I do for correct this issue?Please advise on this ThanksPrasad
I am thinking of spinning up a Linux partition, and changing over to Jetbrains Rider as an IDE this year.Has anyone tried developing Acumatica Customizations and running/testing them in Linux using an Apache Web Server as the app runner, and something like Rider IDE for development?Just wondering...
Hello - I have a situation where 2 different customisations are overriding the same method. In this case it is the ConfirmShipment method of the SOShipmentEntry graph. Like so...public class SOShipmentEntryExt : PXGraphExtension<SOShipmentEntry>{ public delegate void ConfirmShipmentDelegate(SOOrderEntry docgraph, SOShipment shiporder); [PXOverride] public void ConfirmShipment(SOOrderEntry docgraph, SOShipment shipment, ConfirmShipmentDelegate baseMethod) { //do some work }}Is there a way to control which customisation performs it’s actions first?
I created a new SCREEN RS301000,then I moved the business logic RSSVWorkOrderEntry.cs to the extension lib, the file was moved to the visual studio. Without making any changes, build the project and published it in the Customization project editor. After publishing I tried to open the SCREEN RS301000 but prompt an error as seen in the screenshot. code in the visual studio error when trying to preview
hi all, I have created New DAC and new screen just trying to put some data. But after creating new screen the fields inside screen is not showing anything. I have attached the screen shot below. Can anyone guide me how to do it? PS: I am new to Acumatica
Hi TeamWe have a requirement where on payment save we have to programmatically open the financial periods, if closed. I have tried to Implement logic in ARPaymentEntry graph on Save but it is not working as expected, can you help please to achieve this.public delegate void PersistDelegate(); [PXOverride] public void Persist(PersistDelegate del) { if (Base.Document.Current != null/* && Base.IsImport == true*/) { FinPeriodStatusProcess finPeriodStatusProcess = PXGraph.CreateInstance<FinPeriodStatusProcess>(); finPeriodStatusProcess.Filter.Current.Action = FinPeriodStatusProcessParameters.action.Open; finPeriodStatusProcess.Filter.Current.FromYear = "2024"; finPeriodStatusProcess.Filter.Current.ToYear = "2024"; string month = "202404"; string year = "2024"; FinPeriod masterFinPeriod = PXSelect<FinPeriod, Where<FinPeriod.fin
Hello allFor those that don’t know, the security setup has changed with Acumatica 2024R1. When installing a customization for the first time, it is now required that Access Rights to your custom screens be specifically stated otherwise they will not be available to any user/role.“If an administrative user adds a new site map node directly on the Site Map (SM200520) form, the system will automatically set the form’s access rights to Revoked for all user roles. Then the user should grant access to this form to particular user roles on the Access Rights by Screen (SM201020) form.”Our product has over 140 pages and I needed to create an Access Right for each one. While I could have added each one manually, I chose to create the xml for the project.xml via a TSQL script and paste the result into my customization. While I probably didn’t save much actual time, perhaps I can save some for you! Below find my quick and dirty script. You may need to customize the script in the following way
I have a query regarding GLTran and how it relates to the FATran table. Initially, the first records had the TranLineNbr column, but after a configuration made by the Acumatica web, these stopped being created and appeared as null.The initial relationship I could make was from GLTran: CompanyID, RefNbr, TranLineNbr --> FATran: CompanyID, RefNbr, LineNbr.Is there another way to relate these two tables so that they have a 1:1 relationship?Or what configuration was made so that this field no longer appears correctly?Build 23.209.0023Thank you very much for your attention.
Hi all, I am planning to get the complete customer data from my Acumatica instance and then going to put updated customer info from my local database to Acumatica Customer form in Attributes Tab. I want to ask which API should i use? Please help me to find the solution. I have read the documentation but did not get the point. If anyone guides me it would be appreciated. Thanks ALL>
Hi all, I want to know how to change header value of a field based on currently selected row in the grid of a form. As an Example, if you select the 2nd line of the grid as below. It should change the header field value immediately. This kind of functionality already there in Acumatica. But I was unable to find logic behind there.As you can see in Production Details Screen, Materials Tab Grid is changing based on user’s selection of above grid lines.Do you have any idea about this? Thanks
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.