inventory finalizing