Venice
Purch::IsIcRelation
 
Does an Intrastat relation exist between the supplier and the firm of the dossier?
 
VARIANT_BOOL IsIcRelation ()
 
Return value
True if an intra-community relation exists between the supplier of the current document and the firm of the dossier, otherwise false.
 
See Also
CreatePurch
 
Samples
 
C++
 
// Check if this document needs Intrastat details
if (pPurch->IsIcRelation ())
    // Process data

C#
 
// Check if this document needs Intrastat details
if (oPurch.IsIcRelation ())
    // Process data

VBS
 
' Check if this document needs Intrastat details
If oPurch.IsIcRelation() Then
    ' Process data
End If

VB.NET
 
' Check if this document needs Intrastat details
If oPurch.IsIcRelation() Then
    ' Process data
End If