2401: l_return_status VARCHAR2(2000);
2402: l_message_text VARCHAR2(2000);
2403: BEGIN
2404: IF (p_attribute_name IS NULL) THEN --Insert
2405: EGO_TEMPL_ATTRS_PUB.Sync_Template(
2406: p_template_id => p_template_id,
2407: p_commit => FND_API.G_FALSE,
2408: x_return_status => l_return_status,
2409: x_message_text => l_message_text);
2407: p_commit => FND_API.G_FALSE,
2408: x_return_status => l_return_status,
2409: x_message_text => l_message_text);
2410: ELSE --Update
2411: EGO_TEMPL_ATTRS_PUB.Sync_Template_Attribute(
2412: p_template_id => p_template_id,
2413: p_attribute_name => p_attribute_name,
2414: p_commit => FND_API.G_FALSE,
2415: x_return_status => l_return_status,