Re: [Axapta-Knowledge-Village] Re:Re: how to display column heading using programmable section

2006-04-02 Thread Paulius
to call Programmable section use  control number:
 element.execute(1);// it is 1 in this case

if you set your programmable section property
Autodeclaration to Yes, then you can refer   to it
by the name:


YourPragrammableSectionName.execute();
also if you have fields in this prog. sec, you can
force to print labels for them:
YourPragrammableSectionName.executeColumnHeadings();


--- vk [EMAIL PROTECTED] wrote:

 Hi,
Thanks.I have tried, but i don't know about,
 which method()  used to call the programmable
 section in page header's execute section.
 (  I have tried in page header's execute section
 to call the programmable section by using the
 execute section().but it cause the error.normally
 the programmable section is executed by using
 this.execute().but this method is not shown in the
 list.)

   help me...

   regards,
   vijay

   Message: 16
Date: Thu, 30 Mar 2006 21:23:00 -0800 (PST)
From: Paulius [EMAIL PROTECTED]
 Subject: Re: how to display column heading using
 programmable section 
 on each page?
 
   add PageHeader to your report and call
 programmable
 section in PageHeaders's execute section.
 Of course you must omit this action for the first
 page.
 
 --- vk [EMAIL PROTECTED] wrote:
 
  Hi,
In my Report,I have displaying the column
 heading
  by using Programmable section.the first page it
  comes,bcz first time i have execute the
 programmable
  section.but the next page the column heading not
  shown.
my query is,
how to know the report ( records) goes to next
  page? i want, each page displaying the column
  heading using programmable section. how to do?
 
thanks in advance..
 
regards,
vijay
 
 
 Send instant messages to your online friends
 http://uk.messenger.yahoo.com 
 
 [Non-text portions of this message have been
 removed]
 
 


Paulius Cerniauskas
ICQ: 280959446

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


Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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] how to display column heading using programmable section on each page?

2006-03-30 Thread Paulius

add PageHeader to your report and call programmable
section in PageHeaders's execute section.
Of course you must omit this action for the first
page.

--- vk [EMAIL PROTECTED] wrote:

 Hi,
   In my Report,I have displaying the column heading
 by using Programmable section.the first page it
 comes,bcz first time i have execute the programmable
 section.but the next page the column heading not
 shown.
   my query is,
   how to know the report ( records) goes to next
 page? i want, each page displaying the column
 heading using programmable section. how to do?

   thanks in advance..

   regards,
   vijay
 
 Send instant messages to your online friends
 http://uk.messenger.yahoo.com 
 
 [Non-text portions of this message have been
 removed]
 
 


Paulius Cerniauskas
ICQ: 280959446

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


Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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: FW: [Axapta-Knowledge-Village] Simple Web App...

2006-03-09 Thread Paulius
in called web form's init() method you can write
something like this:

webArgs webArgs =
element.args().parmObject();
 SomeTable  someTable;
;

super();

webArgs = element.args().parmobject();
ttsbegin;
select SomTable
where parmt.RecId == webArgs.record();

if you noticed well - webArgs it is the header of your
web page. You can retrieve more interesting and useful
information from it.

--- Andre Klopper [EMAIL PROTECTED]
wrote:

 
 Hi,
 
 Thank you for the response. Got that to work... How
 do I access the parms on
 the form that's been opened?
 
 Here are the code I've tried.
 
 Sending form
 
 WebLink webLink;
 Argsargs;
 MenuFunctionmf;// if you need to pass
 something
 ;
 webLink = new WebLink();
 args= new Args();
 mf  = new
 MenuFunction(menuItemDisplayStr(SomeForm),
 MenuItemType::Display);
 
 args.record(TheDataSource);
 mf.create(args);
 webLink.menufunction( mf);
 webSession().redirect(webLink);
 
 
 Receeving Form
 
 TheDataSource = element.args().record();
 
 
 Regards,
 Andre Klopper
 
 
 -Original Message-
 From: Axapta-Knowledge-Village@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Paulius
 Sent: 03 March 2006 10:03 AM
 To: Axapta-Knowledge-Village@yahoogroups.com
 Subject: Re: [Axapta-Knowledge-Village] Simple Web
 App...
 
 First of all I suggest duoblecheck if Menu item set
 on
 the button refers tu Web form object you want to
 open.
 
 Second - what's on the second web form? Maybe you
 didn't add any objects to it so it is empty and
 shows
 nothing.
 Third - try this on first web form's button's
 clicked():
 WebLink webLink;
 Argsargs;
 MenuFunctionmf;// if you need to pass
 something
 
 ;
 webLink = new WebLink();
 args= new Args(); 
 
 args.parmObject(element);
 
 mf  = new
 MenuFunction(menuItemActionStr(mnuItemWEBForm2),
 MenuItemType::Display);
 mf.create(args); // if you need to pass
 something
 
 
 webLink.record(SomeRecordFetchedBefore); // if
 you
 need to pass something
 webLink.menufunction( mf);
 webSession().redirect(webLink);
 
 --- Andre Klopper [EMAIL PROTECTED]
 wrote:
 
  Hi,
  
  I feel very stupid at this stage but here goes... 
  
  I've created my a a duplicate of SimpleWebApp,
 that
  is fine that is working
  and I can get logged in.
  
  The problem. Created 2 webForms. 1 - With
 webButton
  with properties
  MenuItemName and WebTarget set to menuItem for
  webForm2 on it. This is
  suppose to open webForm2. But that just does not
  happen. No this must be
  very easy right. LOL but I just can't get it to
  work... Tried the following
  aswell.
  
  WebLink webLink;
  
  ;
  
  super(); 
  
  webLink = new WebLink();
  
  webLink.Webpage(myWebPage);
  
  WebSession().redirect(webLink);
  
  
  Regards
  Andre Klopper
  
  
 
 
 Paulius Cerniauskas
 ICQ: 280959446
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 
 
 Sharing the knowledge on Axapta.
 Visit www.frappr.com/axapta for axapta friends. 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
 
 


Paulius Cerniauskas
ICQ: 280959446

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


Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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: FW: [Axapta-Knowledge-Village] Simple Web App...

2006-03-09 Thread Paulius
Not sure what you want to do,
but maybe edit methods could help you there?

--- Andre Klopper [EMAIL PROTECTED]
wrote:

 Thanks this is great...
 
 Ons more question...
 When editing on the grid, I can change any field on
 any record and it writes
 correctly to the DB. But it is values that can be
 edited and I need to tally
 the amount after the edit. So I thought to put the
 code on the write method
 of the datasource, but it happen only for the top
 record. Not the rest. Any
 suggestions
 
 Regards
 Andre
 
 -Original Message-
 From: Axapta-Knowledge-Village@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Paulius
 Sent: 09 March 2006 15:21 PM
 To: Axapta-Knowledge-Village@yahoogroups.com
 Subject: Re: FW: [Axapta-Knowledge-Village] Simple
 Web App...
 
 in called web form's init() method you can write
 something like this:
 
 webArgs webArgs =
 element.args().parmObject();
  SomeTable  someTable;
 ;
 
 super();
 
 webArgs = element.args().parmobject();
 ttsbegin;
 select SomTable
 where parmt.RecId == webArgs.record();
 
 if you noticed well - webArgs it is the header of
 your
 web page. You can retrieve more interesting and
 useful
 information from it.
 
 --- Andre Klopper [EMAIL PROTECTED]
 wrote:
 
  
  Hi,
  
  Thank you for the response. Got that to work...
 How
  do I access the parms on
  the form that's been opened?
  
  Here are the code I've tried.
  
  Sending form
  
  WebLink webLink;
  Argsargs;
  MenuFunctionmf;// if you need to pass
  something
  ;
  webLink = new WebLink();
  args= new Args();
  mf  = new
  MenuFunction(menuItemDisplayStr(SomeForm),
  MenuItemType::Display);
  
  args.record(TheDataSource);
  mf.create(args);
  webLink.menufunction( mf);
  webSession().redirect(webLink);
  
  
  Receeving Form
  
  TheDataSource = element.args().record();
  
  
  Regards,
  Andre Klopper
  
  
  -Original Message-
  From: Axapta-Knowledge-Village@yahoogroups.com
  [mailto:[EMAIL PROTECTED]
 On
  Behalf Of Paulius
  Sent: 03 March 2006 10:03 AM
  To: Axapta-Knowledge-Village@yahoogroups.com
  Subject: Re: [Axapta-Knowledge-Village] Simple Web
  App...
  
  First of all I suggest duoblecheck if Menu item
 set
  on
  the button refers tu Web form object you want to
  open.
  
  Second - what's on the second web form? Maybe you
  didn't add any objects to it so it is empty and
  shows
  nothing.
  Third - try this on first web form's button's
  clicked():
  WebLink webLink;
  Argsargs;
  MenuFunctionmf;// if you need to pass
  something
  
  ;
  webLink = new WebLink();
  args= new Args(); 
  
  args.parmObject(element);
  
  mf  = new
  MenuFunction(menuItemActionStr(mnuItemWEBForm2),
  MenuItemType::Display);
  mf.create(args); // if you need to pass
  something
  
  
  webLink.record(SomeRecordFetchedBefore); // if
  you
  need to pass something
  webLink.menufunction( mf);
  webSession().redirect(webLink);
  
  --- Andre Klopper [EMAIL PROTECTED]
  wrote:
  
   Hi,
   
   I feel very stupid at this stage but here
 goes... 
   
   I've created my a a duplicate of SimpleWebApp,
  that
   is fine that is working
   and I can get logged in.
   
   The problem. Created 2 webForms. 1 - With
  webButton
   with properties
   MenuItemName and WebTarget set to menuItem for
   webForm2 on it. This is
   suppose to open webForm2. But that just does not
   happen. No this must be
   very easy right. LOL but I just can't get it to
   work... Tried the following
   aswell.
   
   WebLink webLink;
   
   ;
   
   super(); 
   
   webLink = new WebLink();
   
   webLink.Webpage(myWebPage);
   
   WebSession().redirect(webLink);
   
   
   Regards
   Andre Klopper
   
   
  
  
  Paulius Cerniauskas
  ICQ: 280959446
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
  protection around 
  http://mail.yahoo.com 
  
  
  Sharing the knowledge on Axapta.
  Visit www.frappr.com/axapta for axapta friends. 
  Yahoo! Groups Links
  
  
  
   
  
  
  
  
  
  
 
 
 
=== message truncated ===


Paulius Cerniauskas
ICQ: 280959446

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


Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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] Question if checkbox is about to be changed

2006-02-26 Thread Paulius

have you tried validate() on dataroce field?

--- drescher_r [EMAIL PROTECTED] wrote:

 Hi! 
 
 I'm working on a customer's request to secure a
 checkbox. 
 It's in the InventTable-Form and if the user clicks
 the checkbox, a
 messagebox should appear and inform the user, that
 checking/unchecking
 the option results in something. If he clicks on OK,
 the change is
 submitted, else it's discarded..
 
 I tried putting in a clicked method, that checks the
 state of the box,
 creates an info about the state change and then
 calls super()...
 but it doesn't react! i tried modified-method and
 still no reaction.
 
 when i used the modified method of the datasource,
 it did react, but
 of course that's not an option for the method should
 prevent changing
 the box..
 
 any ideas why it doesn't work?
 Robert
 
 
 
 
 


Paulius Cerniauskas
ICQ: 280959446

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


Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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: SV: [Axapta-Knowledge-Village] Serious RunBaseReport problem

2006-02-10 Thread Paulius
Try do delete your pack method and create it again. It
isweird, but sometimes helps. Also try to set version
to 2 or some aother value than previous.

 
 
 Try deleting your usage data.
 
 Askeryd Thomas [EMAIL PROTECTED] wrote:  I had a
 class extending RunBaseReport which worked perfectly
 and run the report well.
 I then added a container to a table to store a
 PrintJobSettings which I got through calling the
 SysPrintForm.
 Now the class will not run. It crasches when the
 .getLast() is called in the class which calles the
 RunBaseReport.unpack.  
 
 case 1: // - ver. 1.5
 [version,packedReport] = packedClass;
 if (packedReport)
 {
 packedReportRun = new
 ReportRun(packedReport); CRASH
 // When GetLast is called, use
 report from tree instead
 if (inGetSaveLast)
 
 I suspect there is something with the storing of the
 PrintJobSetting which causes this but what is really
 the problem and why is it only this class which is
 effected since it crashes even though the code which
 fetches the container is commented away. 
 The errors given are: 
 - wrong container
 - object 'ReportRun' could not be created
 
 I m all baffled and dont have a clue what to do. Any
 help will be highly appreciated. If you need to see
 any more code I ll gladly post it.
 Thomas.
 
 
 [Non-text portions of this message have been
 removed]
 
 
 
 Sharing the knowledge on Axapta.
 Visit www.frappr.com/axapta for axapta friends. 
 
 
 
   SPONSORED LINKS 
 Business finance course   Business to
 business finance   Small business finance
 Business finance consultant   Business finance
 magazine   Business finance schools 
 
 -
   YAHOO! GROUPS LINKS 
 
 
 Visit your group Axapta-Knowledge-Village on
 the web.
 
 To unsubscribe from this group, send an email
 to:
 [EMAIL PROTECTED]
 
 Your use of Yahoo! Groups is subject to the
 Yahoo! Terms of Service. 
 
 
 -
   
 
 
 
 
 Varden Morris 
 Senior Developer 
 WellPoint Systems Inc. 
 
 
 
   Microsoft Gold Certified Partner
 
   (403) 444-5848 direct 
 (403) 444-3900 main 
   (403) 615-1604  cell
 www.wellpoint.ca 
 [EMAIL PROTECTED]
 
 
 
 
 
 
 
 -
 Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.
 
 [Non-text portions of this message have been
 removed]
 
 
 
 Sharing the knowledge on Axapta.
 Visit www.frappr.com/axapta for axapta friends. 
 
 
 
 
 SPONSORED LINKS 
 Business finance course

http://groups.yahoo.com/gads?t=msk=Business+finance+coursew1=Business+finance+coursew2=Business+to+business+financew3=Small+business+financew4=Business+finance+consultantw5=Business+finance+magazinew6=Business+finance+schoolsc=6s=185.sig=I8jDsORmsaYn0BeqghcJ2w
   Business to business finance

http://groups.yahoo.com/gads?t=msk=Business+to+business+financew1=Business+finance+coursew2=Business+to+business+financew3=Small+business+financew4=Business+finance+consultantw5=Business+finance+magazinew6=Business+finance+schoolsc=6s=185.sig=fCzze7cxm1K7TVKkzAaOrA
   Small business finance

http://groups.yahoo.com/gads?t=msk=Small+business+financew1=Business+finance+coursew2=Business+to+business+financew3=Small+business+financew4=Business+finance+consultantw5=Business+finance+magazinew6=Business+finance+schoolsc=6s=185.sig=v9sWAno7Kz4WuL8Tadcdhw
   
 Business finance consultant

http://groups.yahoo.com/gads?t=msk=Business+finance+consultantw1=Business+finance+coursew2=Business+to+business+financew3=Small+business+financew4=Business+finance+consultantw5=Business+finance+magazinew6=Business+finance+schoolsc=6s=185.sig=d1xwT3WL0E6XBf6cAV5BXA
   Business finance magazine

http://groups.yahoo.com/gads?t=msk=Business+finance+magazinew1=Business+finance+coursew2=Business+to+business+financew3=Small+business+financew4=Business+finance+consultantw5=Business+finance+magazinew6=Business+finance+schoolsc=6s=185.sig=qphRINaNuVm_6bwoQxgUmg
   Business finance schools

http://groups.yahoo.com/gads?t=msk=Business+finance+schoolsw1=Business+finance+coursew2=Business+to+business+financew3=Small+business+financew4=Business+finance+consultantw5=Business+finance+magazinew6=Business+finance+schoolsc=6s=185.sig=1RfnhYZpV99RKWRZzSH4gA
   
 
 
 
 YAHOO! GROUPS LINKS 
 
 
   
 *  Visit your group Axapta-Knowledge-Village

http://groups.yahoo.com/group/Axapta-Knowledge-Village
  on the web.
 
 *  To unsubscribe from this group, send an email to:
   
 [EMAIL PROTECTED]

mailto:[EMAIL PROTECTED]
 
 
 *  Your use of Yahoo! Groups is subject to the
 Yahoo! Terms of Service
 http://docs.yahoo.com/info/terms/ . 
 
 
 
 
 
 
 
 [Non-text portions of this message have been
 removed]
 
 


Paulius Cerniauskas
ICQ

Re: [Axapta-Knowledge-Village] Temporary table

2006-02-08 Thread Paulius
Temporary table is alive only where you declared it
and on runtime. It means that no data will be seen if
you open another instance of anbject( e.g.class that
does some calculation) or axapta even more.
That's why static methods like Find() on temp tables
will not work.
The only way is to traverse the temp table by 
while select 

--- Setiaji [EMAIL PROTECTED] wrote:

 Hi,all
 
 How can i see records in temporary table while im
 debugging ?
 I tried open 2 axapta application in the same
 time.But still cant see.
 
 - setiaji -
 
 
 


Paulius Cerniauskas
ICQ: 280959446

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


Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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] Axapta programming version control

2005-12-27 Thread Paulius Cerniauskas
We used this one
http://tortoisesvn.tigris.org/
it keeps folder structure that is important when
grouping objects - raports, forms atc.
and it is simple

--- kbi kbi [EMAIL PROTECTED] wrote:

 Hi,
 I think you can try this link. We have found it very
 interesting.

http://www.axdata.dk/www_dk/PDF_formater/VSSIntegration_v4.pdf
 Regards
 
 
 - Original Message 
 From: Andrew Staples [EMAIL PROTECTED]
 To: Axapta-Knowledge-Village@yahoogroups.com
 Sent: Wednesday, December 28, 2005 1:56:48 AM
 Subject: [Axapta-Knowledge-Village] Axapta
 programming version control
 
 Hello,
 
 We have several developers working on Axapta
 modifications, some internal,
 some outsourced.  We're looking for version control
 software that works
 within Axapta.  PerfectProgramming out of Australia
 had such a product, but
 it looks like their website is down.  Has anyone
 used their software, or are
 there recommendations for other products?  There is
 also a product (seems
 like it is in beta) called Axapta Source Code
 Management at
 nextinnovation.dkhas anyone used this product?  
 Or have you integrated
 with 3rd party programs to manage your development
 efforts?
 
 Thanks,
 
 Andrew
 
 
 
 Sharing the knowledge on Axapta.
 Visit www.frappr.com/axapta for axapta friends. 
 
 
 
 
 SPONSORED LINKS 
 Business finance course Business to business finance
 Small business finance 
 Business finance consultant Business finance
 magazine Business finance schools 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
 
  Visit your group Axapta-Knowledge-Village on the
 web.
   
  To unsubscribe from this group, send an email to:
 
 [EMAIL PROTECTED]
   
  Your use of Yahoo! Groups is subject to the Yahoo!
 Terms of Service. 


Paulius Cerniauskas
Phone: +37062049339
ICQ: 280959446



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



 Yahoo! Groups Sponsor ~-- 
$15 provides a child with safe, clean water. Your gift can make a difference.
http://us.click.yahoo.com/vp8GxB/icGMAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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] Refresh problem again

2005-12-14 Thread Paulius Cerniauskas
search for research or executeQuery string written
in that form.
If not found then maybe some class is initialized that
manages the Form behavior.

--- James Flavell [EMAIL PROTECTED] wrote:

 Hi everyone,
  
 I have run into another 'refresh' problem during SO
 and PO postings.
  
 It seems on the update screen where the user can
 edit the lines to be
 updated, that once the  user change the 'recv now'
 qty and press the key to
 go to the next line the system goes to the next line
 AND THEN JUMPS TO THE
 VERY TOP LINE!!!  This is driving the users mad as
 they have alot of lines.
  
 I have had a look and can see the datasource
 PurchParmLine is set to
 'Start Postiion = FIRST so this explains why it
 jumps back to the top
 record but I do not seem to be able to trap where it
 is thinking it needs to
 do a refresh to cause this jump.  Can someone help
 me with where to stick a
 break point or even better how to stop this
 behaviour (i.e. the cursor
 should just go to the next record) before the users
 kill me out of
 frustration ;) 
  
 I am using Ax3.0 SP2 but believe I tested it on SP4
 with the smae results
 
 Thanks
 James
  
 


Paulius Cerniauskas
Phone: +37062049339
ICQ: 280959446

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


 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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] Printer settings

2005-12-05 Thread Paulius Cerniauskas
I've made a little of customisation in enterprise
portal for printing reports to a file:

   printJobSettings printJobSettings;
   str 64 file;
   ReportRun reportRun;
;

file  =
\\machineName\SharedFolderName\fileName.RTF;

args = new args();
args.name(reportstr(ReportName));

args.caller(this);
reportrun = classFactory.reportRunClass(Args);
if (reportRun)
{
printJobSettings =
reportrun.printJobSettings();
printJobSettings.setTarget(PrintMedium::File);
printJobSettings.format(PrintFormat::RTF);
printJobSettings.fileName(file);
reportrun.init();
reportrun.run();
 }
..
In addition report property Interactive is set to NO

In the example below i use this piece of code to set
up paper pickup when printing Project invoice: FIrst
page is printed from tray that has id TrayNo1, other
pages prom Tray with Id TrayNo2.
printJobSettings.deviceName() - gets name of default
printer.

void traySetup()
{

;

   
element.printJobSettings().addTrayPageCopy(element.printJobSettings().getTray(TrayNo1),
1,1);
   
element.printJobSettings().addTrayPageCopy(element.printJobSettings().getTray(trayNo2),
2,2);
}

It must be mentioned that it is  difference where the
report class is runned On. Because server ant client
computer can have different default printers.

Also wicked behaviour has been noticed when working on
3tier. I couldn't manage to set up different trays for
printing on 3tier, while it works fine on 2 tier.

if you will succeed - feedback is welcome :) !

--- drescher_r [EMAIL PROTECTED] wrote:

 I'd like to print a daily report which shows open
 tasks from projects. 
 The problem is, that this must be created and
 printed automatically, 
 for which i have to 
 - print from a report method without interaction,
 the target being 
 window's default printer
 - select printing options like paper format
 
 i found sysPrintOptions and it's child
 printJobSettings - but the 
 documentation is (mildly spoken) poor
 
 any ideas how i could find out changing the printer
 settings? I'd like 
 to change the windows default if that's possible,
 like when the report 
 is started, it gets the current printer settings and
 changes them to 
 fit the desired, then it creates the report and
 prints using the now 
 changed defaults
 
 help,anyone? 
 
 
 
 


Paulius Cerniauskas
Phone: +37062049339
ICQ: 280959446



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



 Yahoo! Groups Sponsor ~-- 
Put more honey in your pocket. (money matters made easy).
http://us.click.yahoo.com/F9LvrA/dlQLAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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] Web Radio Buttons

2005-11-10 Thread Paulius Cerniauskas
If radio button denotes recod's field then the
selection is saved to the database when you press +
(AddButton/EditButton) if ShowAddButton or
ShowEditButton property is set to Yes.
If this selection is added to the web page as a web
control and it means some filtering parameter
(Filter:: Open/Posted/All) then you might want to have
WebButton control and to modify it's clicked()
method::

viod clicked()
{
Super();
Switch(WebRadioButtonName.selection())
{
 case (0) : // apply rage to get open transactions
   break;
 case (1) : // apply range to get posted transactions
   break;
 case (3) : // clear range to get all transactions
   break;
}
)

--- Rocco Giumelli [EMAIL PROTECTED] wrote:

 Yes, Thankyou that is great, But I am still stuck
  
 To get the selected Value, do I put this
 webradiobuttonname.selection() in a
 method in the design field or on the datasource.
  
 What saves the selection to the Database?, also I
 have only three enums to
 select from and the Portal Page Shows four, unsure
 where the fourth one
 comes from and what it was for.
  
 Rocco
 
   _  
 
 From: Axapta-Knowledge-Village@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Paulius
 Cerniauskas
 Sent: Thursday, 10 November 2005 2:34 PM
 To: Axapta-Knowledge-Village@yahoogroups.com
 Subject: Re: [Axapta-Knowledge-Village] Web Radio
 Buttons
 
 
 Create BaseEnum, set it's style to Radio BUtton.
 Add radiobutton web control to your web form and
 specify enum you just crated.
 set this  web control  AutoDecalration to Yes.
 Get the selected value:
 WebRadioButtonName.selection(). 
 
 --- Rocco Giumelli [EMAIL PROTECTED] wrote:
 
   Hi all
   
  Does anyone know what the trick is in getting the
  webradio button to work in
  the Axapta web portal?
   
  Thanks in advance.
   
  
  Rocco Giumelli
  
  Rocco Giumelli
  
  IT Manager
  
  Metric Australia Pty Ltd
  
  15 Roberts Street
  
  Bellevue WA 6056
  
   
  
  One Company One Solution
  
  Ph: 08 9374 5331 Fax: 08 9374 5333
  
   
  
  CONFIDENTIALITY NOTICE
  
  This electronic communication (including any
  attachments) is intended only
  for use by the named addressee(s) and may contain
  legally privileged and/or
  confidential information. If you are not the
  intended recipient of this
  electronic communication, you are put on notice
 that
  any dissemination,
  distribution, copying or use of the information
  contained in this electronic
  communication (including any attachments) is
  strictly prohibited. If you
  have received this electronic communication in
  error, please immediately
  notify me by return electronic communication and
  permanently delete the
  original, any copies and any print-outs of this
  electronic communication.
  
   
  
  Metric Australia Pty Ltd is not responsible for
 any
  changes made to an
  electronic communication (including any
 attachments)
  other than those made
  by Metric Australia Pty Ltd.
  
   
  
   
  
  
 
 
 Paulius Cerniauskas
 Phone: +37062049339
 ICQ: 280959446
 
 
 
 __ 
 Yahoo! FareChase: Search multiple travel sites in
 one click.
 http://farechase.yahoo.com
 
 
 Sharing the knowledge on Axapta. 
 
 
 
 
 SPONSORED LINKS 
 Business

http://groups.yahoo.com/gads?t=msk=Business+finance+coursew1=Business+fin

ance+coursew2=Business+to+business+financew3=Small+business+financew4=Bus

iness+finance+consultantw5=Business+finance+magazinew6=Business+finance+sc
 hoolsc=6s=185.sig=I8jDsORmsaYn0BeqghcJ2w finance
 courseBusiness

http://groups.yahoo.com/gads?t=msk=Business+to+business+financew1=Busines

s+finance+coursew2=Business+to+business+financew3=Small+business+financew

4=Business+finance+consultantw5=Business+finance+magazinew6=Business+finan
 ce+schoolsc=6s=185.sig=fCzze7cxm1K7TVKkzAaOrA to
 business finance
 Small

http://groups.yahoo.com/gads?t=msk=Small+business+financew1=Business+fina

nce+coursew2=Business+to+business+financew3=Small+business+financew4=Busi

ness+finance+consultantw5=Business+finance+magazinew6=Business+finance+sch
 oolsc=6s=185.sig=v9sWAno7Kz4WuL8Tadcdhw business
 finance   
 Business

http://groups.yahoo.com/gads?t=msk=Business+finance+consultantw1=Business

+finance+coursew2=Business+to+business+financew3=Small+business+financew4

=Business+finance+consultantw5=Business+finance+magazinew6=Business+financ
 e+schoolsc=6s=185.sig=d1xwT3WL0E6XBf6cAV5BXA
 finance consultant
 Business

http://groups.yahoo.com/gads?t=msk=Business+finance+magazinew1=Business+f

inance+coursew2=Business+to+business+financew3=Small+business+financew4=B

usiness+finance+consultantw5=Business+finance+magazinew6=Business+finance+
 schoolsc=6s=185.sig=qphRINaNuVm_6bwoQxgUmg
 finance magazine
 Business

http://groups.yahoo.com/gads?t=msk=Business+finance+schoolsw1=Business+fi

nance+coursew2=Business+to+business+financew3=Small+business+financew4=Bu

siness+finance+consultantw5=Business+finance+magazinew6=Business+finance+s

Re: [Axapta-Knowledge-Village] Web Radio Buttons

2005-11-09 Thread Paulius Cerniauskas
Create BaseEnum, set it's style to Radio BUtton.
Add radiobutton web control to your web form and
specify enum you just crated.
set this  web control  AutoDecalration to Yes.
Get the selected value:
WebRadioButtonName.selection(). 

--- Rocco Giumelli [EMAIL PROTECTED] wrote:

  Hi all
  
 Does anyone know what the trick is in getting the
 webradio button to work in
 the Axapta web portal?
  
 Thanks in advance.
  
 
 Rocco Giumelli
 
 Rocco Giumelli
 
 IT Manager
 
 Metric Australia Pty Ltd
 
 15 Roberts Street
 
 Bellevue WA 6056
 
  
 
 One Company One Solution
 
 Ph: 08 9374 5331 Fax: 08 9374 5333
 
  
 
 CONFIDENTIALITY NOTICE
 
 This electronic communication (including any
 attachments) is intended only
 for use by the named addressee(s) and may contain
 legally privileged and/or
 confidential information. If you are not the
 intended recipient of this
 electronic communication, you are put on notice that
 any dissemination,
 distribution, copying or use of the information
 contained in this electronic
 communication (including any attachments) is
 strictly prohibited. If you
 have received this electronic communication in
 error, please immediately
 notify me by return electronic communication and
 permanently delete the
 original, any copies and any print-outs of this
 electronic communication.
 
  
 
 Metric Australia Pty Ltd is not responsible for any
 changes made to an
 electronic communication (including any attachments)
 other than those made
 by Metric Australia Pty Ltd.
 
  
 
  
 
 


Paulius Cerniauskas
Phone: +37062049339
ICQ: 280959446



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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] Dynamic Lookup on Dialog

2005-09-07 Thread Paulius Cerniauskas
the esiest way is to create new extended data type,
e.g. AAA_ProjId and create a form ProjIdLookUp, which
filters desired records. Then on AAA_ProjId FormHelp
property filed  specify that form you have just
created.

the other way is to use form with desired form control
that has overwriten lookup method (instead of dialog
class with dialogField).
how this works - check LedgerBalanceSheetPrint class.
It uses Form as a dialog.
then you should check ProjTable method
lookupProjWIP(). it constructs some specific query
that filters records.

hope it helps

--- Subrahmanyam, Mamidi [EMAIL PROTECTED] wrote:

 Hi Harry,
  
 I am using a dialog class in a report. 
  
 dlvProjectId = _dialog.addField(typeid(ProjId),
 'Select Project ID');
  
 Can I filter records on this ProjectID  on this
 dialog ?. The basic problem is I canot  use a
 relation  if I want to create and extend to ProjID .
 As I want to select only project starting with 'A'.
  
 I have no forms in my project. Can you please throw
 me some hints?
 Thanks  Regards,
 subbu
  
  
 
 
 Harry (Harshawardhan Deshpande
 [EMAIL PROTECTED] wrote:
 hi
  
 I can confirm that yes it is certainly possible. I
 remember doing this by getting the control of the
 form design (being used for looup).
  
 regards
  
 harry
 
 
 Subrahmanyam, Mamidi [EMAIL PROTECTED] wrote:
 Has anyone tried to have a dynamic lookup on a
 dialogue field?.
  
 Of course we can do it in a form by overiding the
 control's lookup method. But just wondering if
 anyone has tried to have a dynamic lookup.
  
 My requirement is projectId.
  
 But for example, user just wants to see only
  
 05.A
 05.A.201
 05.A.201.333
  
 Means I am not able to have a EDT which extends to
 ProjID which can filter 'LIKE *.A* project IDs...
  
  
 Please can anyone let me know if anyone tried this
 way?.
 thanks  Regards,
 subbu
 
 
 -
 Click here to donate to the Hurricane Katrina relief
 effort. 
 
 -
 Click here to donate to the Hurricane Katrina relief
 effort. 
 
 Sharing the knowledge on Axapta. 
 
 
 
 SPONSORED LINKS 
 Axapta Business finance course Business finance
 online course Business finance class Business
 finance schools Business finances 
 
 -
 YAHOO! GROUPS LINKS 
 
 
 Visit your group Axapta-Knowledge-Village on
 the web.
   
 To unsubscribe from this group, send an email
 to:
 
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the
 Yahoo! Terms of Service. 
 
 
 -
 
 
 
   
 -
  Click here to donate to the Hurricane Katrina
 relief effort.


Paulius Cerniauskas
Phone: +37062049339
ICQ: 280959446

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


 Yahoo! Groups Sponsor ~-- 
Help tsunami villages rebuild at GlobalGiving. The real work starts now.
http://us.click.yahoo.com/njNroD/KbOLAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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/