PdcCalculation.CBSno

From External Bemet Wiki
Revision as of 08:59, 21 May 2012 by Mike (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Availability