Hello guys,
Still a strange problem today! Wrong sequence number is given at validation of a supplier invoice.
WHAT WE HAVE :
- We have 3 different users : Adminos, userB (child company), userC (child company).
- We have a 3 different purchase journals : purchase journal A, B and C.
- We have a sequence A00001 for each purchase in the purchase journal.
- We have a sequence F00001 for each invoice in the sale journal.
TESTS :
- Adminos can validate a supplier invoice with the purchase journal A an it gets number A00001.
- Adminos can validate a supplier invoice with the purchase journal B an it gets number A00002.
- Adminos can validate a supplier invoice with the purchase journal C an it gets number A00003.
- userB can validate a supplier invoice with the purchase journal A and it gets number A00004.
- userB can validate a supplier invoice with the purchase journal B but it gets THE WRONG number F000045 (the next number in the sequence of the SALE journal).
- userB can validate a supplier invoice with the purchase journal C and it gets number A00005.
- userC can validate a supplier invoice with the purchase journal A an it gets number A00006.
- userC can validate a supplier invoice with the purchase journal B an it gets number A00007.
- userC can validate a supplier invoice with the purchase journal C an it gets number A00008.
UPDATED
- newuserD can validate a supplier invoice with the purchase journal A an it gets number A00009.
- newuserD can validate a supplier invoice with the purchase journal B an it gets number A00010.
- newuserD can validate a supplier invoice with the purchase journal C an it gets number A00011.
LOOK AT THIS :
Where is the bug??? How could it be possible?
Thanks for your comments