Kelsey Rendon Posted June 17 Share Posted June 17 Hello, I am trying to add a field to the table on the Bank Reconciliation screen, but I'm having trouble getting it to populate without user interaction. By that I mean, I have my script that I know works in grabbing the field i want because I tried adding it with the INIT BUTTON action on NBLIG, which does populate the correct field but only if the user clicks on the line. I've tried adding it to each action to see how that modifies behavior, but no luck. I also tried adding it to another field with no luck. Looking for any suggestions to get the desired outcome. Thanks in advance! Before clicking on the line: After clicking on the line(I want it to populate this field automatically without having to click on the line): Screen Dictionary for BNR0; actions on NBLIG: Script: If clalev([F:HAE])=0 : Local File GACCENTRY[HAE] : Endif Read [F:HAE]HAE0 = [M:BNR0]TYP(nolign-1); [M:BNR0]NUM(nolign-1) If !fstat [M:BNR0]REFINT(nolign-1) = [F:HAE]REFINT Affzo [M:BNR0] Endif Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now