﻿// class campaign

class campaign  dbtable="KLAH" assembly="s10cis"

  string   CLINT          maxsize="10"      numerical="yes"   dbkey="yes"        // Interne Klassennummer
  string   KLART          maxsize="3"       uppercase="yes"   link="tcla"       historyid="KAR"    // Klassenart
  string   CLASS          maxsize="18"      uppercase="yes"   historyid="KLA"    // Klassennummer
  string   STATU          maxsize="1"       uppercase="yes"   link="tclu"        // Klassenstatus
  string   KLAGR          maxsize="10"      uppercase="yes"   link="tclg"       historyid="KGR"    // Klassengruppe
  date     VONDT          maxsize="10"       // Gültigkeitsdatum von
  date     BISDT          maxsize="10"       // Gültigkeitsdatum bis

non-database-section

  string KSCHL // Bezeichnung der Klasse
  string icon method="build_icon"
  string kunnr

  string clistid     // customer list
  string clisttitle     // customer list title
  integer clistcount // customer listcount
  integer clistcompleted // completed customers
  string clistpercentage method="build_clistpercentage"  // completed customers percentage
  folder allcustomerlist class="customermini"
  folder campaigncustomerlist class="customermini"

    // classification
  string classification_html method="build_classification_html"
  string classification_input_html method="build_classification_input_html"
  string classification_print_html method="build_classification_print_html"
  string atnamlist method="build_atnamlist"   // property list
  string classification_total_html method="build_classification_total_html"



  // texts
  string longtext_html  method="build_longtext_html"


  // iclass
  object myiclass class="iclass" method="build_myiclass"

  // attribute values
  folder classification_values class="dropdownitem" method="build_classification_values"

      // rfc
  folder rfc_input class="simplestring"
  folder rfc_output class="simplestring"

  method build_icon in=(vondt,bisdt)

  method build_classification_html in=(clint) optional=(kunnr)
  method build_classification_input_html in=(clint)
  method build_classification_print_html in=(clint)
  method build_atnamlist  in=(clint)
  method build_classification_values optional=(clint,kunnr)
  method build_myiclass optional=(clint,kunnr)
  method build_classification_total_html in=(clint)

  method build_longtext_html in=(klart,class)
  method build_my_iclass in=(klart,class)

  method build_clistpercentage in=(clistcount,clistcompleted)




endclass














