ServicePRO SDK Help

ManageObjectsServicesManager..::..GetSupplierByProductIdRequest Method

Gets the supplier by product identifier.

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

Syntax


public void GetSupplierByProductIdRequest(
	string sessionKey,
	int productId,
	Action<int, List<stcColumnAlias>, IEnumerable<Dictionary<string, Object>>, Exception> callbackAction
)
Public Sub GetSupplierByProductIdRequest ( _
	sessionKey As String, _
	productId As Integer, _
	callbackAction As Action(Of Integer, List(Of stcColumnAlias), IEnumerable(Of Dictionary(Of String, Object)), 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.
callbackAction
Type: Action<(Of <(<'Int32, List<(Of <(<'stcColumnAlias>)>)>, IEnumerable<(Of <(<'Dictionary<(Of <(<'String, Object>)>)>>)>)>, Exception>)>)>
The callback action.