← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 724010] Re: Sequence for Packs is generated wrong.

 

Jan,

Coming back to your example, the sequence numbers are indeed consumed normally and not really incremented by 7. What happens is that the SSCC checksum digit is computed and appended at the end of the pack sequence number.
So the pack number will have the 7 digits coming from the sequence, whichever way you configure it, plus one additional checksum digit at the end.
For example:
 00000048 = 0000004 + 8
 00000055 = 0000005 + 5
 00000062 = 0000006 + 2

The last digit being computed as per SSCC specs. SSCC also specifies
initial digits for a complete 18-digit number, but all the 10 starting
digits are fixed per company (and could be integrated in reports, or
perhaps used as inital sequence number for the pack numbering sequence).

What do you think? Should we drop this for 6.1 and perhaps put it in a
separate module? (for 6.0 and previous versions we cannot change the
algorithm at this point, as it would impact all customers already using
the current numbering scheme)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/724010

Title:
  Sequence for Packs is generated wrong.

Status in OpenERP Modules (addons):
  Opinion

Bug description:
  Version 6
  Install warehouse functionality with demo data.
  Add a Pack number (generated) to a "Deliver product" line in Warehousing -> Product Moves
  Add a pack number (generated) to a second "deliver product" line

  Watch that the next number generated is 7 numbers higher instead of 1 higher.
  The generated numbers are 
  00000048
  00000055
  00000062

  Sequence generator set to
  Packs (stock.lot.tracking)
  Number padding : 	7
  Increment Number : 	1



References