Jump to content

Find and set script, I'm trying to find and send I have a global field(search) where I would like to search for an invoice number and send their information in the cash table[text]


Recommended Posts

  • Newbies

Set error capture[0]
Freeze window
Set Variable[$inv; value:invoice::invoiceNum]
Set Variable[$total;invoice::Totaline]
Enter find mode [Pause:off]
Set field [cash::Fkinvoice;cash::search]
Perform Find[] Set field [cash::Fkinvoice; GetValue ($inv;1)]
Set field [cash::SumBill; Getvalue ($total;1)]
Exit Script [Text Result:$Null]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.