73:
74: x_rec := p_rec ;
75:
76: IF x_rec.created_by is NULL THEN
77: x_rec.created_by := nvl(fnd_global.user_id,0) ;
78: END IF ;
79:
80: IF x_rec.last_updated_by is NULL THEN
81: x_rec.last_updated_by := nvl(fnd_global.user_id,0) ;
77: x_rec.created_by := nvl(fnd_global.user_id,0) ;
78: END IF ;
79:
80: IF x_rec.last_updated_by is NULL THEN
81: x_rec.last_updated_by := nvl(fnd_global.user_id,0) ;
82: END IF ;
83:
84: IF x_rec.creation_date is NULL THEN
85: x_rec.creation_date := sysdate ;
162: BEGIN
163: x_rec := p_rec ;
164:
165: IF x_rec.created_by is NULL THEN
166: x_rec.created_by := nvl(fnd_global.user_id,0) ;
167: END IF ;
168:
169: IF x_rec.last_updated_by is NULL THEN
170: x_rec.last_updated_by := nvl(fnd_global.user_id,0) ;
166: x_rec.created_by := nvl(fnd_global.user_id,0) ;
167: END IF ;
168:
169: IF x_rec.last_updated_by is NULL THEN
170: x_rec.last_updated_by := nvl(fnd_global.user_id,0) ;
171: END IF ;
172:
173: IF x_rec.creation_date is NULL THEN
174: x_rec.creation_date := sysdate ;