1675: * Description:
1676: * Created for R12 Vertext project called from oip and sales order form
1677: * Function Get_Content_Owner_Id
1678: * is calling APIs : XLE_BUSINESSINFO_GRP.Get_OrdertoCash_Info
1679: * and ZX_TCM_PTP_PKG.get_tax_subscriber to get content_owner_id
1680: *================================================================*/
1681:
1682: FUNCTION Get_Content_Owner_Id(
1683: p_header_id IN NUMBER)
1732: END IF;
1733:
1734:
1735:
1736: -- Call ZX_TCM_PTP_PKG.get_tax_subscriber
1737: -- to get conten_owner_id
1738:
1739: ZX_TCM_PTP_PKG.get_tax_subscriber(
1740: p_le_id => l_le_id
1735:
1736: -- Call ZX_TCM_PTP_PKG.get_tax_subscriber
1737: -- to get conten_owner_id
1738:
1739: ZX_TCM_PTP_PKG.get_tax_subscriber(
1740: p_le_id => l_le_id
1741: ,p_org_id => l_org_id
1742: ,p_ptp_id => l_conten_owner_id
1743: ,p_return_status => l_return_status);
1745: IF l_return_status = 'S' THEN
1746: return l_conten_owner_id ;
1747: ELSE
1748: IF l_debug_level > 0 THEN
1749: oe_debug_pub.add('Return Status from ZX_TCM_PTP_PKG.get_tax_subscriber '||l_return_status, 1) ;
1750: END IF;
1751: RAISE FND_API.G_EXC_ERROR;
1752: END IF;
1753: