PdcCalculation.TTApply: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability =="
 
No edit summary
 
Line 1: Line 1:
== Declaration ==
== Declaration ==
 
TTApply as Boolean


== Description ==
== Description ==
 
Returns or changes if the transportation values must be used


== Notes ==
== Notes ==
 
This property sets or returns if the transportation time (days and hours) in the current calculation need to be taken into account. These times can be found in the calculation form in the 'Payment and Shipment' treenode.
Please note that this flag only has effect when determining the start production date based on the required delivery date. Changes its setting after the calculation is taken into production (although possible) has no impact!


== Code example ==
== Code example ==
 
This code example returns whether the transportation time is applied in the active calculation.


<source lang="vb">
<source lang="vb">
dim objCalc


  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.TTApply
</source>
</source>


== Availability ==
== Availability ==
Available since December 2007.

Latest revision as of 10:23, 21 May 2012

Declaration

TTApply as Boolean

Description

Returns or changes if the transportation values must be used

Notes

This property sets or returns if the transportation time (days and hours) in the current calculation need to be taken into account. These times can be found in the calculation form in the 'Payment and Shipment' treenode. Please note that this flag only has effect when determining the start production date based on the required delivery date. Changes its setting after the calculation is taken into production (although possible) has no impact!

Code example

This code example returns whether the transportation time is applied in the active calculation.

dim objCalc

  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.TTApply

Availability

Available since December 2007.