Re: [development-axapta] Locking field in SysQueryForm

2010-09-17 Thread kristanto surjadi
Hi Suki,   You can use status method in QueryBuildRange. Example:   QueryBuildRange qr;   qr = salesTable_ds.query().dataSourceTable(tablenum(salesTable)).addRange(fieldnum(salesTable,InvoiceAccount)); qr.status(rangeStatus::Locked);   With this code even if they open SysQueryForm you criteria

Re: [development-axapta] Weird Issue while deploying a from DEV env. to TEST env.

2009-05-19 Thread kristanto surjadi
Try to stop your service, delete axapd.aoi file, start service... compile and synch it. --- On Thu, 5/14/09, benoit.billington benoit.billing...@yahoo.com wrote: From: benoit.billington benoit.billing...@yahoo.com Subject: [development-axapta] Weird Issue while deploying a from DEV env. to

[development-axapta] Re: Data is exist but not display in axapta report

2009-03-24 Thread Kristanto Surjadi
Hi Seli, Regarding question number 1: First of all your code placement is very unusual. Why do you put it in formLetterRemarks display method? it is better to put it in the fetch method on the report...unless you have your reason Your programable section, that you execute (using

[development-axapta] Re: Runbase reports and reports with dialog method

2009-03-24 Thread Kristanto Surjadi
I believe all reports in ax extends runbase reports class. Reports which have Dialog and GetFromDialog are simply reports that have those 2 methods override from the standard to provide custom dialog for parameter entry purpose. Regards, Kris --- In development-axapta@yahoogroups.com, pranam

Re: [development-axapta] Newbie Question - Range Syntax

2008-06-10 Thread kristanto surjadi
One question that I have has to do with Ranges in the AOT. When I create a new range based on a date field, what syntax do I use in the properties pane when I want to say ExpDate lt; Today + 192? nbsp; --gt; You can't do that from AOT, however you can add the filter using x++. nbsp; nbsp; ---

Re: [development-axapta] Newbie Question - Range Syntax

2008-06-10 Thread kristanto surjadi
You can add x++ code add the report Init metod nbsp; nbsp;nbsp;nbsp; transdate td; nbsp;nbsp;nbsp; ; nbsp;nbsp;nbsp; nbsp;nbsp;nbsp; td = today() + 192; this.query().dataSourceTable(tablenum(datasourcetablename)).addrange(fieldnum( datasourcetablename,

Re: [development-axapta] Delete table and class members..

2008-06-02 Thread kristanto surjadi
This check box only has effect for application objects of types table and class . For other application object types, the check box is always implicitly selected and they are always overwritten. When the check box is not selected, the import overwrites existing members. If the

Re: [development-axapta] users permission

2008-05-22 Thread kristanto surjadi
SUDHARSANAM [EMAIL PROTECTED] wrote: hi all i am new Axapta 4.0 can u anyone tell how to set the permission for the users, now i am facing that the user should have the permission to create vendor only. others modules should restrict. thanks in advance regards, sam

Re: [development-axapta] users permission

2008-05-22 Thread kristanto surjadi
SUDHARSANAM [EMAIL PROTECTED] wrote: hi all i am new Axapta 4.0 can u anyone tell how to set the permission for the users, now i am facing that the user should have the permission to create vendor only. others modules should restrict. thanks in advance regards, sam

Re: [development-axapta] What does doInsert method do.

2008-05-22 Thread kristanto surjadi
If i'm not mistake the doInsert is almost the same with the Insert method. However the doInsert method skip/bypass the validateWrite method syed baber [EMAIL PROTECTED] wrote: Hi, There is a method call projtable.doInsert() in classes/ProjtableType/Insert method.I want to know what

Re: [development-axapta] Axapta Backup Data

2008-05-21 Thread kristanto surjadi
Personally, I prefer the data backup from SQL Server. The reason is because when you import a backup data from Axapta Administration Data Export Import, the record you imported will have new recids. This could create problem when you back up transaction data since in Ax recid is often use as

Re: [development-axapta] Help Required

2008-03-14 Thread kristanto surjadi
Add relation in TestLine table to TestHeader table. prosenjit ganguly [EMAIL PROTECTED] wrote: Dear All, This is Prosenjit Ganguly new in AX.I am facing a problem which is described below. I have created two table say TestHeader and TestLine.Primary key for TestHeader is TestId. and

Re: [development-axapta] Help posting PO with PackingSlip using X++

2007-12-19 Thread kristanto surjadi
Dear Earl, Try to call purchFormLetter.transDate method before you call the purchFormLetter.update method. Regards, Kris Earl Rey Lacsina [EMAIL PROTECTED] wrote: My problem is where I will put PackingSlip and PackingSlip Date in code if I use PurchFormLetter class.

Re: [development-axapta] How to increase number of client sessions on Axapta server?

2007-09-11 Thread kristanto surjadi
How many concurent user license do you have? The number of client that can log to server at the same time depends on your user license. Regards, Kris archana.lakhotiya [EMAIL PROTECTED] wrote: Hi All, I'm using Axapta server. Currently, only two client can log on to

[development-axapta] Re: Find the carriage return character in a String

2007-06-13 Thread Kristanto Surjadi
--- In development-axapta@yahoogroups.com, staffuwa [EMAIL PROTECTED] wrote: Hello Guys, I want to take out the part before the carriage return character when I find it in a string and put it on a variable, and do the same with the part next to this special character. How can I do it??