Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
Hi everyone,i’m facing a problem when i populate the Sales quotes lines from an imported file, everything is working fine when the lines were populated, but when i choose a customer from the header field, the fields returns zero for all the rows : Unit Price with the valuesand after choosing a customer: field returns 0i tried to use RowUpdated to get the old values back if the new value is 0 : public static bool IsActive() => true;protected virtual void _(Events.RowUpdated<CROpportunityProducts> e){ var nR = e.Row; var oR = e.OldRow; var nUnitPrice = nR.CuryUnitPrice; var oUnitPrice = oR.CuryUnitPrice; if (nUnitPrice == 0) { nR.CuryUnitPrice = oUnitPrice; } }the code works fine, but the Ext Price is still showing 0, and automatically the Amount field also: Any thoughts?
My Requirements: (Doing this for learning purpose)An integration between an employee management web app and Acumatica ERP, just need to push the salary payment data to the ERP.My Current Approach:I have created a DAC called EmloymentHeroRawData which stores the raw data received from the employee management web app. I have created the web service endpoint and it works as expected. Now I need to create journal transaction entry, it should include the all transaction entries in the EmloymentHeroRawData DAC, excluding the already process rows. That part also works in my code.after entering a row to a journal transaction entry I need to change the its status in to “COM”. But that part is not working.When doing debugging I create a separate action called ToggleStatus just to change the status of all recode. But it also not works it gives following error.Error: An attempt of an update of the whole table EmloymentHeroRawData was detected because of missed key values.Code : namespace Fruitspot
I have exposed the following form below to mobile application Mobile When I click PAYMENTVIEW I get a list of payments as follows when I open and update the selector checkbox, it is not updated when I go back and goes back to “NO” what could be preventing updating of the checkbox?kindly assistany kind of reponse will be highly appreciated.
Good day,I have a customization project that a part of it consists of establishing a control of line creation on the Purchase order and the Bills and adjustments based on the costcode, if the costcode entered by the user does not belong to the combination of the project, project task and account group the line should not be saved, and an exception should be thrown, but my issue is that in the PO it is working, but in the Bills and adjustment is giving me an error: Error: Another process has added the 'APInvoice' record. Please try again. I don't know if there is a validation or something I need to change, I will appreciate suggestions. Thank you.[PXOverride] public void Persist(Action del) { APInvoice apvar = Base.Document.Current; var BillsCache = Base.Caches[typeof(APTran)]; foreach (APTran apTran in PXSelect<APTran, Where<APTran.refNbr, Equal<Required<APTran.refNbr>>, And<APTran.tranType,
I am trying to upgrade another persons code from 2023 R1 to 2024 R1. There is a line as follows which compiles in 2023:In 2023, the decompiled code shows it is part of PX.Data.PXAutomation In the 2023R2 developer release notes, I see it was removed:NetTools/PX.Data/Process/Automation.cs PX.Data PXAutomation Is there a replacement for this? I’m not sure what that line of code even does.
The form (PO505000) used to create a PO, we want to be able to apply a filter to the PONbr field, which belongs to the FSSODetSplit DAC.It exists in the database: But when trying to add this field to the screen, it is not available? is there any way to make this visible? Anyone know why they would be hiding this field?
If you receiving the error: 'Field' cannot be found in the system. Follow these steps to resolve.Unpublish all Customizations Edit the ASPX and add CommitChanges = ‘True’ to the PXMultiSelector tags: <px:PXMultiSelector runat="server" DataField="Field" ID="CstPXSelector20" CommitChanges="true" /> Edit the DAC for each MultiSelector field and add ValidateValue = False to the end of the selector definition. [PXSelector(typeof(Search2<EPEmployee.acctName, LeftJoin<Branch, On<Branch.branchID, Equal<Current<AccessInfo.branchID>>>>, Where<EPEmployee.vStatus, Equal<Status>, And<EPEmployee.parentBAccountID, Equal<Branch.bAccountID>>>>) ,ValidateValue = false)] Republish all Customizations
I imported my plug in that contains the dll for extension library. my question now is how can i modify the .csproj file? i know for the .cs file i can just move it to the extension library but what about .csProj?
I have a custom report that I am trying to allow our users to preview the report and then send to the correct contacts. Within the Report (see attached RPX) this code exists within the Mail Settings To field pulls the To addresses into the email. Code - =IIf(Trim(ReportUDF.GetEmails([NotificationSource.SourceID],[Customer.BAccountID]))<> '', ReportUDF.GetEmails([NotificationSource.SourceID],[Customer.BAccountID]), [ShippingContact.Email])These emails are being pulled from from the Mail Setting > Cert > Override Recipients - currently it pulls the 3 emails just fine. However, when I add another email it doesn’t pull it in. This also goes for any new emails I am adding into other customers as well.
I got CS Error: Cannot generate the next number for the sequence on Custome DAC and Custome New Screen This My DAC public static class MyNumberingSequence { public const string SequenceID = "BUYINGDOC"; // New sequence ID public class sequenceID : PX.Data.BQL.BqlString.Constant<sequenceID> { public sequenceID() : base(SequenceID) { } } }1. Why i got erorr CS Error: Cannot generate the next number for the sequence ?2. Why I got <SELECT> not <NEW> , can u help for change the default value to <NEW> like reciept secreen entry ? Can you help me sense ?Thanks
I have a details view defined as:public SelectFrom<EmpPriceComparisonBase>.Where<EmpPriceComparisonBase.userId.IsEqual<AccessInfo.userID.FromCurrent>>.View.ReadOnly DetailsView;If the view returns rows, everything is fine.If, however, the view would return no rows, the screen locks as if it were running a long query, which eventually times out with...“Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.”Any ideas?
How to add Estimates tab records to Print Quote report?Its getting Details records only by default.Adding this recordbelow est text box
Automatically link production order to sales order when creating production order MRP Display screen from Manufacturing button I try to override below delegate but not getting production order number. I want to display new created production order under references tab sales order details as shown below. public delegate void GenerateProductionOrdersDelegate(List<AMOrderCrossRef> list); [PXOverride] public void GenerateProductionOrders(List<AMOrderCrossRef> list, GenerateProductionOrdersDelegate baseMethod) { baseMethod(list);}If anyone has the knowledge or some guidance on how to do it I would appreciate it very much.Thanks
After adding grid columns in code and getting them to keep their column position after moving (see this post → Keeping grid column position for a column added in code), these columns will not sort or filter. If I click on their header cell, and choose Sort Ascending or Descending, there’s a flash of the sort icon arrow, but then it disappears and no sorting happens. Similar for filtering, if I enter a filter condition in the same context-sensitive popup, it is ignored. When I add the grid column in code, I do set the SortField, AllowSort, and AllowFilter properties appropriately. Any idea what I’m missing?
In the below screenshot, I am attempted to override the Release Hold button the Bills and Adjustments screen using a graph extension:I am running into an issue where I receive the following error: This error seems to happen due to the use of the WebDialogResult, while the purpose of this change was to include the dialog, when it is removed and we just either A) throw the exception or B)invoke the base the functionality here seems to work. When the dialog is initiated, that is when the error appears.Here is the trace log: PX.Data.PXActionDisabledException2024-05-28 16:37:58 UTC Exception Type PX.Data.PXActionDisabledException Message Error: The Remove Hold button is disabled. Stack Trace at PX.Data.PXFirstChanceExceptionLogger.ProfilerFirstChanceException(Object o, FirstChanceExceptionEventArgs args) at PX.Data.PXAction`1.<Press>d__38.MoveNext() at PX.Web.UI.PXBaseDataSource.tryExecutePendingCommand(String viewName, String[] sortcol
When clicking Create Production Orders from a Sales Order, can the pop up screen be modified to include the item description line as well as the ID?
Is there anyway to access VS code on production instance? Wondering this because i currently built out a plug in in an extension library so how would i deploy this and modify this in production if need be?
Hi Team,We need to update the file documents, which are present in the header, to the details section in the Bills and Adjustments screen. Additionally, we need to update the history records. Please assist us with how to do this. We await your response.Have a great day ahead.Regards,Sagar
There is a need to maintain separate report templates based on the relevant company. So how can separate report templates corresponding to the multiple companies inside a single tenant be maintained?
Hello Everyone,We have a requirement to change the display name of the “Notes” button on one specific screen. We tried using CacheAttached on NOTEID and performed SetDisplayName in the RowSelected event and the initializer, but we were unable to change the name through the customization.We also considered using translation to change the name, but this method changes the Notes label on every screen, whereas we only want to change the label on one screen and we have custom field on the detail section with “Notes” as a display name and it is also converting as translation label name. How can we achieve this? Please suggest. public class RequisitionEntryExt1 : PXGraphExtension<RQRequisitionEntry> { public static bool IsActive() => true; public override void Initialize() { base.Initialize(); PXUIFieldAttribute.SetDisplayName<RQRequisition.noteID>(Base.Caches[typeof(RQRequisition)], "Justification Notes"); } [PXMerge
Hello Community, I am curious can we conditionally publish screens customizations by adding switches to the FeaturesSet?If I add a brand new screen in Acumatica, I can use “Features.xml” to show/hide new screens by reading a custom/existing flag from FeaturesSet/FeaturesSetExt. Also, in my C# code I can conditionally make a Graph, DAC or their extensios Active/Inactive.But when I customize an existing screen in Acumatica, is there a way to instruct the platform to conditionally publish or not publish a set of changes made to the screen? I know I can hide/show controls but it is not what I want. What I want is to instruct the customization engine not publish a set of customization on Acumatica’s out-of-the-box screen(s) (or not merge it to the out-of-the-box) if a switch in FeaturesSet is not turned on. @Dmitrii Naumov
Hi guys, I created a condition called IsExempt below, the Tax Zone on a Customer record is set to PAEXEMPT I then added the Tax Registration ID field and used the IsExempt condition in the Required column. My expectation in doing this would be that whenever the TaxZoneID = PAEXEMPT then the Tax Reg field would be required, but this is not working and I need some guidance. Thanks!
Looking to add to the Details column an Attribute that is assigned to the PO Line Inventory ID. I have a Attribute created for Inventory ID called Revision. I am trying to get this available to the PO Order Line. I don’t want a new Custom Filed, because I want to pull in the value of the Attribute at the Inventory ID level.
Hello everyone,I want to change the default order of Selector Week to descending by Start date.How to do it? Here is the definition of field Week:public abstract class weekId : PX.Data.BQL.BqlInt.Field<weekId> { } protected Int32? _WeekID; [PXDBInt] [PXUIField(DisplayName = "Week")] [PXWeekSelector2(DescriptionField = typeof(EPWeekRaw.shortDescription))] public virtual Int32? WeekID { get { return this._WeekID; } set { this._WeekID = value; } }
I have a generic inquiry that I am using in a dashboard data table widget. The GI in question has an email address in the result grid and I would like to turn the email address string into a mailto link so that when someone click on the email address on the dashboard it will automatically open the email client with the address already to the TO field. Is there a way to embedd html code into a GI to accomplish that? Any help on this would be greatly appreciated.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.