XAPM-23 : Modify salesorder amount field from long to integer
XAPM-29 : Move groovy code from Groovy