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 team,I am implementing function that bring field Account Name from Bill-To-Info section in Customer (AR303000) to Customer Details screen (AR402000)Details of field Account Name from Bill-To-Info section:When I first time select customer, the result is correct:Then I select another Customer, this field is still remaining the previous resultIf I refresh the page, this field will display correct name.Here is my code: I create a field UsrAccountName in ARDocumentResult and implement FieldSelecting as following #region UsrAccountName [PXString(255, IsUnicode = true)] [PXUIField(DisplayName = "Account Name", Visibility = PXUIVisibility.SelectorVisible)] public virtual string UsrAccountName { get; set; } public abstract class usrAccountName : PX.Data.BQL.BqlString.Field<usrAccountName> { } #endregion protected void ARDocumentResult_UsrAccountName_FieldSelecting(PXCache cache, PXFieldSelectingEventArgs e) { var row
Nice day.I have a customization screen on mobile to get GPS Location of current user when they press a button. The screen works like a charm on Android device but couldn’t work on iPhone even though I have enabled Location Permission for Acumatica in Settings → Acumatica → Location.My customization screen is as below.add screen GP30IC10 { openAs = Form add container "Params" { add field "Latitude" { forceIsDisabled = true } add field "Longitude" { forceIsDisabled = true } add field "GPSLocation" { forceIsVisible = false special = GpsCoords } add layout "Action" { layout = "Inline" add recordActionLink "ClockIn" add recordActionLink "ClockOut" } add recordAction "ClockIn" { behavior = Record } add recordAction "ClockOut" { behavior = Record } }}Does anybody know how to solve the problem? Do I miss any configuration on iPhone?Thank in advance
Can’t find the business logic of POS. Kindly assistIf I try to view business logic. Its blank.
How can i access the user preferences of the logged in user in my business logic, I need the UserPreferences values in my RowUpdated event and want to do some customizations based on that.
I want to default the value in Warehouse when a new row is Inserted. I have written FieldUpdated event on InventoryID, so when a item is selected i am able to default the warehouse. But Issue is when I try to add the items using the ADD ITEMS popup. There the value is set to the default stock-item’s Warehouse field and not to my desired Warehouse. Can anyone help he here.
I wanted to show the sums by InventoryItem on screen CR304000, using the following view.public SelectFrom<CROpportunityProducts>.LeftJoin<InventoryItem>.On<InventoryItem.inventoryID.IsEqual<CROpportunityProducts.inventoryID>>.LeftJoin<INItemClass>.On<InventoryItem.itemClassID.IsEqual<INItemClass.itemClassID>>.Where<CROpportunityProducts.quoteID.IsEqual<CROpportunity.quoteNoteID.FromCurrent>>.AggregateTo<GroupBy<INItemClass.descr>, GroupBy<INItemClass.noteID>, Sum<CROpportunityProducts.curyExtPrice>>.OrderBy<INItemClass.descr.Desc>.View InventoryClassSummed;This worked fine in a previous version, but now I get an error message:Cannot use an aggregate or a subquery in an expression used for the group by list of a GROUP BY clause.Does anyone know, why this does not work anymore?
Hi,I have a simple piece of code calling field verifying that does not quite produce the required behaviour. The custom field in question sits in a DAC extension to SOShipment (SOShipmentExt) and is called usrSealNo. Essentially all I am looking to do is raise an error if the value in this field has been used on any other Shipments (and prevent the record from being saved until a unique usrSealNo is provided). The code in place is:Now, when a value is entered into the field that already exists on another Shipment, the Field Verifying event seems to raise the exception OK:However, the user is still able to save the record despite the error being raised.I have other FieldVerifying events in my customisation that do prevent a user saving when the Error exception is raised. The difference seems to be that they are on fields that are in a custom DAC, not a DAC extension.Is there some trick to Verifying custom fields in DAC extensions?Thanks in advance for any help on this,John.
Hi EveryoneI really hope you can helpI’m a new MYOB Advanced Customisation Developer and I learnt everything I know from the training course and the Acumatica Open University.With MYOB Advanced being an online solution we don’t have access to the database and can’t pull any code into visual studio as we are trained to do in the learning materials.Does anyone have any alternative learning material that could assist be in becoming effective in my customisations while only using the Customisation Project Editor? One Blazing example of issues I have, in the training material we “Customize a Data Class” by “Convert to extension” then edit the code and it becomes part of the DLL. If I “Convert to extension” I get this error:Building directory '\WebSiteValidationDomain\App_Code\'.\App_Code\Caches\PX_Objects_IN_InventoryItem_extensions.cs(25): error CS0101: The namespace 'PX.Objects.IN' already contains a definition for 'InventoryItemExt'\App_Code\Caches\PX_Objects_IN_InventoryItem_extensions.
The schedule seems to not fire. I can run the process button and it works on the Process Form but the Schedule won’t run. The Process Button calls a button on a graph. The Scheduler is Initialized. I keep wondering if this is related: The method behind the button on the graph is not static. I know the button method on the Process Form has to be static, does anything called in the chain have to be static? Just grabbing at straws because it doesn’t make sense its not running on a schedule
Hello,I have the need to formulaically assign a filter value based on the row that I’m selecting. I have tried PXDefault, PXFormula combinations but they don’t work because they require something from the dac to be able to execute and since the rowselected is a runtime attribute, I don’t know how to convey that to the native field definitions.I have also tried using _RowSelected event handler to update the cache (I know, forbidden) but that is yielding no results either. Code for this below, note that I am trying three different ways to update the field value in the effort to see if any will work, my final code would only use one. protected void TimeclockTrxns_RowSelected(PXCache cache, PXRowSelectedEventArgs e) { var row = (TimeclockTrxns)e.Row; if (row is null) return; blyModify updateTxn = new blyModify(); updateTxn.TxnId = row.Trxnid; // Acuminator disable once PX1044 ChangesInPXCacheInEventHandlers [Justification
I am trying to add a customized field for sales order in mobile application. But after adding the field in OrderSummary container it is getting added in the end.Can any one help us to display it under the notes field.
I have been trying to add the label to the below highlighted selector field as- Field1, but it is not appearing on the screen. I have attached the screenshots of the aspx code also. Please guide me out if i am missing anything here. Thanks.PS: Have only been trying to design the UI of the screen. Would like to know what and all things are required to design the UI of Acumatica with the help of aspx file.
He team, i am getting below error in server. but same package can be published other computersKindly advise more info find the attachement.
I was told that it can be done though a process Form. I have tried to do that in my last question and it is not working. Can I schedule an Action on a Form, or a little clearer how do call that action from the process button on a process form? If I can do the last then I know I can schedule the process button action.
Hi All,Could you please assist me on the below:How to set the ServiceOrders (FSServiceOrder) DAC’s CompanyID value into my custom table CompanyID field?As per my knowledge, the CompanyID field is not available in DAC’s. So, how to achieve this functionality? ThanksNageswararao.
Hi everyone,I have a field named Project/Contract on Invoices and Memos (AR301000)and I want bring this field to Grid on Customer Details screen Could you please help me? Thanks,Khoi
Hi experts,Currently, I have a field Default Salesperson on SalesOrder Screen with following properties:This field has a logic show/hide based on field Order Type:I want to set this field required when it’s shown. However, The logic show/hide these field are very complex and I don’t have source code.Do we have any solution for this? Thank you for your help.
Are we able to hide or get rid of quantities from the warehouse management system that have been sold out and are lot/serial tagged? Plus, I tried to enforce the mandatory entry of a lot/serial number, so I’m not sure why the system is showing an oversold item number that has no lot/serial identifier. But in any case, how do we make items go away from the WMS that have been sold out and may not be replenished, such as speific lots of that item (but still keep the master item number for different lots we’ll receive later)?
I have code to access a graph on a process from, nothing interesting about that because every process for does that. But I am trying to call an Action Button on the Graph and seem to have a problem referencingI am trying graphreference..ActionsMenuItem.PressButton.TemplateName()or graphreference..ActionsMenuItem.Press.TemplateName()ofgraphreference..Actions.TemplateName() and No dice. These seem to reveal the local (process) forms Actions
Hi, just trying to figure out if the licensing process has changed in the last couple of releases for ISV partners.Our MO is to setup an internal VM that runs the current Acumatica ERP release locally. Usually we don’t need to license our internal test instances of the ERP, but eventually we need do some multi-threaded integration testing that requires the 6 sessions provided by a standard license. I didn’t make notes before because it seemed easy enough to find a stash of license keys for each version that we were to use internally and are not based on a customer installation.But that was a few months ago - now when I click on licenses in the portal ISV page it just reloads the same page, and my colleagues with similar rights are reporting the same thing. So if someone could kindly advise the best way to request a license, does it just need to be in a support case these days where we provide the system key and such? The articles i find just relate to what appears to be licensing for c
I have already gotten the data using the following loop. It gets the data just fine without using DACs. But when I try to determine if the datatype of the column in the GenericQuery is string or numeric, I seem to only find System.String or String. I don’t get the datatype of the underlying data element in the generic query - like refnbr is nvarch(15) or something like that. Anyone have any thoughts? foreach (GenericResult resultRow in graph.Views["Results"].SelectMulti()) { foreach (string key in resultRow.Values.Keys) { foreach (GIResult resultMap in PXSelectReadonly<GIResult, Where<GIResult.designID, Equal<Required<GIResult.designID>>, And<GIResult.objectName, Equal<Required<GIResult.objectName>>>>>.Select(graph, new object[] { templates.Current.DesignID.Value, key })) { var re
I’m a VB.Net guy, so this is probably more of a C# question.On my processing page, I am calling a static void method. In that method a graph instance is created. This method might be called 100 times.public static void DoIt(List<ICSCustomers> custList, RecordsToProcessFilter currentFilter) { var graph = PXGraph.CreateInstance<CustomersProcess>(); //CODE }After the DoIt method is completed, does the graph instance get destroyed, or does it stay in memory? I am concerned that if I have 100 instances of that graph in memory it will cause problems.If it does stay in memory, is there a way to destroy it at the end of the method? I see I can “clear” it, but that isn’t the same as destroying it.Thanks!Joe
I’ve been puzzling through this issue and I’m not sure where to go for figuring this out.Action button on Sales Order Maint willCreate a record in a custom table. Load up the graph for that custom table and press an action button.Custom graph passes it’s record into a method to be updated. Custom graph passes it’s record into a second method to be updated. But it loses changes coming out of the second method. It’s almost like the record is passed into the second method as a copy instead of a reference to the record.If, however, I open up the graph for the custom table and click on the action button - the above process works just fine. My Order Entry customization is literally pressing the action button on the custom graph.I’m using this form for updating the field values to try and ensure that the correct cache is being updated.myCustomGraph.Caches[typeof(MyDAC)].SetValueExt<MyDAC.myField>(myRecord, SomeValue);andmyRecord = myCustomGraph.Caches[typeof(MyDAC)].Update(myRecord); S
Helloo,Can someone help me or Is there any way for report to print same format and alignments in both Print and PDF?I am unable to get the same alignments in PDF compared to normal Print.Screenshots for reference: Thanks,
Trying to set the customer based on the selection of a project. However I get a validation error. public class SOOrderEntry_Extension : PXGraphExtension<PX.Objects.SO.SOOrderEntry> { protected void (Events.FieldUpdated<SOOrder, SOOrder.projectID> e) { if (e.Row == null) return; SOOrder so = (SOOrder)e.Row; if(so.CustomerID == null && so.ProjectID != null) { var prj = PMProject.PK.Find(e.Cache.Graph,so.ProjectID); e.Cache.SetValue<SOOrder.customerID>(e.Row, prj.CustomerID ?? null); } }}results in when the project is selected. I have tried both SetValueExt and SetValue, SetValueExt causes the ProjectId to be set to null or “X”, while SetValue works as intended with the exception of the validation error.The validation error occurs in both cases.Unselecting the project, and then reselecting the project causes the error to go away. How can I request the
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.