Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: How to update approval template terms

$
0
0

Hi Sir,

 

Here's my code. I don't know how to retrieve the existing approval template. It doesn't have the GetByKey so I don't know how to retrieve it. Can u give me a sample code for this thanks.

 

 

 

        Dim oCmpSrv As SAPbobsCOM.CompanyService = oCompany.GetCompanyService

 

 

        Dim oSo As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)

 

 

 

 

        Dim oApprovalTemplateService As SAPbobsCOM.ApprovalTemplatesService = oCmpSrv.GetBusinessService(SAPbobsCOM.ServiceTypes.ApprovalTemplatesService)

        Dim oApprovalParam As SAPbobsCOM.ApprovalTemplateParams

 

 

 

 

        Dim oApprovalTemplate As SAPbobsCOM.ApprovalTemplate

 

 

        oApprovalTemplate = oApprovalTemplateService.GetDataInterface(SAPbobsCOM.ApprovalTemplatesServiceDataInterfaces.atsdiApprovalTemplate)

 

Best Regards,

Phoenix Langaman


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>