PdcCalculation.ShippingContactID

From External Bemet Wiki
Revision as of 15:11, 29 October 2012 by TC (talk | contribs) (Created page with "== Declaration == ShippingContactID as String == Description == Reads and writes the contactID for the shipping address to the calculation object. == Notes == The contactI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

ShippingContactID as String

Description

Reads and writes the contactID for the shipping address to the calculation object.

Notes

The contactID needs to belong to the shipping customer. If not, the property is not changed. No error message is generated. Best practise is to have the user select the ContactID rather than keyed in.

Code example

"<" source lang="vb" ">"

 set objCalc = pdc.ActiveCalculation
 strCPID = pdc.ChooseRecord(8, "", "")
 objCalc.ShippingContactID = strCPID 

"<" /source ">"

Availability

Geef hierbij op sinds wanneer het beschikbaar is en vanaf welke versie. Available since November 2004 (From version 3.5)