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 have created attributes on the attributes form belowAnd these values should be shown as multi-select in Sales Order Line in a user defined field, code is below for getting those values, but in the field it only shows combo box (one value selection).public class SOOrderEntry_Extension : PXGraphExtension<SOOrderEntry> { #region Event Handlers protected void SOLine_UsrAccessories_FieldSelecting(PXCache cache, PXFieldSelectingEventArgs e) { List<string> allowedValues = new List<string>(); List<string> allowedLabels = new List<string>(); foreach (CSAttributeDetail objCSAttributeDetail in PXSelect<CSAttributeDetail, Where<CSAttributeDetail.attributeID, Equal<Required<CSAttributeDetail.attributeID>>>>.Select(Base, "ACCITEMS")) { allowedValues.Add(objCSAttributeDetail.ValueID); allowedLabels.Add(objCSAttributeDetail.D
Hi,Appologies if this question is not clear, I am still learning -- I am trying to extend the SOOrderEntry graph and need to create a SelectFrom query that uses as a parameter the OrderNbr of the Sales Order that is currently opened by the user for editing. Is there a way to access this?I have tried: public SelectFrom<WorkflowVars>.Where<WorkflowVars.refordernbr.IsEqual<Current<SOLine.orderNbr>>>.View WorkflowVars;Among other similar queries, with no luck.If it is helpful, the error I am getting with the above query is The type 'PX.Data.Current<PX.Objects.SO.SOLine.orderNbr>' cannot be used as type parameter 'TOperand' in the generic type or method 'BqlOperand<WorkflowVars.refordernbr, IBqlString>.IsEqual<TOperand>'. There is no implicit reference conversion from 'PX.Data.Current<PX.Objects.SO.SOLine.orderNbr>' to 'PX.Common.IImplement<PX.Data.BQL.IBqlEquitable>'.Which I believe is because ‘Current’ is returning Null, but just a gue
I started using user defined fields instead of creating data fields in my customization project. I created about 20 fields and added them to the Contacts form. I don’t want to see them on the UDF tab that gets automatically generated, so I made them all Hidden. Then, I went into my customization and added them to a new tab I created. Everything works so far. I also recently started working on creating Business Events. I want to be able to check for value changes in one of my UDFs. But I don’t see the fields on the Trigger Conditions options. Is there something I need to do so I can use those fields in my trigger logic?
Hello good night, I need to load the data of my "selector Phase Code" with the value that I select from the "selector Estimate Nbr". Currently when I change the value of the “estimate Nbr selector”, the values of the “PhaseCode selector” are not updated. I need them to be updated dependent on the Estimate Nbr selector Example of mi Screen Example of PhaseCode DAC #region IdPhaseCode [PXDBString(15, IsUnicode = true, InputMask = "")] [PXSelector(typeof(Search<CEEstimateEstimate.idPhaseCode, Where<CEEstimateEstimate.estimateNbr,Equal<CEBidLeveling.estimateNbr.FromCurrent>>>), typeof(CEEstimateEstimate.idPhaseCode), typeof(CEEstimateEstimate.idAccountGroup), SubstituteKey = typeof(CEEstimateEstimate.idPhaseCode))] [PXUIField(DisplayName = "Phase Code")] public virtual string IdPhaseCode { get; set; } public abstract class idPhaseCode : PX.Data.BQL.BqlString.Field<idPhaseCode> { } #endregionIn the properties of PhaseCode and Es
tengo un filtro con 7 campos en un FormTab, después de capturar y guardar la información en su tabla correspondiente, la que se encuentra en dos grids, requiero restaurar solo 3 campos del filtro para dejar fijos 4 y solo seleccionar la información de esos 3 campos del filtro, ¿existe alguna forma o instrucción para limpiar solo esos 3 campos del filtro, después de haber guardado la información en la tabla ?, como se muestra en la imagen.
Good dayI please need some help in adding a new column to the Employee Time page.The field would show the customers name next to the product that it is linked to, the project displays on the grid by default.At the moment I cannot seem to add an additional column to the grid, I added it via a customization and the field does show in the customization project but when previewing the page the column is not in the gridPlease assist me with this
I tried to create an attribute and then a UDF for a custom field I need to add to the Contact form. I created a custom project, I created the new field (as a string of length 10) and I added it to the Contacts form. By Default, everything works fine. It’s a string field and I am able to enter and save values. However, I want to change it to a combo box so I can restrict the user’s entries. In my custom project, I go to “customize” the attributes and I use the following:[PXDBString(10)][PXStringList(new string[] {"N", "P", "Y"}, new string[] {"No", "Pending", "Yes"})][PXUIField(DisplayName="Status")]It always gives me a TextEdit. Am I missing a line of code?In the past, I have created the new field as an Integer and used the following code:[PXDBInt][PXIntList(new int[] {1, 2, 3}, new string[] {"No", "Pending", "Yes"})][PXUIField(DisplayName="Status")]This works and I could do this but I’m trying to keep the values as string and not integers.
Hello, Can we use the viewBag in Acumatica?or pass a value for example from Graph CAEntry to CAReleaseProcess Thanks.
Hello,Can I get this one fixed or at least hint will be greatful,I am facing on weird issue, I have a custom selector for loading Inventories based on Original Ref nbr’s(Purchase order, Purchase receipt, Receipt, Transfers etc,).Working: When I add same Original ref nbr from first line (refer screenshot) able to save Inventory CDIssue: After adding one more line of different Ref nbr and save it is being converted to Inventory ID.Thanks,cc: @Gabriel Michaud @community-admin
Hi Team,Every time when I start debugging the code I am encountering the issue ,I build the code many times and refreshed the instance again getting same, Does any one know how to fix this . Thanks,
How to pass a variable in parameter between two screens?
Can we change the function of the Save and Close button?If yes, How can we change it?
Hi,i have few custom fields in InventoryItem DAC and using those fields in both template and stock item screen.When matrix items are generated data is copied to those fields from Template to generated items. I wanted to restrict copying of the data,i have found one method to restrict copying,inherited the class and tried to overrided the method and have my fields included there but inherited class is not at all executing.Below is the code that i have tried. public class CreateMatrixItemsHelperExt : PX.Objects.IN.Matrix.Utility.CreateMatrixItemsHelper { public CreateMatrixItemsHelperExt(PXGraph graph) : base(graph) { _graph = graph; } public delegate void CreateUpdateMatrixItemsDelegate(InventoryItemMaintBase graph, InventoryItem templateItem, IEnumerable<MatrixInventoryItem> itemsToCreateUpdate, bool create, Action<MatrixInventoryItem, InventoryItem> beforeSave = null); [PXOverride] public void CreateUpdateMatri
Hello,Imagine the next scenario: Acumatica has multiple version 20R1, 20R2, 21R1 One Developer focus on 20R1 One Developer focus on 20R2 One Developer focus on 21R1What happens when a developer has to modify the three of them? I think they: Developer create three branches in github (or other tools) Developer create three local instances (one for each version) What happens with Visual Studio? What are the steps to follow to configure correctly? Developer needs to do something else?
Can the AR Manager enter notes in the Customers’ form on the Activities tab and have them be Private?
Hi All, In the code snippet below, how do I access the value for the field TranCost? I can’t get to it using row.tranCost. This is on the screen PO303000. protected void POLandedCostReceiptLine_RowInserted(PXCache cache, PXRowInsertedEventArgs e) { var row = (POLandedCostReceiptLine)e.Row; } When I use row.tranCost I get the following error: \App_RuntimeCode\POLandedCostDocEntry.cs(220): error CS1061: 'object' does not contain a definition for 'tranCost' and no accessible extension method 'tranCost' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) Maybe I just have the field name wrong. I am trying to get to the Extended Cost amount for the line. I tried inspecting but I am not able to because the grid is not editable so I always only get the details for the whole grid and not the column I click on. I looked at the table in the database and the field is named TranCost.
I’m trying to override a method using this code below using System;using PX.Data;using PX.Common;using System.Collections;using System.Collections.Generic;using System.Linq;using PX.Objects.CS;using PX.Objects.GL;using PX.Objects.CM;using PX.Objects.TX;using PX.Objects.AP;using PX.Objects.AR;using PX.Objects.IN;using PX.Objects.GL.FinPeriods;using PX.Objects;using PX.Objects.CA;namespace PX.Objects.CA{ public class CAReleaseProcess_Extension : PXGraphExtension<CAReleaseProcess> { public delegate IEnumerable<Batch> ReleaseDocProcDelegate<TCADocument>(JournalEntry je, ref List<Batch> batchlist, TCADocument doc) where TCADocument : class, ICADocument, new(); [PXOverride] public IEnumerable<Batch> ReleaseDocProc<TCADocument>(JournalEntry je, ref List<Batch> batchlist, TCADocument doc, ReleaseDocProcDelegate<TCADocument> baseMethod) where TCADocument : class, ICADocument, new() {
How do I check for a data type in the generic inquiry screen? Like iif( ISNUMBER([FIELD]), True Path, False Path)I have an Inventory Item Attribute that USUALLY holds an integer value. I wish to do math on this value when it is an integer, but when it is a text string it crashes the report. If I could do some kind of error checking like in Excel, I can force this to work by using IIF to ignore non-integer values.
Hi,I am trying to get the default DAC and its primary view from the Type. Any suggestions?I have Type defined as belowand I have field as below values
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.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.