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 Goodnight.I have pdf files hosted in the cloud. I need to be able to visualize them in some section of acumatica. I developed a code to display it on a web page and it works without problems (HTML5 pages, javascript), but when adding the same code in acumatica the code does not mark an error but nothing appears. The code to visualize a pdf in a div is <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My PDF Viewer</title></head><body> <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.2.5/pdfobject.js"></script> <div id="example1" style="width: 700px; height: 500px;"></div> <script> document.addEventListener("DOMContentLoaded", function(event) { PDFObject.embed(`url_pdf`, "#example1"); });
Hi I am trying to add the project ID selector to the Item Classes screen. I have added a custom field and created a control and have tried to use the ProjectBaseAttribute to allow me to select a project and save it against the class. [ProjectBaseAttribute(DisplayName="Project ID")]When I validate I receive the following error:\App_RuntimeCode\PX_Objects_IN_INItemClass_extensions.cs(23): error CS0246: The type or namespace name 'ProjectBaseAttributeAttribute' could not be found (are you missing a using directive or an assembly reference?)\App_RuntimeCode\PX_Objects_IN_INItemClass_extensions.cs(23): error CS0246: The type or namespace name 'ProjectBaseAttribute' could not be found (are you missing a using directive or an assembly reference?)\App_RuntimeCode\PX_Objects_IN_INItemClass_extensions.cs(23): error CS0246: The type or namespace name 'DisplayName' could not be found (are you missing a using directive or an assembly reference?)\App_RuntimeCode\PX_Objects_IN_INItemClass_extensions.
Hi,I am customizing Approval Map concept for New Customized screen.I am getting solution for one-step approval, But not Multi-level Approval. To get Multi-Level Approval, Do I need to give any extra conditions/Additional code other than Single step approval logic??Thanks.
I have a scenario where I have multiple customizations adding different custom fields. In any time unknown number or combination of customizations can be published. Issue is I need to add a common field to a screen that should be available regardless what customizations are published.<AddItem> <PXCheckBox TypeFullName="PX.Web.UI.PXCheckBox"> <Prop Key="Virtual:ApplyStylesheetSkin" /> <Prop Key="ID" Value="CstPXCheckBox1" /> <Prop Key="DataField" Value="Usrtest" /> <Prop Key="CommitChanges" Value="True" /> </PXCheckBox></AddItem><DAC type="PX.Objects.CR.BAccount"> <Field FieldName="Usrtest" TypeName="bool" MapDbTable="BAccount" TextAttributes="#CDATA" StorageName="AddColumn"> <CDATA name="TextAttributes"><![CDATA[[PXDBBool] [PXUIField(DisplayName="test")] ]]></CDATA> </Field></DAC>// and db recordI have set levels for each of
I have 4 checkboxes and if I select any the others must be deselected. I'm using each one's FieldUpdate property, but it only works with Internal Budget with Vendor # 1, # 2, # 3 and # 4 not working.I show an example of how I am using the Field Updated event.InternalBudget FieldUpdatedVendor_1 FieldUpdated Enable commit changes property for each field but only works with InternalBudget. Anyone who can help me please?
Hello Goodnight. I new in acumatica. I have the following requirement: the phase codes field cannot be repeated.My validation already works but the data must be saved in the DB previously.The problem is when the user enters N number of rows (without saving before) that is when my validation does not work.This is how I currently do the validation (Row_Updated event). It works, but the data has to be saved in the DB before.Can you help me please. I think it should take data from the grid (cache) but I don't know how to do it.
I know that in 15 minutes after posting this, I will find my stupid mistake. Until then, I get the following error when publishing my project:Method System.Collections.Generic.List`1[PX.Objects.AP.APRegister] ReleaseInvoice(PX.Objects.GL.JournalEntry, PX.Objects.AP.APRegister ByRef, PX.Data.PXResult`4[PX.Objects.AP.APInvoice,PX.Objects.CM.CurrencyInfo,PX.Objects.CS.Terms,PX.Objects.AP.Vendor], Boolean, System.Collections.Generic.List`1[PX.Objects.IN.INRegister] ByRef, ReleaseInvoiceDelegate) in graph extension is marked as [PXOverride], but the original method with such name has not been found in PXGraphThis is the delegate I am using to override the ReleaseInvoice method. It looks to me like it is within the APDocumentRelease Graph. Any ideas why it is not publishing? This code compiles with no reference errors at all. The signature of my delegate looks spotless. :-)namespace PX.Objects.AP{ // Acuminator disable once PX1016 ExtensionDoesNotDeclareIsActiveMethod extension shoul
Hi Community,I’m trying to create a business even which relies on the time (using hours) but I only can see this based on days. The condition must trigger once it has been 4 hours after a case reported time.Is this possible?
I am posting a Bill from the Bills and Adjustments. There is a UDF UsrExtProjectID being saved in the APRegister table.When the JE gets posted for that bill, I want to set the UDF with the same name in the Batch table for the corresponding JE created from the bill.I am overriding the PostBatchProc method in the PostGraph graph. public class PostGraph_Extension : PXGraphExtension<PostGraph> { public delegate void PostBatchProcDelegate(Batch b); [PXOverride] public virtual void PostBatchProc(Batch b, PostBatchProcDelegate baseMethod) { baseMethod(b); Here is the section of the code doing the work: if (continueProcessingPID) { //get the Batch for the current transaction Batch batch = SelectFrom<Batch>.Where<Batch.batchNbr.IsEqual<@P.AsString>> .View.Select(Base, b.BatchNbr); if (batch.Module == "AP") {
I created a UDF for the Journal Transactions screen. It is a selector that pulls from a custom table. The ID of the value from the custom table is supposed to be stored in the UDF.When you create a new JE, the lookup works great!After selecting:So far so good. The problem is that when the RowSelected fires, the value is cleared from the field. There is one record in the custom table with an ID of 1. If I edit the Batch table and put a 1 in the UDF, and then go to that JE, the screen shows a “1”. It should show “TEST1 - Test 1” which would be what would show if you actually selected something. When creating a new JE, I selected the TEST1 from the selector. When I go to add a line item to the grid, the RowSelected handler fires. I put a little code in the handler to see if there is a value in that field:In the RowSelected event for the batch, the itemExt.UsrProjectID is null.The only thing I have to work from is the Acumatica Training code and there isn’t an example of adding a U
Hello everyone,So I’ve developed a customization that utilized popup dialogs using the View.Ask() method. It works great on a web browser, however when it’s triggered on mobile it displays the pop up as an error. Does anyone know how to properly display pop up dialogs on mobile?Thanks!
I have a setup table (ICSetup) which obviously should have only one record. When the table is empty and a graph tries to get the setup record, it is supposed to throw an exception to the screen and give the user the option to redirect to the setup form. This is not working for me. I debugged the code and the constructor call is creating the exception, but nothing is coming back to the screen. It just hangs.Here is the DAC: You can see that I have setup the PXPrimaryGraph to ICSetupMaint. That screen opens with no issue.In the InterTenantMaint graph, I have a PXSelect as follows:public PXSetup<ICSetup> Setup;The constructor for the graph is: public InterTenantMaint() { try { ICSetup setup = Setup.Current; } catch (Exception e) { string joe = e.Message; } } When you open the InterTenantMaint screen, it just hangs.In order to debug, I added a try-catch to see what th
Hello, I have a need to do something (subscriber) when the sales qty of 1 item reaches a predefined amount.I find the table INItemSalesHis contains the information. But the trigger does not work out in business event, like below Is there any other way I can fulfill my need.
I have a question on whether on the Sales Order Form, if there is a possibility when entering a value in a custom field in the summary area, when we enter a value to that, it triggers appearance of some selected columns in the table (line level).
Only happens when I try to preview. I can publish and run the screen fine.ASPx looks OK and there is no ColumnSpan property being set anywhere that I can see. <%@ Page Language="C#" MasterPageFile="~/MasterPages/FormDetail.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="AP504520.aspx.cs" Inherits="Page_AP504520" Title="Untitled Page" %><%@ MasterType VirtualPath="~/MasterPages/FormDetail.master" %><asp:Content ID="cont1" ContentPlaceHolderID="phDS" Runat="Server"> <px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%" TypeName="APCustomizations.APStaleDateLettersProcess" PrimaryView="Filter" > <CallbackCommands> </CallbackCommands> </px:PXDataSource></asp:Content><asp:Content ID="cont2" ContentPlaceHolderID="phF" Runat="Server"> <px:PXFormView ID="form" runat="server" DataSourceID="ds" DataMember="Filter" Width="100%" Height="100px" AllowAutoHide="false"> <Temp
In the mobile app | Attribute Code | Text field typeHow can a user see all the information that is entered in a text attribute code? It cuts off the information entered in the field. We can’t figure out how the user can see the entire text that was entered.Currently tested in attribute codes entered in Cases.
Hello,Is it possible in Acumatica to have a button that allows me to invoke a function that retrieves all the data from a screen and formats it as an XSD file? This button will be generalized on all screens containing the "Editions" action.The XSD files will be saved in a new destination.Best regards.
Good morning, we are developing a capture in "Form View", I include the image,In the "Marca" column we must select an element by name and take its key to place it in the corresponding table.It presents us with 2 problems, the first is that it does not convert long names to its key, it gives us an error that the field is longer than what is defined in the table and it assigns a different key to it; the second problem is that the fields that have an "&" in the name, it removes the ampersan and puts the text in place of the key.I am attaching the DAC code. #region Marca public abstract class marca : PX.Data.IBqlField { } [PXDBString(20, IsUnicode = true, IsKey = true)] [PXDefault()] [PXSelector(typeof(Search<CSAttributeDetail.valueID, Where<CSAttributeDetail.attributeID, Equal<attributeLaboratorio>, And<CSAttributeDetail.disabled, NotEqual<True>>>>), typeof(CSAttributeDetail.val
Tengo la necesidad de generar varios campos de filtro en un “Form View” y de estos elegirlos todos o solo aquellos que se requieran, la integración de los queries para filtros no me permiten hacer esto (o tal vez no se como), por lo que se me ocurre integrar en una variable la instrucción del Select para el filtro con base en los campos que requiera (desde uno hasta todos). La variable para el Select la puedo integrar pero requiero que algo la ejecute para que se aplique el filtro con base solo en los campos en los que se seleccionó información, Agradeceré si me pueden ayudar a resolver este problema.
Good Morning, Good Evening, Good Afternoon.. today i would like to find out if something might be useful or not.We are using the German equivalent to Acumatica called Lexbizz. It uses the same Infrastructure, just looks a bit cleaner and might be a bit improved at some points.So far so good. Let me Start at the beginning:HistoryWe already have a lot of Customers using Customizations to fit their needs. Some Customizations are bigger and more complex, others are quite small.But still - over time the number of customization projects increases and therefore ourneed to create a workable base for our project leads to work with them. What would we like to do?We would like to create certain new Screens. I created a small mockup in Paint to show what my ideas are. Please keep in mind that these will be in German. I will try to translate the most important things. 1. Create a addon for the System-Management Screen. We would like to implement a new sitemap entry going to our new screen.It should
Hi,While I was debugging the code in VS, I am getting dll.il not found.Am I missing any thing to add as reference in project or in Acumatica Instance.Can someone help me on getting this done.Thanks,
I am new to Acumatica development. I am currently working on creating a Screen (and corresponding Graph) that interacts with PR objects.One of my first tasks is to insert a new PR Employee based on the data of an existing EPEmployee. I have overridden the `Persist()` method and based my logic largely on the `InsertForImport()` method in `PX.Objects.PR.PREmployeePayrollSettingsMaint` .Relevant parts of my graph follows: using System;using PX.Data;using PX.Data.BQL.Fluent;using PX.Objects.PR;using PX.Objects.GL;using PX.Objects.EP;namespace PRImport{ public class PRImportNew : PXGraph<PRImportNew> { public PXSave<PREmployee> Save; public PXCancel<PREmployee> Cancel; public PXInsert<PREmployee> Insert; public SelectFrom<PREmployee>. InnerJoin<Branch>. On<PREmployee.parentBAccountID.IsEqual<Branch.bAccountID>>. Where<MatchWithBranch<Branch.branchID>. And<Mat
Hi,I always got PXData.PXLockViolationException a.k.a “another process has added…..”We are having a upgrade procedure right now.in my 2019 R1 Project same code, it works, but when on 2021R1, it returns me this error.Is there a new way to add lines programmatically in 2021 R1?I always do.var item = Details.insert();item.description = someDescription.Details.Update(item);but when I do Actions.PressSave() it triggers the error.been going here for weeks. I tried all solutions I can think about. Thanks, Ed
Hi,I’m using ScreenInfo to store all the screen details to custom table.Able to get ViewNames and fields but unable to get Table name for the respective views.Is there a way to fetch table name using ViewName or any other way to get all the screen details(Tables,ViewNames and fields)?.
Similar to this topic:I have a working processing UI that I want to use to create individual PDFs (from a report) and save to disk. At the end of the process I want to show the same report (all together) in preview with the same records used to create the individual PDFs. I have a working report but am struggling with how to get the joined tables in my PXReportResultSet since my delegate only gets the main table passed in as List.I’m sure I could BQL query these somehow or run a full BQL query again by passing in the filter (based on the referenced technique) but not sure if there is a better way to just grab these from the results already retrieved for the UI. Here is my code: public APStaleDateLettersProcess() { DetailsView.SetSelected<APQuickCheck.selected>(); DetailsView.SetProcessDelegate(Process); } public PXCancel<APStaleDatedCheckFilter> Cancel; public PXFilter<APStaleDatedCheckFilter> Filter; p
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.