today I want to share with you code that I use in order to conveniently to parse different xml nodes in C#.
Take a look at this class:
public static class XmlNodeProcessor
public static int? ParseInt(this string s)
public static long? ParseLong(this string s)
public static Guid? ParseGuid(this string s)
So, continue the work:)
Part 3 сreate customization and publish it
To create customization for import to MYOBAdvanced (acumatica) I need go to Customization - Customization Project and add new customization (Screenshot 10):
In this example I use design of acumatica ( add screen, add page, files and scripts) see Screenshot 11.
Also I add sql script that will add new column "UsrBodyWithoutHtml" to table "CRActivity" (Screenshot 12"):
After this click on "Publish"; I see whether validation has passed and there are no errors. If all ok I can close window and click export customization. ActivityCustomization.zip folder will be downloaded.
So, continue the work:). Part 1 is here.
Part 2 сreate page, graph, DAC class extension and xml page for mobile
First of all, In project I create folder "DAC" and add two clasess:
This class need to filter types rows from table CRActivity(column name - Type). Client asked display all events for that Business Account of type "Phone Call", "Client Visit" and "Futile Visit" So for this I do next:
public static class ActivityTypes
public const string F = "F";
public const string M = "MEET";
public const string P = "P";
public class fType : Constant<String>
I want to tell you some little history about how was created customization to existing MYOBAdvanced (Acumatica) project.
One guy who buy and use acumatica from MYOBAdvanced (myob.com), asked me to create customization.
The standard platform under Business Accounts has the Activities tab, which is where we record the data. Refer to attached screenshot.
I need a search page as follow on the app/mobile device:
Search field which only searches the Business Account Name field.
The user enters text, then Business account names that match that text are displayed, the user then selects the required account.
The page then display all events for that Business Account of type " … more
take a loot at the following picture:
Let's say that you would like to have two Acumatica instances connected to the same database. Is it possible? Definetely yes, just with pointing both of them to the same connection string and you'll get some kind of scalability.
But imagine that your Acumatica has execution of some automation schedules. How to make sure, that only one of them will be executor of Automation schedules, not both of them?
Very simple. Just add this key to web.config of Acumatica which should not be Automation schedules executor:
<add key="DisableScheduleProcessor" value="True"/>
Default value of DisableScheduleProcessor key is false, so you need … more
today I want to describe how to extend Stock Item screen IN202500 in Acumatica. Imagine that you need to add to tab General settings two selectors. Suppose that you need to have two selectors:
as you can see following need to be achieved:
To tab General Settings it is needed to add selectors: "Clase articulo web" and "Subclase articulo web".
In case if selector "Clase articulo web" changes, then "Subclase articulo web" should show some other values.
The first step should be start Acumatica developer project as described here.
For cases if we have dependency of one selector from another it is possible to program in two ways:
Custom selector for dependent code. … more
today I want to leave a note about one of mine customers. And you know, as soon as I've started to write this post I've caught myself that I can't name one person for whom I provide services for money with word customer. Please continue reading and you'll grasp what I mean.
Have you ever wonder how it could happen that Steve Jobs, guy that is not a designer, not UI-UX designer could orchestrate development of such cool devices? I always dreamed to meet such a person in life, not just read about them in wikipedia, or to read their books. And I can say that recently I've meet such a person.
Everything started from project that he asked me to create. And of course, I'm … more