Posts

Showing posts from 2013

HTTPTimeOutException in ASP.net application

ASP.net application will throw HttpTimeOutException, if it’s request executing more than 100 seconds.If you need execution time more than that, set following setting in web.config file.<system.web>
<!-- in seconds-->
<httpRuntimeexecutionTimeout="300"/>
</system.web>

Convert a Double to String : M3

Since M3 java code is similar to RPG and use MvxString rather than String, here it is the code to convert/format numeric value to alpha value in M3. 1: this.PXNUM = dSUM; 2: this.PXALPH.clear(); 3: SRCOMNUM.COMNUM(); 4: WQT[tempIdx].moveRight(this.PXALPH);


In line number:
1. assign double value which is to be converted.
2. clear any previous value of PXALPH.
3. actual conversion . The SRCCOMNUM is an object of cSRCOMNUM class declared in mvx.app.util
4. gets converted alphanumeric value.
Let, dSUM= 38.05580 and if we want

to display dSUM with 2 decimal:
1: this.PXNUM = dSUM; 2: this.PXALPH.clear(); 3: this.PXDCCD = 2; // setting number of decimals. 4: SRCOMNUM.COMNUM(); 5: WQT[tempIdx].moveRight(this.PXALPH);


Output> 38.05



to display negative value: Here we have a option, to which character to be used for negative representations. (i.e. –38.05, (38.55), 38.05- etc)
1: this.PXNUM = dSUM; 2: this.PXALPH.clear(); 3: this.PXDCCD = 2; 4: SRCOMNUM…

Move to Movex (M3)

Image
From 2012-12-10, I’ve engaged with M3 , development. Now, I’m playing Senior Technical Lead role.  But I’m still interesting .net development which is my core strength.What is M3It is an ERP (Enterprise Resource Planning) solution for, specially, the fashion industry known as Movex. Originally it was developed by Intentia, a Sweden company and somewhere around 2008 it was acquired by Lawson. In late 2012, Infor1 has acquired M3.TechnologyTo discuss about the technology, it will take pages. In this post, I’m only going to talks about briefly. M3BE (M3 Business Engine) is the core component in M3. It is Java. It’s encapsulates ERP functionalities and Data Access Layer. Main data base is DB2, but new versions supports multiple data sources, including MS SQL server. ISO (Infor Smart Office)- is the front end for the users and client based application. It is WPF  (Microsoft Presentation Foundation) client application.Figure 1: Infor Smart Office