Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

Stack trace: Call to TTSCOMMIT without first calling TTSBEGIN

$
0
0

Hi all,

I created new number sequence for my new Table , form , Module.

here is he steps that i am following 

1 > New Table and EDT

2 > New class extends NumberSeqApplicationModule 

3 > Created Load module , numberSeqModule, buildModulesMapSubsciber method in this module

4 > Job and generate number sequence from Organization module

5 > Written method on newly created table

static NumberSequenceReference numberSeq()
    {
        return NumberSeqReference::findReference(extendedTypeNum(StudentID));
    }
6 > New form with methods numberSeqFormHandler, close, create , write, validateWrite, linkActive, delete
Now when i open form and click new its generate new number when i pressed again new button i got error message :
Stack trace: Call to TTSCOMMIT without first calling TTSBEGIN
When i am trying to delete this record i am getting error 
Object reference is not set to an instance of object.
My number sequence is generating 00001 next 00011, 00021
Any suggestion is highly  appreciated.
Thanks.

Viewing all articles
Browse latest Browse all 143529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>