• How to write User Defined Script to calculate Discount?

    I need to let the system to calculate a discount based on Sales Order Header - 4. Totals -Order Total. The formula will be 5% * Order Total . I need to create a UDF, UDF_DISCOUNT, under Sales Order Header - 4. Totals Tab to show this amount. I don…
  • Script to add line to SO_InvoiceDetail

    We have steel surcharges due to market pricing that need to be added to invoices for certain parts (separate charge). I have written a script that will add a line to the table when one of those items is entered. It works, but I wanted another set of eyes…