Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
we are have a requirement to read the data from external API and add to grid, this should repeat in every 5 seconds and stop when we clicked stop.Can someone please guide me the correct way to do this.So, we created two buttons START and STOP and also a method to read from API and insert to grid.Issue we are facing is - on start, say we are inserting 2 records, when we clicked on stop button, the records in the grid the getting duplicated, i mean, total 4 records.Please have a look at below code. public PXAction<DAC> startRead; [PXUIField(DisplayName = "Start Scan", MapEnableRights = PXCacheRights.Update, MapViewRights = PXCacheRights.Select)] [PXButton(CommitChanges = true)] public virtual IEnumerable StartRead(PXAdapter adapter) { System.Threading.Thread.Sleep(5000); //cntLoop is unbound field with propery [PXUnboundDefault(true, PersistingCheck = PXPersistingCheck.Nothing)] if (this.Document.Current.CntLoop == true)
Hi Everyone, I am learning Acumatica. Please help me on below issue. Whenever ,I open Stock Item Form. I am Getting the below issue.I’m unable to stop the debugging.
Hi, I am new to Acumatica, I want to show or hide some section based on the check box value which is available in another form. How to achieve this functionality. Could you please assist on this.
Not able to save MRP preference form
Hi,I did one Customization related to Vendor Screen in 21R1(Build 21.113.0011)After publishing Package in Sandbox/Server Instance. Package got published Successfully.After opening an instance I am getting error like below{"Message":"An error has occurred."}Can you please help on this errorThanks.
How to get the default value for the Transaction Period and Financial Period based on a date field entered and branch selector Hello,I have a customization form that I need to fill “Transaction Period” and company’s “Financial Period” by defult from a date field and the selected branch but I can not make it work. I reviewed a couple Acumatica’s owen screens and I’m doing exctly the same (at least I think so) but these two fields are not filled by default. Any help appreciated. Here is my little Graph, partial DAC and Partial ASPX. namespace MyCustom} // Graph public class PMCashflowProjectionEntry : PXGraph<PMCashflowProjectionEntry, PMCashflowProjection> { [PXViewName("Projects Cashflow Projections")] public PXSelect<PMCashflowProjection> CashflowProjections; public PXSelect<PMCashflowProjectionSchedule, Where<PMCashflowProjectionSchedule.projectID, Equal<Current<PMCashflowProjection.projectID>>>> CashflowProjectionSc
I have a custom processing screen and the client wants the Selected column to be checked by default so users can just uncheck the rows they do not want to process. I’ve gently suggested they can just click the checkbox in the column header to select all with one click but that apparently is not acceptable for them. The filter defaults so that rows are populated on page load. I tried creating a view delegate and for loop to set the Selected column and this appears to work but has a side effect that it doesn’t detect the last one they’ve unchecked unless they click on another row so they’ve had some rows get processed unintentionally. . protected virtual IEnumerable detailsView() { PXView select = new PXView(this, true, DetailsView.View.BqlSelect); Int32 totalrow = 0; Int32 startrow = PXView.StartRow; List<object> res = select.Select(PXView.Currents, PXView.Parameters, PXView.Searches, PXView.SortColumns, P
The requirement is to enable the Customer Order Nbr when a new action ‘Change Order Nbr’ is selected. I created the below action method. It is executed on clicking the action but the field is not enabled. This is after the invoice was Released. public PXAction<ARInvoice> ChangeOrderNbr; [PXButton(CommitChanges = true)] [PXUIField(DisplayName = "Change Order Nbr", Enabled = false, MapEnableRights = PXCacheRights.Delete, MapViewRights = PXCacheRights.Delete)] protected virtual void changeOrderNbr() { PXUIFieldAttribute.SetEnabled<ARInvoice.invoiceNbr>(base.Base.CurrentDocument.Cache, base.Base.Document.Current, true); // Trigger the Save action to save changes in the database. // base.Base.Actions.PressSave(); }
Hi Team I am unable to rename a Field under a section in customization project could you please get me out of this. its showing error like below
Hi All,May i know how to change the Label color for field on “Subcontract” screen in acumatica. Regards,Ramya
Hi AllWe found an issue on a customized processing screen with “object must implement inconvertible” when we open. After Restart the application, its started working fine.Can anyone knows what could be the reason?
Hi All,I’m working on the below scenario, could anyone please help on this.I have created a new GL account category in Vendor card. In AP bill header i have a Boolean field and in Transaction line i have a amount field. Like retainage logic, once i release the Bill, it should create a corresponding line in Journal transaction with the account and sub account ID linked to the vendor card. Regards,Ramya
Hi good night. I have a problem when i try to “load” data of a selector grid depending of a selector header. When i select the value 21-0049 in the selector, the selector in the grid is empty (Id PhaseCode). The correct operation is: when i select the 21-0049 (in the selector) the selector of the grid (IdPhaseCode) should load the data related to this Nbr (21-0049) My IdPhaseCode DAC is: #region IdPhaseCode [PXDBInt()] [PXSelector(typeof(Search<CEEstimateEstimate.idPhaseCode , Where<CEEstimateEstimate.estimateNbr.IsEqual<CEBidPackage.estimateNbr.FromCurrent>>>), typeof(CEEstimateEstimate.id), typeof(CEEstimateEstimate.idPhaseCode), SubstituteKey = typeof(CEEstimateEstimate.description))] [PXUIField(DisplayName = "Id Phase Code")] public virtual int? IdPhaseCode { get; set; } public abstract class idPhaseCode : PX.Data.BQL.BqlInt.Field<idPhaseCode> { } #endregion The CEEstimateEstimate DAC contains the selector information The CEBid
I currently have a customization that makes a copy of a voided quick check and opens in a new popup window for user to make changes before saving the new check. All is working OK EXCEPT for the remit and contact information. All of these quick checks have the address/contact overridden (they use a generic vendor). I want to keep the same contact/remit info but behind the scenes it needs to point to new APAddress and APContact so when they edit these it’s only changing the information for the new check, not the existing. Currently, when the window pops up, override is unchecked for both contact and address and shows default vendor. I want the overrides to still be checked and have the values from the check being copied from but when saved I need new records and foreign keys for APAddress and APContact. What am I doing wrong? Here is some of my code:APQuickCheckEntry graph = PXGraph.CreateInstance<APQuickCheckEntry>();CurrencyInfo info = PXCache<CurrencyInfo>.CreateCopy
Good day,I have created a new custom field named transport on the opportunities, sales quote, sales order and invoices and memo’s screen.I would like the value entered in the custom field to carry over to the sales quote, sales order and invoices and memo screen when a new one is created.Currently the value already carries over to sales quotes, since it uses the same DAC as opportunities.Any help on how to be able to achieve this would be great.
How can I deactivate tenants?
I am developing a form that presents a summary of the invoices of a seller, in the header the filter variables are selected and in the grid for each line is presented an accumulated by month and seller of the invoices collected, the customer requires to see, by clicking an action button on the grid, the form that presents separately the detail of the invoices that make up the summary of each line of the grid.Example: I will appreciate your support. Thank you.
2Hi All,I have 2 customized fields in subcontract Lines. while creating AP bills from subcontract I want to carry forward this field values to another custom field in Bills and Adjustment Line. I tried to achieve this through “CreateAPInvoice” override method in Subcontract , but i’m not sure how to execute this correctly below are my incomplete lines of code. Could anyone please help me on this. Regards,Ramya
Hi All,I’m trying to pass few fields value from document details tab to another custom tab on same screen(subcontract). here i need to filter and carry forward only the non stock item type =”N” from document lines to my custom tab.I already created a view to bring the fields from Document details to my custom tab, but not sure how to apply the filter condition for the view. could anyone please help me on this. Regards,Ramya
Hi,I’m having trouble with the acumatica’s automated testing wherein I wasn’t able to make the test pass every time I’m passing a value to the subaccounts. I’m getting this errorNoSuchElementException: Could not find a web element by the locator: css=#_ctl00_phG_tab_t0_PXGrid1_lv0_es div.buttonsCont > divI already re-generated the wrapper file.Tried using .Typescreen.VariableRateDetail.Row.ARSubAccountID.Type(detRow["ARSub"].ToString());Tried using .Selectscreen.VariableRateDetail.Row.ARSubAccountID.Select(detRow["ARSub"].ToString());Tried overriding the Locatorscreen.VariableRateDetail.Row.ARSubAccountID.Locator = screen.VariableRateDetail.Row.ARSubAccountID.ClearLocator;Unfortunately, the error still persists. I have no clue on what causes the error.I hope you can help me. Thank you.-------------------------Additional Information: The lookup mode for the Subaccount Segmented key is currently By Segment: All Avail. Segment Values.
I’m trying get the unit cost on the opportunity document details. I’m following the same process I was given for enabling the unit cost on sales order lines. (https://community.acumatica.com/customizations-147/how-can-enable-the-unit-cost-field-on-the-details-tab-of-sales-order-6709?postid=21524#post21524) I’ve added the new workflow with the unit cost field and the row selected event handler. The OpportunityMaint doesn’t have a definition for Base.Document and Base.Transactions but I’m not sure those are necessary since I removed that code from the sales order line and it still has the unit cost enabled. When I add a line to the opportunity document details the unit cost is editable but then when I select an inventory item the unit cost is no longer editable. I’m not sure what I can do to change that behavior.
Hello Guys, When modifying a value in grid line and pressing on It doesn't trigger any event Fyi : it’s new custom screen
So apparently my client has had more than 1 issue with his employees imputing the wrong date in a field. Like 2120 instead of 2021. How can I create a customization that red flags this and doesn’t allow a save. Something like if date doesn’t equal 2021 -2022, red flag. I think I’d like to implement this system wide to any date field, thoughts? Thanks!
How I can save each grid in its own table (Even if I click on save at the level of each grid nothing is saved)
Hello:I have a requirement to generate a “signature” in the body of an Event in Acumatica as a default when creating a new Event. There does not appear to be an option to select the “source” for an Event, so I am attempting to code it. I have been able to get the currently logged in users name and set it using the below code:namespace PX.Objects.EP{ public class EPEventMaint_Extension : PXGraphExtension<EPEventMaint> { #region Event Handlers protected void CRActivity_Body_FieldDefaulting(PXCache cache, PXFieldDefaultingEventArgs e) { //var row = (CRActivity)e.Row; var userId= PXAccess.GetUserID(); var displayName = PXAccess.GetUserDisplayName(); e.NewValue = "<br /><b>Name:" + displayName + "</b><br /><b>Phone:</b><br /><b>URL:</b>"; } #endregion } };However, I am also needing to get the currently logged in employee’s Business 1 phone number and Web address to complete. I imagine this w
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.