I will gloss over the absurdity, for now, of a “low code/no code” platform requriing this kind of technical solution to do something as simple as redirect the user to an external website by clicking a button:https://asiablog.acumatica.com/2017/08/redirecting-to-external-page-from-button.html I have implemented the solution described in the article, with a button in the Sales Order toolbar to launch a custom item lookup screen (it’s an external webpage that lives outside Acumatica and communicates to Acumatica via webhook).That all works well, except for one thing. If I try to pass any query parameters in the url (standard http get request….i.e Redirect8: http://www.mysite.com?myqueryparam=bob, then for whatever reason the query parameters are all stripped when the page loads. This seems to be happening with some sort of Javascript perhaps (I haven’t traced the source yet), because it’s very clear that the url is requested with query params, but then ends up without them. If I load the
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
If I already Login but My token has been expired .How to refresh token get. or Any other way to get token through rest API.
Specifically we are trying to customize the Attributes screen to add an Attribute Type/Category field (combobox). Then we can categorise attributes by Customer, Item, Other etc.I have created the custom field (usrAttributeType) as a PXDBString with PXStringList for the combo values.I have modified the PXSelector for the Attribute ID field. We want to have the Selector for the AttributeID use the value from the custom field to limit the attributes to ones with the category selected instead of the constant it uses currently. The field is called usrAttributeType and I have added the following so far:namespace PX.Objects.CS{ public class CSAttributeMaint_Extension : PXGraphExtension<CSAttributeMaint> { #region Event Handlers public class attribType: PX.Data.Constant<string> { public attribType() : base("I") { } } [PXDBString(10, IsUnicode = true, IsKey = true, InputMask = ">aaaaaaaaaa")] [PXDefault()] [PXUIField(DisplayName = "Attribute ID", Visibi
Hi Everyone,I’ve Created a new Extension DAC.in this DAC fields , I have to set the PXDefault values but, getting null reference error when inserting time.can you please help me on this ,How to insert the Default value in DB? . this is my Extension DAC fields :- #region WcID [WorkCenterIDField(Enabled = false)] [PXUIField(DisplayName = "Work Center", Enabled = false)] [PXDefault(typeof(Search<AMProdOper.wcID, Where<AMProdOper.orderType, Equal<Current<AMClockItem.orderType>>, And<AMProdOper.prodOrdID, Equal<Current<AMClockItem.prodOrdID>>, And<AMProdOper.operationID, Equal<Current<AMClockItem.operationID>>>>>>))] [PXFormula(typeof(Default<AMClockItem.operationID>))] [PXReferentialIntegrityCheck] public abstract class wcID : PX.Data.BQL.BqlString.Field<wcID> { } protected string _WcID; public virtual string WcID {
I have a webhook working in Acumatica. I want to be able to return, to the caller, some JSon of the transaction that they created instead of just status 200.public async Task<System.Web.Http.IHttpActionResult> ProcessRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken){ try { //do some things } catch (Exception ex) { var failed = new ExceptionResult(ex, true, new DefaultContentNegotiator(), request, new[] { new JsonMediaTypeFormatter() }); return failed; } //This is where I’m stuck. I’d be happy to return some JSon, similar to what the API would return after a successful call return ???}Intellisense is good at telling me what I can’t do, not really good at telling what I should do. :)
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.