PdcCalculation.ShippingContactName

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

No parameters.

Description

Reads name of the contactID for the shipping address to the calculation object.

Notes

This is a readonly property.

Code example

dim objCalc
dim strCPID
  set objCalc = pdc.ActiveCalculation
  strCPID = pdc.ChooseRecord(8, "", "CP_DEBNR = '" & objCalc.ShippingCustomerID & "'")
  objCalc.ShippingContactID = strCPID 
  msgbox objCalc.ShippingContactName
  objCalc.Save

Availability

Available since October 2012 (from version 4.3 onwards)