[development-axapta] Re: Insert, Update, Delete Watch

2004-10-27 Thread Morris Mendoza
Hey Tom, Thanks for your reply, however, aren't this all form level methods? I was trying to find a way for all forms to react the same way maybe calling a GLOBAL method or something. Any thoughts on this? -MORRIS --- In [EMAIL PROTECTED], "Tom Bak" <[EMAIL PROTECTED]> wrote: > > > Seq

[development-axapta] Re: Code node in product builder

2004-10-27 Thread affekatz
Thank you ill try it later today ... ill report back if my programming skills was good enogh :-) --- In [EMAIL PROTECTED], "Fabrice Perez" <[EMAIL PROTECTED]> wrote: > > If the class you need doesn't exist in the AOT, you should create it in the > AOT first. > > Then in Product Builder

[development-axapta] Programmatically removing controls from a form

2004-10-27 Thread Bayliss, Barry
Hello, As it is possible to programmatically add controls to a form at runtime, is it also possible to remove controls, instead of making them invisible? I am using Axapta 3.0 sp2. I have tried using the following code, with no luck.  Can anyone tell me exactly what the CUT() method is

RE: [development-axapta] Insert, Update, Delete Watch

2004-10-27 Thread Tom Bak
Sequence of execution of methods The nature of the user interface in MorphX is event driven. This means that when an event recognized by MorphX occurs, the X++ programmer can modify the system's default behavior if necessary. A table does not have a visual representation on it's own. The on

RE: [development-axapta] Code node in product builder

2004-10-27 Thread Fabrice Perez
If the class you need doesn't exist in the AOT, you should create it in the AOT first. Then in Product Builder you declare a class variable with reference to this particular class, and initialize the class variable by calling its constructor method. Fabrice Perez MicrosoftR Business S

RE: RE : RE : [development-axapta] deleting controls on a form

2004-10-27 Thread Bayliss, Barry
A way to determine the control type is as follows private void     ProcessButtonPress     (     FormControl Control     ) {     ;     if (Control) {     switch (Control.handle())     {     case    ClassNum(FormButtonControl):

RE: [development-axapta] Posting Errors !

2004-10-27 Thread Jim Jo
Hi Girish,   I had done a large amount of transactions directly imported to the jounal lines and yep.. there was some errors on the validations. That I got through which I had explained on my previous mails (Ax Know Village Group). The GJ lines import from an excel sheet works fine from my e

[development-axapta] Insert, Update, Delete Watch

2004-10-27 Thread Morris Mendoza
Im a newbie in AXAPTA so i hope you can bear with my question. Here it goes. I want to have a way to watch every UPDATE,DELETE,ADD in any form that i use in axapta. I want to know what Form Im calling, what Table im updating, and the values that i entered during the UPDATE,DELETE or ADD. I w

RE: [development-axapta] Posting Errors !

2004-10-27 Thread Koh Meng
Hi Henrik, After i had completed the data import using excel spreadsheet the infolog showed the records are being imported without showing any error. Only when i want to do the posting the error message throws out. The thing that puzzled me is the journal total debit and credit are being c

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 : RE : [development-axapta] error catching when inserting in SQLServer

2004-10-27 Thread Steeve Gilbert
>From what I've read so far, the only way to catch sql exception with the try/catch is to use class Statement and ODBCConnection to execute the query. Steeve... -Message d'origine- De : RHODPR [mailto:[EMAIL PROTECTED] Envoyé : 27 octobre 2004 10:28 À : [EMAIL PROTECTED] Objet : R

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

2004-10-27 Thread RHODPR
Take a look at http://msdn.microsoft.com/library/en-us/Axapta/LANG_Introduction.asp --- In [EMAIL PROTECTED], "laurenzwagner" <[EMAIL PROTECTED]> wrote: > > > hello everybody! > > i am new to axapta/x++ and need a your help > > where can i find a function reference of x++/axapta? > > th

RE: [development-axapta] Posting Errors !

2004-10-27 Thread Girish Bhatkal
Hi Jack,     When the General journal lines are created through axapta it also inserts/updates some other tables. So its not easy to directly import the lines and then post.    When I had got our client's GL data migration I had got the journal created manually and the lines using a data i

RE: [development-axapta] logging to windows application log

2004-10-27 Thread Matt Benic
Thanks Pieter, I appreciate that! Regards, Matt Benic Axapta Developer UTi Sun Couriers Division "The universal aptitude for ineptitude makes any human accomplishment an incredible miracle." - Col. John P. Stapp -Original Message- From: Pieter Wijnen [mailto:[EMAIL PROTECTED] S

Re: RE : [development-axapta] error catching when inserting in SQLServer

2004-10-27 Thread RHODPR
Yes I can, I know that is an option.  But is there any way to catch such an exception?  Maybe there will be other exceptions that are thrown by SQL Server, I just want to know if it's possible to catch them... --- In [EMAIL PROTECTED], "Steeve Gilbert" <[EMAIL PROTECTED]> wrote: > > Can

[development-axapta] field in WebGrid

2004-10-27 Thread Paulius Cerniauskas
Assume that i got 3 fields in webgrid: Field1 Field2 Field3 Is it possible to make Field2 non-editable (something like field property enabled=false) depending on value in Field1? e.g if Field1 <=10 then value could be entered in Field2 and if Field >10 then value could not be entered in Fi

[development-axapta] Record Level Security Problem

2004-10-27 Thread Anil Ozay
Hi all, I have a problem about record level security. I create a restriction about BOM. If a user in a Planning group wants to view BOM, only he can view items start with '5*'. That's ok when he/she comes from Items / BOM / Lines. If he/she comes from Sales Order / "Lines" / Functions

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

2004-10-27 Thread laurenzwagner
hello everybody! i am new to axapta/x++ and need a your help where can i find a function reference of x++/axapta? thx, a lot laurenz Yahoo! Groups Sponsor ADVERTISEMENT Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group

RE: [development-axapta] logging to windows application log

2004-10-27 Thread Pieter Wijnen
I'll see wether I can dig it up (I have the neccesary API calls laying about somewhere) Pieter   _  From: Matt Benic [mailto:[EMAIL PROTECTED] Sent: 25. oktober 2004 11:34 To: Axapta Dev Subject: [development-axapta] logging to windows application log We would like more per

[development-axapta] Web User

2004-10-27 Thread ax
Hi everybody, Have some mini problem with web user setup. I've created new customer, then created new Axapta user with EP_Cust and EP_Ext then created web user and pointed to right portal. when i'm trying to login warning message appears "Login error : The Web user 'mm' is not associated with a

RE: [development-axapta] Posting Errors !

2004-10-27 Thread Henrik Østergård
It's likely to get validate errors on an imported sheet, however your attachment is not included, so what does it tell? Regards Henrik >-- Oprindelig Besked -- >To: [EMAIL PROTECTED] >From: Koh Meng <[EMAIL PROTECTED]> >Date: Tue, 26 Oct 2004 22:35:00 -0700 (PDT) >Subject: [development-a

RE : [development-axapta] error catching when inserting in SQLServer

2004-10-27 Thread Steeve Gilbert
Can't you just do a select statement to check if the record already exists? Steeve... -Message d'origine- De : RHODPR [mailto:[EMAIL PROTECTED] Envoyé : 27 octobre 2004 05:54 À : [EMAIL PROTECTED] Objet : [development-axapta] error catching when inserting in SQLServer Hi all,

[development-axapta] DIP BE Integration

2004-10-27 Thread axel . francois
Hello, I have a problem at the time of he integration of DIP BE layer in a V3.0 SP3 standard environment. Axapta returns me this message and i do not see lay down it DIP BE integrated but after compiles and synchronization. " Error in the primary data list    Unliked areas exist in the fi

[development-axapta] Code node in product builder

2004-10-27 Thread affekatz
I found the code to connect to a external database ( ODBC ) but now i need to load the data in a productmodel in the productbuilder. My question is do i need to create some sort of class to handel the connection or can i just use the "code node" ( in the product tree ) in productbuilder t

RE : [development-axapta] Formletter: What does it do or mean?

2004-10-27 Thread Steeve Gilbert
All that I can tell you is that it's a base class and it's extended by SalesFormLetter and PurchFormLetter.  On the "sales" side, SalesFormLetter is also extended in other classes that are used to create Invoice, Packing Slip, Picking List and other documents. Steeve... -Message d'orig

[development-axapta] Posting Errors !

2004-10-27 Thread Koh Meng
Hi all, I'm in the midst of doing GL data migration using Axapta Excel Template (LedgerJournalTable and LedgerJournalTrans).  After I loaded the GL Opening Balances into General Journal and tried to do the posting.  An error message threw out and stopped me from posting (see attached). Can a

Re: [development-axapta] Re: Build-in SysExcel* Class function not enough

2004-10-27 Thread Amund
Hello Kenneth, try creating a new method in SysExcelRange like: public int rowsCount() { COM currentRegion; COM rows; ; currentRegion = range.CurrentRegion(); rows = currentRegion.Rows(); return rows.Count(); } This should return the same information as ".current

[development-axapta] error catching when inserting in SQLServer

2004-10-27 Thread RHODPR
Hi all, I want to insert a new record in the EmployeeTable in Axapta (SQL Server).  If there is already an employee in it with the same EmplId, it (SQL Server I guess) returns an error.  How can I catch this error?  The code below doesn't work : the error is directly shown on the screen,

[development-axapta] Formletter: What does it do or mean?

2004-10-27 Thread bob . brinker
Hi Everyone, I have seen the word Formletter used in Axapta methods but cannot find what it means or does. Can someone explain it or tell me where I can find information on it. I could not find it in the Developer's Guide. Thanks, Bob Bob Brinker Oakdene Group, Inc. 2625 Butterfield Rd.

Re: [development-axapta] SalesTable

2004-10-27 Thread Danny Gaethofs
Thanks a lot Aji, Before I saw your answer I spent a lot of time on figuring all of this out. You confirm what I learned meanwhile. Nevertheless the thing I still do not catch is where the container checkIfupdate gets its values. During my analysis I did find the method checkIfUpdate() on t