Viewing 9 posts - 1 through 9 (of 9 total)
Sorry guys, but I dont understand how to implement it via SQL server....:w00t:
June 4, 2014 at 1:03 pm
In Italy the tax office requires a complete seq. number for invoices 🙁
June 2, 2014 at 12:49 pm
But I'd recover that invoice number not to void
:ermm:
June 2, 2014 at 12:11 pm
Hi Lynn,
I considered this option, but it could be other problem of concurrency.
Imagine I have two record of with invoice Nr not completed, ie
InvoiceID flagcompleted
1 ...
June 2, 2014 at 11:41 am
This is an example in pseudo code about what I am worried.
USER 1
--my invoice Number = mysequence = 1
SELECT
mysequence = NEXT VALUE FOR dbo.MySequence;
GO
begin trans
insert into table1...
June 2, 2014 at 8:25 am
Hi SSChampion,
you are right, indeed my problem with my strategy is in case of same rollback.
I am storing pointer to nextrows
SET @nextNumReg = (SELECT [RelNumReg] + 1.....
cause I need to...
June 2, 2014 at 7:50 am
Hello guy,
Yes, i have evaluated to work with sequence, but there are some limitation , ie. Sequence numbers inserted into a table can have gaps when a transaction is rolled...
June 1, 2014 at 11:04 am
Hi Lowell,
thanks for your reply.
Indeed it is the application that has to assign the purchase order number, the solution you suggest is to create a table with Identity and after...
June 1, 2014 at 2:31 am
Viewing 9 posts - 1 through 9 (of 9 total)