1 DEF VAR old-code
AS INT NO-UNDO.
2 DEF VAR new-code
AS INT NO-UNDO.
3 UPDATE old-code
, new-code.
5 FIND FIRST Property
WHERE PropertyCode
= old-code.
6 FOR EACH TenancyLease
OF Property
:
7 TenancyLease.PropertyCode
= new-code.
9 FOR EACH RentalSpace
OF Property
:
10 RentalSpace.PropertyCode
= new-code.
12 FOR EACH Tenant
WHERE EntityType
= 'P'
AND EntityCode
= old-code
:
13 Tenant.EntityCode
= new-code.
16 Valuation.PropertyCode
= new-code.
19 Property.PropertyCode
= new-code.