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 a very complex development database for testing a customization. In order to test my customization, I need multiple tenants with specific settings, logins etc. It takes hours to get a new instance setup completely to test.When I unpublish a customization and delete it, it appears there is still “junk” in the database that is keeping information which is causing problems.Example: I unpublish, delete the project, create a new one and whe I go to add a custom page. The title doesn’t show up. Or, it shows the previous screens which were deleted. I have to create a new screen ID (such as IC.10.10.01) in order for it to show the Title. I cannot find any way to add the title to this screen. Also, I can tell the database is got “junk” in it because it still shows previous site map items and screens. These two screens are not in my project or in the web site but they show up in the lookup screen:Note, I am working with a completely clean installation of the web site. The site it
This is for 2020 R2I am trying to have the base Shipment Confirmation form (so642000) pop-up in a new window or Tab when printined from the Shipments form SO302000 Currently, when you select the Reports > Print Shipment Confirmation the Shipment Confirmation opens in the current window. I can add a new form & set it to open in a new tab or Pop-Up but need some guidance on the existing form. Thank you!
Hello all,Is it possible to override a private method of a graph? There have been several times where I have would have liked to, but I lack the rights to such methods from extensions since they are technically different objects as the base graph. Does anyone have a work around for this?It’s frustrating seeing the exact line of code I need to change to do a simple customization but lacking access to it to make the change. Instead I end up writing an inefficient workaround using event handlers.Edit: For example, right now I’d like to override OpportunityMaint.FillDefaultBAccountID(), but I can’t using the standard PXOverride attribute & delegate since it’s private.
Hello, we’d like to note down some item’s expiration data, and that is optional.And we don’t like to enforce the lot tracking. Just like to note down some information.On customization screen, I did not find a way to enable it. I know how to add a customized field at line level. However, can I ask if it is possible or allowed that I simpily make the “expiration date” field enable? is there a way to do it? Becausing the customized filed would have the same business meaning with the original “expiration date” field, so I don’t want to add duplicated field unless it is a must.
Hello Team,I need your help.We receive an error during read the data from ERP with ContactReader classI/O error on GET request for “https://rest.zuora.com/v1/files/2c92a0ab766fb5f90176711562961250”:The error has the following view:connection reset; nested exception is javax.net.ssl.SSLException: Connection resetWhat we should do to eliminate this error?Thank you!
Dear community, I would like to show a message to the user from an event handler. In my case it is Events.RowInserted.I tried throw new PXException and PXSetPropertyException. Both are logged to the Trace but nothing pops up in the browser. Any help is welcome.
Hello, We have an existed code customization that to set order line warehouse field to user’s default warehouse setting (which is a customization field) The main codes are like below Users currentUser = PXSelect<Users, Where<Users.username, Equal<Current<AccessInfo.userName>>>, OrderBy<Asc<Users.username>>>.Select(Base); UsersExt userExt = PXCache<Users>.GetExtension<UsersExt>(currentUser); cache.SetValueExt<SOLine.siteID>(row, userExt.UsrDefaultW); It is working fine, however we don’t like it to work when creating transfer orders by screen “SO509000”. we’d like to leave the line warehouse to Acumatica’s original logic when processing transfer order creation on screen "SO509000" So, how can I tell the line is adding by request from “SO509000”?
I have a Generic Inquiry screen showing batches to post. When I select a batch it brings up my form. If I make any changes to the form and click Cancel button, I get a warning that my changes will be lost. If I click to continue, the changes are undone. That works perfectly.However, if I click Discard Changes and Close, I get a prompt that I will lose my changes. I click ok to continue and it takes me back to the Generic Inquiry screen. When I select that batch again, the form still reflects any changes I made to the Grid. The Description field is in the form section and it DOES NOT get saved when I reselect the batch to edit.At this point, if I refresh the browser, it redisplays everything as unchanged (good).This is what it looks like before I change anything:If I untick the Errors to clear them, I am updating the details records to clear the errors on the line protected void _(Events.FieldUpdated<ICSPending, ICSPending.hasErrors> e) { ICSPending
We have a development environment that has many instances of Acumatica installed and in the past week or two publishing from the customization project editor no longer works. The log window at the bottom opens and nothing is logged. There is a warning in the windows application log for ASP.NET.4.0.30319.0. I have included the details at the bottom. This is happening for all 20+ versions of Acumatica installed in any application pool. There is a workaround to update any changes through the editor, but then publish from the customization projects list screen (SM204505).Thanks,Kurt Bauer Event Log DetailsEvent code: 3005 Event message: An unhandled exception has occurred. Event time: 10/15/2020 8:42:56 AM Event time (UTC): 10/15/2020 12:42:56 PM Event ID: 908185df7ee84a46bd4210f5c030eb43 Event sequence: 15 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/XXXXXXX-2-132472393165235242 Trust level: Full Application Virtua
Hi,I trying to create shipment by code in Acumatica, it's working fine with Inventory item without Serial Number but im getting this error with item with serial number**PX.Data.PXRowPersistingException: 'SO Error: One or more lines have unassigned slots and / or lot / serial number**i m using this code to create the shipment:SOShipmentEntrysoShipmentGraph=PXGraph.CreateInstance<SOShipmentEntry>();soShipmentGraph.Clear();DocumentList<SOShipment>created=newDocumentList<SOShipment>(soShipmentGraph);SOShipmentsOShipment=newSOShipment();created.Add(sOShipment);soShipmentGraph.CreateShipment(newOrder,5,newOrder.OrderDate,true,SOOperation.Issue,created); what i m missing ? Thanks.
Hello,I'm trying to find the Business Logic of the Button “Process” to customise it in SOInvoiceShipment (screen “SO503000”).anyone can me help please?
Hello,I want to know if there are any solution to create the "LotSerialNbr" in SOShipLine By code.Best regards.
I’m a business event noob…. I feel like this is 99% complete and someone from this community could get this over the goal line. See screenshots below. I created a custom GI to list project records. The business event is supposed to create a new service order via import scenario when a new project has been created. The business event doesn’t process because “location can’t be found in the system”, however that location does in fact exist. Does anybody know what I’m missing or doing wrong?
How to add custom field to Base LotserialNbr Selector ??I am able to add custom field in Lot Serial Nbr Selector.But Display names are showing Tablename_FieldName or fieldnames instead of DAC display names...How to get DAC displaynames in this scenario??In my custom screen I defind LotSerialNbr selector by Inheriting from INLotSerialNbrAttribute as LotSerialNbr Selector in My custom screen:--------------------------------------------------------------[TSLotSerialNbrAttribute.TSAllocationLotSerialNbr(typeof(TSProdMTranSplit.inventoryID), typeof(TSProdMTranSplit.subItemID), typeof(TSProdMTranSplit.siteID), typeof(TSProdMTranSplit.locationID), typeof(TSProdMTranSplit.lotSerialNbr), FieldClass = "LotSerial")] Inheriting from Base INLotSerialNbrAttribute--------------------------------------------------------------- public class TSLotSerialNbrAttribute : INLotSerialNbrAttribute { private TSLotSerialNbrAttribute() { } public TSLotSerialNbrAttribute(Type
Hello,I’m trying to launch the same report from another screen but i got this error belowFYI : the report that i m trying to launch : SO644000 error : the function IsInventoryLocationLocked is not defined. Thanks :)
Hello! While selecting the value through selector ,it is disappearing.And also forward and backward buttons are not working.Can someone help me out.Here is the code for referenceDac: public abstract class assetCD : PX.Data.BQL.BqlString.Field<assetCD> { } /// <summary> /// A string identifier, which contains a key value. This field is also a selector for navigation. /// </summary> /// <value>The value can be entered manually or can be auto-numbered.</value> [PXDBString(15, IsUnicode = true, IsKey = true, InputMask = ">CCCCCCCCCCCCCCC")] [PXDBDefault] [PXUIField(DisplayName = "Asset ID", Visibility = PXUIVisibility.SelectorVisible)] [PXSelector(typeof(Search2<FixedAsset.assetCD, LeftJoin<FADetails, On<FADetails.assetID, Equal<FixedAsset.assetID>>, LeftJoin<FALocationHistory, On<FALocationHistory.assetID, Equal<FixedAsset.assetID>, An
What are some of the best practices regarding packing of generic inquiries in customization projects? Acumatica defaults the screen ID to GI.00.XX.XX, and if you try to publish a project with conflicting screen IDs it fails. I know we can change the screen ID ourselves, but I’ve seen issues in the past where this would completely break the automatic numbering when a user tries to add a new generic inquiry to the site map.
Hello, we have a little customization that to count each ship line’s qty according to the item’s temperature zone(which is also a customization field, but it does not matter here). It would be almost perfect, however it is having a little issue. If someone clear/delete all ship lines and save, the “totaldryunits” would not be set to 0. I read the code lines, it looks like foreach (SOShipLine line in Base.Transactions.Select()) this line would not be triggered, if all ship lines were cleared. I am not good at coding , can anyone help me how to trigger the total reset?
Recently I’ve noticed an issue that after I publish customization projects our users report that their saved filters are lost. Has anyone else experienced this? Is this a known issue?
I have a simple table and a grid to add records to it. The Account Mapping grid works. But on the Branch Mapping grid, when I click the “PLUS” icon, the icon goes grey and no new row is available on the grid.Before clicking PLUS This is what is looks like after clicking the PLUS icon: The table is very simple. When a Company is selected, the view for the grid is public SelectFrom<ICSBranchMapping> .Where<ICSBranchMapping.organizationID .IsEqual<ICSSetup.organizationID.FromCurrent>>.View BranchMapping; The ICSSetup table is even simpler: If I create a new record in ICSSetup, it lets me add 1 row to the ICSBranchMapping table But I cannot add another row.Here is the DAC for the ICSBranchMapping table The records in the DB all look fine after adding the 1 row it will allow me to enter.The action button is a dummy. The code has been commented out to ensure it has nothing to do with the issue.I forgot to mention, I CAN update the exi
We have a requirement to scan multiple vendor lot nbr for scan lot nbr.we have design screen like this we have used scan material and we are able to successfully scan on the master grid and we are not able to scan data on the child grid. what is the best possible way to achieve this??
Hello, When I set the value of GetExtension, the variable gets null. foreach (SOLine soline in listOfLine1) { SOLine line = new SOLine(); //…. code var lineExt = SOGraph.Transactions.Current.GetExtension<Objects.SO.SOLineExt>(); lineExt.UsrMargeLine = GetPercentMargin(line); SOGraph.Transactions.Insert(line); SOGraph.Actions.PressSave(); }Best regards.
HelloI dont know what wrong with this code : using System;using PX.Data;using System.Collections;namespace Attributs{ public class AttributsForm : PXGraph<AttributsForm> { public PXSave<ZattributsPlan> Save; public PXCancel<ZattributsPlan> Cancel; public PXSelect<ZattributsPlan> MasterView; public PXFilter<DetailsTable> DetailsView; [Serializable] public class DetailsTable : IBqlTable { } public PXAction<ZattributsPlan> CalcPrice; public PXAction<ZattributsPlan> CalcTest; [PXButton(CommitChanges = true)] [PXUIField(DisplayName = "Param Liste 1")] protected void calcPrice() { } [PXButton(CommitChanges = true)] [PXUIField(DisplayName = "Param Liste 2")] protected void CalcTest() { } }} I have this Error:
Using this code, accumatica create my new SOShipment from the new SOOrder. The new SOShipment is associated in New BranchId and that we need extactly.Problem : the ShipmentNbr of new SOShipment get the perfix of the Old BranchIdSOShipmentEntry soShipmentGraph = PXGraph.CreateInstance<SOShipmentEntry>();soShipmentGraph.Clear();DocumentList<SOShipment> created = new DocumentList<SOShipment>(soShipmentGraph);SOShipment sOShipment = new SOShipment();created.Add(sOShipment);soShipmentGraph.CreateShipment(newOrder,5, newOrder.OrderDate, true, SOOperation.Issue, created);
I was able to create a custom Table + Custom FormBut when i try to save the record nothing Happen CREATE TABLE [dbo].[ZparamAttributs]( [CompanyID] [int] NOT NULL, [TexteLibre1] [nvarchar](35) NOT NULL,PRIMARY KEY CLUSTERED ( [CompanyID] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY]GO//*************************************************************************************************<%@ Page Language="C#" MasterPageFile="~/MasterPages/FormView.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="GL202599.aspx.cs" Inherits="Page_GL202599" Title="Untitled Page" %><%@ MasterType VirtualPath="~/MasterPages/FormView.master" %><asp:Content ID="cont1" ContentPlaceHolderID="phDS" Runat="Server"> <px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%" TypeName="PlanComptable.ParamAttributs" PrimaryView="MasterView" &
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.