on 2021 Nov 03 4:58 PM
Hello All,
For a customer I need te check the unitprice in a scenario
Therefore I want to use the ItemPrice Service. See SDK Documentation below.
Dim params As SAPbobsCOM.ItemPriceParams
Dim rtnParams As SAPbobsCOM.ItemPriceReturnParams
Try
params = vCmp.GetCompanyService.GetDataInterface(CompanyServiceDataInterfaces.csdiItemPriceParams)
params.CardCode = "C001"
params.ItemCode = "I002"
params.UoMEntry = 1
params.UoMQuantity = 2
params.InventoryQuantity=6
params.Currency = "EUR"
params.Date = "01.13.2013"
params.PriceList = 1
params.BlanketAgreementNumber = 2
params.BlanketAgreementLine = 1
rtnParams = vCmp.GetCompanyService.GetDataInterface(CompanyServiceDataInterfaces.csdiItemPriceReturnParams)
rtnParams = vCmp.GetCompanyService().GetItemPrice(params)
RCurrency = rtnParams.Currency
RPrice = rtnParams.Price
RDiscount = rtnParams.Discount
Catch ex As System.Exception
...
End Try
Is it possible to call this service in a DI batch call inside B1i?
Has somebody an example?
Mark
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.