Introducing Acumatica Cloud ERP: 2026R2
Technical discussions focused on Web Services and APIs for developers
Recently active
Hi,In this topic it was advised to use following code: string referenceNbr = "001991"; APPaymentEntry graph = PXGraph.CreateInstance<APPaymentEntry>(); graph.Document.Current = graph.Document.Search<APPayment.refNbr>(referenceNbr) graph.APPost.Current = graph.APPost.SelectSingle(); graph.reverseApplication.Press();However, in reverseApplication method I get Object referenceThe exception occurs in this method inside reverseApplicationI can not figure out which “e” object in upper method is null, because debug does not allow to view call stack or check objects in Watch for Acumatica classesSuggest please, how it can be fixed or implemented by another approach that will allow to return Item back after it was released
HiIn this topicit was suggested how I can download the merged customizationsDuring this process Acumatica assigns its own name (customization) to new packageDoes Acumatica support renaming of the package at this step ?As I can see I can rename customization directly at Customization Project tab I am not sure that it will not lead to errors, but if this way to rename customizations is correct, everything is okay
Hi, I need to call Reverse Application action programmaticallyMy application has custom process screen, which is triggered by user input, inside class of this process screen I need to write logic that will call reverse application, that is the reason why calling via Base is impossible.The version of Acumatica is 2021R2Thanks in advance.
Hi,I need to add to my application logic that will Void Checks and Payments items which have “closed” stateWhen I try to do this programmatically via this codeI get error in this event, which is called when I try to call Void action This event is located in this path : C:\Program Files\Acumatica ERP\AcumaticaDB_new\App_Data\CodeRepository\PX.Objects\AP\APPaymentEntry.csThe reason why I get object reference in this event is that NewValue filed is null and can’t look from which place we transfer PXFieldVerifyingEventArgs object to this event, because thought all call stack from my code to this Class I receive these errorsSo I can’t investigate from which place null is coming to the eventBesides, this is Acumatica code, change it in any way will be bad idea, maybe there is something that must be added in my code and will help to fix object reference in the event.The version of Acumatica is 2021R2Thanks in advance.
I am creating a customization to the Sales Order Entry screen, and I need to capture the data from the screen. I can get the ID numbers for the Contact and the Project from the SOOrder object, but I need to send the actual contact name and project description. I can get the Customer and Location information from the screen by getting the Current record in the cache, but when I tried this for Contact and Project, the Current property is NULL. How can I easily get this information so I can get the fields I need? Any ideas? SOOrder soOrder = (SOOrder)Base.Caches[typeof(SOOrder)].Current; Customer customer = (Customer)Base.Caches[typeof(Customer)].Current; Location location = (Location)Base.Caches[typeof(Location)].Current;
Hi,I need to create customization project that will include all functionality from existing 2 for more convenient way for deploying projectDoes Acumatica support merge of 2 existing customization projects or adding changes from one project to another ? There is no difference in what way it could be done, I just need to gather all custom logic to one package. Acumatica version 2021R2thanks in advance
Hello,Im trying to request applications from invoice to get payments. I tried to use such request https://*comanyname*.acumatica.com/entity/*EndPointVersion*/SalesInvoice/Invoice/*invoiceID*?$expand=ApplicationsCreditMemo,Detailsbut it returns "ApplicationsCreditMemo": []but I see my invoice has Applications. Please suggest how to request SalesInvoice applications?
Hi In this topic The sample custom screen and endpoint was provided by @jinin for my solution, which contains custom screen with user and password for input in Acumatica interface I need to add one more field here for input : URL. How it should be done in proper way ?I opened custom screenTried to add new field called usrURLSuccessfully published without errors, after that, this field appeared at endpoint selector The thing about which I am worried about is this tab : Data Access CustomEndpoint.FilterIt appeared only after I added new filed, am I doing something wrong ? Will it cause some troubles ?
Hi,In this topic The sample custom screen and endpoint was provided by @jinin for my solution, which contains custom screen with user and password for input in Acumatica interface So, I have custom form with fieldsI need password value to be hidden same as at login tabWhat actions at customization screen must be done for that ?Acumatica version 2021R2thanks in advance
how to handle or bypass api error “quantity available will go negative”?Validate Min. Markup set no validation
Hello,This is a very general, non technical question but you must be the people who can give the best advice.We have been business partners since 2012 but we don’t have an in-house developer. We can handle a few screen customisations but apart from that we outsource our development. In the past we did have developers in-house but we found that we did not have the experience to manage the developers properly. Projects took much longer than expected and went way over budget, which we could not recover. Using subcontractors is convenient for us as we don’t have those issues.However, we are finding that we are often being asked to provide web api integrations for clients. This is something that I think we could do in-house because API development is a much more focused area with particular skill sets and the jobs are fairly similar meaning that we can gain good experience in a short period of time. Am I right in this assessment ? Is it a safe bet to focus just on API’s?ThanksJames
Hi all, When trying to get a token we receive “unauthorized_client” error. I double checked client id and secret are correct, and the “code” generated with the same client id without any issue on prior step. Reading the error code I suspect there may be a place where we give authorization the client application to get tokens? Not sure… Any help is appreciated
i have a problem with limit count current user API at the same time, so the API stop working from acumatica.Is there any solution for this problem?
Hi,I am developing a customization and got the “Error: You are not currently logged in” exception. I understand the problem, question is, how do I test if the user is logged in or not before I execute my code?
From the REST API (or indeed any API) to determine if a field can be written to, or is read-only?The OpenAPI schema seems not to provide this and neither does the adhocSchema. Thanks
I have field CustPORefNbr on my Service Orders screen that I wish to display on any Appointments spawned from the parent Service Order. I have created a custom field (UsrCustPORefNbr) on the Appointments screen that I wish to fill with the value from the parent Service Orders CustPORefNbr.It’s a read-only field on the Appointments screen; I don’t need it to update the database. It’s fine with me if it pulls the value from the Service Orders screen (DAC) every time the Appointment is displayed.I tried the following, but it caused my server to reboot endlessly: The perpetual reboots happened on both my development and production servers.Anybody got another suggestion, or know what I did wrong? Thanks much.
Hi All, We are looking to expose the Vendor Locations & retrieve details, address, validate account number etc via API but I cannot find it exposed like PaymentInstructions on Vendor, is there a way to access multiple locations or read them via API ?Thanks
IT is a customized Screen from https://github.com/Acumatica/Acumatica-LotSerialNbrAttribute In the customized screen setup I can see the Attribute and its fields I cant see the same in Endpoint setup for this screen.. It populates only the ImageURL If there is a bug in customization .. how to fix it?
Hello Friends,I’m new to Acumatica and I’m trying to integrate with Acumatica using Contract based REST APIs using OAuth. We have a L1 tier license.I generate the OAuth Access Token first, and then reuse it to call Acumatica APIs. But I often run into “API Login Limit” errors when I try to create Invoices through APIs. I’m confused because I’m not really trying to login and just trying to create Invoices and read customers. And since I’m using OAuth, I only login once and generate an access token, and use it in all subsequent calls.[PXException: API Login Limit]PX.LicensePolicy.PXLicensePolicy.CheckApiUsersLimits() +2479PX.Web.PXApplication.Application_PostAcquireRequestState(Object sender, EventArgs e) +9System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +223System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +94 Can you please help me un
I am updating an Item attributes using LotSerial Attribute library though API.. Initial GET Request to get receipt details Next is PUT request on specific ITEM. it shows it is updated in response When i do the get request again, i cant see updated changes? I dont know whether I am doing anythin wrong here or not...
Hello. Ive created general inquiry with these fields and made push notification with webhook, so it sends selected info to my website when the customer is changed.But it sends a notification ONLY if i change account address section. If I change primary contact or additional account info it doesnt send, but inquiry contains all of this information. Wat should I do for the notification to be sent? Thanks.
Im sorry for asking too many questions, but this system’s documentation is the most poor ive ever faced.Im trying to update customer via REST API and request stucks, loads for infinite and does nothing. The URL and data array and customer details are below. Wat im doing wrong? Thanks.
Hello. How can I find entity details? I need to update customer but I dont know the correct data structure http://joxi.ru/8238DOvu9NJMpA
Is there a way to programmatically release a budget via the REST API client???Something equivalent of the functionality available within Form GL505510...There is a `Released` property on each `BudgetDetail` line item but this appears to be read only (ie: its not updated when I set it on a PUT)
I would like to push an item to a sales order line in a sales order, and have it appear live while the user is in that sales order. Is there a way to do this with push notifications or some other mechanism, where we can tell the program that there has been an update to a sales order line via the REST api, and then reload that part of the screen to show the update? I know this can be done manually by the user with the little refresh button inside the sales order, but ideally I’d like to have a program that is watching for these changes and can reload that part of the page automatically when the new item is added.I feel like with enough hackery I can get this to work, but I’m wondering if there is a straightforward way to do it first.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.