ServicePRO SDK Help

ManageObjectsServicesManager..::..GetProductVendorCost Method

Gets the product cost from specified vendor.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void GetProductVendorCost(
	string sessionKey,
	int productId,
	int vendorId,
	Action<decimal, Exception> callbackAction
)
Public Sub GetProductVendorCost ( _
	sessionKey As String, _
	productId As Integer, _
	vendorId As Integer, _
	callbackAction As Action(Of Decimal, Exception) _
)

Parameters

sessionKey
Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
productId
Type: Int32
The product identifier.
vendorId
Type: Int32
The vendor identifier.
callbackAction
Type: Action<(Of <(<'Decimal, Exception>)>)>
The callback action.