PdcCalculation.CBSno
Declaration
CBSno as String
Description
Returns or changes the comodity code
Notes
his property sets or returns the CBS number (=commodity code) for the calculation. The CBS number is displayed in the Payment and Shipment page of the calculation form. In case of setting this property please ensure correct data entry by using pdc.ChooseRecord. The ptPickKind for CBS numbers is 83.
Code example
This code example sets the CBS number of active calculation to the one selected by the user, then refreshes the form.
dim objCalc
set objCalc = pdc.ActiveCalculation
objCalc.CBSno = pdc.ChooseRecord(83,"","")
objCalc.Refresh