RE: [development-axapta] Create Word document from code

2004-08-27 Thread Harry Nilsen




Thanks, this looks like the answer I was looking for.

-Original Message-
From: Amund [mailto:[EMAIL PROTECTED] 
Sent: 26. august 2004 11:41
To: [EMAIL PROTECTED]
Subject: Re: [development-axapta] Create Word document from code

Hi,
you could have a look at Tools-Development tools-Wizards-COM Class 
Wrapper Wizard, check out how things are done in the SysExcel*, 
SysMicrosoftAgent or SysOutlook* classes, or create your own class in
the 
lines of:

(Note: All error and version checking has been left out.)

class MyMSWord
{
 COM wdApp; // Word
 COM wdDocuments; // All documents
 COM wdDocument; // Current document
 COM wdBookmark; // Current bookmark

 container wdBookmarksEnum;
}

void new()
{
 wdApp = new COM(Word.Application);
 wdDocuments = COM::createFromObject(wdApp.Documents());
 wdBookmarksEnum = this.bookmarksEnumerate();
}

// Create a new document, based on template
boolean documentAdd(str _template)
{
 wdDocument = wdDocuments.Add(_template); // Add method of Word 
Documents object
 wdSelection = wdApp.Selection(); // The added document is
now 
the active one
 return true;
}

// Inserting text into bookmark
void bookmarkText(str _bookmark, str _text)
{
 this.bookmarkSelect(this.bookmarkIndex(_bookmark)); // Selecting 
bookmark
 wdSelection.Text(_text); // Insert text into bookmark
}

// Select a bookmark by index
boolean bookmarkSelect(int _bookmarkIndex)
{
 COM cBookmarks;
 ;

 if (_bookmarkIndex = conlen(wdBookmarksEnum))
 {
 cBookmarks = wdDocument.Bookmarks();
 wdBookmark = cBookmarks.Item(_bookmarkIndex);
 wdBookmark.Select();
 }
 return (wdBookmark ? true : false);
}

// Find bookmark index from name
int bookmarkIndex(str _name)
{
 return confind(wdBookmarksEnum, _name);
}

// Enumerate bookmarks in current document
container bookmarksEnumerate()
{
 container ret;
 int i;
 COM cBookmarks;
 COM cBookmark;
 ;

 cBookmarks = wdDocument.Bookmarks();
 for (i=1; i=cBookmarks.Count(); i++)
 {
 cBookmark = cBookmarks.Item(i);
 ret = conins(ret, i, cBookmark.Name());
 }
 return ret;
}

Then you should be able to do something like this:

static void adbTestWordBookmarks(Args _args)
{
 MyMSWord wd = new MyMSWord();
 CustTable custTable;
 int n;
 ;

 //wd.Visible(1); // Make Word visible if desired. By default it's
not

 while select custTable order by name
 {
 wd.documentAdd(C:\\Program Files\\Microsoft 
Office\\Templates\\1033\\Professional Fax.dot) // Create new 
document
 wd.bookmarkText(Cc, Tech. dep.);   //
Bookmark
 wd.bookmarkText(Company, Acme);   //
Company
 wd.bookmarkText(Fax, custTable.TeleFax);  // Fax
(number)
 wd.bookmarkText(From, Hal);
// From
 wd.bookmarkText(Pages, 1);//
Pages, could be obtained from 
Document object
 wd.bookmarkText(Subject, Fax from Axapta); // Subject
 wd.bookmarkText(To, custTable.Name);   // To
 wd.documentSave(strfmt(Fax to customer %1.doc, 
custTable.AccountNum)); //or wd.documentPrint(...);
 wd.documentClose();
 }
}

Looking at the vba code generated by the macro recorder in MSWord is
quite 
useful for figuring out how to do a specific task.
The vba code from MSWord can then easily be ported to Axapta.

Hope this helps.

Amund

Wed, 25 Aug 2004 17:02:34 +0200 skrev Harry Nilsen [EMAIL PROTECTED]:

 Hi!



 I have to create a Word document based on a Word template with
bookmarks
 from code using data from a table in Axapta.



 Does someone have an example of code which could help me out ?



 Regards,

 Harry





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



 Yahoo! Groups Sponsor
 ADVERTISEMENT

 Yahoo! Groups Links

 To visit your group on the web, go to:
 http://groups.yahoo.com/group/development-axapta/

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

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.







 
Yahoo! Groups Links



 











Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Cheque printing

2004-08-27 Thread Matt Benic




Hi Jason,
Excuse my ignorance, but the text only driver? Do you mean a standard
windows driver? I am just using the standard epson fx890 driver..

Regards,

Matt Benic
Axapta Developer
UTi Sun Couriers Division


-Original Message-
From: Jason Crook [mailto:[EMAIL PROTECTED]
Sent: 26 August 2004 05:11 PM
To: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Cheque printing


Ive also had endless problems with the Epson printers ,my solution which
works perfectly was just to use the generic text only driver

Regards

Jason Crook

Exordia





From: Matt Benic [mailto:[EMAIL PROTECTED]
Sent: 26 August 2004 13:57
To: Axapta Dev
Subject: [development-axapta] Cheque printing



Hi All,
We print company cheques using an Epson FX 890 dot matrix printer. We
have
been having problems with the printer skipping cheques. I have been
trawling
through the printer settings on wondoze, and have had no luck with the
problem so far. Would there be anything in Axapta that could influence
this.
Note it's not just that the alignment is off (that happens too, over
time)
but that the printer skips entire checks when printing.
Regards,

Matt Benic
Axapta Developer
UTi Sun Couriers Division






Yahoo! Groups Sponsor

ADVERTISEMENT
click here
http://us.ard.yahoo.com/SIG=129q4u9hp/M=298184.5285298.6392945.3001176/
D=groups/S=1705006764:HM/EXP=1093616330/A=2319501/R=0/SIG=11tq0u909/*htt
p:/www.netflix.com/Default?mqso=60185353partid=5285298


http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=group
s/S=:HM/A=2319501/rand=903365176





Yahoo! Groups Links

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

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

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






Yahoo! Groups Links
















Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] how to filter data on forms (date and time fields)...

2004-08-27 Thread jannolii




Hi!
 
I'm in need of advice. I have a form and i want to filter data by 
specifying time limit... for example: show rows that are newer than 
25.08.2004 12:00:00. But how can i do that when Axapta holds date 
and time separated (different types). Ok... i can make a query of my 
own and filter data only by date (= 25.08.2004). And then i could 
check on each returned row date and time (date  25.08.2004  time 
 12:00:00). And each row that is returned i put in somekind of temp 
table and sow only a temp table on form ... or i make a list of 
recid's or primary key's and then i make a query of my table with 
inner join on that list etc.
But isn't there a easy way? Does somebody know how to make it 
easier? Or maybe somebody knows such form in Axapta where this has 
been already done?
 
Please, let me know if you do.
 
Axapta 3.0 SP2
MS SQL 2000 server
 
 
Thanks in advance.
 
Janno Liivak
 











Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Cheque printing

2004-08-27 Thread Jason Crook




Hi Matt

 

Yes That's it seems to work better than the Epson drivers ,Where it says
Manafacturer set to Generic And then under printers use generic / text
only works great.

 

Hope it sort out the problem ,it should

Jason 

Exordia

South Africa

 



From: Matt Benic [mailto:[EMAIL PROTECTED] 
Sent: 27 August 2004 08:23
To: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Cheque printing

 

Hi Jason,
Excuse my ignorance, but the text only driver? Do you mean a standard
windows driver? I am just using the standard epson fx890 driver..

Regards,

Matt Benic
Axapta Developer
UTi Sun Couriers Division


-Original Message-
From: Jason Crook [mailto:[EMAIL PROTECTED]
Sent: 26 August 2004 05:11 PM
To: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Cheque printing


Ive also had endless problems with the Epson printers ,my solution which
works perfectly was just to use the generic text only driver

Regards

Jason Crook

Exordia





From: Matt Benic [mailto:[EMAIL PROTECTED]
Sent: 26 August 2004 13:57
To: Axapta Dev
Subject: [development-axapta] Cheque printing



Hi All,
We print company cheques using an Epson FX 890 dot matrix printer. We
have
been having problems with the printer skipping cheques. I have been
trawling
through the printer settings on wondoze, and have had no luck with the
problem so far. Would there be anything in Axapta that could influence
this.
Note it's not just that the alignment is off (that happens too, over
time)
but that the printer skips entire checks when printing.
Regards,

Matt Benic
Axapta Developer
UTi Sun Couriers Division






Yahoo! Groups Sponsor

ADVERTISEMENT
click here
http://us.ard.yahoo.com/SIG=129q4u9hp/M=298184.5285298.6392945.3001176/
D=groups/S=1705006764:HM/EXP=1093616330/A=2319501/R=0/SIG=11tq0u909/*htt
p:/www.netflix.com/Default?mqso=60185353partid=5285298


http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=group
s/S=:HM/A=2319501/rand=903365176





Yahoo! Groups Links

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

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

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






Yahoo! Groups Links











Yahoo! Groups Sponsor

ADVERTISEMENT
click here
http://us.ard.yahoo.com/SIG=12981tbvj/M=295196.4901138.6071305.3001176/
D=groups/S=1705006764:HM/EXP=1093676215/A=2128215/R=0/SIG=10se96mf6/*htt
p:/companion.yahoo.com 

 
http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=986736149 

 



Yahoo! Groups Links

* To visit your group on the web, go to:
 http://groups.yahoo.com/group/development-axapta/
  
* To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
be 
  
* 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]










Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] deleting files after import in X++

2004-08-27 Thread jasonm




I need some quick help!
 
I am importing data from a file from a network drive , after I have
imported the data I need to move or delete the file.
 
I think this may require the use of the COM. If someone could help me
out it would say me a lot of problems with my customer.
 
 
Regards
 
Jason
 


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











Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] is there any where to check that a dimension value on inventorytrans

2004-08-27 Thread James Flavell




Yes I am aware of this but I dont want to control it by the posting account
but your answer has maybe given me an idea where to put the check if I can
find where this standard check is made. I would like the check at picking
so I cannot rely on ledger postings.
Thanks James

 -Original Message-
 From: Girish Bhatkal [mailto:[EMAIL PROTECTED]
 Sent: 26 August 2004 17:06
 To: [EMAIL PROTECTED]
 Subject: RE: [development-axapta] is there any where to check that a
dimension value on inventorytrans


 Hi James,

 if you for these transactions financial postings are also activated. then
 you can go to that posting account (from inventory postings form). now go
to
 chart of account , select the account and then go to the dimension tab and
 select the mandatory dimension/ To be filled in


 -Original Message-
 From: James Flavell [mailto:[EMAIL PROTECTED]
 Sent: 26 August 2004 02:36
 To: [EMAIL PROTECTED]
 Subject: [development-axapta] is there any where to check that a dimension
 value on inventorytrans


 I hope someone can help me,

 Whenever an inventtrans is created/updated etc I want to check that one
of
 the dimensions is set. This is because I have created an inventory
 movement
 report that assumes the dimension is always set but I dont want to have
to
 go round every place in the system and put mandatory/checks as this will
 take forever, so I am hoping there is on place I can catch this. If the
 dimension is blank I would want to give an error and abort the operation
 the
 user was doing.

 If I was to put such checking in the validatewrite of the inventtrans I
am
 not confident as I think it maybe too late as I know there are a lot of
 processing that is done before inventtrans is finally updated...


 Thanks
 James

 -Original Message-
 From: Theissen, Annette [mailto:[EMAIL PROTECTED]
 Sent: 25 August 2004 23:50
 To: '[EMAIL PROTECTED]'
 Subject: AW: [development-axapta] Rows in a select


 Try this:

 InventTrans inventtrans;
 ;
 select count(RecID) from inventtrans where inventtras.transtype==3;
 info(int2str(inventTrans.RecID));

 The number of records is then stored in inventTrans.RecID.
 Also, please consider using enums instead of numbers. Here, you ought
to
 write InventTransType::Purch instead of 3. It makes the code a lotmore
 readable!

 Hope this helps!

 Annette


 Mit freundlichen Grüßen / Best regards
 Dipl. Phys. Annette Theißen
 System Software Entwicklung
 __
 Viscom AG - Carl-Buderus-Str. 9-15 - D-30455 Hannover
 Phone: +49/511/94996-0 - Fax: +49/511/94996-900
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] -
 http://www.viscom.de http://www.viscom.de/

 -Ursprüngliche Nachricht-
 Von: Alfonso Collados Arroyo [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 25. August 2004 16:40
 An: 'Development-Axapta (E-mail)
 Betreff: [development-axapta] Rows in a select


 Hi,
 How can i know in a 'select' the number of registers returned?
 For example,
 Code:
 InventTrans inventtrans;
 ;
 select inventtrans where inventtras.transtype==3;
 I need to know the number of registers.

 Thanks


 Yahoo! Groups Sponsor

 ADVERTISEMENT




http://us.ard.yahoo.com/SIG=129585agv/M=298184.5285298.6392945.3001176/D=gr



oups/S=1705006764:HM/EXP=1093531563/A=2319498/R=0/SIG=11thfntfp/*http://www.
 netflix.com/Default?mqso=60185352partid=5285298 click here




http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=groups/S=
 :HM/A=2319498/rand=146572662


 _

 Yahoo! Groups Links


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


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


 Yahoo! Groups Sponsor
 ADVERTISEMENT





 
--
 --
 --
 Yahoo! Groups Links

 a.. To visit your group on the web, go to:
 http://groups.yahoo.com/group/development-axapta/

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

 c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service.



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



 Yahoo! Groups Sponsor
 ADVERTISEMENT





 --
--
 --
 Yahoo! Groups Links

 a.. To visit your group on the web, go to:
 http://groups.yahoo.com/group/development-axapta/

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

 c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.



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



 Yahoo! Groups Sponsor
 ADVERTISEMENT






--
 

RE: [development-axapta] is there any where to check that a dimension value on inventorytrans

2004-08-27 Thread James Flavell




Sorry I mean this is not inventory dimension but normal 'financial'
dimension... but maybe you have given me an a idea to explore :)

THanks
James


-Original Message-
From: jagjeet singh [mailto:[EMAIL PROTECTED]
Sent: 26 August 2004 19:21
To: [EMAIL PROTECTED]
Subject: Re: [development-axapta] is there any where to check that a
dimension value on inventorytrans



Have a look on inventory dimension group on item card.
you can set which dimension you want to be mandatory
over there in all over the system.

Ta
--- James Flavell [EMAIL PROTECTED] wrote:

 I hope someone can help me,

 Whenever an inventtrans is created/updated etc I
 want to check that one of
 the dimensions is set. This is because I have
 created an inventory movement
 report that assumes the dimension is always set but
 I dont want to have to
 go round every place in the system and put
 mandatory/checks as this will
 take forever, so I am hoping there is on place I can
 catch this. If the
 dimension is blank I would want to give an error and
 abort the operation the
 user was doing.

 If I was to put such checking in the validatewrite
 of the inventtrans I am
 not confident as I think it maybe too late as I know
 there are a lot of
 processing that is done before inventtrans is
 finally updated...


 Thanks
 James

 -Original Message-
 From: Theissen, Annette
 [mailto:[EMAIL PROTECTED]
 Sent: 25 August 2004 23:50
 To: '[EMAIL PROTECTED]'
 Subject: AW: [development-axapta] Rows in a select


 Try this:

 InventTrans inventtrans;
 ;
 select count(RecID) from inventtrans where
 inventtras.transtype==3;
 info(int2str(inventTrans.RecID));

 The number of records is then stored in
 inventTrans.RecID.
 Also, please consider using enums instead of
 numbers. Here, you ought to
 write InventTransType::Purch instead of 3. It
 makes the code a lotmore
 readable!

 Hope this helps!

 Annette


 Mit freundlichen Gr|_en / Best regards
 Dipl. Phys. Annette Thei_en
 System Software Entwicklung
 __
 Viscom AG - Carl-Buderus-Str. 9-15 - D-30455
 Hannover
 Phone: +49/511/94996-0 - Fax: +49/511/94996-900
 mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] -
 http://www.viscom.de http://www.viscom.de/

 -Urspr|ngliche Nachricht-
 Von: Alfonso Collados Arroyo
 [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 25. August 2004 16:40
 An: 'Development-Axapta (E-mail)
 Betreff: [development-axapta] Rows in a select


 Hi,
 How can i know in a 'select' the number of
 registers returned?
 For example,
 Code:
 InventTrans inventtrans;
 ;
 select inventtrans where
 inventtras.transtype==3;
 I need to know the number of registers.

 Thanks


 Yahoo! Groups Sponsor

 ADVERTISEMENT



http://us.ard.yahoo.com/SIG=129585agv/M=298184.5285298.6392945.3001176/D=gr


oups/S=1705006764:HM/EXP=1093531563/A=2319498/R=0/SIG=11thfntfp/*http://www.
 netflix.com/Default?mqso=60185352partid=5285298
 click here



http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=groups/S=
 :HM/A=2319498/rand=146572662


 _

 Yahoo! Groups Links


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

 http://groups.yahoo.com/group/development-axapta/


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


 Yahoo! Groups Sponsor
 ADVERTISEMENT







 --
 Yahoo! Groups Links

 a.. To visit your group on the web, go to:

 http://groups.yahoo.com/group/development-axapta/

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

 c.. Your use of Yahoo! Groups is subject to the
 Yahoo! Terms of Service.



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







__
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.
http://messenger.yahoo.com





Yahoo! Groups Links


















Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] how to filter data on forms (date and time fields)...

2004-08-27 Thread Erik Hansen




Hi Janno,

 

In a queryRange you have a possibility to write an argument in the
value.

 

QueryBuildRange.value(strfmt('((%1 = %2)  (%3 = %3))',
fieldStr(Table, Field), systemDateGet(),fieldStr(Table, Field),
timeNow()));

 

Best regards

Erik Hanse

 



From: jannolii [mailto:[EMAIL PROTECTED] 
Sent: 26. august 2004 13:29
To: [EMAIL PROTECTED]
Subject: [development-axapta] how to filter data on forms (date and time
fields)...

 

Hi!

I'm in need of advice. I have a form and i want to filter data by 
specifying time limit... for example: show rows that are newer than 
25.08.2004 12:00:00. But how can i do that when Axapta holds date 
and time separated (different types). Ok... i can make a query of my 
own and filter data only by date (= 25.08.2004). And then i could 
check on each returned row date and time (date  25.08.2004  time 
 12:00:00). And each row that is returned i put in somekind of temp 
table and sow only a temp table on form ... or i make a list of 
recid's or primary key's and then i make a query of my table with 
inner join on that list etc.
But isn't there a easy way? Does somebody know how to make it 
easier? Or maybe somebody knows such form in Axapta where this has 
been already done?

Please, let me know if you do.

Axapta 3.0 SP2
MS SQL 2000 server


Thanks in advance.

Janno Liivak







Yahoo! Groups Sponsor

ADVERTISEMENT
click here
http://us.ard.yahoo.com/SIG=129hs8fvu/M=295196.4901138.6071305.3001176/
D=groups/S=1705006764:HM/EXP=1093676222/A=2128215/R=0/SIG=10se96mf6/*htt
p:/companion.yahoo.com 

 
http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=950169991 

 



Yahoo! Groups Links

* To visit your group on the web, go to:
 http://groups.yahoo.com/group/development-axapta/
  
* To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
be 
  
* 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]











Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] Re: deleting files after import in X++

2004-08-27 Thread kwc_thydev




Hi,

Checkout the WinAPI class, there is some usefull methods

regards,
Karsten
--- In [EMAIL PROTECTED], jasonm [EMAIL PROTECTED] 
wrote:
 I need some quick help!
 
 I am importing data from a file from a network drive , after I have
 imported the data I need to move or delete the file.
 
 I think this may require the use of the COM. If someone could help 
me
 out it would say me a lot of problems with my customer.
 
 
 Regards
 
 Jason
 
 
 
 [Non-text portions of this message have been removed]










Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] How to pass parameters to Web Reports?

2004-08-27 Thread utku tatlidede




Hi,
normal reports can be linked to web application
without change in axapta. Thats great but the
parameter page does not appear in web therefore all
the data queried and printed.
My question is -- How to pass parameters to Web
Reports?
Thks...



  
__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 










Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] Re: Web Sites

2004-08-27 Thread abcdplkm




Hi,

You should be able to choose a webapp after you selected 
the Shared option. If you don't choose a webapp then the next 
button is never be enabled. Hope this helps.

Regards,
Michel


--- In [EMAIL PROTECTED], hvniekerken 
[EMAIL PROTECTED] wrote:
 Make sure you fill in both fields name.
 Hope this helps.
 
 Regards,
 Herman
 
 --- In [EMAIL PROTECTED], Alfonso Collados Arroyo 
 [EMAIL PROTECTED] wrote:
  Hi,
  I am trying configure a Web Site. First of all I have created a 
 AppWeb.
  When I try to create a WebSite by the Wizard, the button Next is 
 always
  disable.
  I have the IIS running and The COM+ Axapta component installed.
  I set a name for the WebSite and i choose the Shared Option in 
the 
 first
  wizard screen .
  Why the next button is disable?
  thanks (sorry for my english)











Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] Re: InventTrans marking

2004-08-27 Thread jaimesq




Is quite difficult without a long explanation.

I'll try to write a brief description.

We have correct many of the errors but not all.

In general the marking, the dimension and the reservations are not 
working fine together.

When the automatic reservation, the ordered reserved sometimes is not 
working (corrected)
If you increment the quantity of a receipt marked with an issue the 
quantities related are wrong (corrected).
When return an item the marking are not correctly updated (corrected).
Its very easy to get a wrong marking and negative inventory in this 
cases.

The form for marking has a long list of mistakes with invoices 
return, and controlling marking between many transactions, internally 
the inventtrans the marking is right, but the form don't show it 
correctly (partially resolved)

If you change the dimensions in a receipt the marking updates the 
dimensions of the issue, but if you changes the dimensions of an 
issue the marking is wrong with different dimensions.
In general the marking should relate transactions with financial 
dimensions, but really it needs the same dimensions and it is not 
controlling this.

It is very heavy an problematic to use with transfer transactions, 
for example warehouse transfer.

This all I can remember at this moment.











Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Cheque printing

2004-08-27 Thread Matt Benic




Thanks Jason,
I tried that, but it still skips. It almost seems as if it's forcing
printing to a full size page instead of the size I specified..

Regards,

Matt Benic
Axapta Developer
UTi Sun Couriers Division


-Original Message-
From: Jason Crook [mailto:[EMAIL PROTECTED]
Sent: 27 August 2004 10:24 AM
To: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Cheque printing


Hi Matt



Yes That's it seems to work better than the Epson drivers ,Where it says
Manafacturer set to Generic And then under printers use generic / text
only works great.



Hope it sort out the problem ,it should

Jason

Exordia

South Africa





From: Matt Benic [mailto:[EMAIL PROTECTED]
Sent: 27 August 2004 08:23
To: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Cheque printing



Hi Jason,
Excuse my ignorance, but the text only driver? Do you mean a standard
windows driver? I am just using the standard epson fx890 driver..

Regards,

Matt Benic
Axapta Developer
UTi Sun Couriers Division


-Original Message-
From: Jason Crook [mailto:[EMAIL PROTECTED]
Sent: 26 August 2004 05:11 PM
To: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Cheque printing


Ive also had endless problems with the Epson printers ,my solution which
works perfectly was just to use the generic text only driver

Regards

Jason Crook

Exordia





From: Matt Benic [mailto:[EMAIL PROTECTED]
Sent: 26 August 2004 13:57
To: Axapta Dev
Subject: [development-axapta] Cheque printing



Hi All,
We print company cheques using an Epson FX 890 dot matrix printer. We
have
been having problems with the printer skipping cheques. I have been
trawling
through the printer settings on wondoze, and have had no luck with the
problem so far. Would there be anything in Axapta that could influence
this.
Note it's not just that the alignment is off (that happens too, over
time)
but that the printer skips entire checks when printing.
Regards,

Matt Benic
Axapta Developer
UTi Sun Couriers Division






Yahoo! Groups Sponsor

ADVERTISEMENT
click here
http://us.ard.yahoo.com/SIG=129q4u9hp/M=298184.5285298.6392945.3001176/
D=groups/S=1705006764:HM/EXP=1093616330/A=2319501/R=0/SIG=11tq0u909/*htt
p:/www.netflix.com/Default?mqso=60185353partid=5285298


http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=group
s/S=:HM/A=2319501/rand=903365176





Yahoo! Groups Links

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

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

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






Yahoo! Groups Links











Yahoo! Groups Sponsor

ADVERTISEMENT
click here
http://us.ard.yahoo.com/SIG=12981tbvj/M=295196.4901138.6071305.3001176/
D=groups/S=1705006764:HM/EXP=1093676215/A=2128215/R=0/SIG=10se96mf6/*htt
p:/companion.yahoo.com


http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=986736149





Yahoo! Groups Links

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

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

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





Yahoo! Groups Links
















Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] How to send a parameter with the clicked() method of a button?

2004-08-27 Thread Morten Aasheim




One solution is to use the Args class.

void clicked()
{
 Args args;
 ;

 args = new Args();
 args.caller(element.this());
 args.record(Table);
 args.parm(element.variableMethod());
 new Menufunction(menuItemDisplayStr(NewForm),
MenuItemType::Display).run(args);

 super();
 Table_ds.refresh();


}

Form2:

public void init()
{
  str var;
 table table;
 ;
 var = element.args().caller();
 table = element.args().record()
 //and so on ...  
}

Good luck :)


Morten
-Original Message-
From: abcdplkm [mailto:[EMAIL PROTECTED] 
Sent: 27. august 2004 11:52
To: [EMAIL PROTECTED]
Subject: [development-axapta] How to send a parameter with the clicked()
method of a button?

Hi,

I have 2 forms and when i click on the button of form1 the other 
form is opened. I have a variable (object) declared on form1 and I 
want to access this variable on form2. 

How do I do this?

Can I send a parameter with the clicked() method of a button? Maybe 
another solution? Any help is welcome!!

Btw I'm working with webforms!


Regards,
Michel





 
Yahoo! Groups Links



 














Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] How to send parameter with the clicked() method

2004-08-27 Thread Morten Aasheim




Opps.. 

 

Its supposed to be:

 

 var = element.args().parm(); .. 

 

 

Morten

 

 



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











Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] Re: How to send a parameter with the clicked() method of a button?

2004-08-27 Thread abcdplkm




Hi Morten,


Thanks for your answer!! This is the way to go for my problem, but 
still one question:

I have an object which i want to pass in my args(). Which propertie 
of the Args() class should I use?

Thanks again!!


Regards,
Michel

--- In [EMAIL PROTECTED], Morten Aasheim 
[EMAIL PROTECTED] wrote:
 One solution is to use the Args class.
 
 void clicked()
 {
 Args args;
 ;
 
 args = new Args();
 args.caller(element.this());
 args.record(Table);
 args.parm(element.variableMethod());
 new Menufunction(menuItemDisplayStr(NewForm),
 MenuItemType::Display).run(args);
 
 super();
 Table_ds.refresh();
 
 
 }
 
 Form2:
 
 public void init()
 {
  str var;
  table table;
  ;
  var = element.args().caller();
  table = element.args().record()
  //and so on ...  
 }
 
 Good luck :)
 
 
 Morten
 -Original Message-
 From: abcdplkm [mailto:[EMAIL PROTECTED] 
 Sent: 27. august 2004 11:52
 To: [EMAIL PROTECTED]
 Subject: [development-axapta] How to send a parameter with the 
clicked()
 method of a button?
 
 Hi,
 
 I have 2 forms and when i click on the button of form1 the other 
 form is opened. I have a variable (object) declared on form1 and I 
 want to access this variable on form2. 
 
 How do I do this?
 
 Can I send a parameter with the clicked() method of a button? 
Maybe 
 another solution? Any help is welcome!!
 
 Btw I'm working with webforms!
 
 
 Regards,
 Michel
 
 
 
 
 
 
 Yahoo! Groups Links










Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Re: How to send a parameter with the clicked() method of a button?

2004-08-27 Thread sebastien guicherd




Hi Michel
In the 'Args' class, you will find the 'ParmObject' method which should solve your problem.

Seb

-Message d'origine-
De : abcdplkm [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 27 août 2004 14:38
À : [EMAIL PROTECTED]
Objet : [development-axapta] Re: How to send a parameter with the clicked() method of a button?

Hi Morten,


Thanks for your answer!! This is the way to go for my problem, but still one question:

I have an object which i want to pass in my args(). Which propertie of the Args() class should I use?

Thanks again!!


Regards,
Michel

--- In [EMAIL PROTECTED], Morten Aasheim 
[EMAIL PROTECTED] wrote:
 One solution is to use the Args class.
 
 void clicked()
 {
 Args args;
 ;
 
 args = new Args();
 args.caller(element.this());
 args.record(Table);
 args.parm(element.variableMethod());
 new Menufunction(menuItemDisplayStr(NewForm),
 MenuItemType::Display).run(args);
 
 super();
 Table_ds.refresh();
 
 
 }
 
 Form2:
 
 public void init()
 {
  str var;
  table table;
  ;
  var = element.args().caller();
  table = element.args().record()
  //and so on ...  
 }
 
 Good luck :)
 
 
 Morten
 -Original Message-
 From: abcdplkm [mailto:[EMAIL PROTECTED]
 Sent: 27. august 2004 11:52
 To: [EMAIL PROTECTED]
 Subject: [development-axapta] How to send a parameter with the
clicked()
 method of a button?
 
 Hi,
 
 I have 2 forms and when i click on the button of form1 the other form 
 is opened. I have a variable (object) declared on form1 and I want to 
 access this variable on form2.
 
 How do I do this?
 
 Can I send a parameter with the clicked() method of a button? 
Maybe 
 another solution? Any help is welcome!!
 
 Btw I'm working with webforms!
 
 
 Regards,
 Michel
 
 
 
 
 
 
 Yahoo! Groups Links



 Yahoo! Groups Sponsor ~-- Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
~- 

 
Yahoo! Groups Links



 











Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] Re: How to send a parameter with the clicked() method of a button?

2004-08-27 Thread abcdplkm




Ok, thanks! I'll try it monday, because it's now weekend for me:)

Regards,
Michel

--- In [EMAIL PROTECTED], sebastien guicherd 
[EMAIL PROTECTED] wrote:
 Hi Michel
 In the 'Args' class, you will find the 'ParmObject' method which 
should solve your problem.
 
 Seb
 
 -Message d'origine-
 De : abcdplkm [mailto:[EMAIL PROTECTED] 
 Envoyé : vendredi 27 août 2004 14:38
 À : [EMAIL PROTECTED]
 Objet : [development-axapta] Re: How to send a parameter with the 
clicked() method of a button?
 
 Hi Morten,
 
 
 Thanks for your answer!! This is the way to go for my problem, but 
still one question:
 
 I have an object which i want to pass in my args(). Which 
propertie of the Args() class should I use?
 
 Thanks again!!
 
 
 Regards,
 Michel
 
 --- In [EMAIL PROTECTED], Morten Aasheim 
 [EMAIL PROTECTED] wrote:
  One solution is to use the Args class.
  
  void clicked()
  {
  Args args;
  ;
  
  args = new Args();
  args.caller(element.this());
  args.record(Table);
  args.parm(element.variableMethod());
  new Menufunction(menuItemDisplayStr(NewForm),
  MenuItemType::Display).run(args);
  
  super();
  Table_ds.refresh();
  
  
  }
  
  Form2:
  
  public void init()
  {
   str var;
   table table;
   ;
   var = element.args().caller();
   table = element.args().record()
   //and so on ...  
  }
  
  Good luck :)
  
  
  Morten
  -Original Message-
  From: abcdplkm [mailto:[EMAIL PROTECTED]
  Sent: 27. august 2004 11:52
  To: [EMAIL PROTECTED]
  Subject: [development-axapta] How to send a parameter with the
 clicked()
  method of a button?
  
  Hi,
  
  I have 2 forms and when i click on the button of form1 the other 
form 
  is opened. I have a variable (object) declared on form1 and I 
want to 
  access this variable on form2.
  
  How do I do this?
  
  Can I send a parameter with the clicked() method of a button? 
 Maybe 
  another solution? Any help is welcome!!
  
  Btw I'm working with webforms!
  
  
  Regards,
  Michel
  
  
  
  
  
  
  Yahoo! Groups Links
 
 
 
  Yahoo! Groups Sponsor 
~-- Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
 Now with Pop-Up Blocker. Get it for free!
 http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
 ---
-~- 
 
 
 Yahoo! Groups Links










Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Re: How to send a parameter with the clicked() method of a button?

2004-08-27 Thread Morten Aasheim




You can probably try args.object(). Never tried this one myself, but.. ;)

Mvh,
Morten

-Original Message-
From: abcdplkm [mailto:[EMAIL PROTECTED] 
Sent: 27. august 2004 14:38
To: [EMAIL PROTECTED]
Subject: [development-axapta] Re: How to send a parameter with the clicked()
method of a button?

Hi Morten,


Thanks for your answer!! This is the way to go for my problem, but 
still one question:

I have an object which i want to pass in my args(). Which propertie 
of the Args() class should I use?

Thanks again!!


Regards,
Michel

--- In [EMAIL PROTECTED], Morten Aasheim 
[EMAIL PROTECTED] wrote:
 One solution is to use the Args class.
 
 void clicked()
 {
 Args args;
 ;
 
 args = new Args();
 args.caller(element.this());
 args.record(Table);
 args.parm(element.variableMethod());
 new Menufunction(menuItemDisplayStr(NewForm),
 MenuItemType::Display).run(args);
 
 super();
 Table_ds.refresh();
 
 
 }
 
 Form2:
 
 public void init()
 {
  str var;
  table table;
  ;
  var = element.args().caller();
  table = element.args().record()
  //and so on ...  
 }
 
 Good luck :)
 
 
 Morten
 -Original Message-
 From: abcdplkm [mailto:[EMAIL PROTECTED] 
 Sent: 27. august 2004 11:52
 To: [EMAIL PROTECTED]
 Subject: [development-axapta] How to send a parameter with the 
clicked()
 method of a button?
 
 Hi,
 
 I have 2 forms and when i click on the button of form1 the other 
 form is opened. I have a variable (object) declared on form1 and I 
 want to access this variable on form2. 
 
 How do I do this?
 
 Can I send a parameter with the clicked() method of a button? 
Maybe 
 another solution? Any help is welcome!!
 
 Btw I'm working with webforms!
 
 
 Regards,
 Michel
 
 
 
 
 
 
 Yahoo! Groups Links




 
Yahoo! Groups Links



 












Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] Is there a good add-on for resource planning in the project module

2004-08-27 Thread koenplaisier




Hi there,

I am working for a service-company, and I am looking for a way to 
manage and plan our resources in axapta. 

We send our employees on jobs in the oil-industry, therefore they 
need to have certain certificates to prove they can do the job.

I am looking for a tool which can do some kind of smart resource-
allocation in the project-module of axapta?

Or is there a service-management module with such abilities?

Thanks











Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.