select @nvchOldStatus = OrderStatus from deleted select @nvchNewStatus = OrderStatus from inserted select @nvchDocType = DocumentType from inserted -- If there has been a change in the status field if @nvchNewStatus <> @nvchOldStatus and @nvchDocType ='O' and @nvchNewStatus <> '0' select @nvchOrdNum = SalesOrder from inserted select @nvchCust = Customer from inserted select @nvchUser = LastOperator from inserted SET @nvchText = 'Order Number: ' + @nvchOrdNum + ' For Customer: ' + @nvchCust + ' Released from Suspense by: ' + @nvchUser begin if @nvchOldStatus ='S' begin -- send your email
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE