Wednesday 17 June 2015

Query to retrive Supplier Relationship Detail in iSupplier Portal

Below given query will give you supplier sites and its relationship details.

Query:


SELECT ExtRelationshipsEO.RELATIONSHIP_ID,
              ExtRelationshipsEO.PARTY_ID,
              hzp_inv.party_name SUPPLIER_NAME,
              ExtRelationshipsEO.SUPPLIER_SITE_ID,
              apsite_inv.vendor_site_code SUPPLIER_SITE_NAME,
              ExtRelationshipsEO.REMIT_PARTY_ID,
              hzp_rmt.party_name REMIT_SUPPLIER_NAME,
              ExtRelationshipsEO.REMIT_SUPPLIER_SITE_ID,
              apsite_rmt.vendor_site_code REMIT_SUPPLIER_SITE_NAME,
              ExtRelationshipsEO.FROM_DATE,
              ExtRelationshipsEO.TO_DATE,
              ExtRelationshipsEO.PRIMARY_FLAG,
              ExtRelationshipsEO.ADDITIONAL_INFORMATION,
              ExtRelationshipsEO.ACTIVE,
              ExtRelationshipsEO.CREATED_BY,
              ExtRelationshipsEO.CREATION_DATE,
              ExtRelationshipsEO.LAST_UPDATED_BY,
              ExtRelationshipsEO.LAST_UPDATE_DATE,
              ExtRelationshipsEO.LAST_UPDATE_LOGIN,
              ExtRelationshipsEO.OBJECT_VERSION_NUMBER,
              apsite_inv.org_id,
              hrou.name "Operating Unit Name"
   FROM IBY_EXT_PAYEE_RELATIONSHIPS ExtRelationshipsEO,
            hz_parties hzp_inv,
            hz_parties hzp_rmt,
            ap_supplier_sites_all apsite_inv,
            ap_supplier_sites_all apsite_rmt,
            hr_operating_units hrou
   WHERE ExtRelationshipsEO.party_id = hzp_inv.party_id
   AND ExtRelationshipsEO.remit_party_id = hzp_rmt.party_id
   AND ExtRelationshipsEO.supplier_site_id = apsite_inv.vendor_site_id
   AND ExtRelationshipsEO.remit_supplier_site_id = apsite_rmt.vendor_site_id
   AND hrou.organization_id = apsite_inv.org_id;

4 comments:

  1. hi admin.Amazing post.All the details are explained in clear manner.Thank you so much for sharing. Inventory Audit
    CA Firms | Visibility Audit

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Good job in presenting the correct content with the clear explanation. The content looks real with valid information. Good Work Continuous Transaction Monitoring
    Duplicate Payment Review
    Duplicate Payment Recovery
    AP Vendor Helpdesk

    ReplyDelete
  4. Very efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. supplier

    ReplyDelete

How to resolve issue for BIP RTF template XML tags showing value as <?ref: 0000xx?>

 How to resolve issue for BIP RTF template XML tags showing value as <?ref: 0000xx?>  Sometime these xml data tags automatically chang...