Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
After publishing the project at the end of step 1.4.3 of T200 course I cannot see anymore the grids on Screen Editor RS201000. I can see the screen and add/edit data on this screen when I click Phone Repair Shop on Acuamtica main pane though. I am doing the course on Acumatica 2023.R1.
Hello All,When Acumatica’s Copy/Paste engine is running and the Graph’s IsCopyPasteContext is true how we can access the current record which is used as original record to create copy from it? In the event handlers as platform starts defaulting, inserting, … we can access the copy of the record but I don’t know how I can get the original record that drives the copied one.
I am looking into customizing SO301000 to automatically update the SOLine SalesPersonID when ever the Order Default SalesPersonID is updated. Occasionally, we will copy an order and change the customer ID. When you change the customer ID it removes the SOLine SalesPersonID from every line. We never have more than one salesperson on a sales order. So we would like to be able to quickly update every SOLine with the default salesperson ID by simply updating the Order Default SalesPersonID. I thought maybe this could be handled with a document Event Handler or Events at the field level within the screen. I have tested neither methods, because I am not too familiar with Event Handlers yet. I did create a test Event Handler but did not see the SOLine SalesPersonID field as an option to Update after changing the document default salespersonid. Any ideas?
I am just starting to learn Unit Testing. My custom graph references BAccount, Customer, and about 10 other tables which need data in them. For example, to create a customer, I need to have a Customer Class. The customer class has to reference GL accounts. (Joe falls down the rabbit hole and is never seen again).It would be a MONUMENTAL task to create the data in the caches. I’ve scoured the internet to see if I can use an actual database to use for tests. Is there any way to attach to the sample data in SQL server? If not, then Unit Testing is pretty much useless. In order to get my application certified for the Marketplace, I’m supposed to provide Unit Tests. That is just not feasible. My testing requires a full set of data like is provided in the Acumatica sample data.Any suggestions?
Hi everyone,Currently trying to get our version of Acumatica into a sandbox environment so that I can work on customizations without messing up the live environment. However, I keep running into issues and the latest one is that acumatica says I’m missing a file and that’s the reason why I can’t publish anything. Not sure how that’s possible As I downloaded a snapshot and used that in the installation process. We are on version 2022 R2.Error Message I get is: An error on the page ~/Pages/LP/LP303000.aspx with the message: Cannot access the uploaded file. Failed to get the latest revision of the file 592af516-fdab-4bb2-9c7e-3f71618f0f3eIf anyone knows how to fix this that would be much appreciated. Kind regards, Jacob
CSAttributeDetail shipTypeDetail = new PXSelect<CSAttributeDetail, Where<CSAttributeDetail.attributeID, Equal<Required<CSAttributeDetail.attributeID>>, And<CSAttributeDetail.valueID, Equal<Required<CSAttributeDetail.valueID>>>>> (Base).Select("MFGPRPALLE", attributeID.Value); What is the best way above code use in PXSelector ?
I am trying to populate the dynamic material no based on this above report condition. #region TransactionDate [PXDate()] [PXUIField(DisplayName = "Transaction Date")] [PXUnboundDefault(typeof(Today))] public virtual DateTime? TransactionDate { get; set; } public abstract class transactionDate : PX.Data.BQL.BqlDateTime.Field<transactionDate> { } #endregion #region Status [PXString(1, IsFixed = true)] [PXUIField(DisplayName = "Status")] [PXDefault("H")] [PXStringList( new string[] { DocStatus.Hold, DocStatus.Balanced }, new string[] { "On Hold", "Balanced" })] public virtual string Status { get; set; } public abstract class status : PX.Da
Hi, For RC Orders in Sales order Screen, Basically when we bring the values from “Invoice Filter” Action it brings inventory items with invoice Nbrs in SOLine. And it Sometimes displays errror message on Qty feild “The return quantity exceeds the quantity available for return for the related invoice line AR010261, FOODCHIP36. Decrease the quantity in the current line, or in the corresponding line of another return document or documents AR010308, AR010316 that exist for the invoice line”, i Have also created another Action button in the grid,that works excatly like invoice filter action, i can bring the inventory items with invoice id to the SOLine grid, But i cannot display the error message that is being displayed with “Add Invoice Action” , Upon doing some R&D, i came to know that the error message is being displayed from “MemoCheck()” Methrod of “SOOrderItemAvailabilityExtension” graph, Hear is the sample code public virtual bool MemoCheck(SOLine line, bool persis
Hi, I modify the exiting UI controls values after calling API. But after changing the values Save button not activated. Can someone check this and give me the answer?Here is by graph code and screen.public class HMRCVendorRegisterMaint : PXGraph<HMRCVendorRegisterMaint>{public SelectFrom<HMRCVendorRegisterDetail>.View VendorRegisterDetail;public PXAction<HMRCVendorRegisterDetail> VerifyVendor;[PXButton(CommitChanges = true)][PXUIField(DisplayName = "Verify Vendor", MapEnableRights = PXCacheRights.Select, MapViewRights = PXCacheRights.Select, Enabled = false)]protected virtual IEnumerable verifyVendor(PXAdapter adapter){ //Responce from the API HMRCVendor hMRCVendor = serializer.Deserialize<HMRCVendor>(response.Content); if(hMRCVendor!= null) { VendorRegisterDetail.Current.HMRCVendorVerified = hMRCVendor.IsValid; VendorRegisterDetail.Current.HMRCVendorPrecentage = hMRCVendor.VendorPrecentage; VendorRegisterDetai
I have created 'Load Records from File' on Document Templates screen. However, when I Import, the 'TemplateId' attribute is missing in Property NameIn the AUTemplateData table, there is the attribute 'TemplateId' Here is my code [PXImport(typeof(AUTemplateData))] public PXSelectJoin<AUTemplateData, InnerJoin<AUTemplate, On<AUTemplate.templateID, Equal<AUTemplateData.templateId>>>, Where<AUTemplateData.templateId,Equal<Current<AUTemplate.templateID>>>> Items;How can i fix it ? Can someone please help me.
Hello All,I am trying to trigger FieldSelecting Event in a graph extension for EPApprovalProcess (ScreenID EP503010) but I am not sure why the event is not triggered while in the same extension RowSelected Event is triggered just fine. I had this issue in the past on a different graph that Generic Method was not working and with @Yuriy Zaletskyy guidance I switched to the traditional method DACName_FieldName_Event syntax style and worked fine (see below post). So I thought I had learnt from it so I tried both methods but it didn’t work. Please see the below code I have tried all possible methods but none of them are triggered.using PX.Data;using PX.Objects.EP;using static PX.Objects.EP.EPApprovalProcess;namespace MYTest{ // ScreenID EP503010 public class MYEPApprovalProcessExt : PXGraphExtension<EPApprovalProcess> { public static bool IsActive() => true; // This Row Selected Event IS triggered protected virtual void _(Events.RowSelected<EPOwned
Hi Team,I need to filter out vendors who are not in the my custom table (HMRCVendorRegisterDetail). I wrote following but it is not showing me the results. Any alternative for this?Only one vendor code is exists in the HMRCVendorRegisterDetail table [PXSelector(typeof(Search2<BAccount.bAccountID, LeftJoin<HMRCVendorRegisterDetail, On<BAccount.bAccountID, Equal<HMRCVendorRegisterDetail.bAccountID>>>, Where<BAccount.type, Equal<BAccountType.vendorType>,And <HMRCVendorRegisterDetail.bAccountID, Equal<Null>>> >), typeof(BAccount.acctCD), typeof(BAccount.acctName), SubstituteKey = typeof(BAccount.acctCD), DescriptionField = typeof(BAccount.acctName))]
Hi Team, I need to add the exiting database values to controls after selecting the particular vendor. I wrote some code and it is not working it clears the all controls. Can someone help me out? protected void _(Events.FieldUpdated<HMRCVendorRegisterDetail, HMRCVendorRegisterDetail.bAccountID> e) { HMRCVendorRegisterDetail row = e.Row; if (row.BAccountID != null && row.BAccountID > 0) { HMRCVendorRegisterDetail vendorDetail = PXSelectReadonly<HMRCVendorRegisterDetail, Where<HMRCVendorRegisterDetail.bAccountID, Equal<Required<HMRCVendorRegisterDetail.bAccountID>>>>. Select(this, row.BAccountID); VendorRegisterDetail.Current = vendorDetail; //VendorRegisterDetail.Current.Hmrcregid= vendorDetail.Hmrcregid; //VendorRegisterDetail.Current.Active = vendorDetail.Active;
Hello, I am trying to update the AR Payment when the capture button is clicked, prior to capturing. I need to add Entry Charges programmatically and then let the capture do the rest of its base processing. I have the below code but during the Save, I am receiving a PXLockException error, and a message that another process has updated the ARRegister. Can you please provide guidance on how I can properly update the record prior to the base method and let basemethod do its process based on the updated record?public class ARPaymentEntry_PaymentTransactionExt : PXGraphExtension<ARPaymentEntryPaymentTransaction, ARPaymentEntry> { public static bool IsActive() => PXAccess.FeatureInstalled<PX.Objects.CS.FeaturesSet.integratedCardProcessing>(); public override void Initialize() => base.Initialize(); public delegate IEnumerable CaptureCCPaymentDelegate(PXAdapter adapter); [PXOverride] public virtual IEnumerable CaptureCCPayment(PXAdapter adapter,
I’m creating SDK tests and I need to fill in the value for attribute. I’m able to find the needed row and it clicks on it, but I cannot insert any value to it. The error is “Could not find a web element”.I tried to make it with DynamicControl but it throws error as well (tried DropDown, DropDownList - nothing works).Could someone please help me out?
Hi,Im having problem generating page wrapper with ClassGenerator tool. Its config looks like<?xml version="1.0" encoding="utf-8"?><configuration> <appSettings> <add key="SitePhysicalPath" value="C:\Acumatica\PhoneRepairShop1" /> <add key="GenResultPath" value="C:\Acumatica\Plugins\Test SDK\ClassGenerator\Out" /> <add key="Username" value="tmuser@TIGER" /> <add key="Namespace" value="GeneratedWrappers.Acumatica" /> <add key="ClearOutput" value="false" /> <add key="FilenameFilter" value="*GL301000*" /> <!--<add key="PagesList" value="list.txt"/> <add key="PagesListAttribute" value="exclude"/> <add key="PagesListAttribute" value="include"/> <add key="PagesParameters" value="ParamsPP.txt"/> <add key="GenericInquiryParameters" value="ParamsGI.txt"/>--> </appSettings> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
I need to change the values of the UI fields after button click.This is my button click event in graph and screen. Can some one help me out?protected virtual IEnumerable verifyVendor(PXAdapter adapter){ bool isActive = false; string utrNo = "55656565SSS"; //Need to change UI Active and UTR fields values from above return adapter.Get();}
I want to add filter by branch in filter section for data view
Hi,I added new Field (Selector of Inventories/Any Data) in Physical Inventory Count grid.If I enter Value in one line, remaining Lines Value get Vanishing.Is there any Base Code affecting this or any approach to do for this screen??Thanks.
Hi Acumatica Community Hope everyone is well.I’m busy testing an upgrade in my Sandbox Environment from version 2022 R2 to 2023 R1 and I’m getting the following error on one of our customizations when I compile it Visual Studio:Could not load type 'PX.Objects.CR.EPActivityDescriptionAttribute' from assembly 'PX.Objects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Things I have already tried:Removed Reference to PX.Objects and re added from my Sandbox Environment’s Bin folderKind RegardsMarilize van Zyl
so ARInvoice the value of field display but in Application history not display. What’s happen ?
I am going through this document.Configuring Development Environment (acumatica.com)In this document, the screenshot has an option to deploy acumatica framework tools, but I am missing that option in my ERP Configuration Wizard. I am guessing that things have changed, but the documentation hasn’t been updated. If this wizard has changed, how do I go about creating my first vs project?
I need to convert following Json output into List. Can someone help me?[{"VendorCode":"V000000001","UTRNo":"T045353","IsValid":true,"VendorTypeID":1},{"VendorCode":"V000000002","UTRNo":"S569000","IsValid":true,"VendorTypeID":2},{"VendorCode":"V000000003","UTRNo":"S569000","IsValid":false,"VendorTypeID":2}]This is my code.protected virtual IEnumerable verifyVendor(PXAdapter adapter){ HMRCAPIConfigDetail hMRCAPIConfigDetail = SelectFrom<HMRCAPIConfigDetail>.Where<HMRCAPIConfigDetail.active.IsEqual<True>>.View.Select(this) ; if (hMRCAPIConfigDetail == null) { WebDialogResult result = VendorRegisterDetail.Ask(ActionsMessages.Warning, Messages.APIActiveErrorMessage, MessageButtons.OK, MessageIcon.Warning, true); } else { var client = new RestClient(); var request = new RestRequest(hMRCAPIConfigDetail.Apibaseurl, Method.GE
I have two customizations. The main customization add fields for Margin and Margin % for the Quotes screen. This is the C# Code declaring them: #region UsrASGMarginPercent [PXDBDecimal] [PXUIField(DisplayName = "Margin %", Enabled = false)] public virtual decimal? UsrASGMarginPercent { get; set; } public abstract class usrASGMarginPercent : PX.Data.BQL.BqlDecimal.Field<usrASGMarginPercent> { } #endregion #region UsrASGMarginCury [PXDBDecimal] [PXUIField(DisplayName = "Margin", Enabled = false)] public virtual decimal? UsrASGMarginCury { get; set; } public abstract class usrASGMarginCury : PX.Data.BQL.BqlDecimal.Field<usrASGMarginCury> { } #endregionIn the second Customization, I have added a field for Markup: #region UsrASGMarkup [PXDBDecimal] [PXUIField(DisplayName = "Markup ", Enabled = false)] public virtual decimal? UsrASGMarkup { get; set; } public abs
Hello Experts,We have a client request to display the sales order description on both the Inventory Issue and Inventory Receipts screens.We've successfully implemented the description display on the Issue screen, but we're facing issues when trying to create receipts from a sales order. Even for existing orders, the description isn't showing up on the selected row.Please refer to the attached screenshots for details from both the database and debugging:In Database:In Debug: We would greatly appreciate any assistance with this matter.Here's the code we're using for both screens, as they share the same DAC (INRegister):For the Issue screen, we're using the RowPersisting event. For the Receipts screen, we're using the RowSelected event. var row = (INRegister)e.Row; if (row == null) return; var soDescription = PXSelect<SOOrder, Where<SOOrder.orderNbr, Equal<@P.AsString>>> .Select(Base, row.SOOrderNbr).TopFirst; cache.SetValue<
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.