669: RETURN TRUE;
670: END IF;
671:
672: -- Check Profile Option to see if allow item mismatch
673: l_profile := FND_PROFILE.value('ONT_RETURN_ITEM_MISMATCH_ACTION');
674:
675: IF (l_profile is NULL OR l_profile = 'A') THEN
676: RETURN TRUE;
677: ELSE
720: RETURN TRUE;
721: END IF;
722:
723: -- Check Profile Option to see if allow item mismatch
724: l_profile := FND_PROFILE.value('ONT_RETURN_FULFILLED_LINE_ACTION');
725:
726: IF (l_profile is NULL OR l_profile = 'A') THEN
727: RETURN TRUE;
728:
880:
881: oe_debug_pub.add('Entering Validate_ship_to_org',1);
882: oe_debug_pub.add('ship_to_org_id :'||to_char(p_ship_to_org_id),2);
883:
884: --lcustomer_relations := FND_PROFILE.VALUE('ONT_CUSTOMER_RELATIONSHIPS');
885: lcustomer_relations := OE_Sys_Parameters.VALUE('CUSTOMER_RELATIONSHIPS_FLAG');
886:
887: IF nvl(lcustomer_relations,'N') = 'N' THEN
888:
2088: THEN
2089:
2090: BEGIN
2091: oe_debug_pub.add('invoice_to_org_id :'||to_char(p_line_rec.invoice_to_org_id),2);
2092: --lcustomer_relations := FND_PROFILE.VALUE('ONT_CUSTOMER_RELATIONSHIPS');
2093:
2094: IF nvl(lcustomer_relations,'N') = 'N' THEN
2095:
2096: Select 'VALID'