automatically recalc prices on all sales orders

Hi Folks,

my company has to changes prices on a number of items on a somewhat regular basis, every month or so. having someone open each sales order that those items are on to hit the "recalc" button is a huge time spend.

is there a way to create a script in Custom Office that will automatically recalculate the prices on a sales order every time a sales person prints or hits "accept" on a sales order?

I'm using an older version of MAS (v. 4.5) because I've got some integration. sorry about that!

thanks!

Parents Reply Children
  • 0 in reply to schnauzerlove

    The SO_SalesOrder_bus object does have a PriceRecalculation() funciton.  I haven't tried using it, but you could theoretically call it on PreWrite() of the SO business object and/or create a script that runs on a scheduled basis that browses through all open SO's, recalcs the prices, and saves the changes.

  • 0 in reply to schnauzerlove

    As a safe option, I'd go with a header table post-read script, filtered to the SO Entry UI... to invoke the recalc button, so the user would not have to remember to do this each time.  Using something in the business object you'd have to be careful to avoid problems during posting, but invoking the button doesn't have this kind of complication.