Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
Hello I am trying to add a custom stock item status that will have certain behavior associated with it. I want to create a custom status for stock items that would basically allow for it to be added to Sales Orders but not added to Purchase orders. I read through another thread and understand how to actually get the status added, but I am not sure how to customize the behavior of the items in that status.
I have added custom fields to the cases screen. When you select a record type, the Service Type field should be cleared so the user has to select a new value. The Service Type selector is filled with data based on the selected Record Type.When you select a new value in the Record Type field, the Service Type should be set to null.Strangely, it works, but ONLY if it is the FIRST time you update the Record Type after bringing up the case.Any changes in that field other than the first one, the Service type is not being cleared.I used the RowSelected handler for CRCase to try to null the field. protected virtual void _(Events.RowSelected<CRCase> e) { CRCase row = (CRCase)e.Row; if (row == null) return; CRCaseExt itemExt = PXCache<CRCase>.GetExtension<CRCaseExt>(row); if (itemExt == null) return; if (itemExt.UsrServiceTypeID != null) { SSGCRServTypeRecTypeLinks link = SelectF
HelloI have acumatica solution with .net framework 4.8 assemblies. Acumatica Version 2022R2. When I build assembly from Visual Studio 2019 and refresh website it takes about 1 minute until load. But, when I Build same assemby from Visual Studio 2022 it takes 10 minutes. Also I have used in Visual Studio 2022 Visual studio 2019’s MSbuild path and it took 1 min. as it seems it is Visual studio 2022 MSBuilds Problem. so have you any suggestions?
I have created an action button in SO detail grid and I am opening a smart panel using the action.I want to incorporate the same scenario in mobile app as well. Below is the screenshot for my Action Button “ADD FREE ITEM”. Below is the screenshot of opened smart panel. I am not able to get the Action Name under Action Content of WDSL schema of SO301000 screenTools → Web Service → Service Description.
I want a selector that will let me pick a BAccountID from a list of BAccounts which I filter, but I also want it to have one additional option I can pick “All Trading Partners”. If all I want is to pick a BAccountID then I would just use a vanilla selector, however since I also want that additional option, I’m trying to use a simple Custom Selector here is an example. Here is the selectorpublic class SimpleSelectorAttribute : PXCustomSelectorAttribute { [Serializable] public class SelectorFields : IBqlTable { #region id public abstract class id : PX.Data.BQL.BqlString.Field<id> {} [PXString] public virtual string Id {get; set;} #endregion #region displayField public abstract class displayField : PX.Data.BQL.BqlString.Field<displayField>{} [PXString] public virtual string DisplayField {get; set;} #endregion } public SimpleSelecto
Firstly, this is a two-part question:Part One, is it possible to use the API endpoint interface to insert data into existing screens from within the same customisation project? I obviously don’t want to write POST or PUT requests externally as the data transfer is within the same application, but the API endpoints are easy to use for data insertion in a global JSON format and I would avoid situations like below.Any opinions or thoughts would be appreciated. Part Two, I am trying to make new records of a time sheet in the EP305000 screen and this requires entering data into the main page and a tab in that page. I have successfully inserted data into pages in the past using the View / VewDelegate, method where you create a new instance. This time I need to insert data into two parts of the page and I have no idea how to do this, my attempt is below. // View - using EPT Time card as its the header, I'm inserting data into header and Tab - error public PXSelect<EPTimeCard> I
If a customer has a Live and Test tenant what are the ramifications of publishing a customization in Test for testing and not in Live ? Is there any documentation that says you can publish in one tenant and not the other ?
I am working in 2022R1.I created a custom table with a default to one of the fields. I created the table in MSSQL Management Studio. After I create the table and create a script of the table it shows that the default is there. I tested it by adding a dummy record and “AV” is filled into the Module field.This is the script to create the table:CREATE TABLE [dbo].[ICSMergeLock]( [CompanyID] [int] NOT NULL, [Module] [char](2) NOT NULL, CONSTRAINT [ICSMergeLock_PK] PRIMARY KEY CLUSTERED ( [CompanyID] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]) ON [PRIMARY]GOALTER TABLE [dbo].[ICSMergeLock] ADD DEFAULT ((0)) FOR [CompanyID]GOALTER TABLE [dbo].[ICSMergeLock] ADD DEFAULT ('AV') FOR [Module]GOIn the project editor, I ADD CUSTOM TABLE SCHEMA for the table. In Edit Project Items, this is what the project is storing for this table:<Sql TableName="ICSMer
I have used two different Emulators. Nox - FAQ | NoxPlayer FAQ (bignox.com) (Support.bignox.com) BlueStacks - www.bluestacks.comI initially started using Nox and have stayed with. Both are free base on my understanding used for testing. What this is is a emulator, so you don't have to run tests on you phone. Instead you setup one of these emulator and then install the Acumatica app on it. Its Andriod, so you just go to the google apps area and search for the app. When finished using close it down. Good for testing. This is not a question. Just sharing.
Hello, In various parts of the Acumatica source code I’m finding code similar to this. public void RowPersisting(PXCache sender, PXRowPersistingEventArgs e){ //some code if (sender.RaiseExceptionHandling(_FieldName, e.Row, sender.GetValue(e.Row,_FieldName), new PXSetPropertyKeepPreviousException(Messages.errorMainWarehouse))) { throw new PXRowPersistingException(_FieldName, null, Messages.errorMainWarehouse2); } //more code}Does anyone know what this code is doing?My theory was that “if (sender.RaiseExceptionHandling(_FieldName, e.Row, sender.GetValue(e.Row,_FieldName), new PXSetPropertyKeepPreviousException(Messages.errorMainWarehouse)))”is checking to see if “RaiseExceptionHandling” has already been called against e.Row for _FieldName. I think it is specifically checking to see if Message.errorMainWarehouse was raised previously. If the RaiseExceptionHandling method returns True then we get to the PXRowPersistingException and an error is displayed on save. I think that “new PXSet
Hi Team,Anyone came across this issue before, we are getting error when running commissions for Projects. This is a customized screen and while debugging can see BaseCuryInfoId and ProjectCuryInfoID values under PMTran are not set. When compared with previous version i.e. 2019 there is a change in DAC definition.public abstract class baseCuryInfoID : PX.Data.BQL.BqlLong.Field<baseCuryInfoID> { } [PXDBLong] [CurrencyInfo(CuryIDField = nameof(TranCuryID), CuryRateField = nameof(BaseCuryRate), ModuleCode = BatchModule.PM)] public virtual long? BaseCuryInfoID { get; set; }2022 R1 [CurrencyInfo] [PXDBLong] public virtual long? ProjectCuryInfoID { get; set; } // // Summary: // The identifier of the CurrencyInfo record that stores exchange rate from the // transaction currency to the base currency. // // Value: // The value of this field corresponds to the
I’m using a dialog for data entry, and I’m having issues initializing the filter view with values before displaying the dialog.I’ve tried several different approaches based on searching the Acumatica source, my latest attempt is in the following code block.The dialog always initially shows without any of the pre set data displayed. If I enter in the additional data and save, a new record is correctly created with the prefilled values.When I debug, I can see the values are updated before the AskExt call, they just do not display on form.If I run the action a second time after the first record is updated, the dialog shows the previously input data including the prefilled values.I seems like this should work, I’m handling for the multiple calls for the AskExt by checking the for Answer == None and only initializing the fiilter in that case. I’ve tried it with and without passing the RefreshRequired parameter as true. Same results. Action - this is in POOrderEntry extension publ
Hi Everyone, I’m new to Acumatica development and would like to ask if anyone knows where to find the 2021 R2 Development Couse Materials? I would be very grateful if someone can help me find them. Thank you.
Dear Team, Is it possible to wrap label text globally using style sheet in acumatica. Thanks,Arun
Dear Team, I am looking for solution to allow negative Qty in purchase Receipt details lines? kindly advise how to do this requirement. Thanks,Arun.
I am attempting to make a custom field on a sales order required. This custom field is only visible when OrderType is “NC”.I am struggling with how to determine if the field is visible and if it is null or blank.I have tried several different methods I have found from various sources. The code below is totally wrong… but is where I got to the point of asking for help…. This code is in my DAC extension. protected void _(Events.RowPersisting<SOOrderExt> e) { var isVisible = SOOrder.orderType.IsEqual<ncOrder>; if (BqlString.Field<usrNoChargeDept> == null && isVisible) { throw new PXException(Messages.RequiredNCDept); } } ncOrder is: public class ncOrder : PX.Data.BQL.BqlString.Constant<ncOrder> { public ncOrder() : base("NC") { } }RequiredNCDept is a string in a file with other messages.I attempted the solution here: But ran into the issue of finding when the field is visib
I have a customization on the Opportunities screen that overrides the Persist() method.Basically the code is iterating the Products.Cache.Cached collection and checking if a particular inventory item is added and also calculating the total amount of the the extended price.If the item does not exist a new line is added and populated with a calculation using the total.This is all working very well, but i've noticed an issue where the Products.Cache.Cached collection contains values from previously loaded records.For example if I have an opportunity loaded on screen with 3 lines with a total of $500, and I select the add new record toolbar button. Once i enter the required fields on the new record and save. The total of 500 is being pulled from the previous opportunity and my new line is added based on the total 500 when it should be 0 because no lines have been added to the new opportunity.Any idea why the cache is not clearing when adding a new record. Any way I can work around it.Tha
I want to change the color of the action to pink “print pick list” in Shipments screen. Version is 2022.112.0018. There are no conditions for the action. Just like “confirm shipment”, it should have a color.Also, I need to get the “print pick list” action before “confirm shipment” action.
I am very new to customizations in Acumatica. I was wondering if it’s possible to only display certain values in a selector. For example, I would only like to display 3 out of the 9 possible values below as we would like to deprecate some of them. I’m assuming this has to be done with changes to the code, maybe a graph extension, but I have not made customizations through code changes before so I’m not sure how to approach this. If anyone has some example code for something similar, I would greatly appreciate it.
I have an API that returns a PDF file in the content is there a way that i can make a button that consumes this api and return the file in the browser to be downloaded ?the PDF file is big so i will need to await it
I have been able to add a custom field to SO301000. I am struggling with how to show/hide the custom field based on the Order Type field. I tried to create an event handler based on the RowSelected event. But, I failed. My edit hid the field always, and left the label visible always.Can anyone point me in the right direction?
Hello everyone,I have tried to make the attachment field mandatory but was unable to.I need to make it mandatory once the user approve the requisition. Kindly assist Thank you for continuous support.Any kind of response is always highly appreciated.
I received good advice about how I could create a custom field to display the total hours for each day of the week in the time card screen. As you can see below, I thought I got it to work properly; however, I keep running into an error message: Error: An error occurred during processing of the field Sat: Specified cast is not valid.. Mon Field:[PXTimeList] [PXDBInt][PXFormula(null, typeof(SumCalc<EPTimeCardExt.usrMondayTotal>))][PXUIField(DisplayName = "Mon")]Monday Hours:[PXInt][PXTimeList(30, 335, ExclusiveValues = false)][PXUIField(DisplayName = "Monday Hours", Enabled = false)]Also tried PXDBInt for Monday hours.Could I be getting this error message because how Time spent field is being calculated is the following?[PXInt][PXTimeList][PXDependsOnFields(typeof(mon), typeof(tue), typeof(wed), typeof(thu), typeof(fri), typeof(sat), typeof(sun))][PXUIField(DisplayName = "Time Spent", Enabled = false)]Not the biggest issue if I can’t get this to work, just wanted to add som
Hi all,I have a field updated event for soorder invoices screen Artran qty field which is used to get line weight by multiplying item weight and qty as below.public PXSelect<InventoryItem> dataview; protected void ARTran_Qty_FieldUpdated(PXCache cache, PXFieldUpdatedEventArgs e) { var row = (ARTran)e.Row; ARTranExt detail = PXCache<ARTran>.GetExtension<ARTranExt>(row); foreach (PXResult<InventoryItem> result in dataview.Select()){ InventoryItem item = result; if(item.InventoryID == row.InventoryID) { detail.UsrItemWeight = item.BaseItemWeight; decimal? LineWeight = row.Qty * detail.UsrItemWeight; detail.UsrLineWeight = LineWeight; } } }usrLineweight is the custom field for Line Weight in details level of invoices screen. The line weight should be calculated just after qty field is updated. But it’s only working in the time when adding a new row. How can I solve t
Hi Team,I have simple report with two parameters, one field is the standard field(TimecardCD) and the other is the customized field(YTLApprover). I’m directly send the value for the approver from the Report screen directly. But not show why acumatica change the value to null.Can you please help me on this. Regards,Ramya Krishna
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.