[development-axapta] SQL Ram Usage

2005-09-01 Thread Cenk Ince




Hi all;

I have a problem with SQL 2000. When i run Axapta i can't use more ram than 1,826,000 MB. I thougth that it was because it is Standard Edition. Then i created a test env. and Setup an Enterprise SQL 2000. But i can't still use more than 1,826,000 MB ram.

Is there a solution for this.

 

Thanks.



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







  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" 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.



  









RE: [development-axapta] Questions on Axapta 3.0 SP4 Upgradation

2005-09-01 Thread Dilip N




Thanks Michael and Hilda.
 
Michael, You are right HF30SP4_011 help fixed the problem, but I have another issue here related to "Compare Layers" and "Code Upgrade"

I would like to know what would be the layers to compare after a service pack upgradation. Actually, I applied 3.0 SP4 and when I see the Class SalesFormLetter in AOT..It show something like this (sys,syp,usr).. Because of some customizations done by developers on this class, i believe the user layer code has overriden the syp layer, i came to know about this because on another machine I have a fresh installation of SP4 with no user customizations on it and i compared the code for SalesFormLetter class in both machines.

Now my question here is, If we do a "Compare Layers", followed by a "Code Upgrade", should we compare :
a. sys-usr layer
b.sys-oldusrlayer ( i guess oldusr and usr are same-this is what it says in Developer guide)
c.sys-oldsys layer
d. syp-usr layer
e. syp-oldusr layer
f. syp-sys layer

I'm bit confused here. Would appreciate if anyone help me on this?

Thanks and Regards,
Dilip

 


hilda cabrejos <[EMAIL PROTECTED]> wrote:
Hello

We had the same problem trying to upgrade from sp3 to sp4, what saved us was that we were working on sp2.5 and the solution was to upgrade from sp2.5 to sp4, this because sp4 as I understand has all the hotfixes of sp3. I´ll try to talk with our partner to ask if there is another tip.

Hilda

Michael Niemeyer <[EMAIL PROTECTED]> wrote:
Hi Dilip,

you find the hotfix in partnerguide .The description her is:
" Under certain circumstances, execution of the mentioned data upgrade jobs 
can run extremely long time during the upgrade "

I don't know if it help's in your case, think you have to contac your VAR to 
get and test the hotfix.
With the hotfix you get an description how to use too.


Best regards
Michael


>From: Dilip N <[EMAIL PROTECTED]>
>Reply-To: development-axapta@yahoogroups.com
>To: development-axapta@yahoogroups.com
>Subject: RE: [development-axapta] Questions on Axapta 3.0 SP4 Upgradation
>Date: Mon, 29 Aug 2005 18:28:06 -0700 (PDT)
>
>Hi Michael,
>
>I checked my HotFix Axapta 3.0 folder which comes with the installation CD, 
>but couldn't find the file listed below. Should I contact my VAR for this? 
>Or is it downloadable from some site?
>
>And, could you please let me know what does this hotfix actually do and 
>when it should be applied? i.e. after installation of 3.0 SP4..I mean 
>precisely after which step? i.e. 
>compilation,license,pre-synchronize,synchronize etc. because rite now i 
>have success only till synchronize step.
>
>Any other workarounds for a quick upgradation? Any suggestions/tips 
>recommened.
>
>Thanks and Regards,
>Dilip
>
>Michael Niemeyer <[EMAIL PROTECTED]> wrote:
>Hi,
>
>you have HF30SP4_011 - Upgrade to sp4 taking extremely long time, Hot Fix ?
>
>
>Michael
>
> >From: "diliprnair27" <[EMAIL PROTECTED]>
> >Reply-To: development-axapta@yahoogroups.com
> >To: development-axapta@yahoogroups.com
> >Subject: [development-axapta] Questions on Axapta 3.0 SP4 Upgradation
> >Date: Mon, 29 Aug 2005 09:16:58 -
> >
> >Hi,
> >
> >I'm trying to upgrade a local installation on PC for testing from 3.0SP1 
>to
> >3.0SP4. The client, app and database is on the same machine. Database
> >size is 40GB and we have a lot of customizations at usr layer.
> >
> >Initially, I followed the steps prescribed in documentation about
> >Upgradation of service packs. I was stuck in Post-synchronize step and 
>for
> >hours together it won't happen. CPU utilization shows very high.
> >COmpilation, Pre-synchronize and synchronize steps have no problem but
> >the post-synchronize doesn't seem to happen. I tried for 2 days but no
> >luck.
> >
> >The, next step I tried is created the default db "AXDB" and then 
>installed
> >a
> >fresh copy of SP4 and I could complete all steps. Later I changed my
> >database to copy of our production database and then imported the AOT
> >(usr layer) into the fresh app. But the import is taking long time and
> >doesn't seem to complete. i tried 2 times but no success.
> >
> >Can anyone help me with the upgradation steps? Thanks in advance.
> >
> >Regards,
> >Dilip
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>
>SPONSORED LINKS
>Microsoft business solution Microsoft axapta Basic programming language 
>Computer programming languages Programming languages Java programming 
>language
>
>-
>YAHOO! GROUPS LINKS
>
>
> Visit your group "development-axapta" 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.
>
>
>-
>
>
>
>
>-
>  Start your day with Yahoo! - make it your home page
>
>[Non-text portions of this message have been removed]
>
>
>
>







-
YAHOO! GROUPS LINKS 


    Visit your group "development-axapta" on the web.
  

RE: [development-axapta] SQL Ram Usage

2005-09-01 Thread Matt Benic




Your problem could be that Windows 2003 Server (not SQL  server) can only
access 2 Gigs of memory, Enterprise edition can initially acces 4Gb, and can
be set up to access more (up to 64G I think) and Datacentre can address up
to 128Gb.

We ran into a similar problem and had to upgrade our OS licence.

Regards,

Matt Benic - .Net/Axapta Analyst Developer
UTi Sun Couriers Division | Cnr Olievenhoutbosch Rd & Brakfontein Rd,
Centurion, 0061
[EMAIL PROTECTED]   | O 012-6732288 | F 012-6732344


-Original Message-
From: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] Behalf Of Cenk Ince
Sent: 01 September 2005 11:52 AM
To: development-axapta@yahoogroups.com
Subject: [development-axapta] SQL Ram Usage


Hi all;

I have a problem with SQL 2000. When i run Axapta i can't use more ram than
1,826,000 MB. I thougth that it was because it is Standard Edition. Then i
created a test env. and Setup an Enterprise SQL 2000. But i can't still use
more than 1,826,000 MB ram.

Is there a solution for this.



Thanks.



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








Yahoo! Groups Links














  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" 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.



  









RE: [development-axapta] Questions on Axapta 3.0 SP4 Upgradation

2005-09-01 Thread Michael Niemeyer




Hi,

think best is you look at Navision Axapta Developer's Guide for the axapta 
layer
(Using MorphX / Application object layers).


Best Regards
Michael

>From: Dilip N <[EMAIL PROTECTED]>
>Reply-To: development-axapta@yahoogroups.com
>To: development-axapta@yahoogroups.com
>Subject: RE: [development-axapta] Questions on Axapta 3.0 SP4 Upgradation
>Date: Thu, 1 Sep 2005 02:42:30 -0700 (PDT)
>
>Thanks Michael and Hilda.
>
>Michael, You are right HF30SP4_011 help fixed the problem, but I have 
>another issue here related to "Compare Layers" and "Code Upgrade"
>
>I would like to know what would be the layers to compare after a service 
>pack upgradation. Actually, I applied 3.0 SP4 and when I see the Class 
>SalesFormLetter in AOT..It show something like this (sys,syp,usr).. Because 
>of some customizations done by developers on this class, i believe the user 
>layer code has overriden the syp layer, i came to know about this because 
>on another machine I have a fresh installation of SP4 with no user 
>customizations on it and i compared the code for SalesFormLetter class in 
>both machines.
>
>Now my question here is, If we do a "Compare Layers", followed by a "Code 
>Upgrade", should we compare :
>a. sys-usr layer
>b.sys-oldusrlayer ( i guess oldusr and usr are same-this is what it says in 
>Developer guide)
>c.sys-oldsys layer
>d. syp-usr layer
>e. syp-oldusr layer
>f. syp-sys layer
>
>I'm bit confused here. Would appreciate if anyone help me on this?
>
>Thanks and Regards,
>Dilip
>
>
>
>
>hilda cabrejos <[EMAIL PROTECTED]> wrote:
>Hello
>
>We had the same problem trying to upgrade from sp3 to sp4, what saved us 
>was that we were working on sp2.5 and the solution was to upgrade from 
>sp2.5 to sp4, this because sp4 as I understand has all the hotfixes of sp3. 
>I´ll try to talk with our partner to ask if there is another tip.
>
>Hilda
>
>Michael Niemeyer <[EMAIL PROTECTED]> wrote:
>Hi Dilip,
>
>you find the hotfix in partnerguide .The description her is:
>" Under certain circumstances, execution of the mentioned data upgrade jobs
>can run extremely long time during the upgrade "
>
>I don't know if it help's in your case, think you have to contac your VAR 
>to
>get and test the hotfix.
>With the hotfix you get an description how to use too.
>
>
>Best regards
>Michael
>
>
> >From: Dilip N <[EMAIL PROTECTED]>
> >Reply-To: development-axapta@yahoogroups.com
> >To: development-axapta@yahoogroups.com
> >Subject: RE: [development-axapta] Questions on Axapta 3.0 SP4 Upgradation
> >Date: Mon, 29 Aug 2005 18:28:06 -0700 (PDT)
> >
> >Hi Michael,
> >
> >I checked my HotFix Axapta 3.0 folder which comes with the installation 
>CD,
> >but couldn't find the file listed below. Should I contact my VAR for 
>this?
> >Or is it downloadable from some site?
> >
> >And, could you please let me know what does this hotfix actually do and
> >when it should be applied? i.e. after installation of 3.0 SP4..I mean
> >precisely after which step? i.e.
> >compilation,license,pre-synchronize,synchronize etc. because rite now i
> >have success only till synchronize step.
> >
> >Any other workarounds for a quick upgradation? Any suggestions/tips
> >recommened.
> >
> >Thanks and Regards,
> >Dilip
> >
> >Michael Niemeyer <[EMAIL PROTECTED]> wrote:
> >Hi,
> >
> >you have HF30SP4_011 - Upgrade to sp4 taking extremely long time, Hot Fix 
>?
> >
> >
> >Michael
> >
> > >From: "diliprnair27" <[EMAIL PROTECTED]>
> > >Reply-To: development-axapta@yahoogroups.com
> > >To: development-axapta@yahoogroups.com
> > >Subject: [development-axapta] Questions on Axapta 3.0 SP4 Upgradation
> > >Date: Mon, 29 Aug 2005 09:16:58 -
> > >
> > >Hi,
> > >
> > >I'm trying to upgrade a local installation on PC for testing from 
>3.0SP1
> >to
> > >3.0SP4. The client, app and database is on the same machine. Database
> > >size is 40GB and we have a lot of customizations at usr layer.
> > >
> > >Initially, I followed the steps prescribed in documentation about
> > >Upgradation of service packs. I was stuck in Post-synchronize step and
> >for
> > >hours together it won't happen. CPU utilization shows very high.
> > >COmpilation, Pre-synchronize and synchronize steps have no problem but
> > >the post-synchronize doesn't seem to happen. I tried for 2 days but no
> > >luck.
> > >
> > >The, next step I tried is created the default db "AXDB" and then
> >installed
> > >a
> > >fresh copy of SP4 and I could complete all steps. Later I changed my
> > >database to copy of our production database and then imported the AOT
> > >(usr layer) into the fresh app. But the import is taking long time and
> > >doesn't seem to complete. i tried 2 times but no success.
> > >
> > >Can anyone help me with the upgradation steps? Thanks in advance.
> > >
> > >Regards,
> > >Dilip
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
> >SPONSORED LINKS
> >Microsoft business solution Microsoft axapta Basic programming language
> >Computer programming languages Programming languages

Re: [development-axapta] SQL Ram Usage

2005-09-01 Thread SAS




enable AWE option to 1

sp_configure 'awe enabled',1
go
reconfigure
go

- Original Message - 
From: "Cenk Ince" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, September 01, 2005 4:52 PM
Subject: [development-axapta] SQL Ram Usage


> Hi all;
>
> I have a problem with SQL 2000. When i run Axapta i can't use more ram 
> than 1,826,000 MB. I thougth that it was because it is Standard Edition. 
> Then i created a test env. and Setup an Enterprise SQL 2000. But i can't 
> still use more than 1,826,000 MB ram.
>
> Is there a solution for this.
>
>
>
> Thanks.
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 







  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" 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.



  









[development-axapta] how to disable RLS on report

2005-09-01 Thread dit0h




hi,
 i create a report where i want to disable rls on cust table.
i'm trying something like this but it doesn't work.
User can't see all records, because rls of its group has restricted
acces to all records.
can anyone tell me what i doing wrong?

public boolean fetch()
{
    boolean ret;
    _custtable.recordLevelSecurity(false);

    ret = super();
    return ret;
}







  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" 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.



  









[development-axapta] Hot fix : HF25_004 is for which version is it?

2005-09-01 Thread Cenk Ince




Hi all;

I have some performance problems about MUIC and there is a hotfix (HF25_004) for that. I wonder if this hotfix is for SP3 or SP4.

Thanks.



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









  
  
SPONSORED LINKS
  
  
  

Microsoft business solution
  
  
Microsoft axapta
  
  
Basic programming language
  
  


Computer programming languages
  
  
Programming languages
  
  
Java programming language
  
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" 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.



  









RE: [development-axapta] time out error :send email with sysmailer class

2005-09-01 Thread Malcolm Burtt




Hi
 
The code you quote will send an email direct to the mail server of the person that you are sending the email to. The underlying DLL that SysMailer wraps (DsMailer.dll) makes an SMTP connection, in your example, to one of the following three machines (info from an NSLOOKUP on the operatech.com.tr domain)

  operatech.com.tr    MX preference = 0, mail exchanger = mail.doruk.net.tr
  operatech.com.tr    MX preference = 9, mail exchanger = etrn.doruk.net.tr
  operatech.com.tr    MX preference = 15, mail exchanger = etrn2.doruk.net.tr

If, for some reason, your system is unable to reach any of those machines then it cannot send the email. When it tries to make the connection it must perform the same NSLOOKUP operation that I did to get the names and IP addresses of the machines it needs to send the email to. Your code hasn't defined any name servers for SysMailer to use when it does this, so it will resort to using the Internet's root name server, which are very busy beasts and might not return a result in a reasonable time. In addition, the mail servers you are trying to connect to might be unavailable for some reason (maybe they are down or the Internet link of the people that own them is dead) which might also cause the send operation to timeout. For these reasons you should configure either (or preferably both) a smart host or a local DNS server for Sysmailer to use.
 
SysMailer includes methods to access an SMTPRelayServer collection and a DNSServer collection for this purpose. As a minimum I would recommend using a (local) SMTP relay server (smart host), which would be your own mail server. If you can add a DNS server, so much that better (you can get SysMailer to validate email addresses if you have that).
 
Hope that helps
 
Malcolm Burtt
Touchstone
"Business Solutions designed for YOUR business processes"



  _  

From: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Özcan Ayyildiz
Sent: 01 September 2005 07:46
To: development-axapta@yahoogroups.com
Subject: [development-axapta] time out error :send email with sysmailer class


Hi,

I try to sent email with following the code I get an error as the
connection time out.

SysMailer mailer = new SysMailer();
mailer.body("This is the body of the mail");
mailer.subject("The message subject");
mailer.fromAddress("from ");
mailer.fromName("name");
mailer.tos().add("[EMAIL PROTECTED]");
mailer.sendMail();

I have tried to add time like this..

SysMailer mailer = new SysMailer();
mailer.timeOutConnect(3600);
when I try to send email I can send email all yahoo addresses.but I
couldn't sent another addresses..

example :all hotmail addresses..

do you know anything about this problem..

thanks..


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






SPONSORED LINKS 
Microsoft business solution     Microsoft axapta     Basic programming language     
Computer programming languages     Programming languages     Java programming language     

  _  

YAHOO! GROUPS LINKS 


  
*   Visit your group "development-axapta  " 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 

[development-axapta] Inventory Closing

2005-09-01 Thread Anderl Mario




Hello,

 

I have a big problem when starting the inventory closing process.

First it starts and appears to run fine but after a few moments
following message appears:
Record with RecId 21599443 in table 'Lagerbuchungen' has mismatching
Sequence field values. Original value was 16959088, new value is
21599443.
Has anyone an idea what this could mean or where it comes from?
My tries ended debugging in front of the xRecord.update() methode.
 
Thx
Mario 

 



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









  
  
SPONSORED LINKS
  
  
  

Microsoft business solution
  
  
Microsoft axapta
  
  
Basic programming language
  
  


Computer programming languages
  
  
Programming languages
  
  
Java programming language
  
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" 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.



  









[development-axapta] urgent..time-out error for e-mail sending

2005-09-01 Thread Nilay Uygun




Hi all,

 

We tried to send automatically created e-mails from Axapta via SMTP It
worked well for some recipient like @yahoo.com and @121metre.com But for
some recipients (like @hotmail.com, @gmail.com, @operatech.com.tr,
@evyap.com.tr)  we receive time-out error which you can find attached

 

Here is our code for that:

 

   SysMailer mailer = new SysMailer();

    mailer.body("This is the body of the mail");

    mailer.subject("The message subject");

    mailer.fromAddress("from ");

    mailer.fromName("name");

    mailer.tos().add("[EMAIL PROTECTED]");

    mailer.sendMail();

 

after the error we tried to incresed the time-out limit as you may see below
but nothing 

 

 SysMailer mailer = new SysMailer();

    mailer.timeOutConnect(3600);

 

 

We need help on this

 

We can send e-mail over outlook using the class "sysInetMailer"  

But the customer doens't want this solution because they need to be logged
on the server all the time and an outlook client must be working all the
time ...

 

That's why we used the SMTP solution as an alternative to these..

 

Is there any other ways of sending e-mails rather than "sysInetMailer" and
"sysMailer"

 

Thanks in advance

 

Nilay Uygun



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









  
  
SPONSORED LINKS
  
  
  

Microsoft business solution
  
  
Microsoft axapta
  
  
Basic programming language
  
  


Computer programming languages
  
  
Programming languages
  
  
Java programming language
  
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" 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.



  









[development-axapta] Re: Refreshing Values in Form's DataFields

2005-09-01 Thread drescher_r




Hi Tom, 

Thanks for your answer and your efforts. I wrote a display method 
which retrieves the Names from the main tables according to the 
selected account code, the module and the EnumType. So my method is 
able to get the name from customers, vendors as well as items and 
discount groups. Everything works fine and is displayed 
properly...except: 

I placed the display method in the forms Methods-branch (Form 
PriceDiscTable/Methods/getDescription) so it can be found by the 
field. But Now my form looks like this...

 Item Nr.    Name
 10001   Item 2
[10002]  Item 2

the Name-Field follows the selected ItemNr and not the ItemNr in the 
same row. I hope i expressed myself properly, if i didn't, jusk ask ;)

I got a hint that this problem has something to do with the location 
of my display method and a little something that's missing in my 
code... which basically looks like your example. Any idea? 

Greets 
Robert



--- In development-axapta@yahoogroups.com, "Tom Kim" <[EMAIL PROTECTED]> 
wrote:
> Hi Robert,
> 
> Add the following display method to the PriceDiscTable:
> 
> display CustName CustomerName()
> {
> CustName retVal = "";
> 
> ;
> 
> if (PriceDiscTable.AccountCode == TableGroupAll::Table)
> {
> retVal = CustTable::find
(PriceDiscTable.AccountRelation).Name;
> }
> 
> return retVal;
> }
> 
> Then drag and drop the method onto the grid in the PriceDiscTable. 
Make sure
> you set the DataSource of the control to PriceDiscTable. Each time 
you
> change the AccountCode, the correct customer name should display.
> 
> Hope this helps. --Tom
> 
> Tom Kim
> Microsoft Business Solutions Certified Professional
> Advanced Systems Integration, Inc.
> 26449 Rancho Parkway South
> Lake Forest, CA 92630
> 949-597-2170
> 949-597-0720 (Fax)
> [EMAIL PROTECTED]
> www.advancedsystemsintegration.com







  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" 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.



  









[development-axapta] loop through all fields in a table

2005-09-01 Thread littleefl725




I am trying to create a loop to get all the field names in the 
SalesLine table.  Can anyone tell me if this is possible?

Thanks in advance,
Brian











  
  
SPONSORED LINKS
  
  
  

Microsoft business solution
  
  
Microsoft axapta
  
  
Basic programming language
  
  


Computer programming languages
  
  
Programming languages
  
  
Java programming language
  
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" 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.



  









RE: [development-axapta] Re: Refreshing Values in Form's DataFields

2005-09-01 Thread Tom Kim




Hi Robert,

Make sure you have a Datasource set for your control. When your display
method is on the form, and it doesn't have the Datasource property set, you
get the behavior you described. Hope this helps. --Tom

Tom Kim
Microsoft Business Solutions Certified Professional
Advanced Systems Integration, Inc.
26449 Rancho Parkway South
Lake Forest, CA 92630
949-597-2170
949-597-0720 (Fax)
[EMAIL PROTECTED]
www.advancedsystemsintegration.com

-Original Message-
From: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of drescher_r
Sent: Thursday, September 01, 2005 9:14 AM
To: development-axapta@yahoogroups.com
Subject: [development-axapta] Re: Refreshing Values in Form's DataFields

Hi Tom, 

Thanks for your answer and your efforts. I wrote a display method 
which retrieves the Names from the main tables according to the 
selected account code, the module and the EnumType. So my method is 
able to get the name from customers, vendors as well as items and 
discount groups. Everything works fine and is displayed 
properly...except: 

I placed the display method in the forms Methods-branch (Form 
PriceDiscTable/Methods/getDescription) so it can be found by the 
field. But Now my form looks like this...

 Item Nr.    Name
 10001   Item 2
[10002]  Item 2

the Name-Field follows the selected ItemNr and not the ItemNr in the 
same row. I hope i expressed myself properly, if i didn't, jusk ask ;)

I got a hint that this problem has something to do with the location 
of my display method and a little something that's missing in my 
code... which basically looks like your example. Any idea? 

Greets 
Robert



--- In development-axapta@yahoogroups.com, "Tom Kim" <[EMAIL PROTECTED]> 
wrote:
> Hi Robert,
> 
> Add the following display method to the PriceDiscTable:
> 
> display CustName CustomerName()
> {
> CustName retVal = "";
> 
> ;
> 
> if (PriceDiscTable.AccountCode == TableGroupAll::Table)
> {
> retVal = CustTable::find
(PriceDiscTable.AccountRelation).Name;
> }
> 
> return retVal;
> }
> 
> Then drag and drop the method onto the grid in the PriceDiscTable. 
Make sure
> you set the DataSource of the control to PriceDiscTable. Each time 
you
> change the AccountCode, the correct customer name should display.
> 
> Hope this helps. --Tom
> 
> Tom Kim
> Microsoft Business Solutions Certified Professional
> Advanced Systems Integration, Inc.
> 26449 Rancho Parkway South
> Lake Forest, CA 92630
> 949-597-2170
> 949-597-0720 (Fax)
> [EMAIL PROTECTED]
> www.advancedsystemsintegration.com







 
Yahoo! Groups Links



 











  
  
SPONSORED LINKS
  
  
  

Microsoft business solution
  
  
Microsoft axapta
  
  
Basic programming language
  
  


Computer programming languages
  
  
Programming languages
  
  
Java programming language
  
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" 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.