|
Should this detail be distributed? |
|
|
VARIANT_BOOL NeedStkDistrib ( SHORT sDetIndex ) |
|
|
Parameters | sDetIndex | [in] The index of the detail where the distribution belongs to, starting from 0. | | Return value |
True if for the given detail distributions are required, otherwise false. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Check if the first detail of the current document needs to be distributed
pSDeliv->PrepareDocument (paView);
if (pSDeliv->NeedStkDistrib (0))
{
// Process data
}
pSDeliv->CancelDocument ();
|
|
|
C# |
|
// Check if the first detail of the current document needs to be distributed
oSDeliv.PrepareDocument (ePrepareAction.paView);
if (oSDeliv.NeedStkDistrib (0))
{
// Process data
}
oSDeliv.CancelDocument ();
|
|
|
VBS |
|
' Check if the first detail of the current document needs to be distributed
Call oSDeliv.PrepareDocument(paView)
If oSDeliv.NeedStkDistrib(0) Then
' Process data
End If
Call oSDeliv.CancelDocument()
|
|
|
VB.NET |
|
' Check if the first detail of the current document needs to be distributed
oSDeliv.PrepareDocument(ePrepareAction.paView)
If oSDeliv.NeedStkDistrib(0) Then
' Process data
End If
oSDeliv.CancelDocument()
|
|