﻿class clist assembly="s10cis"

  string id            uppercase="yes" maxsize=6
  string title
  string authorization  uppercase="yes" // SAP transaction authorization cismobile_xxxx
  string cuser       // created by
  date   cdate         // creation date
  string uuser        // updated by
  date   udate        // update date
  string  peruser     // for "my clients" of each user
  string  baseclist     // base clist id "=mc" mean my customers
  string active       // currently active
  string tileactive   // active as tile
  string activeusers    uppercase="yes" // visible for users ...
  string  genrule    // generation interval: per day, month etc.
  integer maxcount   // maximum customer count
  string comment
  string bysalesdescending // top sales customers (12 months)
  string addonexitname   uppercase="yes" maxsize=30 // further selection via add-on exit
  string addonexitparameters  // parameters for add-on exit
  string saleslimit1  // limit for sales 12 months - from
  string saleslimit2  // limit for sales 12 months - to
  string saleslimit3  // limit for sales 12 months one year ago - from
  string saleslimit4  // limit for sales 12 months one year ago - to
  string salesdiff1  // limit for sales difference - from
  string salesdiff2   // limit for sales difference - to
  string salesdiffperc1   // limit for sales difference % - from
  string salesdiffperc2   // limit for sales difference % - to
  string overdue1   // limit for overdue items - from
  string overdue2   // limit for overdue items - to




  string  where0      // condition for kna1, knb1, knvv
  string  where1      // condition for kna1, knb1, knvv
  string  where2      // condition for kna1, knb1, knvv
  string  where3      // condition for kna1, knb1, knvv
  string  where4      // condition for kna1, knb1, knvv
  string  where5      // condition for kna1, knb1, knvv
  string  where6      // condition for kna1, knb1, knvv
  string  where7      // condition for kna1, knb1, knvv
  string  where8      // condition for kna1, knb1, knvv
  string  where9      // condition for kna1, knb1, knvv

  // generation
  date gendate
  string gentime
  string genuser
  integer gencount
  integer genruntime
  string generror

  // upload
  string ufilename historyId="" // Dateiname beim Hochladen

  // class attributes and values
   string clattr0
  string clwhere0
  string clwhere100
  string clattr1
  string clwhere1
  string clwhere101
  string clattr2
  string clwhere2
  string clwhere102
  string clattr3
  string clwhere3
  string clwhere103
  string clattr4
  string clwhere4
  string clwhere104
  string clattr5
  string clwhere5
  string clwhere105
  string clattr6
  string clwhere6
  string clwhere106
  string clattr7
  string clwhere7
  string clwhere107
  string clattr8
  string clwhere8
  string clwhere108
  string clattr9
  string clwhere9
  string clwhere109



  // status
  string status  // update, new


  // derived attributes
  string active_html method="build_active_html"
  string active_html_yesno method="build_active_html_yesno"
  string tileactive_html method="build_tileactive_html"
  string tileactive_html_yesno method="build_tileactive_html_yesno"
  string peruser_html_icon method="build_peruser_html_icon"
  string peruser_html_yesno method="build_peruser_html_yesno"
  string bysalesdescending_html method=""build_bysalesdescending_html"
  string genrule_html method="build_genrule_html"
  string authorization_html method="build_authorization_html"
  string classification_html method="build_classification_html"
  string generror_html method="build_generror_html"
  string  where_html method="build_where_html"
  string dropdown_baseclist method="build_dropdown_baseclist"
  string baseclist_html method="build_baseclist_html"
  string partners_html method="build_partners_html"

  string customerlist_sort

  // language dependent titles
  folder titles class="dropdownitem"

  // partners
  folder partners class="clistpartners"

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

  // customers for test display
  folder customerlist class="customermini"

  // application object
  object mys10cis class="s10cis" method="build_mys10cis"

  // methods
  method build_active_html optional=(active)
  method build_active_htmlyesno optional=(active)
  method build_tileactive_html optional=(tileactive)
  method build_tileactive_htmlyesno optional=(tileactive)
  method build_peruser_html_icon optional=(peruser)
  method build_peruser_html_yesno optional=(peruser)
  method build_bysalesdescending_html optional=(bysalesdescending)
  method build_genrule_html optional=(genrule)
  method build_authorization_html optional=(authorization)
  method build_generror_html optional=(generror)
  method build_classification_html optional=(clattr0,clwhere0,clattr1,clwhere1,clattr2,clwhere2,clattr3,clwhere3,clattr4,clwhere4,clattr5,clwhere5,clattr6,clwhere6,clattr7,clwhere7,clattr8,clwhere8,clattr9,clwhere9)
  method build_mys10cis
  method buld_where_html optional=(where0,where1,where2,where3,where4,where5,where6,where7,where8,where9)
  method build_dropdown_baseclist
  method build_baseclist_html in=(baseclist)
  method build_partners_html in=(partners)

  endclass
























