I Have the following script steps to omit "Invoiced" status in my invoice system:
Allow User Abort [off]
Set Error Capture [On]
Enter Find Mode
Set Field [Invoices::Status; "Invoiced"
Show Custom Dialog ["No records found", "There are No Omitted Records in your system with Invoiced Status"]
Show all Records
Go to layout [original layout]
Are my step scripts correct?