any one can correct this i getting issue while com...
# general
t
any one can correct this i getting issue while compairing record type
s
you have record.Type which is an ENUM. You'd need something like record.Type.INVOICE or record.Type.CASH_SALE
you may be able to do newRec.getValue("ordertype") or some field like that