387: -- and not null if they are updating an existing profile.
388: --
389: --
390: if ( x_customer_id is null ) then
391: select hz_cust_accounts_s.nextval into x_customer_id from dual;
392: -- x_customer_id := FND_API.G_MISS_NUM;
393: end if;
394: --
395: --
393: end if;
394: --
395: --
396: If (x_customer_profile_id is null ) then
397: select hz_customer_profiles_s.nextval into x_customer_profile_id from dual;
398: --x_customer_profile_id := FND_API.G_MISS_NUM;
399: end if;
400: --
401: --