Skip to end of banner
Go to start of banner

Check digit logic in CRN for aramax

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current Restore this Version View Version History

Version 1 Next »

1. Objective (Problems and Goals)

  • UI to add CRN series and option to add check digit logic there and delete the series

  • save the check digit logic and whenever fetched during consignment creation need to use that logic

2. Initiation

Title 

Check digit logic in CRN

Author(s)

Titunath

Team (POD)

Brahmos

Reviewer(s)

Prasann sethi

Last Updated On

8-8-24

Epic, ticket, issue, or LPP reference link

https://app.devrev.ai/shipsy/works/ISS-254943

3. Solution

  • while fetching the virtual CRN we will add the suffix using check digit logic

  • 1. Frontend to be made.
    2.Same api will be called which is used for reference number and series type would. be added to that

3.1 Schema Change

  • while fetching the CRN through this function fetchAndCommitValidSeries we will add the suffix ( Using check digit logic if required ) in the fetched number and return it.

  • In this file /DTDCVirtualSeriesStrategy.ts
    we will add logic to saveenableCheckDigitCalculation, checkDigitLogic in db for customer reference number.

3.2 Approach and Components

  1. Approach:

  2. Database Migration and Index Changes:

  3. Org Config:

  4. Code Writing Style:

  5. API Documentation:

    1. Endpoint:

    2. Method:

    3. Fields/Payload:

    4. Response:

    5. Logic:

  6. Assumptions:

3.2 Dev Test Cases

Function/Feature

 Scenario

 Expected Outcome

 

 

 

 

 

 

3.3 Impact Analysis

3.4 Security and Permissions

3.5 Notes (If any)

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.