Loading ...

Acumatica Test Framework In Acumatica Part 2 Practice

In this part we implement real automation test for creating POOrder - screen PO301000; Before to start, please read first part of rhis post.  The main steps: Create solution and add nedeed components from SDK folder Add new project (Net library) to solution  Configure generator an...

Make Printing Of One Table Per Page With Css

Hello erybody, today I want to share one important note, which took significant amount of time from me to finish. I had page which as html output few tables. For me it was nessesary to make one page per table. In order to achieve it I've found following CSS: <style>     ...

Types Of Fliters In Net Core

Hello everybody, today I want to make a short document about filters in .Net Core. There are by default four types of filters: Filters that implement IAuthorizationFilter which allow us to implement OnAuthorization method which allow us to add custom security logic. Filters that implement IActio...

How To Override Part Of C Code In Automation Steps In Acumatica

Hello everybody, today I want to share one interesting gotcha which took plenty of efforts from mine side in order to understand it. Recently I got an assignment to modify behaviour of Create Prepayment action at purchase orders.  If to look at CreatePreapyment implementation, it has followi...

Creating Custom Autonumber Autogenerated Id In Acumatica

If you want to create custom Attribute for autonumbering field you need: Create Setup page for configuring autonumbering field or maybe you can use existing Create Attribute which you'll add to your entity Add attribute to field that you need increment    Create Setup page for co...

Entity Framework One To Many Relationship

Hello everybody, today I want to make short post on how to confiugre one to many relationship in Entity Framework 6. Imagine following: One group can have multiple students. So one to many relationship. For this purpose you can use following convention configuration agreement: public class&n...

Complete Description Of Arguments In Jforex Submitorder

Hello everybody, here I want to leave fragment of code related to submitOrder: public void onStart(IContext context) throws JFException { IEngine engine = context.getEngine(); IHistory history = context.getHistory(); Instrument instrument = Instrument.EURUSD; context.setSubscr...

New Class In Acumatica Pximpersonationcontext

Hello everybody, here I want to document new scope in Acumatica: PXImpersonationContext.  As often is the case try to look at presented code: var thr = new Thread(                   ...

Manage Serialization In Net Core 2 0

Hello everybody, today I want to write a short notice on how to manage uppercase/lowercase options for serialization in .Net Core. In mine practice I often had situation, when javascript or typescript code sends me some staff in lowercase class names, but in C# I'm used to Upper case class n...

Required Instead Of Current In Acumatica

Hello everybody, today I want to fulfill my promise that I gave to one of my readers.  He left at mine blog following question: How do we use required<> in place of current<> and pass some string constant for selector? That question was asked in context of this article. ...