Rewrite FM section to group by first part of accountname for PROPEX.
[capital-apms-progress.git] / trigger / crtlscde.p
bloba752f03f7ad16897711e87d5e9994843f5adc2a0
1 TRIGGER PROCEDURE FOR CREATE OF TenancyLease.
3 DO:
4 DEF BUFFER tmp_Lease FOR TenancyLease.
6 FIND LAST tmp_Lease NO-LOCK NO-ERROR.
8 ASSIGN TenancyLease.TenancyLeaseCode =
9 IF AVAILABLE tmp_Lease THEN tmp_Lease.TenancyLeaseCode + 1 ELSE 1.
11 END.