Script for Window Close Issue

Discussion created by AndrewJudd on Aug 31, 2015
Latest reply on Aug 31, 2015 by DavidJondreau

Hi All, anyone know why I have a window as part of a script which is not closing. It's the second one here? It only happens when there is only one record in the portal I am calculating. If explanation is needed, this is a script which calculates the total number of artworks on an invoice and then uses that number to work out how to split a discount evenly among them.


The last window won't close so even when I hide it using the 100 100 - 200 -200 details the main window remain inactive until you click it - no good.


I have just added the "not equal to 1 bit" in the hope that works but it doesn't.


Any ideas?


Thank you!



Screen Shot 2015-08-31 at 11.37.41.png