[development-axapta] Creating a text file in Axapta ????

2005-04-21 Thread Huseyin Akdag
Hello, How Can I create a text file into a specified Folder (for example C:\MSB\Itemdefinitions.txt) in Axapta with a simple Context? I took a look to Winapi class. But I couldn’t find how to set a path for the file.. Does anyone have an Example? Thanks Regards Huseyin

[development-axapta] 3 decimal places in Sales Price

2005-04-21 Thread thestorm1974
I have some sales orders where the Sales price needs to be at 3 decimal places but the amount needs to be to 2 decinal places. Has anyone had to do this before, if so, how did you do it? Thanks Garry Yahoo! Groups Links To visit your group on the web, go

RE: [development-axapta] File names in a folder

2005-04-21 Thread Lars Holm
Hi, The methods findFirstFile and findNextFile in the WinAPI class can do it. You will find an example of the usage here: \Classes\SysHelpSetupWizard\getLanguages Best regards, Lars Holm Senior Technical Consultant T O I N C R E A S E - Y O U R B U S I N E S S -Original

[development-axapta] Re: File names in a folder

2005-04-21 Thread wohegro
hi there, some time ago I've had the same problem and used the following code for this: static void snatchFilesFromFolder(Args _args) { integer hdl; FileName fileName; #File ; [hdl, fileName] = WinAPI::findFirstFile(D:\\tmp\\ + #AllFilesName + #AllFilesExt); while (fileName) {

RE: [development-axapta] APAR aging by currency

2005-04-21 Thread James Flavell
ah thanks Harry I was trying to remember where I had seen the aging by currency :) -Original Message- From: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Harry (Harshawardhan Deshpande Sent: 20 April 2005 11:44 To: development-axapta@yahoogroups.com

[development-axapta] Re: Run Report from a FORM

2005-04-21 Thread vlemeunier2
Create an Output menuItem. In the property field about the Object, write the name of your report and put Report in the class property. Create your report with the name that you have put before. In your form, create a menuItemButton and in the MenuItemName property put the name of your

RE : RE : [development-axapta] inventtableModule doesn't refresh on inventtable when i rename itemid

2005-04-21 Thread Steeve Gilbert
Cenk, Record Info! Oh ok! That should do it. After renaming an ItemId, if you close InventTable form and reopen it, is your ItemId renamed correctly? Regards, Steeve... -Message d'origine- De : Cenk Ince [mailto:[EMAIL PROTECTED] Envoyé : 19 avril 2005 11:35 À :

[development-axapta] Failed to Create or Open Session Control File (axdat.UDB)

2005-04-21 Thread Hemant Kumthekar
Hi Guys, We have a 2-tier and 3-tier setup. 3 tier connections work fine. 2-tier works fine on the server. We have Application server which also serves as our AOS. But when we try to login from a client which is configure as 2-tier I'm getting the error about AXDAT.UDB. The application is

[development-axapta] Help on using the Import Wizard

2005-04-21 Thread Brandon George
Hello All, We are trying to use the Import Wizard to create an Excel spreadsheet for our GL Ledger Accounts. We choose the Ledger Table, and tell Axapta to create the Data Definition group. It gets to creating the excel spreadsheet and error's out at the very last. It will create the

RE : [development-axapta] Run Report from a FORM

2005-04-21 Thread Steeve Gilbert
Hi Anton, Simply create an Output MenuItem that call your report, create a MenuItemButton on your form and link it to the MenuItem. You can take a look at CustInvoiceJournal form on the Show button to see how it's done. Regards, Steeve... -Message d'origine- De : Anton Tjiptadi

Re: [development-axapta] Creating a text file in Axapta ????

2005-04-21 Thread Arijit
Use this WinAPI::createFile('c:\\PwC BRS Axapta.txt'); On 4/20/05, Huseyin Akdag [EMAIL PROTECTED] wrote: Hello, How Can I create a text file into a specified Folder (for example C:\MSB\Itemdefinitions.txt) in Axapta with a simple Context? I took a look to Winapi class. But

[development-axapta] Re: Creating a text file in Axapta ????

2005-04-21 Thread vlemeunier2
Just do like this: CommaIo myfile = new CommaIo(C:\\MSB\\Itemdefinitions.txt,W); if(myfile) { myfile.write(hello world); } Don't forget to put 2 \. Vince --- In development-axapta@yahoogroups.com, Huseyin Akdag [EMAIL PROTECTED] wrote: Hello, How Can I create a text

SV: [development-axapta] Creating a text file in Axapta ????

2005-04-21 Thread Dahlsgaard Jan
Hi You don't have to use winapi. You could use TextBuffer class like this: textbuffer tb = new textbuffer(); ; tb.appendText('my text'); tb.toFile('C:\MSB\Itemdefinitions.txt'); or asciio class like this: filename filename = c:\\temp\\jdxtest.txt; asciiio a = new

YNT: RE : RE : [development-axapta] inventtableModule doesn't refresh on inventtable when i rename itemid

2005-04-21 Thread Cenk Ince
Hi Steeve i know it, but why to close form? I can't understand why it doesn't refresh inventtablemodule table! When active method of datasource invettable runs, it must refresh the inventtablemodules. I dubeg it and i see that active runs. But doesn't refresh. Thanks.

[development-axapta] image on tabpage

2005-04-21 Thread byteway_so
Hi, How can I show an image, that is stored in my project as a resource, on a tabpage? There is no image-control... /b 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

[development-axapta] [Urgent] How to post ProdJournalTable from code

2005-04-21 Thread Cenk Ince
Hi all; I need code to post a ProdJournalTable (ProdJournalProd). I know journalid, can i post it directly? Thanks [Non-text portions of this message have been removed] Yahoo! Groups Links To visit your group on the web, go

[development-axapta] Referencing from Dimensions to CustTable

2005-04-21 Thread Christian Mayr
Hi! I would like to reference from one dimension field to CustTable. This means: Opening LookUp form CustTableLookup shoul appear. Going to main table CustTable should be opened Going to main table is no problem but opening a lookup with customers does not work. Is there a solution for

[development-axapta] Oracle and ClusterIndex?

2005-04-21 Thread hwimmer
Hi I have Axapta 3.0SP3 running on Oracle 9.2.0.2.1. (unfortunately I only have MSSQL experience and no Oracle). I know how Axapta creates an index if it is set in the property ClusterIndex on the table (Flag grouped on index is set to yes in MSSQL) and what the cluster means (organizing

[development-axapta] Parsing variables from a FORM to a CLASS

2005-04-21 Thread Anton Tjiptadi
Hi all, how to parsing variable inputed in the FORM to a CLASS ? I created a FORM and it that form there's a button to call a CLASS. I have a textbox for user input in the FORM and I want to parsing it so that inputed text known in the CLASS. I appreciate any help ? thanks in advance.

AW: [development-axapta] image on tabpage

2005-04-21 Thread Andrae, Tobias
there is - but it's called window ;-) -Ursprngliche Nachricht- Von: byteway_so [mailto:[EMAIL PROTECTED] Gesendet: Do 21.04.2005 11:01 An: development-axapta@yahoogroups.com Cc: Betreff: [development-axapta] image on tabpage Hi, How can I show

[development-axapta] Re: image on tabpage

2005-04-21 Thread byteway_so
Thanks, i had forgotten about that --- In development-axapta@yahoogroups.com, Andrae, Tobias [EMAIL PROTECTED] wrote: there is - but it's called window ;-) -Ursprüngliche Nachricht- Von: byteway_so [mailto:[EMAIL PROTECTED] Gesendet: Do 21.04.2005 11:01 An:

RE : RE : RE : [development-axapta] inventtableModule doesn't refresh on inventtable when i rename itemid

2005-04-21 Thread Steeve Gilbert
Close the form and reopen it just to see if the ItemId you've renamed get linked correctly to InventTableModule. I known it's not a solution, I just wanted to see if the key renaming is done correctly event if you get the error you mention. I'm a bit out of idea. Regards, Steeve...

[development-axapta] Re: Label Not coming on a programmable section

2005-04-21 Thread jpchircop
Im having the same problem: the column labels are showing up in the report designer, however they are not visible on the actual report.. Any ideas anybody? Regards, J. Chircop --- In development-axapta@yahoogroups.com, Abin s [EMAIL PROTECTED] wrote: I trid with the proporties of the

[development-axapta] report layout Ax 2.5 / SP2

2005-04-21 Thread pbercher
Hi, i have a funy problem with the report design in Ax. 2.5 /Sp2 I set in a report section 3 values in 3 different lines (Value 1: Top = 0 Char, Value 2: Top =1 Char, Value 3: Top = 3 char) The preview / grafical design shows me everything fine.. but when printing (running the report)