There is more to this code but what is 'calendar.holiday' and where can I find this file!!!???Code:from com.pplus.workflow.server import WFSystem from com.pplus.util import SystemLog, PropertiesUtils from com.pplus.db import DBUtils import java SystemLog.logMessage( 'DumpPublicHolidays extension - dumping public holidays to database table', SystemLog.ADVICE ) db = WFSystem.getDatabase( dbName ) conn, stmt = None, None try: conn = db.getConnection() # clear the table stmt = conn.createStatement() stmt.executeUpdate( deleteSQL ) # now need to parse the holiday details from the system props (since the business calendar isn't accessible) props = WFSystem.getProperties() holProps = PropertiesUtils.getSubSections( props, 'calendar.holiday' ) ... ...
Any clues would be appreciated!


Reply With Quote
