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 I am Currently Customizing the Process Shipment screen and I want to add new value Print packing Slip to the existing, process shipment screen. I was able to add the new value via, the customization package.However, when I run my code, via extending the process shipment graph, I do not see the selected value. The goal I am trying to achieve , here is I want to run a report ( Shipment packing slip) via the process shipment screen. I have the report code working. All I want to do is , call this report via dropdown on the process shipment Action filter. public PXAction<SOShipment> printPackingSlip; [PXButton(CommitChanges = true)] [PXUIField(DisplayName = "Print Packing Slip", MapEnableRights = PXCacheRights.Select, MapViewRights = PXCacheRights.Select)] public virtual IEnumerable PrintPackingSlip(PXAdapter adapter) { return Base.Report(adapter.Apply(delegate (PXAdapter it) { it.Menu = "Print Packing Slip
I have a very strange issue that feels like a bug. I am iterating through a list of SOOrders and then using the following line to set the current order as the Document.Current:foreach (SOOrder order in orders){ orderGraph.Document.Current = orderGraph.Document.Search<SOOrder.orderType, SOOrder.orderNbr>(order.OrderType, order.OrderNbr); // ...}However, when performing this search for any order type that is not the Default Sales Order Type on SO Preferences, the value returned by the search is null.This gets deeper. I tested the following code with a simple action on SOOrderEntry:public PXAction<SOOrder> ActionName;[PXButton(CommitChanges = true)][PXUIField(DisplayName = "ActionName")]public virtual void actionName(){ SOOrder order = Base.Document.Search<SOOrder.orderType, SOOrder.orderNbr>(Base.Document.Current.OrderType, Base.Document.Current.OrderNbr); throw new PXException($"{order.OrderType} {order.OrderNbr}");}Notice I’m performing the search in the Base graph. T
I have a create production order screen , where in I need to customize and add two new column on create process.I want to extend the below code, which is on the CreateProductionOrdersProcess acumatica code, but I am not able to achieve that. public static void CreateProcess(List<AMFixedDemand> list, ProductionOrdersCreateFilter filter) { var prodMaintGraph = CreateInstance<ProdMaint>(); var createProdOrdersGraph = CreateInstance<CreateProductionOrdersProcess>(); Numbering prodNumbering = PXSelectJoin<Numbering, LeftJoin<AMOrderType, On<AMOrderType.prodNumberingID, Equal<Numbering.numberingID>>>, Where<AMOrderType.orderType, Equal<Required<AMOrderType.orderType>>> >.Select(prodMaintGraph, filter.CreationOrderType); if (prodNumbering == null) { throw new PXException(Messages.GetLocal(Messages.Numberin
I’m working on a customization to disable editing of Business Accounts under certain conditions.I have it working for most portions of the screen with the following code, but I cannot figure out how to access the DefLocationAddress view from my extenstion.Looking at the Acumatica source, it looks like that portion is implemented in an extension.Any idea how I can access that view from my extenstion to disable it? PXUIFieldAttribute.SetEnabled(e.Cache,row,false);PXUIFieldAttribute.SetEnabled(Base.Caches<Address>() , Base.AddressDummy.Current, false);PXUIFieldAttribute.SetEnabled(Base.Caches<Contact>(), Base.ContactDummy.Current, false);PXUIFieldAttribute.SetEnabled(Base.Caches<CSAnswers>(), Base.Answers.Current, false);PXUIFieldAttribute.SetEnabled(Base.Caches<CR.Standalone.Location>(), Base.BaseLocations.Current, false);ThanksScott
The hackathon at the Acumatica Summit drew close to 100 participants in January 2023. One of the projects that drew the most attention was the new Customization API that was introduced in the 2022 R2 version of Acumatica’s REST API. This feature now allows programmers to control and automate the release of their customization packages on the Acumatica platform. This is accomplished by leveraging 2022 R2 REST API Customization Endpoint. Some of the benefits of this API is to provide confidence through automated validation and publishing. It helps reduce the repetitive steps that you write in your workflow files. We can leverage GitHub Custom Actions for continuous integration, dependency updates, release management, and task automation.The REST API for this endpoint is fairly straightforward. Below are the 4 endpoints needed to successfully login, import, validate and publish your Acumatica customization package. The help documentation outlines the details of each endpoint. REST
Hello,I’m working on a customization where I have to attach subcontract files to Email subcontract action. So end user will get subcontract attachments in the email along with the default report.At present, acumatica allows only to send report assigned to subcontract in preference will send through email subcontract action. Along with report, I need to attach that particular record file with it.The action code contains SENDNotificaiton method with the attachment parameter.But with below code i’m able to send NOTEID of the file to the sendnotificaiton method but I’m unable to see my file in “ALL Email” screen.Base.Activity.SendNotification(APNotificationSource.Vendor, notificationCD, order.BranchID, parameters, _attachments);I’m sending NoteID value of the record to this method from my extended graph but the files are not attaching to the email. I have tried below code:using System;using System.Collections;using System.Collections.Generic;using System.Linq;using PX.Data;using PX.Object
I am looking to set the Price Class field to be required on the location screen when a customer is being created.So my attributes are set as below.This works fine on the customer screen but when I try to add a vendor or employee I hit a stop as the price class is not populated, price class isnt required on either so is there anyway just to enforce this requirement on the customer screen? [PXDBString(10, IsUnicode = true)][PXSelector(typeof(AR.ARPriceClass.priceClassID))][PXDefault(PersistingCheck = PXPersistingCheck.NullOrBlank)][PXUIField(DisplayName = "Price Class", Visibility = PXUIVisibility.Visible, Required = true)]
In 2023R1I have a custom field UsrOriginalPromise to the Purchase Orders Details. I am enabling all three fields shown below for closed orders.Requested Date is the Requested field with a modified label. Current Promise is Promised with a modified label. Those are built in fields that I am able to get enabled for editing.I added all three fields to the Closed Workflow. I also added the following code to finish the job of enabling the cache and enabling the fields: THIS IS IN THE PROJECT EDITOR, NOT VS.If I remove the comments from the lines below, the two built in fields get enabled, but the custom field does not, AND there are errors on the PO3010PL entry point screen and in the Project editor. public class POOrderEntry_Extension : PXGraphExtension<PX.Objects.PO.POOrderEntry> { #region Event Handlers protected void POLine_RowSelected(PXCache cache, PXRowSelectedEventArgs e, PXRowSelected InvokeBaseHandler) { if(InvokeBaseHandler != null) InvokeBaseHandler(cac
I am trying to upgrade a customer. I am getting an error in a few places, especially around printing reports. (From 2021 R2 to 2022 R2)I’m not sure how to debug this. The error is not tripped by my debugger. I go into Sales Quotes and try to do a “Print Quote” when I do that I get an error. I have no idea what report is being called, so I don’t know how to look at that.I tried to do an override of the PrintQuote function, so I could see what was going on inside of it but no dice. It wont permit an override. This is the source to it:public IEnumerable PrintQuote(PXAdapter adapter) { Dictionary<string, string> parameters = new Dictionary<string, string>(); string actualReportID = DefaultReportID; PXReportRequiredException ex = null; foreach (CRQuote item in adapter.Get<CRQuote>()) { Save.Press(); parameters[nameof(CRQuote.OpportunityID)] = item.OpportunityID; parameters[nameof(CRQuote.QuoteNbr)] = item.QuoteNbr; ex
Hi All,I am currently researching how to automatically send label files to a printer for printing.After reviewing the documentation, we found that we can utilize Acumatica Device Hub for this purpose. I would like to inquire whether Acumatica Device Hub can be installed separately on the client-side.Additionally, apart from using Device Hub, are there any other methods you would recommend for achieving automatic label printing? Thank you,Reggie
Hello everyone!, I hope someone can help me 🙂I have to change the label of a button, but I realized that it does not change the Translation Dictionary. Does anyone know another way to do it?
I have few customizations. I’m wondering why my Fields and Conditions in “e2SOCostCodeAndDepartment” are not reflecting. Maybe because I have another Customization for Sales Order after that? Here’s my customization:Here’s After it:
I have created a button on the Opportunities (CR304000) called 'Convert to SO’ which converts the current opportunity to a Sales Order. I would like to move the button to the Action Menu > Record Creation, how can I do it?The Acumatica version I am using is: 23.105.0016 (2023R1)
When I create unit tests, I reference PX.Tests.Unit.dll, but always have this error.although I don't use this 'Microsoft.Bcl.AsyncInterfaces’. Is there any good way to solve this problem?“Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”
I am working on a customization where i need a Multi-Selector on an unbound field.But i am getting an error on adding the second option: Here is the definition of the unbound field: And here the code for the PXCustomSelectorAttibute: ASPX:Are there any know issues or am i doing something wrong?
I wanted to change a PXSelector attribute on a DAC field to Fluent BQL syntax if possible in order to include a subquery. Is there any way to do a Fluent BQL equivalent of PXSelector that you know of?
Hi,I did a process to create a PO from a SO in the Sales Order screen. It works a bit different than the current create PO process where you specify the vendor details on the SO line and create the PO by clicking on an Action.The problem I have is when I call thePOCreate.CreateProcI don't get any exception that there was an error creating the PO. I only see the error afterwards in the Trace.PXLongOperation.StartOperation(Base, delegate () { try { POCreate.CreateProc(list, poFilter.PurchDate, poFilter.OrderNbr != null); } catch (PXRedirectRequiredException ex) { // Acuminator disable once PX1050 HardcodedStringInLocalizationMethod [Justification] // Acuminator disable once PX1051 NonLocalizableString [Justification] throw new PXException(ex.Message, ex.InnerException);
I’m using 2022 R2 Acumatica version. The use case here is to not allow some users to export in any form the reports, they can just view it.
Hi everyone, We have a requirement to implement PTO functionality in Acumatica. The Payroll module is not enabled in the system, and there is no plan to use it. Therefore, as I am aware, we cannot use the in-built PTO functionality of Acumatica. We are looking for a way (in-built or ISV integration) that could handle this requirement. The detail of the requirement is as follows:Employees accrue 1 day (8 hours) of PTO for every month of work performed (40 hours). This needs to be accrued throughout the year. Total of 96 hours can be accrued within a year. Partial carryover of PTO (40 hours) at the end of year is allowed. Employees should be able to request PTO leave for a particular date/dates. Ideally, there would be a calendar where they can view the requested and approved leaves. Approved leaves should be routed to the employee's manager for approval/rejection. Employee should be able to view their leave balance. Managers should be able to view Employees' leave balance summary.Apprec
User Description custom filed copy data create child order action click
I am struggling getting the redirect from my results to the document for the Inventory Allocation page on mobile. I have found the command it needs to use (ViewDocument), but I get an error anytime I try to tap on the record.Tracing the error, table name it is requesting is in the ASPX of the site, but I don’t know how to bring that in and tie it together.Refer to pictures & code below: Allocation DetailsFilter for Allocation DetailsError when I select a record on Allocation Detailsadd screen IN402000 { type = FilterListScreen add container "Selection"{ add field "InventoryID"{ selectorDisplayFormat = Key } add field "Available" add field "OnHand" # add field "Warehouse"# add field "Location" } add container "ItemPlansAllocationDetails"{ add field "AllocationType"{ listDisplayFOrmat = CaptionValue } add field "AllocationDate"{ listDisplayFOrmat = CaptionValue } add field "ReferenceNbr"{ listDisplayFOrmat = CaptionValue
We want to add the option to enter a Bill on the Mobile Workspace.On the Mobile Workspaces [AU220012] the Workspace ID for Payables is not visible.Possible workaround:Add a GI on the Mobile Workspaces MainpageI create a GI and selected Expose to the Mobile Application to view the Vendor Bills. On Acumatica you have the option for the GI to create a new bill as the Entry screen settings is set to Bills and Adjustments.This entry screen is not visible on the Mobile workspaceSecond workaround:Create a Dashboard that display the GI and display the dashboard on the mobile.Again the option to create a new Supplier invoice is not possible. How can this be achieved?
Hello all,Do we have a function in Acumatica that we pass a date and returns the WeekID which is used in EPTimeCard.WeekID? The format of WeekID stored in DB I see is “YYYY##” which ## is a sequential counter. I see Acumatica is using EPWeekRaw that has some properties including Start and End Date but I need it opposite. I have the date and I need the equivalent WeekID. I can calculate the Week # but I want to be consistent with what Acumatica does. considering Acumatica has Custom Weeks
Debug point not hit on the acumatica maint in 23R1 Version:23.105.0016
Hi,I want a custom selector on my project screen that functions the same way as the 'Owner' selector on the Project Quote screen. I have provided my code, and although I am getting a selector, it does not match the 'Owner' selector Of the Project Quote screen. #region UsrOwner public abstract class usrOwner : PX.Data.BQL.BqlInt.Field<usrOwner> { } [PXSelector(typeof(Search<Contact.contactID, Where<Contact.contactType, Equal<ContactTypesAttribute.person>, And<Contact.isActive, Equal<True>>>>), SubstituteKey = typeof(Contact.displayName), DescriptionField = typeof(Contact.fullName))] [PXDBInt(BqlField = typeof(CROpportunityRevision.ownerID))] [PXUIField(DisplayName = "Owner", Visibility = PXUIVisibility.SelectorVisible)] public virtual int? UsrOwner { get; set; } #endregionThe below mentioned data I want in my custom
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.