Scripting

  • 1.  Changing the detail line Extension leaves UnitCost

    Posted 05-06-2013 11:31
    Changing the detail line Extension leaves UnitCost alone in SO but NOT in PO!!! Environment: Sage 100 4.5 Purchase Order UDS on the Column Post-Validate event of Quantity Ordered - A SetValue on the ExtensionAmt field forces the UnitCost field to the quotient of ExtensionAmt over the Quantity Ordered. However Sales Order doesn't work in the same maner. There, the UnitCost doesn't change when a SetValue is done on the ExtensionAmt. Is this WAD? Is there a way to make PO work the same as SO?


  • 2.  RE: Changing the detail line Extension leaves UnitCost

    Posted 07-22-2013 10:43
    One consideration in SO is the setting for ""Line Item Discount Pct"". If that is unchecked, then changing the extended price in SO will change the unit price, like PO.


  • 3.  RE: Changing the detail line Extension leaves UnitCost

    Posted 07-22-2013 11:40
    Thanks Clark, I was concerned with ""cost"" not price. Do you know if it works with""cost"" the same?