Sage 100

 View Only
  • 1.  User Defined Script to fill in Freight Total Field

    Posted 05-01-2013 08:40
    User Defined Script to fill in Freight Total Field In PO I have added a line UDF for a material burden cost per item. The total burden cost for the line items is passed to a Header UDF for Total Material Burden I want the UDS to automatically fill in the Freight amount field with the Total Material Burden value. I used the pre-total event to trigger the event, but that returns a data mismatch error and get the ""MAS has stopped working"" msg. Any ideas what I might be missing?


  • 2.  RE: User Defined Script to fill in Freight Total Field

    Posted 05-01-2013 13:21
    I suspect that the problem is the event you are using. I believe that PreTotal means before the HeaderUDF is populated. I did something similar with Sales Order using the Table-PreWrite event. It works without a hitch.


  • 3.  RE: User Defined Script to fill in Freight Total Field

    Posted 05-02-2013 07:50
    Oh, my kingdom for a goof set of eyes. Both the pre total and table pre write worked, once i put an = after retval... thanks for the help, it kept me going.