跳转到内容
产品信息
作者头像ANKIT万博新体育手机客户端 CHAUHAN

SAP Business One SDK中的PEPPOL BIS代码列表

泛欧公共采购网络使贸易伙伴能够通过PEPPOL网络,基于“四角模型”。

PEPPOL接入点将用户连接到PEPPOL网络和交换电子文档为基础PEPPOL规范。买家和供应商可以自由选择他们喜欢的单一接入点提供商来连接到所有接入点PEPPOL参与者已经通过“连接一次,连接到所有”的原则在网络上。

有关更多信息,请参阅SAP Note 2915144

SAP Business One DI API中的PEPPOL BIS代码列表:

应该为每一个输入什么代码/值PEPPOL BIS代码列表,你需要从下面的链接获得相关知识https://docs.peppol.eu/poacc/billing/3.0/codelist以及对其解释的专家,因此您可以将代码分配到相关的SAP Business One Electronic格式。

PEPPOL BIS代码列表可以从以下路径在SAP Business One中访问管理→设置→电子文档→PEPPOL BIS代码列表

PEPPOL BIS代码列表在DI API中被暴露为服务类型对象。IdentificationCodeService

下面是如何使用IdentificationCodeServiceSAP Business One DI API中的对象:

  • 使用DI API添加PEPPOL BIS代码:
SAPbobsCOM。oCompanyService = oCompany.GetCompanyService();SAPbobsCOM。IdentificationCodeService oBISService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.IdentificationCodeService);SAPbobsCOM。IdentificationCode oBISCode = oBISService.GetDataInterface(SAPbobsCOM.IdentificationCodeServiceDataInterfaces.icsIdentificationCode);SAPbobsCOM。IdentificationCodeParams oAddedBISInfo;oBISCode = oBISService.GetDataInterface(SAPbobsCOM.IdentificationCodeServiceDataInterfaces.icsIdentificationCode);oBISCode。Codelist = SAPbobsCOM.IdentificationCodeTypeEnum.idctItemCommodityClassification; oBISCode.Code = "BIS1"; oBISCode.Description = "BIS Code 1 Description created via DI"; oBISCode.SchemaCode = "BISCode1SchemaCodeA"; oBISCode.SchemaDesc = "BIS Code 1 Schema Code A Desc"; oAddedBISInfo = oBISService.Add(oBISCode);
  • 使用DI API更新PEPPOL BIS代码:
SAPbobsCOM。oCompanyService = oCompany.GetCompanyService();SAPbobsCOM。IdentificationCodeService oBISService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.IdentificationCodeService);SAPbobsCOM。IdentificationCodeParams oBISCodeToBeUpdated = oBISService.GetDataInterface(SAPbobsCOM.IdentificationCodeServiceDataInterfaces.icsIdentificationCodeParams);SAPbobsCOM。IdentificationCode oUpdatedBISCode;oBISCodeToBeUpdated。缺勤= 1;oUpdatedBISCode = oBISService.GetByParams(oBISCodeToBeUpdated); oUpdatedBISCode.Description = "Updated Description for BISCode1SchemaCodeA"; oBISService.Update(oUpdatedBISCode);
  • 使用DI API删除/删除PEPPOL BIS代码:
SAPbobsCOM。oCompanyService = oCompany.GetCompanyService();SAPbobsCOM。IdentificationCodeService oBISService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.IdentificationCodeService);SAPbobsCOM。IdentificationCodeParams oBISCodeToBeDeleted = oBISService.GetDataInterface(SAPbobsCOM.IdentificationCodeServiceDataInterfaces.icsIdentificationCodeParams);oBISCodeToBeDeleted。缺勤= 1;oBISService.Remove (oBISCodeToBeDeleted);

指定的标签

      第一个留下评论
      你一定是登录评论:评论或回复一篇文章