Jump to content

Adding an IF...THEN...ELSE statement - TRIGGERS


 Share

Recommended Posts

I created a trigger that creates a STATS journal to post the QUANTITY of an item purchased or sold.  Is there away of adding an IF statement in the API to change the TR_TYPE to "-1"if the quantity being passed is a negative?

Link to comment
Share on other sites

  • 2 weeks later...
 Share

×
×
  • Create New...