PdcClockLine.HourSurcharge: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == HourSurcharge as double == Description == Returns the surcharge matching the time type == Notes == This property returns the rate surcharge of the clock l..."
 
No edit summary
Line 9: Line 9:


== Code example ==
== Code example ==
This code example returns the rate surcharge of clickline with ID "456".


<source lang="vb">
<source lang="vb">
Sub sGetClockLineHourSurcharge
dim objClockLine
dim intID


  intID = "456"
  set objClockLine = pdc.ProductRegistration.ClockLines.Open(intID)
  if IsValid(objClockLine) then
    msgbox objClockLine.HourSurcharge
  end if
  set objClockLine = nothing
End Sub
</source>
</source>


== Availability ==
== Availability ==
Available since july 2008 (from version 3.8).
Available since july 2008 (from version 3.8).

Revision as of 12:07, 31 July 2013

Declaration

HourSurcharge as double

Description

Returns the surcharge matching the time type

Notes

This property returns the rate surcharge of the clock line's TimeType.

Code example

This code example returns the rate surcharge of clickline with ID "456".

Sub sGetClockLineHourSurcharge
dim objClockLine
dim intID

  intID = "456"
  set objClockLine = pdc.ProductRegistration.ClockLines.Open(intID)

  if IsValid(objClockLine) then
    msgbox objClockLine.HourSurcharge
  end if

  set objClockLine = nothing
End Sub

Availability

Available since july 2008 (from version 3.8).