-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
B-21094: Automatic Reweigh Based on Estimated Weight #14364
base: integrationTesting
Are you sure you want to change the base?
Conversation
…branch to base off of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dbaf906
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops my screenshot cut off the weights field, but I had tried to set the actual and estimated weights to 2,500 lbs. |
Agility Ticket: B-21094
Agility Ticket's Acceptance Criteria
As the MilMove system (on behalf of the TOO),
I need to request a reweigh for all shipments on a customer's move based on the sum of the estimated weight(s),
So that I can ensure the customer has the greatest chance of reweighs being performed on all of their shipments (through the use of more advanced notice).
AC1:
Given the sum of all estimated weights on a customer's move,
When that sum is within 10% (or greater) of the customer's weight entitlement,
Then a reweigh is requested for all shipments on a that move (excludes PPMs).
AC2: PRESERVE EXISTING CAPABILITY ALREADY IN MILMOVE
Given a customer's move where the sum of the estimated weights did not result in automatic reweigh(s) being requested,
When the sum of the actual shipment weights is within 10% (or greater) of the customer's weight entitlement,
Then a reweigh is requested for all shipments on that move (excludes PPMs).
How to test
Note 1: Currently you must enter both Estimated and Actual Weights on each of the shipments if you are using the Prime Simulator because current form validation forces you to do so.. however, this is a ticket which should change this functionality so that the Prime Simulator can have Estimated Weight without the need for Actual Weight (and vice versa).
Note 2: The reason the sum needs to fall within the top 10% of the Authorized Weight is because other logic may be carried out once the sum of Estimated Weights or Actual Weights goes over the Authorized Weight.
Example: If Authorized Weight is 7000 lbs, 7000 * 0.9 = 6300. This means that, from the entire move, if the sum of the Estimated Weights is at least 6300 lbs or the sum of the Actual Weights is at least 6300 lbs, it will trigger an automatic reweight request.