Event Script Idea

SOLVED

I would like to check the detail lines within a PO to verify that all the fields have been entered.  I'd like to either run the script after the detail line has lost focus or when the user clicks the "Accept" button.  Basically I think going to place a text field(s) on the PO Lines tab and change the colors of the text to represent the data exists and is correct (green) or missing/incorrect (red).

First of all..., is this possible?  If so, what the best way of handling the events and script.

I'm decent at VB, just a newie to the Sage objects.

Thank you.

Parents
  • 0

    I don't think you can make individual lines/cells have different colors in a grid (I could be wrong).

    Typically I have created pop-up windows that appear if the script detects a possible problem.  Example:  Person does a receipt of goods and they date it for a future date (very unlikely), so I window pops up to warn them of the problem.

    If you do this,  I would highly recommend getting upgraded to 2013 or 2014.  There is a bug in the providex language in 4.4 that causes a crash if the pop-up window opens up to many times without exiting and reentering the function.

    In addition you can use custom office | user defined field and table maintenance | advanced field settings to make standard fields required/set default values/etc.  if you wish.  No script required!

Reply
  • 0

    I don't think you can make individual lines/cells have different colors in a grid (I could be wrong).

    Typically I have created pop-up windows that appear if the script detects a possible problem.  Example:  Person does a receipt of goods and they date it for a future date (very unlikely), so I window pops up to warn them of the problem.

    If you do this,  I would highly recommend getting upgraded to 2013 or 2014.  There is a bug in the providex language in 4.4 that causes a crash if the pop-up window opens up to many times without exiting and reentering the function.

    In addition you can use custom office | user defined field and table maintenance | advanced field settings to make standard fields required/set default values/etc.  if you wish.  No script required!

Children