Perhaps from free text journal.
// Lars
-Original Message-
From: Jens Strandberg [mailto:[EMAIL PROTECTED]
Sent: 26. august 2004 08:47
To: [EMAIL PROTECTED] Com (E-mail)
Subject: [development-axapta] Strange records in table CustInvoiceJour
Hello there,
I have come across
Hi,
Try to have a look at OffsetVoucher.updateNow(). In std. Axapta, the CustTransOpen / VendTransOpen is sorted by DueDate. Try to change the sorting there.
Regards,
Lars
-Original Message-
From: awei_at_ws [mailto:[EMAIL PROTECTED]
Sent: 25. august 2004 07:55
To: [EMAIL
Hi Christian,
You can create ledgerJournalTrans records without using the engine - but you can't be sure that all the right fields have been filled out. The engine takes care of this for you. Therefore, I suggest you to modify the engine.
It's not too hard. Here are the steps:
1. Make
Dough.. didn't see that - esveni - thought you asked the question... :o)
-Original Message-
From: Sergey Siroklin [mailto:[EMAIL PROTECTED]
Sent: 19. august 2004 14:29
To: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Re: (urgent) visibility methods
I wrote example exactly
Hi Akash,
You can either use the DocuTableEnabled setup (found here: Basic, Setup, Document management, Active document tables) (remember to check the checkfield here: Basic, Setup, Document management, Parameters, Use Active document tables) or perhaps to add some code in the
Hi Don,
It seems as the AOT element is still displayed as locked in the AOT when it is deleted in the UtilLocks table (found here: menu Tools, Dev. tools, Appl. objects, Locked appl. objects). But if you restart Axapta, the AOT is updated with the correct information. The job below sets
How about:
if (bufCmp(table, table.orig())
info(Changed!);
else
info(Not changed!);
//Lars
-Original Message-
From: real_ikilicarslan [mailto:[EMAIL PROTECTED]
Sent: 12. august 2004 16:49
To: [EMAIL PROTECTED]
Subject: [development-axapta] Is Record Modified
Hi,
How can i
asciiIo.finalize() closes the file. However, Microsoft thought it was a nice idea to make this method protected, so you can't call it from your code. Instead, you need to make a new class which inherits AsciiIo.
//Lars
-Original Message-
From: jasonm [mailto:[EMAIL PROTECTED]
Looks like a bug to me..
Ever thought of using char2num instead? :o)
//Lars
-Original Message-
From: byteway_so [mailto:[EMAIL PROTECTED]
Sent: 10. august 2004 14:50
To: [EMAIL PROTECTED]
Subject: [development-axapta] Re: validate xml string
Another strange thing is when I do
What kind of file are we talking about here?
-Ursprüngliche Nachricht-
Von: mat_bin [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 6. August 2004 11:48
An: [EMAIL PROTECTED]
Betreff: [development-axapta] how print file from code?
Hi,
I would print a file from a class, how can I do
Hello James,
It's being used here (an example) \Classes\PurchFormLetter_Invoice\newJournalList
And here. \Classes\PurchFormLetter\run (line 38 and 57).
Finally, it's being used here: \Classes\PurchFormLetter_Invoice\printJournal
The explained purpose is to sort the printouts. E.g.,
Hi Jens and Helmut,
Be careful with the Thread class - it works extremely unstable (tried on SP3 and earlier service packs). It might crash your system, so be aware of this. I just tried the tutorial called tutorial_thread (it's a form) and quit Axapta. Then I've got a nice greeting from
I guess something like this:
TestBatch testBatch;
Batch batch;
;
testBatch = new TestBatch();
if (testBatch.batchInfo())
{
testBatch.batchInfo().parmBatchExecute(NoYes::Yes);
testBatch.batchInfo().parmGroupId('MyGroup');
testBatch.batchInfo().doBatch();
}
testBatch.run();
Bonjour Mat,
Type this in run after super()
WinAPI::forceMaximizeWindow(this.hWnd());
//Lars
-Original Message-
From: mat_bin [mailto:[EMAIL PROTECTED]
Sent: 2. august 2004 16:11
To: [EMAIL PROTECTED]
Subject: [development-axapta] Maximize form
How can I maximize a form
Create a loop that traverses the fields and set the desired rights, e.g something like this (example done on CustTable). The method is the init of the datasource
public void init()
{
int x;
DictField dictField;
FieldId fieldIdExt;
FieldId fieldId;
DictTable dictTable = new
Hi Erik,
Perhaps you can combine it with some ordinary fields, like in the tutorial_Form_TreeDatasource? I don't think it's possible to add a grid to a tree control as a node (or similar), at least not in Axapta. In Java, yes.. but.. :o)
//Lars
-Original Message-
From: Erik
Use validateWrite or validateField on the table.
//Lrs
-Original Message-
From: Matt Benic [mailto:[EMAIL PROTECTED]
Sent: 30. juli 2004 10:33
To: Axapta Dev
Subject: [development-axapta] Validation on insert and update
Hi All,
I have a requirement that users may assign certain
The reason is, that you need to store the value of _MarkTrans somewhere, e.g. in a Map.
You need to instantiate the map variable:
map = new Map(Types::Integer, Types::boolean);
and to declare it in ClassDeclaration of the form.
edit NoYes markTrans(boolean set,
CommissionTrans
Hi Jim,
You only need one DSN per database server. E.g., if those two Axapta 2.5 installations is on the same PC and they use the same db server, then you only need one dsn. You specify the database used in the axconfig.
//Lars
-Original Message-
From: Chwaszczewski, Jim
Hi Byteway,
In e.g. Java, it's important to keep a low coupling and high cohesion - to assign responsibilities. That's correct. However, in Axapta RunBase classes, the dialog is programmed in the same class as where the application is, unless you use a form in the dialog method. In Java
Hi Byteway,
I don't think it's possible to find out which field is selected using a RunBase / RunBaseBatch inherited class. It is possible to some extend in a form though... But what do you need it for anyway? :o) The method called dialogSelectCtrl is called every time a control is
Hi Girish,
Try this:
ODBCConnection oDBCConnection;
LoginProperty loginProperty;
Statement statement;
;
// Initialize Connection
loginProperty = new LoginProperty();
loginProperty.setDSN('SQLBucket'); // DSN Name - CHANGE THIS!
loginProperty.setUsername(sa); // user name
Hi Manfred,
Can't you just use a tmp table or a Table control? A table control is a bit hard to work with though but you can display almost anything in it. Even different datatypes in the same row / column. But to make a long explanation short: I don't think you will have much success
Hi Fabien,
If you can live with the copies in the same report - then it's quite easy: Try to call super three times in run of the inherited RunbaseReport class. You might want to pass some parameters to the report in between each call to super, e.g.
Object r = this.reportRun();
;
Bonjour Mathieu,
You cannot and you should not. The reason is (among others) that the lock can stand forever or until the user interacts with the dialog.
Instead you should interact with the user before or possibly after the transactions are done.
//Lars
-Original Message-
Hi Byteway,
There's a good example of what I think you need here: Master planning, Periodic, Master scheduling. Try to fill in a master plan and and see what happens. The corresponding class is ReqCalcScheduleItemTable. Have a look in the dialog method, line 11 and the method called
Hallo Thomas,
It's not directly possible but you can e.g. make your own form, add some icons to it and change the property WindowType to Popup and the property Frame to None and make a fixed position on the screen. This is the closest you get to it.
//Lars
-Original Message-
From:
Hi,
You can try to use either COM integration or a table from where an Axapta batch class reads and replicates to it's own table. Thereby you will get recid's generated by Axapta.
Regards,
Lars
-Original Message-
From: utku tatlidede [mailto:[EMAIL PROTECTED]
Sent: 12. juli 2004
Another solution could be to build a temp table record set containing a representation of the ranges and then to join your table on this temp table. The sql query becomes very quickly too large for the db to handle it. Therefore, it can be an idea to do it this way.
temp table (containing
29 matches
Mail list logo