|
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
pSOrder->PrepareDocument (paView);
if (pSOrder->NeedStkDistrib (0))
{
// Process data
}
pSOrder->CancelDocument ();
|
|
 |
C# |
|
// Check if the first detail of the current document needs to be distributed
oSOrder.PrepareDocument (ePrepareAction.paView);
if (oSOrder.NeedStkDistrib (0))
{
// Process data
}
oSOrder.CancelDocument ();
|
|
 |
VBS |
|
' Check if the first detail of the current document needs to be distributed
Call oSOrder.PrepareDocument(paView)
If oSOrder.NeedStkDistrib(0) Then
' Process data
End If
Call oSOrder.CancelDocument()
|
|
 |
VB.NET |
|
' Check if the first detail of the current document needs to be distributed
oSOrder.PrepareDocument(ePrepareAction.paView)
If oSOrder.NeedStkDistrib(0) Then
' Process data
End If
oSOrder.CancelDocument()
|
|