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

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

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

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