[development-axapta] Ledger trans types
Hi, Does anybody know what is is the functonality attached to ledger trans type 'Transfer'. What it gives if I mark that in journal? Darius 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: http://docs.yahoo.com/info/terms/
[development-axapta] Admin User Group Permission changed....
Hi All, Today when I tried to login my Axapta (using Admin login), I am not able to see any menu (not even Main menu). It was working fine till yesterday. I logged in using some other user id and found the Admin User Group permission – have no access to any menu. Its strange, as by default it should be full control to all menus and un-editable. What may be the problem, and how can i change the permissions. I am using 3-tier configuration. 1 AOS . DB –> SQL server Thanks in Advance Regards Amar 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] moving on data source
Hi , I think a related question about this topic is getting count of records on the datasource or grid. Of course we can increment a counter in the while loop but I am searching for another method if any. Thanks --- Jonathan St-Louis <[EMAIL PROTECTED]> wrote: > Hi, > > We'll say that the dataSource linked to the grid is > BER_Inventaire. > > Method > { > booleanHaveNext = true; > > BER_Inventaire_ds.first(); > while(HaveNext) > { > info(BER_Inventaire.Field); > HaveNext = BER_Inventaire_ds.next(); > } > } > > The _ds can be use on any dataSource to replace the > .DataSource() method. > Hope it'll help. > > > - Original Message - > From: Cenk Ince > To: [EMAIL PROTECTED] > Sent: Wednesday, February 18, 2004 4:35 AM > Subject: [development-axapta] moving on data > source > > > On a form there is a datatsource and lines are > showed on a grid. I want to move on all records that > is shown on grid(selected or none selected). How can > i do it ? > > thanks in advance.. > > > -Özgün İleti- > Kimden: hoffmanc2003 > [mailto:[EMAIL PROTECTED] > Gönderilmiş: Çar 18.02.2004 06:55 > Kime: [EMAIL PROTECTED] > Bilgi: > Konu: [development-axapta] Batch postings of > delivery notes only full order lines > > > > Without modifying Axapta ver 3SP2 how can > batch postings of Delivery > Notes be setup to only select sales orders > where all sales lines can > be filled. That-is, only deliver the full > complete sales order. > > Customers may have one or more sales orders, > each containing multiple > lines. Supplementary items are also to be > included in the single > complete delivery. > > This will reduce our number of deliveries to > a single customer and > thus reduce delivery costs. > > > > > > > Yahoo! Groups Links > > > > > > > > > > -- > Yahoo! Groups Links > > a.. To visit your group on the web, go to: > > http://groups.yahoo.com/group/development-axapta/ > > b.. To unsubscribe from this group, send an > email to: > [EMAIL PROTECTED] > > c.. Your use of Yahoo! Groups is subject to the > Yahoo! Terms of Service. > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.585 / Virus Database: 370 - Release > Date: 2004-02-11 > __ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools Yahoo! Groups Sponsor -~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/saFolB/TM -~-> 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: http://docs.yahoo.com/info/terms/
RE: A: [development-axapta] Upgrading in Axapta documentation
Hi All, I am new to this and possibly made an error but I visited the Axapta Technet web site and found many documents but could not find the specific one addressing "do's and don'ts of upgrading in Axapta". Does someone know the exact title of the document indicated? Kind Regards, Bob Bob Brinker Oakdene Group, Inc. 2625 Butterfield Rd. (Suite 212E) Oak Brook, IL 60523-1261 (630)368-1046 x/230 (630)368-1050 (Fax) [EMAIL PROTECTED] "Mai-Britt Winther \(MICROSOFT BUSINESS SOLUTIONS\)" <[EMAIL PROTECTED]> 02/18/2004 04:45 PM Please respond to development-axapta To: <[EMAIL PROTECTED]> cc: Subject: RE: A: [development-axapta] Upgrading in Axapta documentation **KEEPER** Hi Jack If you visit the Axapta technet you will find a document published a few months ago by us â describing the doâs and donâts of upgrading in Axapta. Best regards Mai-Britt From: Jack Schilder [mailto:[EMAIL PROTECTED] Sent: 18. februar 2004 23:42 To: [EMAIL PROTECTED] Subject: [development-axapta] Upgrade documentation Hi everyone, In this year 4th year of my study, a (bachelor) paper has to be written. As a former intern at an MBS partner, Axapta seemed a logical choice to write about. The titel of my paper will be: Framework for upgrading to new Axapta releases. In this particular company,there are no specific upgrade-manuals. Only one programmer knows how to do an upgrade, and he does it mainly by heart. He said it's an 'hands-on job'. Maybe, but structured documents are needed for this process. A lot of problems occur during and due to these upgrades, obviously most of these problems ocur with the non-standard axapta programming. My question to you people: Do you have these kind of update manuals in your company, like detailed checklist? And if so would it be possible for me to see them? Has Microsoft shared documents with you that helped with the upgrade? With kind regards, Jack Schilder, student at the Amsterdam Business School 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 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 : RE : [development-axapta] Printing the report directly on the assinged printer
Sorry, I thought all was in there. So here's an XPO of the class. With this everything should be ok to compile, if you need anything else let me know. I suggest you that for each report you overload prompt() method and do something like that : element.printJobSettings().DeviceName(LBAUtilPrinter::findPrinterName(getIPForThisReport())); where getIPForThisReport() is the function what will return the IP found in your table for the current report. Take care! Steeve… -Message d'origine- De : Girish Bhatkal [mailto:[EMAIL PROTECTED] Envoyé : 19 février 2004 14:31 À : [EMAIL PROTECTED] Objet : RE: RE : [development-axapta] Printing the report directly on the assinged printer Hi Steeve, thanks for the information. this would surely help me. can you please let me know if there is any other class i need along with this as when i tried to use this function i got an error that LBAUtilPrinter is not a class for the following line "cPack = LBAUtilPrinter::getDeviceName(tmpPrinterName, tmpPrinterRunOn);" can you please let me know from where should the method mentioned in your attachment should be called and also in which method should i write the code to return the printername element.printJobSettings().DeviceName("The printer name"); thanks again. cheers, Girish -Original Message- From: Steeve Gilbert [mailto:[EMAIL PROTECTED] Sent: 19 February 2004 16:46 To: [EMAIL PROTECTED] Subject: RE : [development-axapta] Printing the report directly on the assinged printer Hi Girish, I think I have the solution for you. The static function attached (hope the attachment works) will give you the printer name when you pass a printer port (like an IP or path \\SERVER\Printer) as the parameter. That is, the printer must be installed on the workstation. Then use this in your report : element.printJobSettings().DeviceName("The printer name"); Hope that's what you were looking for. The function is documented in French. If you can't read French it's pretty easy to figure out how it works anyway since it's not a big function. Take care! Steeve… -Message d'origine- De : Girish Bhatkal [mailto:[EMAIL PROTECTED] Envoyé : 19 février 2004 09:16 À : [EMAIL PROTECTED] Objet : [development-axapta] Printing the report directly on the assinged printer Hi Guys, suppose we populate a field in the table with an IP address. Now if we print a particular report is it possible to directly have this report printed on this assigned printer (IP address specified). i would appreciate if anyone who knows about this could send me the code to write the same on the report. thanks . cheers, Girish 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. LBAUtilPrinter.xpo Description: LBAUtilPrinter.xpo
RE: RE : [development-axapta] Printing the report directly on the assinged printer
Hi Steeve, thanks for the information. this would surely help me. can you please let me know if there is any other class i need along with this as when i tried to use this function i got an error that LBAUtilPrinter is not a class for the following line "cPack = LBAUtilPrinter::getDeviceName(tmpPrinterName, tmpPrinterRunOn);" can you please let me know from where should the method mentioned in your attachment should be called and also in which method should i write the code to return the printername element.printJobSettings().DeviceName("The printer name"); thanks again. cheers, Girish -Original Message-From: Steeve Gilbert [mailto:[EMAIL PROTECTED]Sent: 19 February 2004 16:46To: [EMAIL PROTECTED]Subject: RE : [development-axapta] Printing the report directly on the assinged printer Hi Girish, I think I have the solution for you. The static function attached (hope the attachment works) will give you the printer name when you pass a printer port (like an IP or path \\SERVER\Printer) as the parameter. That is, the printer must be installed on the workstation. Then use this in your report : element.printJobSettings().DeviceName("The printer name"); Hope that's what you were looking for. The function is documented in French. If you can't read French it's pretty easy to figure out how it works anyway since it's not a big function. Take care! Steeve… -Message d'origine-De : Girish Bhatkal [mailto:[EMAIL PROTECTED] Envoyé : 19 février 2004 09:16À : [EMAIL PROTECTED]Objet : [development-axapta] Printing the report directly on the assinged printer Hi Guys, suppose we populate a field in the table with an IP address. Now if we print a particular report is it possible to directly have this report printed on this assigned printer (IP address specified). i would appreciate if anyone who knows about this could send me the code to write the same on the report. thanks . cheers, Girish 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] Compare Objects BEFORE importing them possible???
Hi Walter, thank you very much. If you are in Vienna once, let me know, there's a beer waiting for you :-) best regards Herbert | -Ursprüngliche Nachricht- | Von: Walter Becker [mailto:[EMAIL PROTECTED] | Gesendet: Donnerstag, 19. Februar 2004 17:28 | An: [EMAIL PROTECTED] | Betreff: AW: [development-axapta] Compare Objects BEFORE | importing them possible??? | | Hi, | | you can compare the object within the import. Activate details an | compare the object with the "xpo-Layer". | | Best regards | Walter Becker | DDT GmbH | | -Ursprüngliche Nachricht- | Von: Mister L [mailto:[EMAIL PROTECTED] | Gesendet: Donnerstag, 19. Februar 2004 17:17 | An: Axapta Development Yahoo Group | Betreff: [development-axapta] Compare Objects BEFORE importing | them possible??? | | Hi! | | Has anyone an idea about, or a solution for my situation: | | Because we are developing sometimes off-customers-site, sometimes | on-site, sometimes parallel we have to bring modifications from | one axapta to another. | | But there's always the danger of overwriting objects. | | So I would like to have the possibility to make a comparison for | the objects to import before i put them into axapta. | | Is there a way doing so? Has anybody got an idea, so I could | develop something doing that? | | best regards | Herbert 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. <>
RE : [development-axapta] Printing the report directly on the assinged printer
Hi Girish, I think I have the solution for you. The static function attached (hope the attachment works) will give you the printer name when you pass a printer port (like an IP or path \\SERVER\Printer) as the parameter. That is, the printer must be installed on the workstation. Then use this in your report : element.printJobSettings().DeviceName("The printer name"); Hope that's what you were looking for. The function is documented in French. If you can't read French it's pretty easy to figure out how it works anyway since it's not a big function. Take care! Steeve… -Message d'origine- De : Girish Bhatkal [mailto:[EMAIL PROTECTED] Envoyé : 19 février 2004 09:16 À : [EMAIL PROTECTED] Objet : [development-axapta] Printing the report directly on the assinged printer Hi Guys, suppose we populate a field in the table with an IP address. Now if we print a particular report is it possible to directly have this report printed on this assigned printer (IP address specified). i would appreciate if anyone who knows about this could send me the code to write the same on the report. thanks . cheers, Girish 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. static PrinterName findPrinterName(Str _printerPort) { /* Date: 2003/03/11 Description : Recherche une imprimante installée sur le poste client ayant le même nom de port que celle recherchée et retourne la 1ere imprimante trouvée Paramètres : _printerPort : Nom du port réseau de l'imprimante recherchée. (Ex: \\LBASRV01\HP_5000) */ Map printerMap; MapIterator mapIterator; ContainercPack; PrinterName tmpPrinterName; ClassRunMode tmpPrinterRunOn; SysPrintOptions objSysPrintOptions; // Information sur l'imprimante trouvée PrinterName printerName; ClassRunMode printerRunOn; int printerStatus; int printerQueuedJobs; str printerDriverName; str printerPortName; str printerComment; boolean enableProperties; PrintJobSettings clsPrintJobSettings = new PrintJobSettings(); ; objSysPrintOptions = SysPrintOptions::create(SysPrintOptions::construct(clsPrintJobSettings, 0).pack()); printerMap = objSysPrintOptions.getPrinterMap(); if (printerMap.elements()) { mapIterator = new MapIterator(printerMap); mapIterator.begin(); while (mapIterator.more()) { [tmpPrinterName, tmpPrinterRunOn] = mapIterator.value(); cPack = LBAUtilPrinter::getDeviceName(tmpPrinterName, tmpPrinterRunOn); [printerName, printerRunOn, printerStatus, printerDriverName, printerPortName, printerComment, printerQueuedJobs, enableProperties] = cPack; // Si une des imprimantes parcourus à le même nom de port que celle recherchée // alors on imprime sur celle-ci. (1ere trouvée 1ere prise). if (printerPortName == _printerPort) { return PrinterName; } mapIterator.next(); } } return ""; }
AW: [development-axapta] Compare Objects BEFORE importing them possible???
Title: AW: [development-axapta] Compare Objects BEFORE importing them possible??? Cool ;-) Thx fort he tip! -Ursprüngliche Nachricht- Von: Walter Becker [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 19. Februar 2004 17:28 An: [EMAIL PROTECTED] Betreff: AW: [development-axapta] Compare Objects BEFORE importing them possible??? Hi, you can compare the object within the import. Activate details an compare the object with the “xpo-Layer”. Best regards Walter Becker DDT GmbH -Ursprüngliche Nachricht- Von: Mister L [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 19. Februar 2004 17:17 An: Axapta Development Yahoo Group Betreff: [development-axapta] Compare Objects BEFORE importing them possible??? Hi! Has anyone an idea about, or a solution for my situation: Because we are developing sometimes off-customers-site, sometimes on-site, sometimes parallel we have to bring modifications from one axapta to another. But there's always the danger of overwriting objects. So I would like to have the possibility to make a comparison for the objects to import before i put them into axapta. Is there a way doing so? Has anybody got an idea, so I could develop something doing that? best regards Herbert 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] Compare Objects BEFORE importing them possible???
Title: RE : [development-axapta] Compare Objects BEFORE importing them possible??? I don't think I get it all but you could use a simple text comparison utility to comparing 2 XPO files containing the same objects. Steeve… -Message d'origine- De : Mister L [mailto:[EMAIL PROTECTED]] Envoyé : 19 février 2004 11:17 À : Axapta Development Yahoo Group Objet : [development-axapta] Compare Objects BEFORE importing them possible??? Hi! Has anyone an idea about, or a solution for my situation: Because we are developing sometimes off-customers-site, sometimes on-site, sometimes parallel we have to bring modifications from one axapta to another. But there's always the danger of overwriting objects. So I would like to have the possibility to make a comparison for the objects to import before i put them into axapta. Is there a way doing so? Has anybody got an idea, so I could develop something doing that? best regards Herbert 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] Compare Objects BEFORE importing them possible???
Title: AW: [development-axapta] Compare Objects BEFORE importing them possible??? Hi, you can compare the object within the import. Activate details an compare the object with the “xpo-Layer”. Best regards Walter Becker DDT GmbH -Ursprüngliche Nachricht- Von: Mister L [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 19. Februar 2004 17:17 An: Axapta Development Yahoo Group Betreff: [development-axapta] Compare Objects BEFORE importing them possible??? Hi! Has anyone an idea about, or a solution for my situation: Because we are developing sometimes off-customers-site, sometimes on-site, sometimes parallel we have to bring modifications from one axapta to another. But there's always the danger of overwriting objects. So I would like to have the possibility to make a comparison for the objects to import before i put them into axapta. Is there a way doing so? Has anybody got an idea, so I could develop something doing that? best regards Herbert 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] Compare Objects BEFORE importing them possible???
Hi! Has anyone an idea about, or a solution for my situation: Because we are developing sometimes off-customers-site, sometimes on-site, sometimes parallel we have to bring modifications from one axapta to another. But there's always the danger of overwriting objects. So I would like to have the possibility to make a comparison for the objects to import before i put them into axapta. Is there a way doing so? Has anybody got an idea, so I could develop something doing that? best regards Herbert 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] Regarding AOS
Title: Meddelelse Hi. have you restarted your AOS after updating (and stopping) the Oracle server? /Jesper Original Message processed by Tobit InfoCenter Subject: [development-axapta] Regarding AOS (19-Feb-2004 15:54) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi there Does anybody have an answer to why !!! does my clients come up with this error messages, when we try to connect to our AOS solution: - There is no object servers ? Nothing should have been changed - but our Oracle DB server was updated with a newer SP yesterday and after that the error above has shown. br: Mikael 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] Regarding AOS
Title: Meddelelse Maybe there *is* no object server?? Check if - AOS is running (maybe restart it) - IP and port are still the same - Changes at the firewalls? - Event log: strange entries? Good luck ;-) -Ursprüngliche Nachricht- Von: Mikael Dalgård [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 19. Februar 2004 15:51 An: [EMAIL PROTECTED] Betreff: [development-axapta] Regarding AOS Hi there Does anybody have an answer to why !!! does my clients come up with this error messages, when we try to connect to our AOS solution: - There is no object servers ? Nothing should have been changed - but our Oracle DB server was updated with a newer SP yesterday and after that the error above has shown. br: Mikael 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] Regarding AOS
Title: Meddelelse Hi there Does anybody have an answer to why !!! does my clients come up with this error messages, when we try to connect to our AOS solution: - There is no object servers ? Nothing should have been changed - but our Oracle DB server was updated with a newer SP yesterday and after that the error above has shown. br: Mikael 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] Printing the report directly on the assinged printer
Hi Guys, suppose we populate a field in the table with an IP address. Now if we print a particular report is it possible to directly have this report printed on this assigned printer (IP address specified). i would appreciate if anyone who knows about this could send me the code to write the same on the report. thanks . cheers, Girish 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] Remove filter on one field only
I want to be able to remove the filter on one field only, like the right-click menu to remove all filters. Is it possible to make this a global feature? How? 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] Blobs / Grafics in Axapta SQL DB
Hello, we are storing some bitmaps in the Axapta DB (AX 2.5 , Sp2, MS-SQL 7.0) Does anyone know who we can get this directly out of the DB and show it for example in Word? Thx a lot Pirmin 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] Error messages while opening a class
Hi, Insert a comma. #DEFINE.CurrentVersion(1) #LOCALMACRO.CurrentList mname, yrname #ENDMACRO Axel Sonny Wibawa Adi <[EMAIL PROTECTED] To: [EMAIL PROTECTED] ahoo.com> cc: Subject: RE: [development-axapta] Error messages while opening a class 19/02/2004 11:55 Please respond to development-axapt a Hi, The error occured, because you have made modifications at: #DEFINE.CurrentVersion(1) #LOCALMACRO.CurrentList mname, yrname #ENDMACRO If you want to change that, but somebody has run the class once, then you have to change the version number to other number. If you try to delete table SysLastValue, then it's okay, but the version number will be unused. The error message comes from this: When axapta runs the packable class, it call unpack method first to get the last saved value for that class. After the running code is done, then method pack will be called to store to a container data type. That container is stored in sysLastValue table. If particular userid has run the class, then the class has called pack method. After that if you change the type or the total element of #LOCALMACRO.CurrentList, then when that user try to run the class again, the code will try to unpack different data type or trying to store container with a different total element in container. Thus, the error message will say 'Bad container'. I think it's a little bit confusing, but maybe you will understand after see the code of SysPackable class: public container pack() { #if.never return [#CurrentVersion,#CurrentList]; #endif } public boolean unpack(container packedClass) { #if.never int version = runbase::getVersion(packedClass); switch (version) { case #CurrentVersion: [version,#CurrentList] = packedClass; return true; default : return false; } return false; #endif } Cheers, Sonny Wibawa Adi abinsam <[EMAIL PROTECTED]> wrote: hi, Did you try to open the class in different systems ? We has a same kinda error some time back !. Yes deleting the syslastvalue some times help it ! did you try that ?? Aks -Original Message- From: Deshpande, Harry [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 9:52 AM To: '[EMAIL PROTECTED]' Subject: RE: [development-axapta] Error messages while opening a class hi since the error refers to a container, there may be a problem with syslastvalue. Did u try deleting the record in syslastvalue or change version no of the report? regards harry -Original Message- From: panda arabinda [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 2:40 PM To: [EMAIL PROTECTED] Subject: [development-axapta] Error messages while opening a class Dear Friends, I have created the class PurchaseOrderStatusReport for running a report which takes the input of month and year .previously it was running fine and opening but after few days when i open the class its not opening and give the error Message (23:53:42) Bad container. Object 'ReportRun' could not be created But a5t the same time the other classes similar to this type of class works fine. There is no compilation error in this running fine when i first created but i dont know what happen to the system and why its not opening now the source code for this is as
RE: [development-axapta] Error messages while opening a class
Hi, The error occured, because you have made modifications at: #DEFINE.CurrentVersion(1) #LOCALMACRO.CurrentList mname yrname #ENDMACROIf you want to change that, but somebody has run the class once, then you have to change the version number to other number. If you try to delete table SysLastValue, then it's okay, but the version number will be unused. The error message comes from this: When axapta runs the packable class, it call unpack method first to get the last saved value for that class. After the running code is done, then method pack will be called to store to a container data type. That container is stored in sysLastValue table. If particular userid has run the class, then the class has called pack method. After that if you change the type or the total element of #LOCALMACRO.CurrentList, then when that user try to run the class again, the code will try to unpack different data type or trying to store container with a different total element in container. Thus, the error message will say 'Bad container'. I think it's a little bit confusing, but maybe you will understand after see the code of SysPackable class: public container pack(){#if.never return [#CurrentVersion,#CurrentList];#endif} public boolean unpack(container packedClass){#if.never int version = runbase::getVersion(packedClass); switch (version) { case #CurrentVersion: [version,#CurrentList] = packedClass; return true; default : return false; } return false;#endif} Cheers, Sonny Wibawa Adiabinsam <[EMAIL PROTECTED]> wrote: hi, Did you try to open the class in different systems ? We has a same kinda error some time back !. Yes deleting the syslastvalue some times help it ! did you try that ?? Aks -Original Message-From: Deshpande, Harry [mailto:[EMAIL PROTECTED]Sent: Thursday, February 19, 2004 9:52 AMTo: '[EMAIL PROTECTED]'Subject: RE: [development-axapta] Error messages while opening a class hi since the error refers to a container, there may be a problem with syslastvalue. Did u try deleting the record in syslastvalue or change version no of the report? regards harry -Original Message-From: panda arabinda [mailto:[EMAIL PROTECTED]Sent: Thursday, February 19, 2004 2:40 PMTo: [EMAIL PROTECTED]Subject: [development-axapta] Error messages while opening a classDear Friends,I have created the class PurchaseOrderStatusReport forrunning a report which takes the input of month and year .previously it was running fine and openingbut after few days when i open the class its not opening and give the error Message (23:53:42)Bad container.Object 'ReportRun' could not be createdBut a5t the same time the other classes similar tothis type of class works fine.There is no compilation error in this running finewhen i first created but i dont know what happen to the system and why its not opening now the source codefor this is as follows.public class PurchaseOrderStatusReport extendsRunBaseReport{MonthsOfYear mname; Yr yrname; DialogField dfmonth; DialogField dfyear; #DEFINE.CurrentVersion(1) #LOCALMACRO.CurrentList mname yrname #ENDMACRO}//Object Dialog(){ DialogRunbase dialog = super(); dfmonth =dialog.addFieldValue(typeid(MonthsOfYear),mname,"Month","Month"); dfyear =dialog.addFieldValue(typeid(Yr),yrname,"Year","Year"); return dialog;}/public boolean getFromDialog(){ boolean ret; ret = super(); mname = dfmonth.value(); yrname = dfyear.value(); return ret;}public identifiername lastValueElementName(){return reportStr(EquipmentPurchaseOrderStatusReport);}///MonthsOfYear parmMonthName(MonthsOfYear _mName =mname){ ; mname = _mName; return mname;}//Yr parmYear(Yr _yrName = yrname){ ; yrname = _YrName; return yrname;}///static void main(Args args){PurchaseOrderStatusReport purchaseOrderStatusReport;;purchaseOrderStatusReport = newPurchaseOrderStatusReport(); if(purchaseOrderStatusReport.prompt()) { purchaseOrderStatusReport.run(); }}///In this code there is no compilation error but on therun time its not opening and shows the above messages.I am not able to find out the reason of thisproblem.If anybody has any suggestion/solution then kindlyhelp me.Thanks in AdvanceRegards, Arabinda.__Do you Yahoo!?Yahoo! Mail SpamGuard - Read only the mail you want.http://antispam.yahoo.com/tools Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. 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] Strange problem.. Form modifications are lost..
Yes, i look this and you are true.. I added my StringEdit’s to existing datagroup but “AutoDataGroup” set to no.. You are right, this is my problem J Thanks Tobias ;) Anil Ozay From: Andrae, Tobias [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 10:25 AM To: [EMAIL PROTECTED] Subject: AW: [development-axapta] Strange problem.. Form modifications are lost.. Did you add your Fields to an existing group on the form? And if so, is the group’s property “AutoDataGroup” set to “yes”? Set it too “no” ;-)) -Ursprüngliche Nachricht- Von: Anil Ozay [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 19. Februar 2004 09:21 An: [EMAIL PROTECTED] Betreff: [development-axapta] Strange problem.. Form modifications are lost.. Hi all, Last night, i add three StringEdit fields on design of LedgerJournalTransDaily form. Also i added three methods on datasources of this form.I compiled solution and shut down my computer. This morning when i opened my solution, all fields that were my added last night are lost!! I think that, it may be my minds problemJ But i repeat my modifications now and results are same!! I change the design, and my added fields aren’t showing at runtime. When i close Axapta and opens again, all design modifications are lost on this form. Do you have any idea about this?? Anil Ozay 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.
AW: [development-axapta] Strange problem.. Form modifications are lost..
Did you add your Fields to an existing group on the form? And if so, is the group’s property “AutoDataGroup” set to “yes”? Set it too “no” ;-)) -Ursprüngliche Nachricht- Von: Anil Ozay [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 19. Februar 2004 09:21 An: [EMAIL PROTECTED] Betreff: [development-axapta] Strange problem.. Form modifications are lost.. Hi all, Last night, i add three StringEdit fields on design of LedgerJournalTransDaily form. Also i added three methods on datasources of this form.I compiled solution and shut down my computer. This morning when i opened my solution, all fields that were my added last night are lost!! I think that, it may be my minds problemJ But i repeat my modifications now and results are same!! I change the design, and my added fields aren’t showing at runtime. When i close Axapta and opens again, all design modifications are lost on this form. Do you have any idea about this?? Anil Ozay 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] Strange problem.. Form modifications are lost..
Hi all, Last night, i add three StringEdit fields on design of LedgerJournalTransDaily form. Also i added three methods on datasources of this form.I compiled solution and shut down my computer. This morning when i opened my solution, all fields that were my added last night are lost!! I think that, it may be my minds problemJ But i repeat my modifications now and results are same!! I change the design, and my added fields aren’t showing at runtime. When i close Axapta and opens again, all design modifications are lost on this form. Do you have any idea about this?? Anil Ozay 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.