码迷,mamicode.com
首页 > Windows程序 > 详细

供应商导入的API补充(详解EBS接口开发之供应商导入)(转)

时间:2015-05-22 09:26:17      阅读:331      评论:0      收藏:0      [点我收藏+]

标签:

原文地址  供应商导入的API补充(详解EBS接口开发之供应商导入)

--供应商
--创建
AP_VENDOR_PUB_PKG.Create_Vendor
(     p_api_version           IN    NUMBER,
      p_init_msg_list        IN    VARCHAR2 := FND_API.G_FALSE,
    p_commit            IN      VARCHAR2 := FND_API.G_FALSE,
    p_validation_level    IN      NUMBER     := FND_API.G_VALID_LEVEL_FULL,
    x_return_status        OUT    NOCOPY  VARCHAR2,
    x_msg_count        OUT    NOCOPY  NUMBER,
    x_msg_data        OUT    NOCOPY  VARCHAR2,
    p_vendor_rec        IN    r_vendor_rec_type,
    x_vendor_id        OUT    NOCOPY  AP_SUPPLIERS.VENDOR_ID%TYPE,
    x_party_id        OUT    NOCOPY  HZ_PARTIES.PARTY_ID%TYPE
);
--更新
AP_VENDOR_PUB_PKG.Update_Vendor
(     p_api_version           IN    NUMBER,
      p_init_msg_list        IN    VARCHAR2 := FND_API.G_FALSE,
    p_commit            IN      VARCHAR2 := FND_API.G_FALSE,
    p_validation_level    IN      NUMBER     := FND_API.G_VALID_LEVEL_FULL,
    x_return_status        OUT    NOCOPY VARCHAR2,
    x_msg_count        OUT    NOCOPY NUMBER,
    x_msg_data        OUT    NOCOPY VARCHAR2,
    p_vendor_rec        IN    r_vendor_rec_type,
    p_vendor_id        IN    NUMBER
);
--验证
AP_VENDOR_PUB_PKG.Validate_Vendor
(     p_api_version           IN    NUMBER,
      p_init_msg_list        IN    VARCHAR2 := FND_API.G_FALSE,
    p_commit            IN      VARCHAR2 := FND_API.G_FALSE,
    p_validation_level    IN      NUMBER     := FND_API.G_VALID_LEVEL_FULL,
    x_return_status        OUT    NOCOPY VARCHAR2,
    x_msg_count        OUT    NOCOPY NUMBER,
    x_msg_data        OUT    NOCOPY VARCHAR2,
    p_vendor_rec        IN OUT    NOCOPY r_vendor_rec_type,
    p_mode            IN    VARCHAR2,
    p_calling_prog        IN    VARCHAR2,
    x_party_valid        OUT    NOCOPY VARCHAR2,
    x_payee_valid        OUT    NOCOPY VARCHAR2,
    p_vendor_id        IN    NUMBER
);
--供应商地点
--创建
AP_VENDOR_PUB_PKG.Create_Vendor_Site
(     p_api_version           IN    NUMBER,
      p_init_msg_list        IN    VARCHAR2 := FND_API.G_FALSE,
    p_commit            IN      VARCHAR2 := FND_API.G_FALSE,
    p_validation_level    IN      NUMBER     := FND_API.G_VALID_LEVEL_FULL,
    x_return_status        OUT    NOCOPY VARCHAR2,
    x_msg_count        OUT    NOCOPY NUMBER,
    x_msg_data        OUT    NOCOPY VARCHAR2,
    p_vendor_site_rec    IN    r_vendor_site_rec_type,
    x_vendor_site_id    OUT    NOCOPY NUMBER,
    x_party_site_id        OUT    NOCOPY NUMBER,
    x_location_id        OUT    NOCOPY NUMBER
);
--更新
AP_VENDOR_PUB_PKG.Update_Vendor_Site
(     p_api_version           IN    NUMBER,
      p_init_msg_list        IN    VARCHAR2 := FND_API.G_FALSE,
    p_commit            IN      VARCHAR2 := FND_API.G_FALSE,
    p_validation_level    IN      NUMBER     := FND_API.G_VALID_LEVEL_FULL,
    x_return_status        OUT    NOCOPY VARCHAR2,
    x_msg_count        OUT    NOCOPY NUMBER,
    x_msg_data        OUT    NOCOPY VARCHAR2,
    p_vendor_site_rec    IN    r_vendor_site_rec_type,
    p_vendor_site_id    IN    NUMBER,
    p_calling_prog        IN    VARCHAR2 DEFAULT NOT ISETUP
);
--验证
AP_VENDOR_PUB_PKG.Validate_Vendor_Site
(     p_api_version           IN    NUMBER,
      p_init_msg_list        IN    VARCHAR2 := FND_API.G_FALSE,
    p_commit            IN      VARCHAR2 := FND_API.G_FALSE,
    p_validation_level    IN      NUMBER     := FND_API.G_VALID_LEVEL_FULL,
    x_return_status        OUT    NOCOPY VARCHAR2,
    x_msg_count        OUT    NOCOPY NUMBER,
    x_msg_data        OUT    NOCOPY VARCHAR2,
    p_vendor_site_rec    IN OUT    NOCOPY r_vendor_site_rec_type,
    p_mode            IN    VARCHAR2,
    p_calling_prog        IN    VARCHAR2,
    x_party_site_valid    OUT    NOCOPY VARCHAR2,
    x_location_valid    OUT    NOCOPY VARCHAR2,
    x_payee_valid        OUT    NOCOPY VARCHAR2,
    p_vendor_site_id    IN    NUMBER
);
--供应商联系人
--创建
AP_VENDOR_PUB_PKG.Create_Vendor_Contact
(     p_api_version           IN    NUMBER,
      p_init_msg_list        IN    VARCHAR2 := FND_API.G_FALSE,
    p_commit            IN      VARCHAR2 := FND_API.G_FALSE,
    p_validation_level    IN      NUMBER     := FND_API.G_VALID_LEVEL_FULL,
    x_return_status        OUT    NOCOPY VARCHAR2,
    x_msg_count        OUT    NOCOPY NUMBER,
    x_msg_data        OUT    NOCOPY VARCHAR2,
    p_vendor_contact_rec    IN    r_vendor_contact_rec_type,
    x_vendor_contact_id    OUT    NOCOPY NUMBER,
    x_per_party_id        OUT    NOCOPY NUMBER,
    x_rel_party_id        OUT     NOCOPY NUMBER,
    x_rel_id        OUT    NOCOPY NUMBER,
    x_org_contact_id    OUT    NOCOPY NUMBER,
    x_party_site_id        OUT    NOCOPY NUMBER
);
--更新
AP_VENDOR_PUB_PKG.Update_Vendor_Contact
(     p_api_version       IN    NUMBER,
      p_init_msg_list        IN    VARCHAR2 := FND_API.G_FALSE    ,
    p_commit            IN      VARCHAR2 := FND_API.G_FALSE,
    p_validation_level    IN      NUMBER    :=  FND_API.G_VALID_LEVEL_FULL,
    p_vendor_contact_rec    IN    r_vendor_contact_rec_type,
    x_return_status        OUT    NOCOPY VARCHAR2              ,
    x_msg_count            OUT    NOCOPY NUMBER,
    x_msg_data            OUT    NOCOPY VARCHAR2
);
--验证
AP_VENDOR_PUB_PKG.Validate_Vendor_Contact
(     p_api_version           IN    NUMBER,
      p_init_msg_list        IN    VARCHAR2 := FND_API.G_FALSE,
    p_commit            IN      VARCHAR2 := FND_API.G_FALSE,
    p_validation_level    IN      NUMBER     := FND_API.G_VALID_LEVEL_FULL,
    x_return_status        OUT    NOCOPY VARCHAR2,
    x_msg_count        OUT    NOCOPY NUMBER,
    x_msg_data        OUT    NOCOPY VARCHAR2,
    p_vendor_contact_rec    IN OUT    NOCOPY r_vendor_contact_rec_type,
    x_rel_party_valid     OUT     NOCOPY VARCHAR2,
    x_per_party_valid     OUT     NOCOPY VARCHAR2,
    x_rel_valid         OUT     NOCOPY VARCHAR2,
    x_org_party_id        OUT    NOCOPY NUMBER,
    x_org_contact_valid     OUT     NOCOPY VARCHAR2,
    x_location_id        OUT     NOCOPY NUMBER,
        x_party_site_valid      OUT     NOCOPY VARCHAR2
);
--导入供应商
--供应商
AP_VENDOR_PUB_PKG.Import_Vendors
(       p_api_version           IN      NUMBER,
        p_source                IN      VARCHAR2 DEFAULT IMPORT,
        p_what_to_import        IN      VARCHAR2 DEFAULT NULL,
        p_commit_size           IN      NUMBER   DEFAULT 1000,
        x_return_status         OUT NOCOPY VARCHAR2,
        x_msg_count             OUT NOCOPY NUMBER,
        x_msg_data              OUT NOCOPY VARCHAR2
);
--地点
AP_VENDOR_PUB_PKG.Import_Vendor_Sites
(       p_api_version           IN  NUMBER,
        p_source                IN  VARCHAR2 DEFAULT IMPORT,
        p_what_to_import        IN  VARCHAR2 DEFAULT NULL,
        p_commit_size           IN  NUMBER   DEFAULT 1000,
        p_org_id                IN  NUMBER   DEFAULT NULL, --bug13801271
        x_return_status         OUT NOCOPY VARCHAR2,
        x_msg_count             OUT NOCOPY NUMBER,
        x_msg_data              OUT NOCOPY VARCHAR2
);
--联系人
AP_VENDOR_PUB_PKG.Import_Vendor_Contacts
(       p_api_version           IN  NUMBER,
        p_source                IN  VARCHAR2 DEFAULT IMPORT,
        p_what_to_import        IN  VARCHAR2 DEFAULT NULL,
        p_commit_size           IN  NUMBER   DEFAULT 1000,
        x_return_status         OUT NOCOPY VARCHAR2,
        x_msg_count             OUT NOCOPY NUMBER,
        x_msg_data              OUT NOCOPY VARCHAR2
);

供应商导入的API补充(详解EBS接口开发之供应商导入)(转)

标签:

原文地址:http://www.cnblogs.com/huanghongbo/p/4521409.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!