Jump to content

Adding field to Bank Reconciliation Screen


 Share

Recommended Posts

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:

image.thumb.png.4ab7abcbe7455e882b7449c25f5a76c8.png

 

After clicking on the line(I want it to populate this field automatically without having to click on the line): 

image.thumb.png.e65b16d02899ff0f059e503628fbfd2c.png

 

Screen Dictionary for BNR0; actions on NBLIG:

image.thumb.png.853294b4b9a4c1ea3c3f64d77872217e.png

 

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...