IFindIdFromForeignKey Method |
get record id based on foreignkeyvalue - returns 0 if no record is found
Namespace:
SuperOffice.COM.Application
Assembly:
SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
Syntaxint IdFromForeignKey(
string i_App,
string i_Device,
string i_Key,
string i_Value,
SOTableId i_TableId
)
Function IdFromForeignKey (
i_App As String,
i_Device As String,
i_Key As String,
i_Value As String,
i_TableId As SOTableId
) As Integer
Dim instance As IFind
Dim i_App As String
Dim i_Device As String
Dim i_Key As String
Dim i_Value As String
Dim i_TableId As SOTableId
Dim returnValue As Integer
returnValue = instance.IdFromForeignKey(i_App,
i_Device, i_Key, i_Value, i_TableId)
int IdFromForeignKey(
[InAttribute] String^ i_App,
[InAttribute] String^ i_Device,
[InAttribute] String^ i_Key,
[InAttribute] String^ i_Value,
[InAttribute] SOTableId i_TableId
)
Parameters
- i_App
- Type: SystemString
- i_Device
- Type: SystemString
- i_Key
- Type: SystemString
- i_Value
- Type: SystemString
- i_TableId
- Type: SuperOffice.COM.ApplicationSOTableId
Return Value
Type:
Int32
See Also