1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| Quintiq file version 2.0
| #parent: #root
| Method UpdateTypeIndex (
| String id
| )
| {
| TextBody:
| [*
| // 甄兰鸽 May-31-2024 (created)
| if( id <> this.ID() )
| {
| // Update foreign key of this Product_MP's child Product_MPs
| traverse( this, Child, c )
| {
| c.UpdateForeignKey( id );
| }
|
| LibCal_EventType::ChangeKeyEventTypeIndex( this, id );
| }
| *]
| }
|
|