Laddawn.com : Programming Spec - Remake Orders

On the 'reorder' screen in Order History, there is a c/e specific field for them to flag whether this is a 'remake order'.  The screen shows a checkbox and a remake reason code.  I believe we are going to do away with the checkbox and just let them select a reason code if this is a remake order.  See QUO4000 header screen to see how it's entered today.  This is used for MOD orders that were manufactured incorrectly and we have to remake.  The reason code follows the configuration# around from this point forward in the w/o comments.

The remake flag and remake reason code s/b written to QUHDR.USR as soon as the quote is being created from a previous order in order history.  The STATUS would be a "2" (existing MOD Item/New Quote).

Timeline 52-2

Create new Named Param:

  • REMAKE.REASON

Modify RPC$MODITEM_CREATE/BP WEB.CREATE.QUOTE:

  • If REMAKE.REASON # "", write a "1" to QUHDR.USR<22> and write REMAKE.REASON to QUHDR.USR<23>

 

I believe that the rest of the code is already in place on the back end.  Please test to make sure:

  1. These two QUHDR.USR fields move to SOHDR.USR fields 79 and 80 during Convert Quote (QUOS4001.1 which s/b called when placing a MOD order in checkout)
  2. An email is sent when the quote is converted, alerting managers that a remake is going through the system.  Set yourself up in the SYSCON that it uses in DEV for the "TO" recipients
  3. Once the order is created, look at it in SOP4000.  You should see REMAKE ORDER in the bottom right corner of the header screen
  4. Look at it in Sales Order Display (SOP2001).  REMAKE ORDER should show in the upper right corner of the header screen
  5. Using SOP4000, go to the line screen, then answer "Y" when it asks you if you want to create a Job Order.  Set 'CREATE W/O TYPE' = 1 Released.  When you save the order, the W/O will be created.  You should see the remake comment in WIPOPERACT.