[development-axapta] Creating Forms

2004-10-14 Thread bob . brinker
Hi All, Within the last couple weeks I believe someone posted a message with detail instructions on creating a form. I intended to save it but must have accidentally deleted it. If anyone has it would you be so kind as to send it to me. Thanks, Bob Bob Brinker Oakdene Group, Inc. 2625

[development-axapta] Re: Available Physical (Sales Order)

2004-10-14 Thread kellerkneipe
Hi Rick! I think you're on a good way. Try following: First of all if you want a display method start the method with: display Second availPhysical of the inventsum has the datatype: InventQtyAvailPhysical so method should be of this type (not a must but a nice to have because labels au

[development-axapta] Finding a Field in a Table

2004-10-14 Thread bob . brinker
Hi All, I am trying to retrieve a custom field (Carrier) added to the InventJournalTable but am getting error: Field not found in Table. The field has been added to the table and contains data. Any suggestion? The error message is pointing to the column after the equal sign. display Carrier

RE: [development-axapta] How to make Costcenter field mandatory at runtime

2004-10-14 Thread Tony Depalo
Hi Ottawa, I seem to remember that I tried this once before and found that I could not make an array field (ie Dimensions) mandatory.  I overcame this by checking the value of the field and if empty then return a message and false in the validateWrite method. Good luck Tony -Original Me

[development-axapta] Re: Available Physical (Sales Order)

2004-10-14 Thread rck_hardy
Girish, Thanks for the reply!  This does look like what I need, but my problem is I'm just learning Axapta and I need a little help explaining where to do this?  I created a method under the salesLine table defined as the following: real getPhysical() {   //Rick   return InventSum::find(

RE: [development-axapta] Available Physical (Sales Order)

2004-10-14 Thread Girish Bhatkal
sorry, i missed to return the field you should write  return InventSum::find(salesLine.itemid,salesline.inventDimId).availphysical;   -Original Message-   From: Girish Bhatkal [mailto:[EMAIL PROTECTED]   Sent: 14 October 2004 15:05   To: [EMAIL PROTECTED]   Subject: RE: [development-

RE: [development-axapta] Available Physical (Sales Order)

2004-10-14 Thread Girish Bhatkal
Hi Rick, you can write a display method return InventSum::find(saesLine.itemid,salesline.inventDimId); if you write this method on the salesline table then you need to write return InventSum::find(this.itemid,this.inventDimId); hope this will help. cheers, girish   -Original Message

RE: [development-axapta] Available Physical (Sales Order)

2004-10-14 Thread Andre Klopper
Hi, I need to run code every time Axapta writes to the database. Is there a generic place that I can put this code? I really don’t want to visit every table :-) Cheers Andre --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6

[development-axapta] Available Physical (Sales Order)

2004-10-14 Thread Rick Hardy
I have a question I was hoping I could get some help on.  When we create sales orders we need to know the inventory status of every line we add to the sales order.  I know we can click on the inventory / On hand button, but I would like to have this information displayed on screen so right whe

[development-axapta] Re: Run a report from code

2004-10-14 Thread nielshenrikthage
--- In [EMAIL PROTECTED], "Irving" <[EMAIL PROTECTED]> wrote: > > > Hi > > I have some existing functionality, I have to change in such a way > that I can select one of seven report (AOT), and run the report from > code. > > How do I do that? > > Regards > > Irving Hi Irving I suppose

[development-axapta] Run a report from code

2004-10-14 Thread Irving
Hi I have some existing functionality, I have to change in such a way that I can select one of seven report (AOT), and run the report from code. How do I do that? Regards Irving Yahoo! Groups Sponsor ADVERTISEMENT Yahoo! Groups Links To visit your group o

RE: [development-axapta] How to make Costcenter field mandatory at runtime

2004-10-14 Thread Girish Bhatkal
It is better if you dont make them mandatory in the form(using the property). But write the code on the PurchLine table, validatewrite method or in the validatewrite method of the datasource/purchline/validatewrite method cheers, Girish   -Original Message-   From: ottawa_m2003 [mailt