Venice
DdMan::DelCustmLink
 
Deletes a link to the given customer.
 
VARIANT_BOOL DelCustmLink (
    LONG lCstNum,
    LONG lCstSubNum
)
 
Parameters
lCstNum
[in] The number of the customer of which you want to remove the link.
lCstSubNum
[in] The subnumber of the customer of which you want to remove the link.
 
Remarks
An exception will be thrown if the mandate is not linked to the given customer.
 
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++
 
// Remove the link with customer 12/0
pDdMan->DelCustmLink (12, 0);

C#
 
// Remove the link with customer 12/0
oDdMan.DelCustmLink (12, 0);

VBS
 
' Remove the link with customer 12/0
Call oDdMan.DelCustmLink (12, 0)

VB.NET
 
' Remove the link with customer 12/0
oDdMan.DelCustmLink (12, 0)