[development-axapta] COMConnector using .Net

2004-01-02 Thread Morten Aasheim
replies :-) Sincerly Morten Aasheim Systemconsultant, Hands ASA _ Yahoo! Groups Sponsor Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. <>

[development-axapta] Webform - set datasource current record

2004-01-02 Thread Morten Aasheim
first row from the datasource. I’ve tried several methods on the datasource, like setCursor, setRecord …. Nothing seems to work. Any smart thoughts out there?? :) Morten Aasheim Systemconsultant Yahoo! Groups Sponsor ADVERTISEMENT click here Your use of Yahoo! Groups is subject to the

RE: [development-axapta] Help: SQL Syntax

2004-01-02 Thread Morten Aasheim
Do you want to use this information on a form? You can use QueryBuildDatasource to join tables: queryBuildDataSource.joinMode(JoinMode::OuterJoin); queryBuildDataSource.fetchMode(QueryFetchMode::One2One); queryBuildDataSource.addLink(fieldNum(table, field), fieldNum(table2, field2)); You

RE: [development-axapta] AOS Port Behind Firewall

2004-01-02 Thread Morten Aasheim
Hi. You can define which port(s) the client should communicate with the AOS in the AOS-manger. I don’t remember the standard-port at the moment. Morten _ From: Eau Parfumes [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 1:11 PM To: [EMAIL PROTECTED] Subject: [development

RE: [development-axapta] reading form datasource

2004-01-14 Thread Morten Aasheim
I think you have to get the data in a tableObject first. Its easy anyway so..   I do it like this:   method(FormDataSource ds)       Table table;     ;       table = ds().getFirst(1);       while(table) {     print table.field;  

RE: [development-axapta] Re: read multi row select

2004-02-05 Thread Morten Aasheim
I prefer doing it like this:     ZipCode zipCode;   if (DataSource1_DS.getFirst(true))   zipCode = DataSource1_DS.getFirst(true);   while(zipCode) {   //zipCode.DoSomething()   zipCode = DataSource1_DS.getNext(); }     Morten, CSY J   From: b

[spam] RE: [development-axapta] Re: read multi row select

2004-02-05 Thread Morten Aasheim
Yahoo! Groups SpamGuard has detected that the attached message to the group development-axapta is likely to be spam. For more information about SpamGuard, please visit our help pages: http://groups.yahoo.com/local/spamguar

[development-axapta] Spamfilter!

2004-02-05 Thread Morten Aasheim
Hey all Axapta-developers!   What’s up with this Spam-filter??   It’s seems to be a little bit too eager, don’t you think?     Morten, CSY     Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/  To unsubscribe f

RE: [development-axapta] axapta needs permission for outlook

2004-03-04 Thread Morten Aasheim
Hi. I prefer to use Dundas Mailer.   http://www.dundas.com/other/dundasmailer/index.aspx?Section=DundasMailer&Body=body.htm   This is integrated in Axapta. Just install the component, and declare the following:    SysMailer mailer = new SysMailer();    ;     Us

RE: [development-axapta] Multiline label

2004-03-05 Thread Morten Aasheim
You should set the property ‘MultiLine = true’ on the stringedit.   Mvh, Morten From: byteway_so [mailto:[EMAIL PROTECTED] Sent: 5. mars 2004 10:13 To: [EMAIL PROTECTED] Subject: [development-axapta] Multiline label   How can I get the label to display text multiline?

RE: [development-axapta] Re: Multiline label

2004-03-05 Thread Morten Aasheim
, but not the text in front of it... Do you have another idee? --- In [EMAIL PROTECTED], "Morten Aasheim" <[EMAIL PROTECTED]> wrote: > You should set the property 'MultiLine = true' on the stringedit. > >  > > Mvh, > > Morten > >   _

RE: [development-axapta] Logic in Axapta or MS SQL any comments

2004-03-08 Thread Morten Aasheim
Axapta has a resultset-object which you can loop.   Mvh, Morten From: Shahzad.Butt [mailto:[EMAIL PROTECTED] Sent: 8. mars 2004 17:31 To: [EMAIL PROTECTED] Subject: RE: [development-axapta] Logic in Axapta or MS SQL any comments     How would you loop over the result

RE: [development-axapta] Custom lookup in EP

2004-03-23 Thread Morten Aasheim
CustomLookup on a grid: Set the Property LookupMethod = Custom LookupControl = DataSource_Field (text) Override the lookup-method, and call a web-lookup method. You can make this yourself using the webTableLookup class. See ProjTable::lookupProj_web. Morten -Original Message- From:

RE: [development-axapta] How to find the position of the active record in a grid/datasource

2004-03-24 Thread Morten Aasheim
I've been trying to figure this out before, but with no success. So if you find a solution, please respond to the forum. Morten -Original Message- From: Gert Neetesonne [mailto:[EMAIL PROTECTED] Sent: 19. mars 2004 07:23 To: [EMAIL PROTECTED] Subject: [development-axapta] How to find

RE: [development-axapta] make the graph of a bucket OLAP in

2004-03-24 Thread Morten Aasheim
Its probably easier to connect to the cube directly from Excel. Be sure to have MS Query installed. Morten -Original Message- From: ncgco [mailto:[EMAIL PROTECTED] Sent: 24. mars 2004 17:16 To: [EMAIL PROTECTED] Subject: [development-axapta] make the graph of a bucket OLAP in It is p

RE: [development-axapta] after form post

2004-03-31 Thread Morten Aasheim
Ds_ds.research(); Morten -Original Message- From: byteway_so [mailto:[EMAIL PROTECTED] Sent: 31. mars 2004 14:01 To: [EMAIL PROTECTED] Subject: [development-axapta] after form post Hi All, - A form has a datasource. - The fields from the datasource are added to the forms design. - W

RE: [development-axapta] Inserting data into a table

2004-04-14 Thread Morten Aasheim
Hi, you could try overwrite the validateWrite method on the DataSource. Morten -Original Message- From: k_otickashka [mailto:[EMAIL PROTECTED] Sent: 15. april 2004 01:20 To: [EMAIL PROTECTED] Subject: [development-axapta] Inserting data into a table I would like enable a user to ins

RE: [development-axapta] Re: Inserting data into a table

2004-04-15 Thread Morten Aasheim
a] Re: Inserting data into a table I did that and got the part working where the user clicks "yes" but for the "no" part i am not sure on which method to call to clear the newly appended record. --- In [EMAIL PROTECTED], "Morten Aasheim" <[EMAIL PROTECTED]>

RE: [development-axapta] Need some guidance

2004-05-28 Thread Morten Aasheim
You have the "Navision Axapta Developers Guide" on the Help menu inside Axapta. If you look at Application Object Tree, you can see System Documentation and Application Developer Documentation. When you attend MBS developer courses, you may get some materials. There's also a few guides you

RE: [development-axapta] 2 important problems for me!

2004-06-10 Thread Morten Aasheim
Common f; f = element.dataSource(1).cursor(); print f.(1); .. Or you can access directly by the TableName.Field as usual. Mvh, Morten -Original Message- From: Baran Sasmaz [mailto:[EMAIL PROTECTED] Sent: 10. juni 2004 15:44 To: [EMAIL PROTECTED] Subject: [development-axapta] 2 i

RE: [development-axapta] Filtering Data

2004-06-10 Thread Morten Aasheim
You should first create an Extended Data Type for the id field, with relationship for table1.id. You should use this EDT on both tables's id field. -- Then create a menuitem for form 2. Use this menuitem to make a button on form 1 Then overwrite clicked-method on the button. void clicked() {  

[development-axapta] One application, different companies, different design on same reports..

2004-06-11 Thread Morten Aasheim
Hey guys! We're going to migrate to different developer applications into one operational application. Actually both applications are operational, but it's been continuously development on them. Mostly reportdesign etc. The decision is taken to migrate these two into one. My prob

[development-axapta] Tmp-data in Grid

2004-06-28 Thread Morten Aasheim
Hi How can I present data in grid from a tmp-table? (windows/web) Thanks! 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.ya

RE: [development-axapta] Remote connection: AOS versus Citrix

2004-06-29 Thread Morten Aasheim
All I can say that Citrix is possibly faster than AOS, but you should use AOS and thin-clients on the Citrix-server, otherwise you would overload the server easily. Morten -Original Message- From: icydeepbluebacardy [mailto:[EMAIL PROTECTED] Sent: 29. juni 2004 11:57 To: [EMAIL PROTE

[development-axapta] Set enumvalues by name

2004-07-29 Thread Morten Aasheim
I've tried using the str2enum, but that just works if I use the labelname.. The reason why I want to do this is because of an import-job uses the name-values as the source values. Regards, Morten Aasheim Systemkonsulent    _  [Non-text portions of this message ha

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);

[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://grou

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

2004-08-27 Thread Morten Aasheim
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 Aa

RE: [development-axapta] Enterprise Portal Debugging

2004-10-21 Thread Morten Aasheim
A few things: - Start the Business Connector with the interactive user logged on. - Log on to the BC with a configuration (not a configuration file). - Set the breakpoint with the same Axapta user that is logged on the web. Hope this helps! Morten -Original Message- From: tavocol20

[development-axapta] Table show field-changes in CUS even though there aren't any changes...

2004-10-25 Thread Morten Aasheim
Hi everybody! I've found a strange problem today. After importing a project to CUS, Axapta shows table changes in many fields for the CUS-layer, even though I haven't made any changes to fields displayed, or the Extended Datatypes. When I do a compare, it says "No differences". Whe

RE: [development-axapta] running code from Axapta

2004-10-26 Thread Morten Aasheim
Declare the class in a job, and run it from there. You can use print/pause for output to console. Morten -Original Message- From: RHODPR [mailto:[EMAIL PROTECTED] Sent: 26. oktober 2004 10:44 To: [EMAIL PROTECTED] Subject: [development-axapta] running code from Axapta Can I run

RE: [development-axapta] XMLDocument.Load

2004-10-26 Thread Morten Aasheim
Try 'c:\\foo.xml' -Original Message- From: RHODPR [mailto:[EMAIL PROTECTED] Sent: 26. oktober 2004 10:45 To: [EMAIL PROTECTED] Subject: [development-axapta] XMLDocument.Load Hi all, I want to load an XML-file in Axapta.  When using XMLDocument.Load (file), what is the default pa

RE: [development-axapta] Re: running code from Axapta

2004-10-26 Thread Morten Aasheim
-Original Message- From: RHODPR [mailto:[EMAIL PROTECTED] Sent: 26. oktober 2004 13:06 To: [EMAIL PROTECTED] Subject: [development-axapta] Re: running code from Axapta ... how can I do that?  How can I create a new job that calls my code? --- In [EMAIL PROTECTED], "Morten Aa

RE: [development-axapta] new to axapta (x++)

2004-10-27 Thread Morten Aasheim
A function reference is built in. See the Application Object Tree, under System Documentation\Functions. You could also use Developers Handbook on the help menu. Morten -Original Message- From: laurenzwagner [mailto:[EMAIL PROTECTED] Sent: 27. oktober 2004 15:35 To: [EMAIL PROTECTE

RE: [development-axapta] Image Directory

2004-11-18 Thread Morten Aasheim
You can import the picture into AOT/resources. Mvh, Morten  -Original Message- From: Jesmond Giordimaina [mailto:[EMAIL PROTECTED] Sent: 18. november 2004 11:34 To: [EMAIL PROTECTED] Subject: [development-axapta] Image Directory Hi all, I'm using an image in one of my forms. Ho

RE: [development-axapta] Axapta Enterprise Portal

2004-12-01 Thread Morten Aasheim
There is a fix you can request from MS to make the Business Connector work with Win2003/IIS6. WINDOWSSERVER2003-KB839003-X86-ENU-Symbols.EXE WindowsServer2003-KB839003-x86-ENU.EXE Morten  -Original Message- From: ax [mailto:[EMAIL PROTECTED] Sent: 1. desember 2004 14:32 To: [EMA

RE: [development-axapta] Re: How to read temporary table ?

2004-12-21 Thread Morten Aasheim
Yes, you can dynamically change the X++ select. It's possible to build dynamical functions aswell. I've done this a few times. Try something like: xppCompiler compiler = new xppCompiler(); str sql = 'void sql{select .}' if(compiler.compile)   runbuf(sql); Regards, Morten  -O

RE: [development-axapta] restore sql server, user bmssa problem

2005-01-06 Thread Morten Aasheim
This is how I do it. - Copy the original db and log files to the new server - Enterprise Manager: Attach database. - SQL Query Analyzer: Change owener of all tables/view to dbo. In Query Analyzer, choose "Query/Results in text".  Run the following query: select 'sp_changeobjectowner [bm

RE: [development-axapta] Axapta in a Newspaper company

2005-08-02 Thread Morten Aasheim
Yes. Several in Norway. -Original Message- From: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hilda cabrejos Sent: 2. august 2005 00:48 To: development-axapta@yahoogroups.com Subject: [development-axapta] Axapta in a Newspaper company Hello everybody D

RE: [development-axapta] COM+ Error Test!

2005-11-08 Thread Morten Aasheim
this problem, I will recommend you to try on a XP machine first with the same application. Regards, Morten Aasheim Peritus AS -Original Message- From: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alejandro Ibarra Sent: 9. november 2005 00:53 To: development-a

[development-axapta] XML - XPath Axes

2005-11-30 Thread Morten Aasheim
27;. child-->:<--:node() I have tried all sorts of syntax, but I get the same error every time. Any help on this would be greatly appreciated! Regards, Morten Aasheim Systemconsultant YAHOO! GROUPS LINKS  Visit your group "development-axapta" on the web

[development-axapta] WebPage on MenuItems

2006-02-02 Thread Morten Aasheim
e::Display));     webSession().redirect(link); But when I use a link on a field in a grid, I can't do this. Have I missed sth? Any tips? Regards, Morten Aasheim Systemconsultant Peritus AS   [Non-text portions of this message ha

[development-axapta] WebPage on MenuItems

2006-02-08 Thread Morten Aasheim
displaystr(myLink),menuitemType::Display));     webSession().redirect(link); But when I use a link on a field in a grid, I can't do this. Have I missed sth? Any tips? Regards, Morten Aasheim Systemkonsulent Peritus AS [Non-text p

RE: [development-axapta] Problem with Views

2006-02-08 Thread Morten Aasheim
A view is not synchronizing of data. It's a precompiled query stored in sql server. Check your relations, ranges and field data. If sth is wrong there, the view might not return anything. Regards, Morten Aasheim Peritus AS -Original Message- From: development-axapta@yahoogroup

[development-axapta] WebPage on MenuItems

2006-02-16 Thread Morten Aasheim
displaystr(myLink),menuitemType::Display));     webSession().redirect(link); But when I use a link on a field in a grid, I can't do this. Have I missed sth? Any tips? Regards, Morten Aasheim Systemkonsulent Peritus AS [Non-text p

[development-axapta] Password for webusers

2006-04-04 Thread Morten Aasheim
Hi, dictionary.buildpassword won't work without administrator rights. Any suggestions how to make it work with less rights? Regards, Morten Aasheim Systemconsultant [Non-text portions of this message have been removed] YAHOO! GROUPS LINKS  

RE: [development-axapta] Alias Field in Select

2006-04-05 Thread Morten Aasheim
As far as I know, this kind of syntax won't work in Ax. You can do ex:     while select AccountNum, sum(Value1), sum(Value2) from custTrans     group by AccountNum     {     value = custTrans.Value1 * custTrans.Value2;     } Regards, Morten Aasheim Peritus AS -Ori

RE: [development-axapta] Alias Field in Select

2006-04-07 Thread Morten Aasheim
UM(C) = 25   Please, any other solutions?         Zakie   Morten Aasheim <[EMAIL PROTECTED]> wrote:   As far as I know, this kind of syntax won't work in Ax. You can do ex:     while select AccountNum, sum(Value1), sum(Value2) from custTrans     group by AccountNum     {     val

RE: [development-axapta] Challenging questions for axapta development

2006-04-07 Thread Morten Aasheim
This would be my answers.. Regards, Morten Aasheim Peritus AS -Original Message- From: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dev_career dev_career Sent: 5. april 2006 22:10 To: development-axapta@yahoogroups.com Subject: [development-axapta

RE: [development-axapta] XMLHttpRequest class

2006-05-23 Thread Morten Aasheim
This class is used to receive HTTP content in general. You may heard of AJAX. This is the class used to perform more application-like behavior on the web. For Webservices, use the webService class. Regards, Morten Aasheim Peritus AS -Original Message- From: development-axapta

RE: [development-axapta] Passing parameter on the web...

2006-05-30 Thread Morten Aasheim
The args().parmObject contains the webArgs object, so thats not possible. But through webargs, you can use record as Parm. I think you can do this easier. Why don't you just make your filters in the same form? Regards, Morten Aasheim Peritus AS -Original Message- From: develo

RE: [development-axapta] Item Classification

2006-05-30 Thread Morten Aasheim
Q1 You cannot build hierarchy like that without making some customizations. In 4.0, its coming hierarchy based dimensions. For the other questions, you should maybe thinking about atending a course.. Regards, Morten Aasheim Peritus AS -Original Message- From: development-axapta

[development-axapta] Make a copy of a map object

2006-05-31 Thread Morten Aasheim
Map map1 = new Map(Types::Integer, Types::String); Map map2; map1 = map2; Ok, now we have two objects, but only one instance of the map. How can I have two instances, and copy the contents from one map to the other? Regards Systemconsulent Peritus AS

RE: [development-axapta] Include more than one company in a OLAP cube

2006-05-31 Thread Morten Aasheim
I strongly adwise to make a datawarehouse to wash data berfore presented in the cube. Then you can use company as dimension in your cube. Using the built in cubes in Axapta, can result in wrong results. Some dimensions might be missing etc. Regards, Morten Aasheim Peritus AS -Original

[development-axapta] Axapta 3.0 ASP-Webapplications in AX4.0

2007-05-10 Thread Morten Aasheim
framework originally made for 3.0, and now upgraded to 4.0 with new ASP scripts, working with the 4.0 Business connector. It also comes with some neat weblets for login etc. If this sounds interesting, please contact me. Regards, Morten Aasheim ([EMAIL PROTECTED]) System Consultant,

RE: [development-axapta] Launch an external application from Ax 4.0

2007-10-24 Thread Morten Aasheim
Check out WinApi::shellExecute Regards, Morten Aasheim Peritus AS From: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rajiyer74 Sent: 24. oktober 2007 19:09 To: development-axapta@yahoogroups.com Subject: [development-axapta] Launch an external application from

[development-axapta] CryptoAPI in 4.0 not available

2008-06-02 Thread Morten Aasheim
])); Unfortunately this doesn't work. I get the error "CryptoAPI not available". Please help! I really need some encryption ASAP J Best regards, Morten Aasheim Peritus [Non-text portions of this message have been removed]

RE: [development-axapta] Ax 2009 Morphx VCS Docu

2009-05-29 Thread Morten Aasheim
There is a video about the subject on channel 9. Should be easy to find Morten Aasheim From: development-axapta@yahoogroups.com [mailto:development-axa...@yahoogroups.com] On Behalf Of sunnyscheit Sent: 26. mai 2009 19:47 To: development-axapta@yahoogroups.com Subject: [development