Resource - OnAfterGetRecord() ResLedgerEntry.SETRANGE("Resource No.", "No."); IF ResLedgerEntry.FINDSET THEN BEGIN ResLedgerEntry."Unit of Measure Code" := "Base Unit of Measure"; ResLedgerEntry.MODIFY; END;
ResLedgerEntry.SETRANGE("Resource No.", "No."); IF ResLedgerEntry.FINDSET(TRUE,FALSE) THEN REPEAT ResLedgerEntry."Unit of Measure Code" := "Base Unit of Measure"; ResLedgerEntry.MODIFY; UNTIL ResLedgerEntry.NEXT = 0; END;
Answers
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/