PayrollBuffer.CALCFIELDS(PayrollBuffer."Consolidated Allowances",PayrollBuffer."Bonus Taxable Surplus"); IF PayrollBuffer.GET(Year,Month,StaffID) THEN BEGIN PayrollBuffer."Gross Salary" := PayrollBuffer."Basic Salary"+PayrollBuffer."Consolidated Allowances"+ PayrollBuffer."Overtime Taxable Surplus"+ PayrollBuffer."Night Taxable Surplus"+ PayrollBuffer."Bonus Taxable Surplus"; PayrollBuffer.MODIFY; END;
Comments
RIS Plus, LLC
...whops, mibuso didn't notice me of an existing reply :?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog