Results 1 to 5 of 5

Thread: Mod11 check digit

  1. #1
    Member nkuebelbeck's Avatar
    Join Date
    Mar 2012
    Location
    Minnesota
    Posts
    482

    Mod11 check digit

    I'm working a project that requires us to send a number with a checkdigit to a vendor. They want the check digit to be Mod 11.

    Can't find anything in jd edwards but that doesn't mean it's not in there someone and I don't like recreating wheels.

    Here is my google foo of what mod 11 is

    http://www.eclectica.ca/howto/modulus-11-self-check.php

    If this functionality exists, please help!

    EDIT: looks like everyone does this check digit differently. here is how YRC does it. https://my.yrc.com/national/pdf/Frei..._Numbering.pdf
    Last edited by nkuebelbeck; 11-13-2017 at 02:30 PM.
    Analyst/Developer
    E1: 9.2 | TR: 9.2.1.4 | JAS: WebLogic | ES: OS400
    DB: DB2 | WebDev Client: Win7Pro (64 bit), VS 2010

  2. #2
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,212
    Hi,

    Clone this badboy B0000285 and change local variable mnTen to 11????
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  3. #3
    Member nkuebelbeck's Avatar
    Join Date
    Mar 2012
    Location
    Minnesota
    Posts
    482
    Quote Originally Posted by johndanter View Post
    Hi,

    Clone this badboy B0000285 and change local variable mnTen to 11????
    Found that one too. I think every vendor has a different way to calculate the check digit. I've found at least three different ways now. I edited my post to show how YRC does it
    Analyst/Developer
    E1: 9.2 | TR: 9.2.1.4 | JAS: WebLogic | ES: OS400
    DB: DB2 | WebDev Client: Win7Pro (64 bit), VS 2010

  4. #4
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,212
    Seems easy enough to code, no? In expression manager, ABS will drop the decimals for you

    The example I sent you seemed add all the individual digits together, YRC don't seem to do that, just divide multiple then subtract

    B0000500 this thing can be quite smart, but not that smart
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  5. #5
    Member nkuebelbeck's Avatar
    Join Date
    Mar 2012
    Location
    Minnesota
    Posts
    482
    yeah - it'll be no problem to code this one up.
    Analyst/Developer
    E1: 9.2 | TR: 9.2.1.4 | JAS: WebLogic | ES: OS400
    DB: DB2 | WebDev Client: Win7Pro (64 bit), VS 2010

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company, Oracle or Peoplesoft.