48: v_party_number hz_parties.party_number%TYPE;
49: v_profile_id NUMBER;
50:
51: -- record type variable
52: v_organization_rec_type hz_party_v2pub.organization_rec_type;
53: v_party_rec hz_party_v2pub.party_rec_type;
54:
55: tmp_var1 VARCHAR2(2000);
56: tmp_var VARCHAR2(2000);
49: v_profile_id NUMBER;
50:
51: -- record type variable
52: v_organization_rec_type hz_party_v2pub.organization_rec_type;
53: v_party_rec hz_party_v2pub.party_rec_type;
54:
55: tmp_var1 VARCHAR2(2000);
56: tmp_var VARCHAR2(2000);
57: BEGIN
90: v_organization_rec_type.party_rec := v_party_rec;
91:
92:
93: -- call to create organization
94: -- masehgal made call to hz_party_V2pub to create organisation
95: hz_party_v2pub.create_organization (
96: p_init_msg_list => FND_API.G_TRUE,
97: p_organization_rec => v_organization_rec_type,
98: x_return_status => p_return_status,
91:
92:
93: -- call to create organization
94: -- masehgal made call to hz_party_V2pub to create organisation
95: hz_party_v2pub.create_organization (
96: p_init_msg_list => FND_API.G_TRUE,
97: p_organization_rec => v_organization_rec_type,
98: x_return_status => p_return_status,
99: x_msg_count => v_msg_count,
169: v_profile_id NUMBER;
170: tmp_var1 VARCHAR2(2000);
171: tmp_var VARCHAR2(2000);
172: -- record type variable
173: v_organization_rec_type hz_party_v2pub.organization_rec_type;
174: v_party_rec hz_party_v2pub.party_rec_type;
175:
176: BEGIN
177: -- initialising the record type variables
170: tmp_var1 VARCHAR2(2000);
171: tmp_var VARCHAR2(2000);
172: -- record type variable
173: v_organization_rec_type hz_party_v2pub.organization_rec_type;
174: v_party_rec hz_party_v2pub.party_rec_type;
175:
176: BEGIN
177: -- initialising the record type variables
178: -- masehgal changed nullable attributes to NVL(parameter,FND_API.G_MISS_XXXX)
218:
219:
220: -- call to update organization
221: -- masehgal V2PUB call to hz_party
222: hz_party_v2pub.update_organization (
223: p_init_msg_list => FND_API.G_TRUE,
224: p_organization_rec => v_organization_rec_type,
225: p_party_object_version_number => p_object_version_number,
226: x_profile_id => v_profile_id,