Set Result = SalesPriceService.GeefPrijs(KlantNummer, ProductNummer, CifPpl (optioneel), Aantal (optioneel), TransDate (optioneel))
SalesPrice voor meerdere producten:
Set ProductDataFactory = ##class(AXimpl.Admin.VKP.SalesPriceService.ProductDataFactory).%New()
Set ProductDataLijst = ##class(AXimpl.Admin.VKP.SalesPriceService.ProductDataLijst).%New()
Do ProductDataLijst.Insert(ProductDataFactory.MaakProductData(ProductNummer, CifPpl (optioneel))
Do ProductDataLijst.Insert(ProductDataFactory.MaakProductData(ProductNummer, CifPpl (optioneel))
Set Result = SalesPriceService.GeefPrijsVoorProducten(KlantNummer, ProductDataLijst)]]>
Prod.Product,BL.Derde.LevSpecifiek TECH.Mockable AXimpl.MessageManager 1 AXimpl.Dynamics.SalesPriceOut.SalesPriceService 1 AXimpl.Utils.KlantIdConverter 1 AXimpl.Admin.VKP.SalesPriceService.AxItemIdBepaler 1 SalesPriceService:AXimpl.Dynamics.SalesPriceOut.SalesPriceService="",MessageManager:AXimpl.MessageManager="",KlantIdConverter:AXimpl.Utils.KlantIdConverter="",AxItemIdBepaler:AXimpl.Admin.VKP.SalesPriceService.AxItemIdBepaler="" 1 1 %Status 1 KlantNummer:%String,ProductDataLijst:%ListOfDataTypes AXif.Dynamics.SalesPriceIn.MessageParts.ADUSalesPriceHeaderOutputDC KlantNummer:%String,ProductNummer:%String,CifPpl:%String,Aantal:%String=1,TransDate:%Date="" AXif.Dynamics.SalesPriceIn.MessageParts.ADUSalesPriceHeaderOutputDC KlantNummer:%String,Lines:%ListOfDataTypes 1 AXif.Dynamics.SalesPriceOut.MessageParts.ADUSalesPriceHeaderInputDC ProductNummer:%String,CifPpl:%String,Aantal:%String=1,TransDate:%Date="" 1