Making ordered by mandatory
  • Garry
    Making ordered by mandatory

    by Garry » Mon Jan 22, 2018 3:54 pm

    I have been asked to find out how to set up Capital so that the Ordered by field, in the Purchase Order screen, is mandatory.

    Please advise.
  • COBS Tech Support
    Posts:683
    Joined:Fri Sep 09, 2005 8:23 am

    by COBS Tech Support » Mon Jan 22, 2018 4:04 pm

    Create a text file containing this content:

    Code: Select all

    If IsEmpty(ReadTranValue("ORDEREDBY"))
       Echo("Sorry, please fill in the 'Ordered By' field.")
       Return FALSE
    Endif

    Return TRUE


    Rename it to R-PURTOT.MAC and save it in your ..\CAPITAL folder to affect all companies or in your ..\CAPITAL\<data> folder to only affect a particular company.

Who is online

Users browsing this forum: No registered users and 4 guests