I have an field called Difference in One table.The condition is difference should be less than 15. I have check all the values of differene field in that table.Only If no one(Difference) field is greater than 15 , I have to continue…
Not sure what issue you have?
If you want to select the records with all Different less than 15, you write a simple select statement to achieve it
While select table
where table.Difference < 15
{
// do something
}
For all open Sales Orders (SalesStatus = ‘Open Order’ or ‘Journal’) for this customer where SalesTable.Payment is not ‘Prepayment’ or ‘Visa/MC’ or ‘CC Auto’, set SalesTable.hrk_CreditStatus = ‘Approved.
Remove any hold records in MCRHoldCodeTrans where the Hold Code = ‘Past Due’.