SetActivity

Nastavení aktivity

Popis

declare procedure MDataSetActivity dll "ActualDocument" (string,integer,string)
declare function OpenMdata dll "ActualDocument" (pointer):boolean
declare function CloseMdata dll "ActualDocument" ():boolean

script TEST_SetActivity (): Boolean
begin
  OpenMdata(ActualDocument)
  OpenMdataSlow()

  // specifické datum
  MDataSetActivity("contact", 3, "1.1.2010")

  // aktuální datum
  // MDataSetActivity("contact", 3, "")
  // MDataSetActivity("contact", 3, "now")

  // nekontaktováno
  // MDataSetActivity("contact", 3, "nil") nebo
  // MDataSetActivity("contact", 3, "null")

  CloseMdata()
end