I\'m trying to model two type of invoice in ffffd. Purchase invoice and sales invoice. Simply behaviour is purchase invoice increases stock quantities and sales invoice decrea