Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Customizations for developers. See Low Code | No Code Forum for non-technical discussions
Recently active
How will i edit this info Attention without overiding?
I'm working on an inquiry screen that's mostly a copy of the Inventory Summary screen (IN401000), but I'm trying to open it up across branches. The existing screen does its search within a private method of the graph that contains a lot of code that builds up the results in buckets and aggregates, concatenates, and totals it. I subclassed that graph, and overrode the protected level to wrap it in a PXReadBranchRestrictedScope, but it's not returning data from multiple branches. The results are returned in a special Result IBqlTable class that is filled manually and doesn't have a BranchID defined, so I created a cache extension that adds it, and I fill it manually. So right now, I'm guessing that either the private method is ignoring the PXReadBranchRestrictedScope, or it doesn't work when BranchID is on an extension of the result class. Below are the skeletons of my classes. Any suggestions on getting it to work? public class ItemAvailByBranchInq : PX.Objects.IN.InventorySummaryEnq {
I am trying to follow the new help information supplied with 2024R2 about UNION and UNION ALL Operations in Traditional BQL. I used the provided examples in my local installation of 24.203.0023, but validation fails with the following:[2025-02-03 23:59:16.687] \App_RuntimeCode\DACUnionTest.cs(101): error CS0311: The type 'testUnionDAC.Storage' cannot be used as type parameter 'TMapTo' in the generic type or method 'BqlTableMapper<BqlTable, TMapTo>'. There is no implicit reference conversion from 'testUnionDAC.Storage' to 'PX.Data.IBqlFieldMappingResolver'.[2025-02-03 23:59:16.687] \App_RuntimeCode\DACUnionTest.cs(109): error CS0311: The type 'testUnionDAC.Storage' cannot be used as type parameter 'TMapTo' in the generic type or method 'BqlTableMapper<BqlTable, TMapTo>'. There is no implicit reference conversion from 'testUnionDAC.Storage' to 'PX.Data.IBqlFieldMappingResolver'.[2025-02-03 23:59:16.690] \App_RuntimeCode\DACUnionTest.cs(101): error CS0311: The type 'testUnionD
Currently the Rough Cutting Planning only schedule production to Work Center level. For the machine level, it treat all machines in the Work Center as total and evenly distribute the work load to all machines. For example, Work Center WC01 has 2 machines MACH01 and MACH02, If a production order operation need 2 hours. The Rough Cutting Planning will evenly allocation 1 hours to each machine MACH01 and MACH02.Our client wants the scheduler to allocate work load to first available machine. In above example, they want 2 hours allocate to MACH01. Then next production may allocate to MACH02.I checked the Rough Cutting Planning source code and found the graph ProductionScheduleEngineAdv do the processing of the schedule. For example ProcessOperationMachines do schedule to machines. But most of functions in this graph is private. Does anybody modify the scheduler to machine level?
I want to update the unit price field in the detail section of the Invoices and Memos (AR301000) screen. I've tried the below method that updates the unit price for each line correctly. However, the problem is that other fields based on the unit price are not being recalculated. What should I do to update these other fields as well? PXResultset<ARTran> TransactionLines = PXSelect<ARTran, Where<ARTran.refNbr, Equal<Required<ARTran.refNbr>>, And<ARTran.tranType, Equal<Required<ARTran.tranType>>>>> .Select(this.Base, currentView.RefNbr, currentView.DocType) if (TransactionLines != null){ foreach (ARTran TransactionLine in TransactionLines) { TransactionLine.CuryUnitPrice = 100; } }this.base.persist(); Any detailed instructions, tips, or code snippets would be greatly appreciated. Thank you!
Hi I need to copy the values in issues screen (Project and Project Task) to the scan and issue issue screen because they are not exposed to this screen by default. These fields also need to be exposed via mobile app end as well, how can I modify the mobile app screen to include these additional fields?Any help would be appreciated, thank you!
I’ve completed the T210 course and want to apply the learning to a real-world application by using a custom table to extend Customer with a tab item and multiple fields, rather than using the customization project to add “user” fields which will extend the Business Account table, not the Customer table, and thus add those fields to all related entities. I know that PXDBDefault and PXParent are needed to link the custom DAC/table to the Customer table. However, when I add the PXParent attribute to my DAC definition for the key field, it throws the “An unhandled exception has occurred for the function ‘MoveNext’.” when updating the DLL file and when attempting to publish, so the project won’t publish. If I comment out the PXParent attribute, the project will publish without issues but of course, saving/updating doesn’t work. How do I figure out what is wrong? The Trace file does not give me an indication of the issue other than it seems like a DAC issue. I thought it might be due t
A couple of revisions ago, Acumatica Deprecated and removed the FSxARTran projection.I thought I had worked around all of the issues this created, but one came back to bite me recently.The use case is that we have a custom field called UsrASGPrintCheck which is a field we added to Inventory Items, Service Order line items, Appointment Line items, and ARTran Line Items.The idea is that the customer can specify at the inventory level if it should default to being printed on an invoice. It can be overridden at the Service Order level, and again at the appointment level.I have that working part fine. The issue is when thy go to print the invoice.In the Appointment, when the “RUN BILLING” button is hit, it runs a method called InvoiceAppointment() which transfers the appointment detail to the ARTran database, and then runs the ARInvoiceEntry graph. But it is creating the records there with the default value from inventory and not the FSSOdet of the appointment (naturally since that is the d
Recently, I added the Invoices screen (SO303000) to the Acumatica Mobile App. Can you please guide me on how to limit the 'Sort By' fields to specific ones, such as Type, Reference Nbr, Date, and Amount? Please see the screenshot below.Here is a part of my code related to this.add screen SO303000 { add container "InvoiceSummary" { add layout "InvoiceHeader" { displayName = "InvoiceHeader" layout = "HeaderSimple" add layout "InvoiceHeaderRow1" { displayName = "InvoiceHeaderRow1" layout = "Inline" add field "Type" add field "DetailTotal" } add layout "InvoiceHeaderRow2" { displayName = "InvoiceHeaderRow2" layout = "Inline" add field "ReferenceNbr" add field "LineDiscounts" } add layout "InvoiceHeaderRow3" { displayName = "InvoiceHeaderRow3" layout = "Inline" add field "Date" add field "DocumentDiscounts" } add layout "InvoiceHeaderRow4" { displayName
Hello, after doing T200 and T210 trainings I started my own project. I’ve added a tab to Opportunities page and added PXTextEdit and PXButton to it. When debugging it using VS it gives me an error whenever I try to see a value of any variable.The debugging session stops.I tried to add my code to T200 project and was able to debug it there. I can’t see what is the difference between those two projects.My project is attached.Thanks
Hello, I have a problem in the Customization screen Tools Edit Invoices and Memos I have already removed the Voucher section because the GLVoucher data class in version 2024 R2 has been removed but I get this error. please could you help me?
Two of our customers are using specific costs because of the highly variable cost of their materials. I’ve shown them how to do a cost roll but they receive materials on a daily basis and find the roll tedious.I tried to setup an automation schedule to do the roll and update pending but the automation screen will not accept the screen id.Is it possible to to automate this? If so, what are the basic steps to do this? If not, is there a reason it shouldn’t be? Is there a setting to make BOMS pick up last costs whenever a production order is created?I understand that the variance is important to see differences and track back what went wrong. Unfortunately the materials variance information becomes basically useless if frequent cost rolls are not done when using specific costs because, if I understand correctly, the production planned costs are based on the BOM while the actual costs are based on the last cost of the materials released.Please feel free to disabuse me of any mistakes in my
Good day, everyone,In the mobile application, I'm trying to insert a new detail line in "Documents to Apply." Here is the code:update screen AR302000 { openAs = Form update container "PaymentSummary" { formActionsToExpand = 1 update layout "PaymentHeader" { displayName = "PaymentHeader" layout = "HeaderSimple" update layout "PaymentHeaderNbrRow" { displayName = "PaymentHeaderNbrRow" layout = "Inline" update field "ReferenceNbr" { displayName = "Ref. Nbr." } update field "Status" } update field "ProcessingStatus" } add recordAction "ImpRecCob" { redirect = True } update layout "DocumentsToApply" { displayName = "Documents To Apply" layout = "DataTab" update containerLink "DocumentsToApply" } update layout "PaymentTypeRow" { displayName = "PaymentTypeRow" layout = "Inline" update field "Type" update field "Hold" } update group "PaymentAmtGrou
Hello,I created a smartpanel and am tried to add a couple of buttons in it. I noticed that the SkinID attribute is no longer available in Acumatica 24 R2. If I manually edit the aspx to include it, my screen crashes saying PX:control not allowed. However, I notice that the source code panels still use the skinID. Has anyone encountered this error and if so were you able to find a resolution? I just tried setting Render Style = simple for the panel but I cant get the buttons to align right. Thank you
I’m trying to add a field to the SOLine DAC (field: CopyFromItemID) which will be used for another purpose and needs to be different than the InventoryID field used on SOLine. I figured it would be easy to just re-use the StockItem attribute for a quick and easy selector. But I’m running into an error message and I’m not sure why. It’s a very simple setup, here is the added field to the SOLineExt DAC: public class SOLineExt : PXCacheExtension<PX.Objects.SO.SOLine> { #region UsrCopyFromItemID [PXDBInt] [StockItem] [PXUIField(DisplayName="CopyFromItemID")] public virtual int? UsrCopyFromItemID { get; set; } public abstract class usrCopyFromItemID : PX.Data.BQL.BqlInt.Field<usrCopyFromItemID> { } #endregion } The I’ve added the selector to the Sales Order page (in the Tab > Detail section) and published. However whenever I go to load a previously saved Sales Order, I always end up with this error message. If I star
Hi everyone,in Projects screen (PM301000), i made a new custom action called “Not Activated” (for a specific purpose), and when the user click it the project status change to Not Activated also.But i can’t active the project or suspend it or complete it because the actions are disabled (like the screenshot).Note: I tried to set them enabled in the RowSelected event but nothing happened.Can anyone help?
My team used to have word document that we would use to create shop employees' numbers for the purpose of operation scanning. The document was erased, and we have to re-crate it. Are there any instructions or template we can use to replace the lost document? I tried a simple a word document with a barcode, but it didn’t work. Any ideas would be helpful.
Can anyone suggest a acumatica course other than the one being taught at https://openuni.acumatica.com/courses/development/t190-development-quick-start-in-customization/ I really wanna learn the whole framework ASAP.
Hello, When doing a git pull, the acumatica site goes offline and I would have to delete the app_offline file to restart. Why would that be happening? Is there a file I should be ignoring from my solution when pushing to git? Thank you
Hello,I am currently working on customizing the Acumatica mobile app and am trying to implement a PXCompanyTreeSelector attribute for the Workgroup field on my screen. In the web application, the field is configured correctly as a hierarchical tree selector, and it works as expected.However, when I add this field to the mobile app using the MSDL, the field appears as a simple text input, not even a dropdown or selector. I cannot see or interact with the tree structure at all.How does the Acumatica mobile app handle fields with a PXCompanyTreeSelector attribute? Is it possible to display a hierarchical selector in the mobile app? Are there any workarounds if the tree selector is not supported in the mobile app?I’d appreciate any guidance or examples of how to properly implement a PXCompanyTreeSelector field in the mobile interface.Thank you!
Hi Good day can i change my Start Period and EndPeriod to GLTran.TranDate because i want to view this by Date not by FinPeriod
I have installed the 2024 R2 T290 learning course instance in the default folder address provided (C:\TCourseInstances\SmartFix_T290\) on install along with all options selected to true (install JSON, enable Modern UI, etc). Every time I run the script “npm run getmodules” I get the following: Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\TCourseInstances\SmartFix_T290\FrontendSources\gulp-tools' imported from C:\TCourseInstances\SmartFix_T290\FrontendSources\gulpfile.tsat finalizeResolution (node:internal/modules/esm/resolve:275:11)at moduleResolve (node:internal/modules/esm/resolve:860:10)at defaultResolve (node:internal/modules/esm/resolve:984:11)at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:716:12)at #cachedDefaultResolve (node:internal/modules/esm/loader:640:25)at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:675:38)at ModuleLoader.resolveSync (node:internal/modules/esm/loader:698:52)at #cachedResolveSync (node:internal/modules/esm
Hi, I have an issue with an upgrade from 2023 to 2024 that I haven’t yet been able to work out. Have been through the normal process of setting up a local Dev environment, recompiling the code making sure that all references to DLL’s are up to date, etc. The issue is as follows: When I attempt to publish the recompiled code I get the error: The type or namespace from ‘InventoryItemExt’ does not exist in the namespace PX.Objects.IN:Also, I noticed that when you choose detect modified files, the file PX.Objects_SO_SOLine_extensions.cs referenced in the error message above also features (I have not see this type of behavior before - and I’m confident I haven’t touched that file) The references I have in my customisation are shown below: the customisation code does not have InventoryItemExt anywhere, and it compiles no issues. In the customisation there is a graph extensions to SOInvoiceEntry, and to get the code to compile I commented out the 3 lines below prefixed //JS: These nam
Hello,i want to add a action with the type “Navigation: Sidepanel” to the QuoteMaint graph. My issue is, that despite no errors and the method executing there is no sidepanel appearing.I have used the same approach for SOShipmentEntry and three other graphs, were the sidepanels appeared and worked correctly.I checked that QuoteMaint already has an existing workflow and that there are no other customizations or extensions interfering.Could the issue be a restriction in the workflow of QuoteMaint?Every idea or tip is highly appreciated :) Thank youusing PX.Data;using PX.Data.WorkflowAPI;using PX.Objects.CR;using PX.Objects.PM.CacheExtensions;using PX.Objects.SO;namespace PX.Objects.CR{ public class QuoteMaint_Test_Extension : PXGraphExtension<PX.Objects.CR.QuoteMaint> { public sealed override void Configure(PXScreenConfiguration config) { Configure(config.GetScreenConfigurationContext<QuoteMaint, CRQuote>()); } protected static void Configure(WorkflowConte
Hi Community,I'm trying to transfer three unbound custom fields from the Stock Items screen to the Sales Orders screen. These fields are non-persisting and should only be displayed in the Sales Orders screen without being saved in the database.What I Have Tried: PXDBScalar Approach: I used the [PXDBScalar] attribute in the SOLine DAC to fetch values from the InventoryItem table, but the fields return null. Example: [PXDBScalar(typeof(Search<InventoryItemExt.usrTI, Where<InventoryItem.inventoryID, Equal<SOLine.inventoryID>>>))] [PXInt] [PXUIField(DisplayName = "TI")] public virtual int? UsrTI { get; set; } public abstract class usrTI : PX.Data.BQL.BqlInt.Field<usrTI> { } FieldUpdated Event Handler: I created a PXGraph instance within the SOLine_InventoryID_FieldUpdated event to fetch values using PXSelect, but the fields still remain null. Example: protected void SOLine_InventoryID_FieldUpdated(PXCache cache, PXFieldUpdatedEventArgs e) { var row = (SOLine)e
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.