Page MenuHomeIn-Portal Phabricator

MINC-117 - Update Backorder Flag, when reserving products in the order
ClosedPublic

Authored by alex on Mar 11 2015, 11:34 AM.

Details

Test Plan
  1. Preparations
    1. go to ConfigurationE-commercePayment Types
    2. enable "Check/MO" payment type and make it primary
    3. create tangible product
    4. enable inventory tracking on "Inventory" tab (during product editing) by setting "By Product" value in "Enabled" field
  2. Creating order
    1. go to E-commerceOrdersIncomplete section
    2. use "Add" toolbar button to create new order
    3. add that product to it
    4. confirm that red "backordered" word is shown below that product name on "Items" tab during that order adding/editing
    5. fill all other required fields on other tabs
  3. Order workflow
    1. when order is saved press "Place Order" toolbar button on the "Incomplete" tab
    2. confirm that order is moved to "Pending" tab and press "Approve" toolbar button there
    3. confirm that order is moved to "Backorders" tab
  4. Adding inventory
    1. go to "Inventory" tab on product editing
    2. add some qty to stock (more or equal then qty used in order) by entering "Quantity" and clicking on "Add" button
    3. go to E-commerceOrdersTo Ship section
    4. confirm, that during order editing the red "backordered" text no longer appears

Diff Detail

Repository
rMINC Modules.In-Commerce
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex updated this revision to Diff 117.Mar 11 2015, 11:34 AM
alex retitled this revision from to MINC-117 - Reset backorder flag on orderitems.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): MINC-117.
alex added inline comments.Mar 11 2015, 11:36 AM
modules/in-commerce/units/orders/orders_event_handler.php
1712–1713 ↗(On Diff #117)

These are the only changed lines. Other lines are CS fixes.

glebs accepted this revision.Mar 12 2015, 3:09 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Mar 12 2015, 3:09 AM
This revision was automatically updated to reflect the committed changes.
alex edited edge metadata.Mar 10 2016, 6:46 AM
alex added a project: Restricted Project.
alex retitled this revision from MINC-117 - Reset backorder flag on orderitems to MINC-117 - Update Backorder Flag, when reserving products in the order.Jul 16 2016, 6:50 AM