[development-axapta] What your size of log file SQL Server verry large?

2004-09-28 Thread soer_oni





try this script to decreases

hopefully good for
Surani-Indonesia

Script:

Use master
BACKUP LOG yourdatabase WITH NO_LOG
Use yourdatabase
DBCC SHRINKFILE(yourdatabaselog, 1) 















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] Selectionlist ffor ComboBox

2004-09-28 Thread Sonny Wibawa Adi




Hi Manfred Ursprung,
 
There is an example of using dynamic values in combobox. It's in Tools | Options..., there you can right click | Setup and see at tab Development, Startup project field.
 
Part of code at lookupProject method is:
 
    controlStartupProject.clear();
    controlStartupProject.add("@SYS26699");

Perhaps you want to change the Combobox property "ComboType" to "List".
 
Regards,
 
Sonny Wibawa Adi

Amit Jain <[EMAIL PROTECTED]> wrote:
Hi Manfred,

I don't know why you want to use combo box for this. If you use some tmp table , you can achieve this very easily.

I am writting a code, just a job which put the fields (with their properties) in a container. If you use the tmp table you can create a lookup method and set the performlookup to that table. Here is the code. I have taken the example of table SalesTable. You can send as parameters or use global variables to put this value on the fly.


static void Job2(Args _args)
{

    SysDictTable    dictTable = new SysDictTable(TableNum(SalesTable));
    SysDictField    sysDictField;
    SysDictField    field;
    int arraySize;
    int elements;
    int i, j;
    container   pack;
    if (dictTable)
    {
    for (i = dictTable.fieldCnt(); i > 0; i--)
    {
    sysDictField    = new SysDictField(dictTable.id(), dictTable.fieldCnt2Id(i));
    if (sysDictField)
    {
    arraySize = sysDictField.arraySize();
    for(j = 1; j <= arraySize; j++)
    {
    field   = new SysDictField(dictTable.id(), dictTable.fieldCnt2Id(i), j);
    if ((field.baseType()   != Types::CONTAINER) &&
    (field.name()   != fieldStr(Common, dataAreaId)) &&
    (field.name()   != fieldStr(Common, sequenceNum)) &&
    (field.name()   != fieldStr(Common, tableId)) &&
    (field.baseType()   != Types::VARSTRING))
    {
    elements++;
    pack = conIns(pack, elements, [field.extendedFieldId(), field.arrayIndex(), field.label(), field.help(j), field.baseType(), (field.flags())]);
    }
    }
    }
    }
    }
    for(i = 1; i <= conlen(pack); i++)
    {
    print conpeek(conpeek(pack,i),3);
    }
    pause;
}

Just return container pack, in case you are performing lookup. This way you can see the fields of all the tables.

Regards

Amit Jain
Euroinfo Systems Pvt. Ltd,
India

smeagul2303 <[EMAIL PROTECTED]> wrote:
Hi,

I have a question regarding handling of ComboBox:
By default I (or the System) chooses a Combox for displaying Enums.
Another mechanism is to use lookup forms.
But how do I fill Combobox with a list of choices which are not enums
or informations comming from a table?

In my special case I have a grid with a field where I select a table.
In the next field I want the user to select a fieldname from this table.
Therefore I want a combobox with a list of valid fieldnames.

How do I fill comboBox with a fieldlist ?

Regards

Manfred Ursprung



Yahoo! Groups SponsorADVERTISEMENT


-
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. 


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

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



Yahoo! Groups SponsorADVERTISEMENT


-
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. 


    
-
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.

[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] Variable passing

2004-09-28 Thread Thomas Turn Jensen




I'm not sure if I understand you correctly, but if you have a method 
somewhere that receives the tablebuffer as a parameter, you can make 
something like this:

void myMethod(tmpTab1 _Tab1)
{
    tmpTab1    localTab1;
    ;
    localTab1.setTmpData(_tab1);
    //...
}

After this you can work on your localTab1 without affecting (or being 
affected by) the original passed tab1.
I'm not 100% sure on the exact method name for setTmpData, but if you play 
arround with it you should find it.

Best regards

Thomas Turn Jensen
- Original Message - 
From: "Bojan Jovicic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 28, 2004 9:10 AM
Subject: [development-axapta] Variable passing


>I am having following problem. I have a form that has a table as 
>datasource.
> That table has property temporary set to yes. I want to select all the
> records that satisfy certain condition from that table.
> Lets say table is named tmpTab1. So when i do
> SELECT *
> FROM tmpTab1
> WHERE tmpTab1.field == ...
> I get the data in form filtered also. I tried creating one variable of 
> same
> type as that table and selecting through it, but again i get the form
> filtered. I even created a class that has a varibale of same type as that
> table, and created a method for passing the table to object of that
> class(which i instantiated), but again i get the form table filtered.
>
> Any ideas?
>
>
>
> -
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
>
> [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] Selectionlist ffor ComboBox

2004-09-28 Thread akash malohatra




Hi Manfred,

Please look at this form DocuOptionTable and codes
written in this form( this is a Document  management
related Form -> Basic ->setup->Document management
->Document Types -> Options).

I think this will help you and exactly solve your
problem.

Regards
Akash


 --- Amit Jain <[EMAIL PROTECTED]> wrote: 
> Hi Manfred,
>  
> I don't know why you want to use combo box for this.
> If you use some tmp table , you can achieve this
> very easily.
>  
> I am writting a code, just a job which put the
> fields (with their properties) in a container. If
> you use the tmp table you can create a lookup method
> and set the performlookup to that table. Here is the
> code. I have taken the example of table SalesTable.
> You can send as parameters or use global variables
> to put this value on the fly.
>  
>  
> static void Job2(Args _args)
> {
> 
> SysDictTable    dictTable = new
> SysDictTable(TableNum(SalesTable));
> SysDictField    sysDictField;
> SysDictField    field;
> int arraySize;
> int elements;
> int i, j;
> container   pack;
> if (dictTable)
> {
> for (i = dictTable.fieldCnt(); i > 0; i--)
> {
> sysDictField    = new
> SysDictField(dictTable.id(),
> dictTable.fieldCnt2Id(i));
> if (sysDictField)
> {
> arraySize =
> sysDictField.arraySize();
> for(j = 1; j <= arraySize; j++)
> {
> field   = new
> SysDictField(dictTable.id(),
> dictTable.fieldCnt2Id(i), j);
> if ((field.baseType()   !=
> Types::CONTAINER) &&
> (field.name()   !=
> fieldStr(Common, dataAreaId)) &&
> (field.name()   !=
> fieldStr(Common, sequenceNum)) &&
> (field.name()   !=
> fieldStr(Common, tableId)) &&
> (field.baseType()   !=
> Types::VARSTRING))
> {
> elements++;
> pack = conIns(pack,
> elements, [field.extendedFieldId(),
> field.arrayIndex(), field.label(), field.help(j),
> field.baseType(), (field.flags())]);
> }
> }
> }
> }
> }
> for(i = 1; i <= conlen(pack); i++)
> {
> print conpeek(conpeek(pack,i),3);
> }
> pause;
> }
>  
> Just return container pack, in case you are
> performing lookup. This way you can see the fields
> of all the tables.
>  
> Regards
>  
> Amit Jain
> Euroinfo Systems Pvt. Ltd,
> India
> 
> smeagul2303 <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have a question regarding handling of ComboBox:
> By default I (or the System) chooses a Combox for
> displaying Enums.
> Another mechanism is to use lookup forms.
> But how do I fill Combobox with a list of choices
> which are not enums
> or informations comming from a table?
> 
> In my special case I have a grid with a field where
> I select a table.
> In the next field I want the user to select a
> fieldname from this table.
> Therefore I want a combobox with a list of valid
> fieldnames.
> 
> How do I fill comboBox with a fieldlist ?
> 
> Regards
> 
> Manfred Ursprung
> 
> 
> 
> Yahoo! Groups SponsorADVERTISEMENT
> 
> 
> -
> 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. 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> [Non-text portions of this message have been
> removed]
> 
> 
> 
> 
>  Yahoo! Groups Sponsor
> ~--> 
> $9.95 domain names from Yahoo!. Register anything.
>
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
>
~->
> 
> 
>  
> Yahoo! Groups Links
> 
> http://groups.yahoo.com/group/development-axapta/
> 
> [EMAIL PROTECTED]
> 
>  
> 
>  


  
  
    
___ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com










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] Aging Analysis Report Problems

2004-09-28 Thread Roberto Pineda




Hi to All.

I issue an Aging Analysis Report for a prior month for accounts
payable or accounts receivable but the total shown for the report does
not agree the total for this account in the G/L for the same date.
I've checked and both have the same transactions posted.  

Anyone knows why?
Thanks a lot











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.










AW: [development-axapta] development-axapta]Copy from all in PO f orm

2004-09-28 Thread tau




Hi,
that's very simple:
"Copy from all"   : All existing purchase orders are shown in the selection
"Copy from lines": All purchase order lines are shown in the selection with the same vendor account and the same item, the focus is on.
 
Regards,
Tom

-Ursprüngliche Nachricht-
Von: NITESH SETH [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. September 2004 14:27
An: [EMAIL PROTECTED]
Betreff: [development-axapta] development-axapta]Copy from all in PO form



  Hi everybody
  can any one tell me the function of " copy from all " and " copy from lines" in the lines of purchase order form in function menu button.
  thanks

  Regards
  Nitesh seth




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




Yahoo! Groups Sponsor  

ADVERTISEMENT
  click here  
     


  _  

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  . 




[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] Selectionlist ffor ComboBox

2004-09-28 Thread Amit Jain




Hi Manfred,
 
I don't know why you want to use combo box for this. If you use some tmp table , you can achieve this very easily.
 
I am writting a code, just a job which put the fields (with their properties) in a container. If you use the tmp table you can create a lookup method and set the performlookup to that table. Here is the code. I have taken the example of table SalesTable. You can send as parameters or use global variables to put this value on the fly.
 
 
static void Job2(Args _args)
{

    SysDictTable    dictTable = new SysDictTable(TableNum(SalesTable));
    SysDictField    sysDictField;
    SysDictField    field;
    int arraySize;
    int elements;
    int i, j;
    container   pack;
    if (dictTable)
    {
    for (i = dictTable.fieldCnt(); i > 0; i--)
    {
    sysDictField    = new SysDictField(dictTable.id(), dictTable.fieldCnt2Id(i));
    if (sysDictField)
    {
    arraySize = sysDictField.arraySize();
    for(j = 1; j <= arraySize; j++)
    {
    field   = new SysDictField(dictTable.id(), dictTable.fieldCnt2Id(i), j);
    if ((field.baseType()   != Types::CONTAINER) &&
    (field.name()   != fieldStr(Common, dataAreaId)) &&
    (field.name()   != fieldStr(Common, sequenceNum)) &&
    (field.name()   != fieldStr(Common, tableId)) &&
    (field.baseType()   != Types::VARSTRING))
    {
    elements++;
    pack = conIns(pack, elements, [field.extendedFieldId(), field.arrayIndex(), field.label(), field.help(j), field.baseType(), (field.flags())]);
    }
    }
    }
    }
    }
    for(i = 1; i <= conlen(pack); i++)
    {
    print conpeek(conpeek(pack,i),3);
    }
    pause;
}
 
Just return container pack, in case you are performing lookup. This way you can see the fields of all the tables.
 
Regards
 
Amit Jain
Euroinfo Systems Pvt. Ltd,
India

smeagul2303 <[EMAIL PROTECTED]> wrote:
Hi,

I have a question regarding handling of ComboBox:
By default I (or the System) chooses a Combox for displaying Enums.
Another mechanism is to use lookup forms.
But how do I fill Combobox with a list of choices which are not enums
or informations comming from a table?

In my special case I have a grid with a field where I select a table.
In the next field I want the user to select a fieldname from this table.
Therefore I want a combobox with a list of valid fieldnames.

How do I fill comboBox with a fieldlist ?

Regards

Manfred Ursprung



Yahoo! Groups SponsorADVERTISEMENT


-
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. 


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

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











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] development-axapta]Copy from all in PO form

2004-09-28 Thread NITESH SETH





  Hi everybody
  can any one tell me the function of " copy from all " and " copy from lines" in the lines of purchase order form in function menu button.
  thanks

  Regards
  Nitesh seth




[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: AW: [development-axapta] closing the caller form

2004-09-28 Thread Amit Jain
Hi guys,
 
 
Yes Palle is correct, but there is a problem with that. As the caller form is using 
formrun.wait() method, even the close method of caller form is called, the form would 
not be closed. the best way (my personal opinion) to use the same code suggested by 
Palle but try to open the form with menuitembutton not using FormRun object.
 
Hope it helps
 
Cheers
 
Amit Jain
Euroinfo Systems Pvt. Ltd.
India
 


Palle Mølgaard <[EMAIL PROTECTED]> wrote:
Hi,

you must set the caller to the form instead of the button by using :

args.caller(element);

instead of :

args.caller(this);

In your clicked()-method.

Regards

  Palle






  From: Jesmond Giordimaina [mailto:[EMAIL PROTECTED] 
  Sent: 28. september 2004 13:32
  To: [EMAIL PROTECTED]
  Subject: Re: AW: [development-axapta] closing the caller form
  
  
  Hi,
  
  thanks for fast reply.
  But it's still telling "FormButtoncontrol Object does
  not have method close". 
  
  The code that opens the second form is this:
  
  void clicked()
  {
  
  Args args = new Args();
  //Passing args to form
  Form frm = new Form('ShowCustTableData');
  FormRun formRun;
  ;
  
  args.object(frm);
  args.caller(this);
  
  formRun = classFactory.formRunClass(args);
  formRun.init();
  formRun.run();
  formRun.wait();
  }
  
  
  
  The code that tries to close the form (from the second
  form) is : 
  
  void clicked()
  {
  Args args = new args();
  FormRun frm;
  ;
  
  frm = element.args().caller();
  frm.close();
  
  }
  
  reg
  Jesmond
  
  
  
  
  
  --- Matthias Schuster <[EMAIL PROTECTED]> wrote:
  
  > Hi Jesmond,
  >  
  > try this!
  >  
  > FormRun  frm;
  > Frm = element.args().caller();
  > Frm.close();
  >  
  > Cu
  > M
  >  
  >  
  >   _  
  > 
  > Von: Jesmond Giordimaina
  > [mailto:[EMAIL PROTECTED] 
  > Gesendet: Dienstag, 28. September 2004 11:05
  > An: [EMAIL PROTECTED]
  > Betreff: [development-axapta] closing the caller
  > form
  >  
  > Hi all,
  > 
  > does anybody know how to close a form from another
  > form? I am trying to use the following code from the
  > active form.
  > 
  > 
  > Args args = new args();
  > Form frm;
  > ;
  > 
  > frm = args.caller();
  > frm.finalize();
  > 
  > 
  > Thanks in advance
  > reg
  > Jesmond
  > 
  > 
  > 
  > ___
  > Do you Yahoo!?
  > Declare Yourself - Register online to vote today!
  > http://vote.yahoo.com
  > 
  > 
  > 
  > 
  > 
  > Yahoo! Groups Sponsor
  > 
  > 
  > ADVERTISEMENT
  >  
  >
  
 se96mf6/*http:/companion.yahoo.com> click here
  > 
  >  
  >
  

  > 
  >  
  >   _  
  > 
  > 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 
  > . 
  > 
  > 
  > [Non-text portions of this message have been
  > removed]
  > 
  > 
  > 
  
  
  
  
  __
  Do you Yahoo!?
  New and Improved Yahoo! Mail - Send 10MB messages!
  http://promotions.yahoo.com/new_mail 
  
  
  
  Yahoo! Groups Sponsor  
ADVERTISEMENT
  click here 

   


   

  

  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: Selectionlist ffor ComboBox

2004-09-28 Thread wohegro




Hi manfred,

try this :

    /*
    Assuming the selected table was "CustTable" and your 
    ComboBox-Control is named "FieldList"
    */

    DictTable   dictTable = new DictTable(tablenum(CustTable));
    DictField   dictField;
    integer fieldCounter;
    ;
    for (fieldCounter = 0; fieldCounter <= dictTable.fieldCnt(); 
fieldCounter++)
    {
    dictField = new DictField(dictTable.id(), 
dictTable.fieldCnt2Id(fieldCounter));
    if (!dictField.isSystem())
    FieldList.add(dictField.name());
    }

Regards
wohegro












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: AW: [development-axapta] closing the caller form

2004-09-28 Thread Jesmond Giordimaina
Hi Palle,

Thanks for your solution. 
You pointed out the problem.

> args.caller(element);
>  
> instead of :
>  
> args.caller(this);

Thanks very much and hope I'l be helpful in the
future, for all of you.

reg
Jesmond





--- Palle Mølgaard <[EMAIL PROTECTED]> wrote:

> Hi,
>  
> you must set the caller to the form instead of the
> button by using :
>  
> args.caller(element);
>  
> instead of :
>  
> args.caller(this);
>  
> In your clicked()-method.
> 
> Regards
> 
>   Palle
> 
>  
> 
> 
> 
> 
>   From: Jesmond Giordimaina
> [mailto:[EMAIL PROTECTED] 
>   Sent: 28. september 2004 13:32
>   To: [EMAIL PROTECTED]
>   Subject: Re: AW: [development-axapta] closing the
> caller form
>   
>   
>   Hi,
>   
>   thanks for fast reply.
>   But it's still telling "FormButtoncontrol Object
> does
>   not have method close". 
>   
>   The code that opens the second form is this:
>   
>   void clicked()
>   {
>   
>   Args args = new Args();
>   //Passing args to form
>   Form frm = new Form('ShowCustTableData');
>   FormRun formRun;
>   ;
>   
>   args.object(frm);
>   args.caller(this);
>   
>   formRun = classFactory.formRunClass(args);
>   formRun.init();
>   formRun.run();
>   formRun.wait();
>   }
>   
>   
>   
>   The code that tries to close the form (from the
> second
>   form) is : 
>   
>   void clicked()
>   {
>   Args args = new args();
>   FormRun frm;
>   ;
>   
>   frm = element.args().caller();
>   frm.close();
>   
>   }
>   
>   reg
>   Jesmond
>   
>   
>   
>   
>   
>   --- Matthias Schuster <[EMAIL PROTECTED]> wrote:
>   
>   > Hi Jesmond,
>   >  
>   > try this!
>   >  
>   > FormRun  frm;
>   > Frm = element.args().caller();
>   > Frm.close();
>   >  
>   > Cu
>   > M
>   >  
>   >  
>   >   _  
>   > 
>   > Von: Jesmond Giordimaina
>   > [mailto:[EMAIL PROTECTED] 
>   > Gesendet: Dienstag, 28. September 2004 11:05
>   > An: [EMAIL PROTECTED]
>   > Betreff: [development-axapta] closing the caller
>   > form
>   >  
>   > Hi all,
>   > 
>   > does anybody know how to close a form from
> another
>   > form? I am trying to use the following code from
> the
>   > active form.
>   > 
>   > 
>   > Args args = new args();
>   > Form frm;
>   > ;
>   > 
>   > frm = args.caller();
>   > frm.finalize();
>   > 
>   > 
>   > Thanks in advance
>   > reg
>   > Jesmond
>   > 
>   > 
>   > 
>   > ___
>   > Do you Yahoo!?
>   > Declare Yourself - Register online to vote today!
>   > http://vote.yahoo.com
>   > 
>   > 
>   > 
>   > 
>   > 
>   > Yahoo! Groups Sponsor
>   > 
>   > 
>   > ADVERTISEMENT
>   >  
>   >
> 
>
   > se96mf6/*http:/companion.yahoo.com> click here
>   > 
>   >  
>   >
> 
>

>   > 
>   >  
>   >   _  
>   > 
>   > 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
> 
>   > . 
>   > 
>   > 
>   > [Non-text portions of this message have been
>   > removed]
>   > 
>   > 
>   > 
>   
>   
>   
>   
>   __
>   Do you Yahoo!?
>   New and Improved Yahoo! Mail - Send 10MB messages!
>   http://promotions.yahoo.com/new_mail 
>   
>   
>   
>   Yahoo! Groups Sponsor   
>   ADVERTISEMENT
>   click here
>

>   
>   
>

>   
> 
>   
> 
>   Yahoo! Groups Links
> 
=== message truncated ===




___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com



-

RE : [development-axapta] Set timeout for form

2004-09-28 Thread Steeve Gilbert




Check that out, maybe it will help you.

http://technet.navision.com/default.asp?MenuFunctionName=EISNewsArticle&MenuFunctionType=Output&NEWSID=461

Steeve... 


-Message d'origine-
De : smeagul2303 [mailto:[EMAIL PROTECTED] 
Envoyé : 28 septembre 2004 05:54
À : [EMAIL PROTECTED]
Objet : [development-axapta] Set timeout for form

Hi,

If a "authentication form" is opened, the user has to authenticate
himself by giving a password. This authentication shall be valid only
for a fixed time period. If the form is still open, he has to
authenticate again.

Where can I set this timeout ? 
Is something like that in standard Axapta ?

For some hints you will be welcome

Regards 

Manfred Ursprung

 





 
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: AW: [development-axapta] closing the caller form

2004-09-28 Thread Palle Mølgaard




Hi,
 
you must set the caller to the form instead of the button by using :
 
args.caller(element);
 
instead of :
 
args.caller(this);
 
In your clicked()-method.

Regards

  Palle
    
 




  From: Jesmond Giordimaina [mailto:[EMAIL PROTECTED] 
  Sent: 28. september 2004 13:32
  To: [EMAIL PROTECTED]
  Subject: Re: AW: [development-axapta] closing the caller form
  
  
  Hi,
  
  thanks for fast reply.
  But it's still telling "FormButtoncontrol Object does
  not have method close". 
  
  The code that opens the second form is this:
  
  void clicked()
  {
  
  Args args = new Args();
  //Passing args to form
  Form frm = new Form('ShowCustTableData');
  FormRun formRun;
  ;
  
  args.object(frm);
  args.caller(this);
  
  formRun = classFactory.formRunClass(args);
  formRun.init();
  formRun.run();
  formRun.wait();
  }
  
  
  
  The code that tries to close the form (from the second
  form) is : 
  
  void clicked()
  {
  Args args = new args();
  FormRun frm;
  ;
  
  frm = element.args().caller();
  frm.close();
  
  }
  
  reg
  Jesmond
  
  
  
  
  
  --- Matthias Schuster <[EMAIL PROTECTED]> wrote:
  
  > Hi Jesmond,
  >  
  > try this!
  >  
  > FormRun  frm;
  > Frm = element.args().caller();
  > Frm.close();
  >  
  > Cu
  > M
  >  
  >  
  >   _  
  > 
  > Von: Jesmond Giordimaina
  > [mailto:[EMAIL PROTECTED] 
  > Gesendet: Dienstag, 28. September 2004 11:05
  > An: [EMAIL PROTECTED]
  > Betreff: [development-axapta] closing the caller
  > form
  >  
  > Hi all,
  > 
  > does anybody know how to close a form from another
  > form? I am trying to use the following code from the
  > active form.
  > 
  > 
  > Args args = new args();
  > Form frm;
  > ;
  > 
  > frm = args.caller();
  > frm.finalize();
  > 
  > 
  > Thanks in advance
  > reg
  > Jesmond
  > 
  > 
  > 
  > ___
  > Do you Yahoo!?
  > Declare Yourself - Register online to vote today!
  > http://vote.yahoo.com
  > 
  > 
  > 
  > 
  > 
  > Yahoo! Groups Sponsor
  > 
  > 
  > ADVERTISEMENT
  >  
  >
   se96mf6/*http:/companion.yahoo.com> click here
  > 
  >  
  >
  
  > 
  >  
  >   _  
  > 
  > 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 
  > . 
  > 
  > 
  > [Non-text portions of this message have been
  > removed]
  > 
  > 
  > 
  
  
  
      
  __
  Do you Yahoo!?
  New and Improved Yahoo! Mail - Send 10MB messages!
  http://promotions.yahoo.com/new_mail 
  
  
  
  Yahoo! Groups Sponsor  
    ADVERTISEMENT
  click here    
        

  

  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 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] Selectionlist ffor ComboBox

2004-09-28 Thread smeagul2303




Hi,

I have a question regarding handling of ComboBox:
By default I (or the System) chooses a Combox for displaying Enums.
Another mechanism is to use lookup forms.
But how do I fill Combobox with a list of choices which are not enums
or informations comming from a table?

In my special case I have a grid with a field where I select a table.
In the next field I want the user to select a fieldname from this table.
Therefore I want a combobox with a list of valid fieldnames.

How do I fill comboBox with a fieldlist ?

Regards

Manfred Ursprung











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: AW: [development-axapta] closing the caller form

2004-09-28 Thread Jesmond Giordimaina




Hi,

thanks for fast reply.
But it's still telling "FormButtoncontrol Object does
not have method close". 

The code that opens the second form is this:

void clicked()
{

Args args = new Args();
//Passing args to form
Form frm = new Form('ShowCustTableData');
FormRun formRun;
;

args.object(frm);
args.caller(this);

formRun = classFactory.formRunClass(args);
formRun.init();
formRun.run();
formRun.wait();
}



The code that tries to close the form (from the second
form) is : 

void clicked()
{
Args args = new args();
FormRun frm;
;

frm = element.args().caller();
frm.close();

}

reg
Jesmond





--- Matthias Schuster <[EMAIL PROTECTED]> wrote:

> Hi Jesmond,
>  
> try this!
>  
> FormRun  frm;
> Frm = element.args().caller();
> Frm.close();
>  
> Cu
> M
>  
>  
>   _  
> 
> Von: Jesmond Giordimaina
> [mailto:[EMAIL PROTECTED] 
> Gesendet: Dienstag, 28. September 2004 11:05
> An: [EMAIL PROTECTED]
> Betreff: [development-axapta] closing the caller
> form
>  
> Hi all,
> 
> does anybody know how to close a form from another
> form? I am trying to use the following code from the
> active form.
> 
> 
> Args args = new args();
> Form frm;
> ;
> 
> frm = args.caller();
> frm.finalize();
> 
> 
> Thanks in advance
> reg
> Jesmond
> 
> 
> 
> ___
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
> 
> 
> ADVERTISEMENT
>  
>
 se96mf6/*http:/companion.yahoo.com> click here
> 
>  
>

> 
>  
>   _  
> 
> 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 
> . 
> 
> 
> [Non-text portions of this message have been
> removed]
> 
> 
> 



    
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
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.










AW: [development-axapta] closing the caller form

2004-09-28 Thread Andrae, Tobias




Hi,
first of all, dont use Form but FormRun instead.
If you are calling the second form with args, just fill args.caller():
args.caller(this);
 
hth Tobias

  -UrsprÃngliche Nachricht- 
  Von: Jesmond Giordimaina [mailto:[EMAIL PROTECTED] 
  Gesendet: Di 28.09.2004 12:05 
  An: [EMAIL PROTECTED] 
  Cc: 
  Betreff: [development-axapta] closing the caller form
  
  

  Hi all,
  
  does anybody know how to close a form from another
  form? I am trying to use the following code from the
  active form.
  
  
  Args args = new args();
  Form frm;
  ;
  
  frm = args.caller();
  frm.finalize();
  
  
  Thanks in advance
  reg
  Jesmond
  
  
     
  ___
  Do you Yahoo!?
  Declare Yourself - Register online to vote today!
  http://vote.yahoo.com
  
  
  
   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
  
  
  
  
  
  



[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.










AW: [development-axapta] closing the caller form

2004-09-28 Thread Matthias Schuster




Hi Jesmond,
 
try this!
 
FormRun  frm;
Frm = element.args().caller();
Frm.close();
 
Cu
M
 
 
  _  

Von: Jesmond Giordimaina [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 28. September 2004 11:05
An: [EMAIL PROTECTED]
Betreff: [development-axapta] closing the caller form
 
Hi all,

does anybody know how to close a form from another
form? I am trying to use the following code from the
active form.


Args args = new args();
Form frm;
;

frm = args.caller();
frm.finalize();


Thanks in advance
reg
Jesmond


    
___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com





Yahoo! Groups Sponsor


ADVERTISEMENT
 
 click here

   
 
  _  

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  . 


[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] closing the caller form

2004-09-28 Thread Jesmond Giordimaina




Hi all,

does anybody know how to close a form from another
form? I am trying to use the following code from the
active form.


Args args = new args();
Form frm;
;

frm = args.caller();
frm.finalize();


Thanks in advance
reg
Jesmond


    
___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com










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] Set timeout for form

2004-09-28 Thread smeagul2303




Hi,

If a "authentication form" is opened, the user has to authenticate
himself by giving a password. This authentication shall be valid only
for a fixed time period. If the form is still open, he has to
authenticate again.

Where can I set this timeout ? 
Is something like that in standard Axapta ?

For some hints you will be welcome

Regards 

Manfred Ursprung

 











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] Update in grouped sql query

2004-09-28 Thread Malcolm Burtt




Hi Stefan
 
I think that your only option is to reselect (forupdate) the header table inside the while block using the headerId that you've gotten from the lines table. Obviously you won't need the "forupdate" in your existing select if you do that.
 
Regards
 
Malcolm Burtt

-Original Message-
From: Stefan Osterburg [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 08:07
To: [EMAIL PROTECTED]
Subject: [development-axapta] Update in grouped sql query


Hi,

I have a problem with updating records in a grouped sql query:

I have to tables one "header"-table and one "line"-table.
As usual (e.g. in Salestable/Salesline) there can be several
records in the line table for one header record.

In both tables I have a Quantity field. Now I want to check,
if the sum of quantities in the tables lines is the same as
in the table header, if not I want to mark the table header,
to indicate the user that there is a problem.

I have the following query:

while select sum(Qty),headerid from linetable
    group by headerid
    join forupdate headertable
    where linetable.headerid==headertable.headerid &&
    linetable.Qty!=headertable.Qty
{
   headertable.Checked=checkfailed;
   headertable.update();
}

The query works so far as it correctly identifies all
records with differing quantities. However the update
fails because Axapta constructs the query in the
SQL-server such that the headertable is included in the
group by and therefore does not return a complete
record but something grouped.

Any ideas how I can restructure the query to do what I want?

Stefan Osterburg



Yahoo! Groups Sponsor  

ADVERTISEMENT
  click here  
     


  _  

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  . 




[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] Variable passing

2004-09-28 Thread Bojan Jovicic




I am having following problem. I have a form that has a table as datasource.
That table has property temporary set to yes. I want to select all the
records that satisfy certain condition from that table.
Lets say table is named tmpTab1. So when i do
SELECT *
FROM tmpTab1
WHERE tmpTab1.field == ...
I get the data in form filtered also. I tried creating one variable of same
type as that table and selecting through it, but again i get the form
filtered. I even created a class that has a varibale of same type as that
table, and created a method for passing the table to object of that
class(which i instantiated), but again i get the form table filtered.
 
Any ideas?


    
-
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.

[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] Update in grouped sql query

2004-09-28 Thread Stefan Osterburg




Hi,

I have a problem with updating records in a grouped sql query:

I have to tables one "header"-table and one "line"-table.
As usual (e.g. in Salestable/Salesline) there can be several
records in the line table for one header record.

In both tables I have a Quantity field. Now I want to check,
if the sum of quantities in the tables lines is the same as
in the table header, if not I want to mark the table header,
to indicate the user that there is a problem.

I have the following query:

while select sum(Qty),headerid from linetable
        group by headerid
    join forupdate headertable
        where linetable.headerid==headertable.headerid &&
    linetable.Qty!=headertable.Qty
{
   headertable.Checked=checkfailed;
   headertable.update();
}

The query works so far as it correctly identifies all
records with differing quantities. However the update
fails because Axapta constructs the query in the
SQL-server such that the headertable is included in the
group by and therefore does not return a complete
record but something grouped.

Any ideas how I can restructure the query to do what I want?

Stefan Osterburg










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.