[Axapta-Knowledge-Village] Updating selected records

2007-02-05 Thread Anil Ozay
Hi everybody,

I want to update selected records on grid, and refresh the results. This is
the code :


ttsBegin;
for (MyTable= MyTable_ds.getFirst(true) ? MyTable_ds.getFirst(true) :
MyTable_ds.cursor();
MyTable;  MyTable = MyTable_ds.getNext())
{


SELECT FORUPDATE MyTableUpdate
WHERE MyTableUpdate.RecId == MyTable.RecId;

MyTableUpdate.Qty = newQuantity;
MyTableUpdate.update();

*MyTable_ds.refresh();*
 }
ttsCommit;



Update is working correct but ds.refresh() only refresh the last selected
record. How can update all of the selected records without lost the marking.
I use ds.executeQuery(), it works but I lost selected records and cursor
goes to first record of the grid.

This is very important for us. I will really appreciated, if anyone can
solve this problem.

Best regards,

Anil Ozay
MVP Dynamics AX, Software Engineer


[Non-text portions of this message have been removed]



Re: [Axapta-Knowledge-Village] Updating selected records

2007-02-05 Thread Amit Jain
try using findRecord method on datasource.
   
  Regards
   
  Amit

Anil Ozay [EMAIL PROTECTED] wrote:
  Hi everybody,

I want to update selected records on grid, and refresh the results. This is
the code :

ttsBegin;
for (MyTable= MyTable_ds.getFirst(true) ? MyTable_ds.getFirst(true) :
MyTable_ds.cursor();
MyTable; MyTable = MyTable_ds.getNext())
{

SELECT FORUPDATE MyTableUpdate
WHERE MyTableUpdate.RecId == MyTable.RecId;

MyTableUpdate.Qty = newQuantity;
MyTableUpdate.update();

*MyTable_ds.refresh();*
}
ttsCommit;

Update is working correct but ds.refresh() only refresh the last selected
record. How can update all of the selected records without lost the marking.
I use ds.executeQuery(), it works but I lost selected records and cursor
goes to first record of the grid.

This is very important for us. I will really appreciated, if anyone can
solve this problem.

Best regards,

Anil Ozay
MVP Dynamics AX, Software Engineer

[Non-text portions of this message have been removed]



 

 
-
Everyone is raving about the all-new Yahoo! Mail beta.

[Non-text portions of this message have been removed]



Re: [Axapta-Knowledge-Village] Updating selected records

2007-02-05 Thread Anil Ozay
Hi Amit,

Thanks for your reply. When I look at findRecord(common record) method, I
see that it returns boolean.

How can I use this on my situation?

Thanks,

Anil


On 2/5/07, Amit Jain [EMAIL PROTECTED] wrote:

   try using findRecord method on datasource.

 Regards

 Amit

 Anil Ozay [EMAIL PROTECTED] anilozay%40gmail.com wrote:
 Hi everybody,

 I want to update selected records on grid, and refresh the results. This
 is
 the code :

 ttsBegin;
 for (MyTable= MyTable_ds.getFirst(true) ? MyTable_ds.getFirst(true) :
 MyTable_ds.cursor();
 MyTable; MyTable = MyTable_ds.getNext())
 {

 SELECT FORUPDATE MyTableUpdate
 WHERE MyTableUpdate.RecId == MyTable.RecId;

 MyTableUpdate.Qty = newQuantity;
 MyTableUpdate.update();

 *MyTable_ds.refresh();*
 }
 ttsCommit;

 Update is working correct but ds.refresh() only refresh the last selected
 record. How can update all of the selected records without lost the
 marking.
 I use ds.executeQuery(), it works but I lost selected records and cursor
 goes to first record of the grid.

 This is very important for us. I will really appreciated, if anyone can
 solve this problem.

 Best regards,

 Anil Ozay
 MVP Dynamics AX, Software Engineer

 [Non-text portions of this message have been removed]

 -
 Everyone is raving about the all-new Yahoo! Mail beta.

 [Non-text portions of this message have been removed]

 



[Non-text portions of this message have been removed]



Re: [Axapta-Knowledge-Village] Updating selected records

2007-02-05 Thread Amit Jain
you dont need to use this. It just tells you whether the record, which you were 
trying to find was found or not.
  

Anil Ozay [EMAIL PROTECTED] wrote:
  Hi Amit,

Thanks for your reply. When I look at findRecord(common record) method, I
see that it returns boolean.

How can I use this on my situation?

Thanks,

Anil

On 2/5/07, Amit Jain [EMAIL PROTECTED] wrote:

 try using findRecord method on datasource.

 Regards

 Amit

 Anil Ozay [EMAIL PROTECTED] anilozay%40gmail.com wrote:
 Hi everybody,

 I want to update selected records on grid, and refresh the results. This
 is
 the code :

 ttsBegin;
 for (MyTable= MyTable_ds.getFirst(true) ? MyTable_ds.getFirst(true) :
 MyTable_ds.cursor();
 MyTable; MyTable = MyTable_ds.getNext())
 {

 SELECT FORUPDATE MyTableUpdate
 WHERE MyTableUpdate.RecId == MyTable.RecId;

 MyTableUpdate.Qty = newQuantity;
 MyTableUpdate.update();

 *MyTable_ds.refresh();*
 }
 ttsCommit;

 Update is working correct but ds.refresh() only refresh the last selected
 record. How can update all of the selected records without lost the
 marking.
 I use ds.executeQuery(), it works but I lost selected records and cursor
 goes to first record of the grid.

 This is very important for us. I will really appreciated, if anyone can
 solve this problem.

 Best regards,

 Anil Ozay
 MVP Dynamics AX, Software Engineer

 [Non-text portions of this message have been removed]

 -
 Everyone is raving about the all-new Yahoo! Mail beta.

 [Non-text portions of this message have been removed]

 


[Non-text portions of this message have been removed]



 

 
-
TV dinner still cooling?
Check out Tonight's Picks on Yahoo! TV.

[Non-text portions of this message have been removed]



[bisnis-retail] dataentryworksdetails

2007-02-05 Thread reema send
http://hyperurl.com/823


check above
dataentryworksdetails



http://hyperurl.com/823

-
 Here’s a new way to find what you're looking for - Yahoo! Answers 

[Non-text portions of this message have been removed]



posting: [EMAIL PROTECTED]

subscribe  : [EMAIL PROTECTED]

unsubscribe: [EMAIL PROTECTED]

Web: http://www.bisnis-pulsa.com/?id=warungpulsa

 Tingkatkan kewirausahaan, sukses  sejahtera  
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/bisnis-retail/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/bisnis-retail/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[bisnis-retail] dataentryworksdetails

2007-02-05 Thread reema send
http://hyperurl.com/823


check above
dataentryworksdetails



http://hyperurl.com/823

-
 Here’s a new way to find what you're looking for - Yahoo! Answers 

[Non-text portions of this message have been removed]



posting: [EMAIL PROTECTED]

subscribe  : [EMAIL PROTECTED]

unsubscribe: [EMAIL PROTECTED]

Web: http://www.bisnis-pulsa.com/?id=warungpulsa

 Tingkatkan kewirausahaan, sukses  sejahtera  
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/bisnis-retail/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/bisnis-retail/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[Axapta-Knowledge-Village] Printer Icon is disabled.

2007-02-05 Thread Imthiyaz Ahamed
Hi Group,

 I have the setup Axapta 3.0 with SP4 and Backend is SQL Server 
2005. After Built Sales Order  Purchase Order Reports. I have tried  to take 
Printout. But In Purchase Order Report, Thr Printer Icon is showing correctly. 
But all Sales Order reports(Quotation,Confirmation,Pick Pack Slip,Invoice),the 
Printer Icon is disabled.

This is the Local Printer directly connected with the machine.I can see the 
Printer in Settings. I can Print all other files. What could be the reason. 
where can I check the printer settingd? Is there any option available to do in 
Axapta?

Please advice on this.

Kind Regards,
Imthiyaz Ahamed.A


 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

[Non-text portions of this message have been removed]



[Axapta-Knowledge-Village] Problem during upgradation from AX 3.0 to AX 4.0

2007-02-05 Thread ajastra_1
Hi all,

I m having problem in data upgrade of Axapta 3.0 to axapta 4.0.
I have installed Axapta 3.0 with india localization on my machine and 
now I upgraded the data using proper Data Upgrade process.
But now when I m trying 2 start the AOS it is giving me problem 
of Error code 100(0*64). What can b the possible cause of problem 
and what can i do 2 solve it?
Also can u please tell me,is there any demo data for India 
Localization like the data for Standard?

Regards,
Ashish.



RE: [Axapta-Knowledge-Village] Re: Ax (in Citrix) doesn´ t print on local printers

2007-02-05 Thread Ilja Tiemann
Hi Frode, we tried this already. So just to go for sure. Where should it be 
changed?
- on the local machine
- on the Citrix-Server
- on the AOS
- on some of them
??? 
Thx Ilja
 



To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Tue, 30 Jan 2007 14:52:24 
+Subject: [Axapta-Knowledge-Village] Re: Ax (in Citrix) doesn´t print on 
local printers





HiThis is a known problem. Please change from generic windows printer drivers 
to native printer driver and it will workFrode --- In 
Axapta-Knowledge-Village@yahoogroups.com, Ilja Tiemann [EMAIL PROTECTED] 
wrote: Hi,   anybody there who knows how to print on local printer 
(USB/LPT) when Ax (Axapta) runs in a Citrix-Session? Ax aborts with the 
following infolog:  Error Meldung (16:42:22)  startDoc: rc:SP_ERROR  
Aborting reportname  Our salesrep´s are not able to use their 
homeoffice-printer out of axapta (running in citrix). Instead of Ax in the same 
Citrix-Session all other applications are able to print on the local printers. 
 Situation:  Ax V3.0 SP4, Kernel KR1 running on 5 Citrix-4.0-Server - 2 AOS 
- 1 SQL 2000 (the OS of Servers is MS Windows Server 2003 Std. Ed.) Notebooks 
in Homeoffices: Windows XP  Any solutions or recommendations?  Greetings  
Ilja Tiemann __ 
Suchen Sie von einer beliebigen Webseite aus - mit dem perfekten Schutz. Holen 
Sie sich noch heute die KOSTENLOSE Windows Live Toolbar! 
http://toolbar.live.com/  [Non-text portions of this message have been 
removed] 


_
Rufen Sie Freunde an - von PC zu PC - KOSTENLOS!
http://get.live.com/messenger/overview

[Non-text portions of this message have been removed]



[Axapta-Knowledge-Village] Locking forms in Axapta 3.0 SP4

2007-02-05 Thread Jorge HS
Hello everybody,
   
  I'm opening a Form from a Class, and I need lock all anothers forms that are 
opened. Then when I close the actually form, unlock all anothers forms.
   
  That I need do is the same that happen when I call the DialogBox (this 
function open a dialog and lock all the others form that are opened, and when 
this dialog is close, the others forms are unlocked).
   
  I can't use the DialogBox, because I need use a form for data entry.
   
  Somebody know how I can do this??
   
  Thanks in advance to all.
   
   
  Jorge
   
   


-
 Preguntá. Respondé. Descubrí.
 Todo lo que querías saber, y lo que ni imaginabas,
 está en Yahoo! Respuestas (Beta).
 Probalo ya! 

[Non-text portions of this message have been removed]



Re: [Axapta-Knowledge-Village] Locking forms in Axapta 3.0 SP4

2007-02-05 Thread Varden Morris
On the Design node of the form, change the WindowType property to the value 
popup. This will make the form modal.

 
Varden Morris 

85 Saddleland Close N.E. 
Calgary, Alberta T3J 5J5 
Canada 

(403) 366-8434 (H) 
(403) 615-1604 (C)
[EMAIL PROTECTED]
 
 



- Original Message 
From: Jorge HS [EMAIL PROTECTED]
To: Axapta-Knowledge-Village@yahoogroups.com; 
Axapta_Documentation@yahoogroups.com; [EMAIL PROTECTED]; 
development-axapta@yahoogroups.com
Sent: Monday, February 5, 2007 7:59:10 AM
Subject: [Axapta-Knowledge-Village] Locking forms in Axapta 3.0 SP4

Hello everybody,

I'm opening a Form from a Class, and I need lock all anothers forms that are 
opened. Then when I close the actually form, unlock all anothers forms.

That I need do is the same that happen when I call the DialogBox (this function 
open a dialog and lock all the others form that are opened, and when this 
dialog is close, the others forms are unlocked).

I can't use the DialogBox, because I need use a form for data entry.

Somebody know how I can do this??

Thanks in advance to all.


Jorge




 - - ---
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
Probalo ya! 

[Non-text portions of this message have been removed]





 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

[Non-text portions of this message have been removed]



Re: [Axapta-Knowledge-Village] Locking forms in Axapta 3.0 SP4

2007-02-05 Thread Varden Morris
My mistake. This only makes the form stay on top. This may not be the solution 
you are looking for.

Regards,

 
Varden Morris 

85 Saddleland Close N.E. 
Calgary, Alberta T3J 5J5 
Canada 

(403) 366-8434 (H) 
(403) 615-1604 (C)
[EMAIL PROTECTED]
 
 



- Original Message 
From: Varden Morris [EMAIL PROTECTED]
To: Axapta-Knowledge-Village@yahoogroups.com
Sent: Monday, February 5, 2007 4:48:07 PM
Subject: Re: [Axapta-Knowledge-Village] Locking forms in Axapta 3.0 SP4

On the Design node of the form, change the WindowType property to the value 
popup. This will make the form modal.

Varden Morris 

85 Saddleland Close N.E. 
Calgary, Alberta T3J 5J5 
Canada 

(403) 366-8434 (H) 
(403) 615-1604 (C)
[EMAIL PROTECTED] com



- Original Message 
From: Jorge HS [EMAIL PROTECTED] com.ar
To: Axapta-Knowledge- [EMAIL PROTECTED] ups.com; Axapta_Documentatio [EMAIL 
PROTECTED] com; 4AxaptaProfessional [EMAIL PROTECTED] com; development- [EMAIL 
PROTECTED] ps.com
Sent: Monday, February 5, 2007 7:59:10 AM
Subject: [Axapta-Knowledge- Village] Locking forms in Axapta 3.0 SP4

Hello everybody,

I'm opening a Form from a Class, and I need lock all anothers forms that are 
opened. Then when I close the actually form, unlock all anothers forms.

That I need do is the same that happen when I call the DialogBox (this function 
open a dialog and lock all the others form that are opened, and when this 
dialog is close, the others forms are unlocked).

I can't use the DialogBox, because I need use a form for data entry.

Somebody know how I can do this??

Thanks in advance to all.

Jorge

 - - ---
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
Probalo ya! 

[Non-text portions of this message have been removed]

 _ _ _ _ _ _
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail. yahoo.com

[Non-text portions of this message have been removed]





 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

[Non-text portions of this message have been removed]



[Axapta-Knowledge-Village] How to read data from weighing instrument?SOS!!!

2007-02-05 Thread [EMAIL PROTECTED]
 Dear all

  I want to read data from weighting instrumnet to Axapta, do you have any 
souce code or expirement or suggestion???

thanks you very much!!!


--
qhpeng
2007-02-06




RE: [Axapta-Knowledge-Village] How to read data from weighing instrument?SOS!!!

2007-02-05 Thread John Lindsay
The method depends on how you interface the scale and if you are using
citrix or terminal server on the front end.

 

I have just completed a project that uses Ethernet to connect
signature/credit card information in a citrix environment.

 

If you can provide the make and model of the scale, I can be of more help.

 

Confidentiality Notice: This e-mail contains confidential and/or privileged
information and is intended to be read only by the person or authorized
representative of the organization to whom it is addressed. If you are
neither of these persons, you have received this e-mail in error. Please do
not print, copy, re-transmit, disseminate or otherwise use the information,
all of which are prohibited. Please immediately notify the sender by return
e-mail or by telephone at (303) 593-1246 that you have received this
communication in error and delete this e-mail from your system. Thank you.




MBS Dynamics AX Master

John T. Lindsay

Micro Sciences

303 593-1246

720 982-4620

 

  _  

From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, February 05, 2007 5:58 PM
To: Axapta-Knowledge-Village
Subject: [Axapta-Knowledge-Village] How to read data from weighing
instrument?SOS!!!

 

Dear all

I want to read data from weighting instrumnet to Axapta, do you have any
souce code or expirement or suggestion???

thanks you very much!!!


--
qhpeng
2007-02-06

 



[Non-text portions of this message have been removed]



[bisnis-retail] outsourcingdataentrydetails

2007-02-05 Thread reema send
http://snipurl.com/197ab


check above
outsourcingdataentrydetails




http://snipurl.com/197ab

-
 Here’s a new way to find what you're looking for - Yahoo! Answers 

[Non-text portions of this message have been removed]



posting: [EMAIL PROTECTED]

subscribe  : [EMAIL PROTECTED]

unsubscribe: [EMAIL PROTECTED]

Web: http://www.bisnis-pulsa.com/?id=warungpulsa

 Tingkatkan kewirausahaan, sukses  sejahtera  
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/bisnis-retail/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/bisnis-retail/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[bisnis-retail] outsourcingdataentrydetails

2007-02-05 Thread reema send
http://snipurl.com/197ab


check above
outsourcingdataentrydetails




http://snipurl.com/197ab

-
 Here’s a new way to find what you're looking for - Yahoo! Answers 

[Non-text portions of this message have been removed]



posting: [EMAIL PROTECTED]

subscribe  : [EMAIL PROTECTED]

unsubscribe: [EMAIL PROTECTED]

Web: http://www.bisnis-pulsa.com/?id=warungpulsa

 Tingkatkan kewirausahaan, sukses  sejahtera  
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/bisnis-retail/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/bisnis-retail/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[bisnis-retail] outsourcingdataentrydetails

2007-02-05 Thread reema send
http://snipurl.com/197ab


check above
outsourcingdataentrydetails




http://snipurl.com/197ab

-
 Here’s a new way to find what you're looking for - Yahoo! Answers 

[Non-text portions of this message have been removed]



posting: [EMAIL PROTECTED]

subscribe  : [EMAIL PROTECTED]

unsubscribe: [EMAIL PROTECTED]

Web: http://www.bisnis-pulsa.com/?id=warungpulsa

 Tingkatkan kewirausahaan, sukses  sejahtera  
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/bisnis-retail/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/bisnis-retail/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [Axapta-Knowledge-Village] Locking Field

2007-02-05 Thread Joe DeRoche
I believe there is a way to apply a security
certificate at the field level that might accomplish
what you are looking for.

--- Wahyudin Zakie [EMAIL PROTECTED] wrote:

 Hi all..
   I am a beginer in Axapta and X++.
   I am using axapta 3.0, i want to know the code how
 to lock some field.
   For example when i using function settlement in
 journal, i want to lock  accountnum,accounttype,and
 postingprofile. so user can not change that  field
 after using function settlement. Thank's for your
 help...
   
   Zakie
   
   
 
  
 -
 We won't tell. Get more on shows you hate to love
 (and love to hate): Yahoo! TV's Guilty Pleasures
 list.
 
 [Non-text portions of this message have been
 removed]
 
 



 

Looking for earth-friendly autos? 
Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/


[Axapta-Knowledge-Village] Modifying lookups forms

2007-02-05 Thread Marko Salonen
Hello.

I've created a lookup form in 4.0 using Axeptapedia's code example
(http://www.axaptapedia.com/SysTableLookup_class). The lookup works
just fine, but is it possible to modify its properties, like column
widths or form height?

Regards,

-- Marko Salonen


[Axapta-Knowledge-Village] Ax 4.0 remote question

2007-02-05 Thread Marco Donna
I have Ax 4.0 AOS running on a remote system on a different network and its 
installed on an F drive. I tried to connect to it through VPN to the AOS with 
my client and I get an illegal directory structure error. I look into my client 
config and it shows up with only my local ax32.exe reference. Any ideas why 
this is happening and how to fix this?

Thanks in advance

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



Re: [Axapta-Knowledge-Village] Modifying lookups forms

2007-02-05 Thread Amit Jain
Cant you do this, on your field ? Why do you want to change properties from 
lookup method?

Marko Salonen [EMAIL PROTECTED] wrote:  Hello.

I've created a lookup form in 4.0 using Axeptapedia's code example
(http://www.axaptapedia.com/SysTableLookup_class). The lookup works
just fine, but is it possible to modify its properties, like column
widths or form height?

Regards,

-- Marko Salonen


 

 
-
Have a burning question? Go to Yahoo! Answers and get answers from real people 
who know.

[Non-text portions of this message have been removed]