Setup, create action table, insert cases, resolve recordStock calculations