| |
| Adds a link to the given customer. |
| |
 |
VARIANT_BOOL AddCustmLink ( LONG lCstNum, LONG lCstSubNum ) |
|
| |
| Parameters | | lCstNum | | [in] The number of the customer you want to link to. | | lCstSubNum | | [in] The subnumber of the customer you want to link to. | | | | Remarks |
 | An exception will be thrown in the following situations:
 | The mandate is already linked to the given customer. |
 | The customer card of the given customer does not (no longer) exist. |
 | The customer card of the given customer is of type 'Detached'. |
|
|
| |
| See Also |
 |
CreateDdMan |
 | You can use the property 'vLinkedCustomers' (see properties) to get a list of linked customers (referenced with their number and subnumber). In the Custm-interface you can also find a property vLinkedMandates (see properties) that lists the linked mandates. |
|
|
| |
| Samples |
| |
 |
C++ |
| |
// Link the current mandate to the customer with number 12/0
pDdMan->AddCustmLink (12, 0);
|
|
 |
C# |
| |
// Link the current mandate to the customer with number 12/0
oDdMan.AddCustmLink (12, 0);
|
|
 |
VBS |
| |
' Link the current mandate to the customer with number 12/0
Call oDdMan.AddCustmLink (12, 0)
|
|
 |
VB.NET |
| |
' Link the current mandate to the customer with number 12/0
oDdMan.AddCustmLink (12, 0)
|
|