ge-Village@yahoogroups.comSubject: RE:
[Axapta-Knowledge-Village] SalesFormLetter.insertJournal()
The ttsabort will not execute after the
throw error. But after a through reading of the Axapta Transaction
documentation, you will discover the true intent of the original
code.
This
is a nested tt
Ok,
So here is what I did...
protected void
insertJournal(){;
ttsbegin;
numberSeq =
this.allocateNumAndVoucher(); [number,
voucher] = this.getNumAndVoucher();
if
(this.updateNow()) {
this.postUpdate();
why dont you try try catch block and handle ttsbegin and ttscommit accordinglySøren Ager [EMAIL PROTECTED] wrote:
Den 27. september 2005 15:26 skrev Brandon George: protected void insertJournal() {; ttsbegin; numberSeq = this.allocateNumAndVoucher(); [number, voucher] = this.getNumAndVoucher();
Hello Brandon,
I believe this should solve it..You can browse similar code on AOT\classedd..
ttsbegin; numberSeq = this.allocateNumAndVoucher(); [number, voucher] = this.getNumAndVoucher();
if (this.updateNow()) {
this.postUpdate();
-Knowledge-Village] SalesFormLetter.insertJournal()
Hello Brandon,
I believe this should solve it..You can browse similar code on
AOT\classedd..
ttsbegin;
numberSeq =
this.allocateNumAndVoucher(); [number,
voucher] = this.getNumAndVoucher();
if
(this.updateNow()) {
this.postUpdate
.
From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Brandon George
Sent: Tuesday, September 27, 2005
9:37 AM
To:
Axapta-Knowledge-Village@yahoogroups.com
Subject: RE:
[Axapta-Knowledge-Village] SalesFormLetter.insertJournal()
Sabbu,
I believe you are right
-Village@yahoogroups.comSubject: Re: [Axapta-Knowledge-Village] SalesFormLetter.insertJournal()
Hello Brandon,
I believe this should solve it..You can browse similar code on AOT\classedd..
ttsbegin; numberSeq = this.allocateNumAndVoucher(); [number, voucher] = this.getNumAndVoucher
] On Behalf Of Brandon GeorgeSent: Tuesday, September 27, 2005 9:37 AMTo: Axapta-Knowledge-Village@yahoogroups.comSubject: RE: [Axapta-Knowledge-Village] SalesFormLetter.insertJournal()
Sabbu,
I believe you are right... that is the best approach...
From: Axapta-Knowledge-Village@yahoogroups.com
Hi, Subbu Brandon,
I think the code in SalesFormLetter.insertJournal() is
correct. There is nothing wrong with the code. No
matter the level or depth difference between ttsbegin
and ttscommit location, Axapta will simply count the
level mannually. If the total of begin transaction and
total of
9 matches
Mail list logo