
Realized that the issue was that the getNewNum function was called without transaction processing
PYLEmplLeaveDetailsTable.LeaveAppNum = NumberSeq::newGetNum(HRMParameters::numRefLeaveAppNum()).num();
just got resolved by encapsulating the same within a transaction
ttsbegin;
PYLEmplLeaveDetailsTable.LeaveAppNum = NumberSeq::newGetNum(HRMParameters::numRefLeaveAppNum()).num();
ttscommit;
No comments:
Post a Comment