ZEXP((U App.ProductqUProductqtqNt.}q(UidqU TimeTrackerqU__ac_local_roles__q}qUsysadmq ]q UOwnerq asUTimeSheet_factoryq (Uq (U App.FactoryqUFactoryqttQU_objectsq(}q(U meta_typeqUZ ClassqUidqUTaskqu}q(hU DTML MethodqhU Task_addFormqu}q(hhhUTask_addqu}q(hUZope PermissionqhUTask_add_permissionqu}q(hU Zope FactoryqhU Task_factoryq u}q!(U meta_typeq"UZ Classq#Uidq$U TimeSheetq%u}q&(h"U DTML Methodq'h$UTimeSheet_addFormq(u}q)(h"h'h$U TimeSheet_addq*u}q+(h"UZope Permissionq,h$UTimeSheet_add_permissionq-u}q.(h"U Zope Factoryq/h$UTimeSheet_factoryq0u}q1(U meta_typeq2UZ Classq3Uidq4U TimeTrackerq5u}q6(h2U DTML Methodq7h4UTimeTracker_addFormq8u}q9(h2h7h4UTimeTracker_addq:u}q;(h2UZope Permissionq(h2U Zope Factoryq?h4UTimeTracker_factoryq@u}qA(U meta_typeqBU Product HelpqCUidqDUHelpqEutUTimeSheet_add_permissionqF(UqG(UApp.PermissionqHU PermissionqIttQhE(UqJ(UHelpSys.HelpSysqKU ProductHelpqLttQUversionqMU0.0.2qNU Task_factoryqO(UqP(hUFactoryqQttQh8(UqR(UOFS.DTMLMethodqSU DTMLMethodqTttQU TimeTrackerqU(UqV(UZClasses.ZClassqWUZClassqXttQU TimeSheet_addqY(UqZ(hSU DTMLMethodq[ttQh=(Uq\(hHU Permissionq]ttQUTimeSheet_addFormq^(Uq_(hSU DTMLMethodq`ttQU Task_addFormqa(Uqb(hSU DTMLMethodqcttQUTask_addqd(Uqe(hSU DTMLMethodqfttQh@(Uqg(hUFactoryqhttQU TimeSheetqi(Uqj(hWUZClassqkttQUconfigurable_objects_ql]qmUTaskqn(Uqo(hWUZClassqpttQh:(Uqq(hSU DTMLMethodqrttQUtitleqsUUTask_add_permissionqt(Uqu(hHU PermissionqvttQu.((U App.FactoryqUFactoryqtqNt.}q(UtitleqUTimeSheet factoryqUidqUTimeSheet_factoryqU__ac_local_roles__q }q Upeteq ]q UOwnerq asUinitialqUTimeSheet_addFormqU object_typeqU TimeSheetqU permissionqUAdd TimeSheetsqu.((UApp.PermissionqU PermissionqtqNt.}q(UtitleqU TimeSheet constructor permissionqUidqUTimeSheet_add_permissionqUnameq UAdd TimeSheetsq U__ac_local_roles__q }q Upeteq ]qUOwnerqasu.((UHelpSys.HelpSysqU ProductHelpqtqNt.}q(UtitleqU TimeTrackerqUcatalogq(Uq(UProducts.ZCatalog.ZCatalogq UZCatalogq ttQUidq UHelpq u.((U App.FactoryqUFactoryqtqNt.}q(UtitleqU Task factoryqUidqU Task_factoryqU__ac_local_roles__q }q Upeteq ]q UOwnerq asUinitialqU Task_addFormqU object_typeqUTaskqU permissionqU Add Tasksqu.&((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqU"TimeTracker constructor input formqU__name__qUTimeTracker_addFormqU__ac_local_roles__q }q Upeteq ]q UOwnerq asUglobalsq}qUrawqTO Add TimeTracker

Add TimeTracker

Id
qU_varsq}qu.((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU"_Create_class_instances_Permissionq U_Add_TimeTrackers_Permissionq sbU_zclass_propertysheets_classq Uq QUidq U TimeTrackerqU_zbasesq]q(cZClasses.ZClass ZObject qcProducts.ZCatalog _ZClass_for_CatalogAware qcZClasses.ObjectManager ZObjectManager qeU__ac_local_roles__q}qUpeteq]qUOwnerqasU_zclass_qUqQUtitleqUUpropertysheetsqUqQu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUTimeSheet constructorqU__name__qU TimeSheet_addqU__ac_local_roles__q }q Upeteq ]q UOwnerq asUglobalsq}qUrawqT First we cook up an id. In this case Person+yyyy+mm+dd The person plus date (less '/') We add the new object by calling the class in a with tag. Not only does this get the thing added, it adds the new thing's attributes to the DTML name space, so we can call methods to initialize the object. You can ad code that modifies the new instance here. For example, if you have a property sheet that you want to update from form values, you can call it here: Now we need to return something. We do this via a redirect so that the URL is correct. Unfortunately, the way we do this depends on whether we live in a product or in a class. If we live in a product, we need to use DestinationURL to decide where to go. If we live in a class, DestinationURL won't be available, so we use URL2. qU_varsq}qu.((UApp.PermissionqU PermissionqtqNt.}q(UtitleqU"TimeTracker constructor permissionqUidqUTimeTracker_add_permissionqUnameq UAdd TimeTrackersq U__ac_local_roles__q }q Upeteq ]qUOwnerqasu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqU Add TimeSheetqU__name__qUTimeSheet_addFormqU__ac_local_roles__q }q Upeteq ]q UOwnerq asUglobalsq}qUrawqT

Add TimeSheet


Back

Person
Start Date (yyyy/mm/dd)
qU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUAdd TaskqUrawqT,

Add TaskTime


Back

Account
Work Queue
Task
Description
Chargeable
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
qU__ac_local_roles__q }q Upeteq ]q UOwnerq asUglobalsq}qU__name__qU Task_addFormqU_varsq}qu.`((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUTask constructorqU__name__qUTask_addqU__ac_local_roles__q }q Upeteq ]q UOwnerq asUglobalsq}qUrawqT Add Task First we cook the id. Account+WorkQueue+Task (less White space in Task) We add the new object by calling the class in a with tag. Not only does this get the thing added, it adds the new thing's attributes to the DTML name space, so we can call methods to initialize the object. Set the total You can ad code that modifies the new instance here. For example, if you have a property sheet that you want to update from form values, you can call it here: Now we need to return something. We do this via a redirect so that the URL is correct. Unfortunately, the way we do this depends on whether we live in a product or in a class. If we live in a product, we need to use DestinationURL to decide where to go. If we live in a class, DestinationURL won't be available, so we use URL2. qU_varsq}qu.((U App.FactoryqUFactoryqtqNt.}q(UtitleqUTimeTracker factoryqUidqUTimeTracker_factoryqU__ac_local_roles__q }q Upeteq ]q UOwnerq asUinitialqUTimeTracker_addFormqU object_typeqU TimeTrackerqU permissionqUAdd TimeTrackersqu.((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU"_Create_class_instances_Permissionq U_Add_TimeSheets_Permissionq sbU_zclass_propertysheets_classq Uq QUidq U TimeSheetqU_zbasesq]q(cZClasses.ZClass ZObject qcProducts.ZCatalog _ZClass_for_CatalogAware qcZClasses.ObjectManager ZObjectManager qeU__ac_local_roles__q}qUpeteq]qUOwnerqasU_zclass_qUqQUtitleqUUpropertysheetsqUqQu.((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU"_Create_class_instances_Permissionq U_Add_Tasks_Permissionq sbU_zclass_propertysheets_classq Uq QUidq UTaskqU_zbasesq]q(cZClasses.ZClass ZObject qcProducts.ZCatalog _ZClass_for_CatalogAware qeU__ac_local_roles__q}qUpeteq]qUOwnerqasU_zclass_qUqQUtitleqUUpropertysheetsqUqQu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUTimeTracker constructorqU__name__qUTimeTracker_addqU__ac_local_roles__q }q Upeteq ]q UOwnerq asUglobalsq}qUrawqT Add TimeTracker We add the new object by calling the class in a with tag. Not only does this get the thing added, it adds the new thing's attributes to the DTML name space, so we can call methods to initialize the object. You can ad code that modifies the new instance here. For example, if you have a property sheet that you want to update from form values, you can call it here: Now we need to return something. We do this via a redirect so that the URL is correct. Unfortunately, the way we do this depends on whether we live in a product or in a class. If we live in a product, we need to use DestinationURL to decide where to go. If we live in a class, DestinationURL won't be available, so we use URL2. qU_varsq}qu.((UApp.PermissionqU PermissionqtqNt.}q(UtitleqUTask constructor permissionqUidqUTask_add_permissionqUnameq U Add Tasksq U__ac_local_roles__q }q Upeteq ]qUOwnerqasu.+((UProducts.ZCatalog.ZCatalogqUZCatalogqtqNt.}q(UidqUcatalogqU_objectsq(}q(U meta_typeq U Vocabularyq hh utq U thresholdq M'Uvocab_idq Nh (Uq(UProducts.ZCatalog.VocabularyqU VocabularyqttQU_catalogq(Uq(UProducts.ZCatalog.CatalogqUCatalogqttQUtitleqUu.(cExtensionClass ExtensionClass q(UTimeTracker_PropertySheetsClassq(cZClasses.ZClass PersistentClass qcZClasses.Property ZInstanceSheets qtq}q(UiconqUU _p_changedqKU__doc__q UTimeTracker Property Sheetsq U __module__q NU_p_oidq UNq utqt.N.(cExtensionClass ExtensionClass q(U TimeTrackerq(cZClasses.ZClass PersistentClass qcProducts.ZCatalog.CatalogAwareness CatalogAware qcZClasses.ObjectManager ObjectManager qcOFS.SimpleItem SimpleItem qtq}q(Uiconq UU _p_changedq KU__doc__q U TimeTrackerq U meta_typesq (}q(U permissionqUAdd TimeSheetsqUnameqU TimeSheetqUproductqU TimeTrackerqUactionqU/manage_addProduct/TimeTracker/TimeSheet_factoryqutqU_p_oidqUOqU meta_typeqU TimeTrackerqU delObjectsq(Uq(UZClasses.MethodqUMWpqttq QUpropertysheetsq!Uq"QU index_htmlq#(Uq$(hUMWpq%ttq&QUupdateq'(Uq((hUMWpq)tq*tq+QUmanage_optionsq,(}q-(Ulabelq.UViewq/Uactionq0U index_htmlq1u}q2(Ulabelq3UContentsq4Uactionq5U manage_mainq6utq7UisPrincipiaFolderishq8UYU__ac_permissions__q9((UAdd TimeTrackersq:)(UManagerq;tttqU __module__q?U*JXfQUrr4b4B5VhvonRES8w==q@utqAt.N.(UqQNt.}q(Ucommonq(Uq(UZClasses.PropertyqUZInstanceSheetsSheetqttqQUmethodsq(Uq (UZClasses.Methodq UZClassMethodsSheetq tq tq Qu.(cExtensionClass ExtensionClass q(UTimeSheet_PropertySheetsClassq(cZClasses.ZClass PersistentClass qcZClasses.Property ZInstanceSheets qtq}q(UiconqUU _p_changedqKU__doc__q UTimeSheet Property Sheetsq U__propset_attrs__q (Urecordq tq U_p_oidqU*qU __module__qNUrecordq(Uq(UZClasses.PropertyqUZInstanceSheetqtqtqQU _p_serialqU4|(qutqt.N..(cExtensionClass ExtensionClass q(U TimeSheetq(cZClasses.ZClass PersistentClass qcProducts.ZCatalog.CatalogAwareness CatalogAware qcZClasses.ObjectManager ObjectManager qcOFS.SimpleItem SimpleItem qtq}q(Uiconq UU _p_changedq KU__doc__q U TimeSheetq UdoChangeq (Uq(UZClasses.MethodqUMWpqttqQU delObjectsq(Uq(hUMWpqttqQUTimeSheetTotalqGU meta_typesq(}q(U permissionqU Add TasksqUnameqUTaskqUproductqU TimeTrackerqUactionqU*manage_addProduct/TimeTracker/Task_factoryq utq!U_p_oidq"U+q#U meta_typeq$U TimeSheetq%UisPrincipiaFolderishq&UYUpropertysheetsq'Uq(QU changeFormq)(Uq*(hUMWpq+ttq,QU index_htmlq-(Uq.(hUMWpq/ttq0QUupdateq1(Uq2(hUMWpq3ttq4QUmanage_optionsq5(}q6(Ulabelq7UViewq8Uactionq9U index_htmlq:u}q;(UlabelqU manage_mainq?u}q@(h7U PropertiesqAh9Upropertysheets/record/manageqBu}qC(hU manage_accessqEutqFUdisplayqG(UqH(hUMWpqIttqJQU__ac_permissions__qK((UAdd TimeSheetsqL)(UManagerqMtttqNUPersonqOUdefaultqPU _p_serialqQU5FݳqRU __module__qSU*RNxJ/jLYC3MJ/nRBBpycpQ==qTU StartDateqU(cDateTime.DateTime DateTime qVNoqW}qX(U_hourqYKU_dqZG@؜`U_fmonq[UJanuaryq\U_yearq]MU_pmonq^UJan.q_Utimeq`GU _dayoffsetqaKU_dayqbKU_adayqcUThuqdU_minuteqeKU_tqfGU_monthqgKU_pmqhUamqiU_secondqjGU_amonqkUJanqlU_fdayqmUThursdayqnU_pdayqoUThu.qpU_pmhourqqK U_tzqrUGMT+12qsU_nearsecqtGubU updateTotalqu(Uqv(hUMWpqwtqxtqyQutqzt.N.(UqQNt.}q(Ucommonq(Uq(UZClasses.PropertyqUZInstanceSheetsSheetqttqQUmethodsq(Uq (UZClasses.Methodq UZClassMethodsSheetq tq tq Qu.{(cExtensionClass ExtensionClass q(UTask_PropertySheetsClassq(cZClasses.ZClass PersistentClass qcZClasses.Property ZInstanceSheets qtq}q(UiconqUU _p_changedqKU__doc__q UTask Property Sheetsq U__propset_attrs__q (Urecordq tq U_p_oidqUqU __module__qNUrecordq(Uq(UZClasses.PropertyqUZInstanceSheetqtqtqQU _p_serialqU4| .qutqt.N.(cExtensionClass ExtensionClass q(UTaskq(cZClasses.ZClass PersistentClass qcProducts.ZCatalog.CatalogAwareness CatalogAware qcOFS.SimpleItem SimpleItem qtq}q(U _p_changedqKUSaturdayq GU WorkQueueq UUAccountq UU_p_oidq Uq U meta_typeqUTaskqUpropertysheetsqUqQU index_htmlq(Uq(UZClasses.MethodqUMWpqttqQUdisplayq(U q(hUMWpqttqQUTuesdayqGU__ac_permissions__q((U Add Tasksq)(UManagerqtttqUMondayq GU Descriptionq!UU TaskTotalq"GUiconq#UU _p_serialq$U5Fڙ|q%UdoChangeq&(U q'(hUMWpq(ttq)QUSundayq*GU changeFormq+(U q,(hUMWpq-tq.tq/QUmanage_optionsq0(}q1(Ulabelq2UViewq3Uactionq4U changeFormq5u}q6(Ulabelq7UValuesq8Uactionq9Upropertysheets/record/manageq:u}q;(UlabelqU manage_accessq?utq@UThursdayqAGU WednesdayqBGUFridayqCGU__doc__qDUTaskqEU ChargeableqFUUTaskqGUU __module__qHU*Ki/MyLrB2dUDfe9UsWCy8Q==qIutqJt.N.(U qQNt.}q(Ucommonq(U q(UZClasses.PropertyqUZInstanceSheetsSheetqttqQUmethodsq(Uq (UZClasses.Methodq UZClassMethodsSheetq tq tq Qu.((UProducts.ZCatalog.VocabularyqU VocabularyqtqNt.}q(UtitleqU VocabularyqUidqhU__ac_local_roles__q}q Umarkq ]q UOwnerq asUlexiconq (Uq(USearchIndex.GlobbingLexiconqUGlobbingLexiconqttQUglobbingqKu.((UProducts.ZCatalog.CatalogqUCatalogqtqNt.}q(Uschemaq}q(U permissionsqKU categoriesqKU title_or_idq KUidq KUurlq KuUdataq (Uq (UBTreeqUBTreeqttQUindexesq}q(USearchableTextq(Uq(USearchIndex.UnTextIndexqU UnTextIndexqttQh(Uq(USearchIndex.UnKeywordIndexqUUnKeywordIndexqttQh(Uq(hUUnKeywordIndexqttQuUnamesq(hhh h h tqUuidsq(Uq(UOIBTreeqUBTreeq ttQUlexiconq!U Vocabularyq"Upathsq#(Uq$(UIOBTreeq%UBTreeq&ttQu.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.(UqQNt.}q.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.(cExtensionClass ExtensionClass q(U TimeTracker_ZPropertySheetsClassq(cZClasses.ZClass PersistentClass qcOFS.PropertySheets PropertySheets qcZClasses.ObjectManager ZObjectManagerPropertySheets qcZClasses.ZClass ZClassSheets qcApp.PersistentExtra Persistent qtq}q (Uiconq UU _p_changedq KU__doc__q U TimeTracker_ZPropertySheetsClassq U __module__qNU_p_oidqUQqutqt.N.9((UZClasses.PropertyqUZInstanceSheetsSheetqtqNt.}q.((UZClasses.MethodqUZClassMethodsSheetqtqNt.}q(U_mdq}qU_objectsq(}q(U meta_typeq U DTML Methodq Uidq U index_html q u}q (U meta_typeqU DTML MethodqUidqU delObjects qu}q(U meta_typeqU DTML MethodqUidqUupdate quth Umethodsqu.((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qUidqUrecordqU_baseq (Uq (hU ZCommonSheetq tq tq Qu.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.(UqQNt.}q.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.(cExtensionClass ExtensionClass q(UTimeSheet_ZPropertySheetsClassq(cZClasses.ZClass PersistentClass qcOFS.PropertySheets PropertySheets qcZClasses.ObjectManager ZObjectManagerPropertySheets qcZClasses.ZClass ZClassSheets qcApp.PersistentExtra Persistent qtq}q (Uiconq UU _p_changedq KU__doc__q UTimeSheet_ZPropertySheetsClassq U __module__qNU_p_oidqU-qutqt.N.((UZClasses.PropertyqUZInstanceSheetsSheetqtqNt.}q(U_objectsq(}q(U meta_typeqUCommon Instance Property SheetqUidq Urecordq utUrecordq (Uq (UZClasses.Propertyq U ZCommonSheetqttqQu.((UZClasses.MethodqUZClassMethodsSheetqtqNt.}q(U_mdq}qU_objectsq(}q(U meta_typeq U DTML Methodq Uidq U index_html q u}q (U meta_typeqU DTML MethodqUidqU changeForm qu}q(U meta_typeqU DTML MethodqUidqU delObjects qu}q(U meta_typeqU DTML MethodqUidqU doChange qu}q(U meta_typeqU DTML MethodqUidqUdisplay q u}q!(U meta_typeq"U DTML Methodq#Uidq$Uupdate q%u}q&(U meta_typeq'U DTML Methodq(Uidq)U updateTotal q*utUidq+Umethodsq,u.((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qUidqUrecordqU_baseq (Uq (hU ZCommonSheetq tq tq Qu.(UqQNt.}q.X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ. X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ. X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ. X((UZClasses.MethodqUMWpqtqNt.(Uq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ. A(cExtensionClass ExtensionClass q(UTask_ZPropertySheetsClassq(cZClasses.ZClass PersistentClass qcOFS.PropertySheets PropertySheets qcZClasses.ZClass ZClassSheets qcApp.PersistentExtra Persistent qtq}q(Uiconq UU _p_changedq KU__doc__q UTask_ZPropertySheetsClassq U __module__q NU_p_oidqUqutqt.N. ((UZClasses.PropertyqUZInstanceSheetsSheetqtqNt.}q(U_objectsq(}q(U meta_typeqUCommon Instance Property SheetqUidq Urecordq utUrecordq (Uq (UZClasses.Propertyq U ZCommonSheetqttqQu.((UZClasses.MethodqUZClassMethodsSheetqtqNt.}q(U_mdq}qU_objectsq(}q(U meta_typeq U DTML Methodq Uidq U doChange q u}q (h h h U changeForm qu}q(U meta_typeqU DTML MethodqUidqUdisplay qu}q(U meta_typeqU DTML MethodqUidqU index_html qutUidqUmethodsqu.((USearchIndex.GlobbingLexiconqUGlobbingLexiconqtqNt.}q(U _inverseLexq(Uq(UIOBTreeqUBTreeqttQUcounterq KU_digramsq (Uq (UBTreeq UBTreeq ttQU_lexiconq(Uq(UOIBTreeqUBTreeqttQu.((UBTreeqUBTreeqtqNt.).((USearchIndex.UnTextIndexqU UnTextIndexqtqNt.}q(U ignore_exqNUidqUSearchableTextqU_indexq(Uq (UIOBTreeq UBTreeq ttQU_unindexq (Uq (h UBTreeqttQU_lexiconqU VocabularyqU call_methodsqNu.((USearchIndex.UnKeywordIndexqUUnKeywordIndexqtqNt.}q(U ignore_exqNUidqU categoriesqU_indexq(Uq (UBTreeq UBTreeq ttQU_unindexq (Uq (UIOBTreeqUBTreeqttQU call_methodsqNu.((USearchIndex.UnKeywordIndexqUUnKeywordIndexqtqNt.}q(U ignore_exqNUidqU permissionsqU_indexq(Uq (UBTreeq UBTreeq ttQU_unindexq (Uq (UIOBTreeqUBTreeqttQU call_methodsqNu.((UOIBTreeqUBTreeqtqNt.).((UIOBTreeqUBTreeqtqNt.).((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qU delObjectsqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqUg qU_varsq}qu.O((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qU index_htmlqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqT

BCMPpartners
Time Tracker

(Previous results) (Next results) class="tableShaded" >
Del Timesheet For Start Date (yyyy/mm/dd)
qU_varsq}qu.<((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qUupdateqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqT This method is for updating all the tasks in a TimeSheet. All the code to change the tasks should be within the doChange method of Task. Now redirect to the index. qU_varsq}qu.((UZClasses.PropertyqU ZCommonSheetqtqNt.}q(UtitleqUU_mdq}qUidqUrecordq U _propertiesq (}q (Umetaq }q hUPersonqUtypeqUstringqu}q(h }qhU StartDateqhUdatequ}q(Umetaq}qUidqUTimeSheetTotalqUtypeqUfloatqutu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qUdoChangeqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqT We must activate the changes. Now take us back to the index page. qU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qU delObjectsqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqUg qU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUChange TimeSheetqU__name__qU changeFormqU__ac_local_roles__q }q Upeteq ]q UOwnerq asUglobalsq}qUrawqT

Change TimeSheet


Back

The following properties are defined for this item. To change property values, edit the values and click "Save Changes".

(yyyy/mm/dd)
qU_varsq}qu. v((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qU index_htmlqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqT Remember blocks denote do not print. Set up the variable to hold the overall total.

BCMPpartners
Time Sheet

Back to TimeTracker

Week Beginning: (yyyy/mm/dd)
Person:



class="tableShaded" > Add the Task's total onto TimeSheetTotal Debugging uncomment to debug. TimeSheetTotal: TaskTotal:
Del WorkQueue Task Chbl Mon Tue Wed Thu Fri Sat Sun Total
  colspan="10" colspan="11" >Total
qU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qUupdateqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqT This method is for updating all the tasks in a TimeSheet. All the code to change the tasks should be within the doChange method of Task. Now redirect to the index. qU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qUdisplayqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqT This method must be called from within a table row. View qU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qU updateTotalqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqUU_varsq}qu.\((UZClasses.PropertyqU ZCommonSheetqtqNt.}q(UtitleqUU_mdq}qUidqUrecordq U _propertiesq (}q (Umetaq }q hUAccountqUtypeqUstringqu}q(h }qhU WorkQueueqhUstringqu}q(h }qhUTaskqhUstringqu}q(h }qhU DescriptionqhUtextqu}q(h }qhU ChargeableqhUbooleanq u}q!(h }q"hUMondayq#hUfloatq$u}q%(h }q&hUTuesdayq'hUfloatq(u}q)(h }q*hU Wednesdayq+hUfloatq,u}q-(h }q.hUThursdayq/hUfloatq0u}q1(h }q2hUFridayq3hUfloatq4u}q5(Umetaq6}q7Uidq8USaturdayq9Utypeq:Ufloatq;u}q<(h6}q=h8USundayq>h:Ufloatq?u}q@(UmetaqA}qBUidqCU TaskTotalqDUtypeqEUfloatqFutu. ((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qU index_htmlqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqUb qU_varsq}qu. $((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qUdisplayqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqT} This method must be called from within a table row. If you wish to filter any of the variables you just have to add them to a list called 'filter' in the REQUEST. View/
Change
  Yes No bgcolor="#EE8899" bgcolor="#FFAABB" > qU_varsq}qu.0((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qUdoChangeqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqT We need to activate the new data. Now we update the TimeSheet's TimeSheetTotal. We need to add up the time and store it in 'TaskTime'. Debugging code M: T: W: T: F: S: S: T: We need to activate the new total. Now we need to return something. We do this via a redirect so that the URL is correct. We want to go to the index now. So we use URL3. qU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUU__name__qU changeFormqU__ac_local_roles__q}q Upeteq ]q UOwnerq asUglobalsq }qUrawqT= This form is used to change the values of the TimeTask properties. It is passed a TimeTask via the this object.

Change Form


Back

The following properties are defined for this item. To change property values, edit the values and click "Save Changes".

Id
Account
Work Queue
Task
Description
Chargeable checked="on" >
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
qU_varsq}qu.((UIOBTreeqUBTreeqtqNt.).((UBTreeqUBTreeqtqNt.).((UOIBTreeqUBTreeqtqNt.).((UIOBTreeqUBTreeqtqNt.).((UIOBTreeqUBTreeqtqNt.).((UBTreeqUBTreeqtqNt.).((UIOBTreeqUBTreeqtqNt.).((UBTreeqUBTreeqtqNt.).((UIOBTreeqUBTreeqtqNt.).