Scripting

  • 1.  Need a script to read the SO_SalesOrderDetail file

    Posted 01-30-2018 05:33
      |   view attached
    Need a script to read the SO_SalesOrderDetail file and if a value exists in the UDF_EXT field use that value to replace the ExtendedDescriptionKey if not read the next record. Can anyone help?


  • 2.  RE: Need a script to read the SO_SalesOrderDetail file

    Posted 01-30-2018 07:56
    You would move through the SO Detail lines, on a Pre-Write of the Sales Order and make the changes. Are you certain the UDF_EXT field keys will be valid keys?


  • 3.  RE: Need a script to read the SO_SalesOrderDetail file

    Posted 01-30-2018 19:22
    What Lee says is correct but you would be wise to also write in the validation logic of the EXT to make sure whatever is entered are valid, a user entered field like that you can be guaranteed someone will key it wrong.


  • 4.  RE: Need a script to read the SO_SalesOrderDetail file

    Posted 01-31-2018 06:42
    Thank you for the suggestions and quick response. We got it fixed!