ipp_quickbase_devkit 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +87 -0
- data/README.rdoc +112 -0
- data/doc/QuickBaseClient.rb.htm +1896 -0
- data/doc/ReleaseNotes.txt +43 -0
- data/doc/qbc.makeCSVFile.qbc +4 -0
- data/doc/qbc.makeCSVFile.rb +4 -0
- data/doc/quickbase_adapter.rb.htm +399 -0
- data/examples/cookbookfiles/QuickBaseAPICookbook.html +2590 -0
- data/examples/cookbookfiles/addChangeRemoveUserRole.rb +21 -0
- data/examples/cookbookfiles/addOrEditRecord.rb +10 -0
- data/examples/cookbookfiles/application_object.rb +55 -0
- data/examples/cookbookfiles/applyRubyFormulas.rb +10 -0
- data/examples/cookbookfiles/average.rb +27 -0
- data/examples/cookbookfiles/backupApplication.rb +8 -0
- data/examples/cookbookfiles/cacheSchemas.rb +53 -0
- data/examples/cookbookfiles/calculateRunningTotals.rb +11 -0
- data/examples/cookbookfiles/copyrecords.rb +73 -0
- data/examples/cookbookfiles/count.rb +26 -0
- data/examples/cookbookfiles/createRecordNavigatorHTML.rb +42 -0
- data/examples/cookbookfiles/createReportDashboard.rb +35 -0
- data/examples/cookbookfiles/createTable.rb +12 -0
- data/examples/cookbookfiles/deviation.rb +25 -0
- data/examples/cookbookfiles/downloadCookbook.rb +97 -0
- data/examples/cookbookfiles/downloadFile.rb +10 -0
- data/examples/cookbookfiles/downloadFilesToFolder.rb +81 -0
- data/examples/cookbookfiles/downloadToTextFile.rb +64 -0
- data/examples/cookbookfiles/dumpSchema.rb +11 -0
- data/examples/cookbookfiles/duplicateRecord.rb +8 -0
- data/examples/cookbookfiles/dynamicMethods.rb +33 -0
- data/examples/cookbookfiles/editRecords.rb +15 -0
- data/examples/cookbookfiles/findJohnsLast10Records.rb +17 -0
- data/examples/cookbookfiles/findRubyRecords.rb +17 -0
- data/examples/cookbookfiles/formatCurrency.rb +24 -0
- data/examples/cookbookfiles/formatDate.rb +10 -0
- data/examples/cookbookfiles/formatDuration.rb +27 -0
- data/examples/cookbookfiles/formatPercent.rb +24 -0
- data/examples/cookbookfiles/getAllValuesForFields.rb +18 -0
- data/examples/cookbookfiles/getAppDTMInfo.rb +29 -0
- data/examples/cookbookfiles/getApplicationVariable.rb +5 -0
- data/examples/cookbookfiles/getChildTableDBID.rb +11 -0
- data/examples/cookbookfiles/getColumnListForReport.rb +6 -0
- data/examples/cookbookfiles/getFieldChoices.rb +13 -0
- data/examples/cookbookfiles/getFieldIDs.rb +6 -0
- data/examples/cookbookfiles/getFieldNames.rb +6 -0
- data/examples/cookbookfiles/getLastModTime.rb +8 -0
- data/examples/cookbookfiles/getLastRecModTime.rb +8 -0
- data/examples/cookbookfiles/getNumRecords.rb +8 -0
- data/examples/cookbookfiles/getNumTables.rb +4 -0
- data/examples/cookbookfiles/getRecord.rb +5 -0
- data/examples/cookbookfiles/getRecordDisplayURL.rb +13 -0
- data/examples/cookbookfiles/getRecordsAddedToday.rb +20 -0
- data/examples/cookbookfiles/getRecordsAsJSON.rb +6 -0
- data/examples/cookbookfiles/getReportNames.rb +25 -0
- data/examples/cookbookfiles/getRoleInfo.rb +48 -0
- data/examples/cookbookfiles/getServerStatus.rb +11 -0
- data/examples/cookbookfiles/getSortListForReport.rb +6 -0
- data/examples/cookbookfiles/getTableIDs.rb +6 -0
- data/examples/cookbookfiles/getTableName.rb +8 -0
- data/examples/cookbookfiles/getTableNames.rb +25 -0
- data/examples/cookbookfiles/getTimeCreated.rb +8 -0
- data/examples/cookbookfiles/getTimeInMilliseconds.rb +5 -0
- data/examples/cookbookfiles/getUserInfo.rb +26 -0
- data/examples/cookbookfiles/getUserRole.rb +15 -0
- data/examples/cookbookfiles/intranet.rb +101 -0
- data/examples/cookbookfiles/isAverageField.rb +17 -0
- data/examples/cookbookfiles/isDbidString.rb +8 -0
- data/examples/cookbookfiles/isTotalField.rb +16 -0
- data/examples/cookbookfiles/iterateDBPages.rb +8 -0
- data/examples/cookbookfiles/iterateFilteredRecords.rb +12 -0
- data/examples/cookbookfiles/iterateJoinRecords.rb +68 -0
- data/examples/cookbookfiles/iterateRecordInfos.rb +8 -0
- data/examples/cookbookfiles/iterateRecords.rb +23 -0
- data/examples/cookbookfiles/iterateSummaryRecords.rb +13 -0
- data/examples/cookbookfiles/iterateUnionRecords.rb +38 -0
- data/examples/cookbookfiles/listAccessibleApplications.rb +6 -0
- data/examples/cookbookfiles/logRequestAndResponseXML.rb +8 -0
- data/examples/cookbookfiles/lookupFieldPropertyByName.rb +62 -0
- data/examples/cookbookfiles/lookupFieldTypeByName.rb +10 -0
- data/examples/cookbookfiles/makeCSVFile.rb +4 -0
- data/examples/cookbookfiles/makeSlideShow.rb +42 -0
- data/examples/cookbookfiles/makerecs.rb +64 -0
- data/examples/cookbookfiles/max.rb +26 -0
- data/examples/cookbookfiles/min.rb +26 -0
- data/examples/cookbookfiles/percent.rb +29 -0
- data/examples/cookbookfiles/printChildElements.rb +54 -0
- data/examples/cookbookfiles/printNewRecords.rb +12 -0
- data/examples/cookbookfiles/processRESTRequest.rb +21 -0
- data/examples/cookbookfiles/provisionAndInviteNewUser.rb +13 -0
- data/examples/cookbookfiles/purgeRecords.rb +15 -0
- data/examples/cookbookfiles/quickbase_adapter.rb.htm +397 -0
- data/examples/cookbookfiles/quickbase_record_finder.zip +0 -0
- data/examples/cookbookfiles/recordAndFieldIterator.rb +24 -0
- data/examples/cookbookfiles/runImport.rb +9 -0
- data/examples/cookbookfiles/runQuickBaseTwitterConnector.rb +41 -0
- data/examples/cookbookfiles/sendToQuickBase.rb +33 -0
- data/examples/cookbookfiles/setDBvar.rb +6 -0
- data/examples/cookbookfiles/showRequestAndResponseXML.rb +8 -0
- data/examples/cookbookfiles/sqlQuery.rb +11 -0
- data/examples/cookbookfiles/stopOnError.rb +10 -0
- data/examples/cookbookfiles/sum.rb +26 -0
- data/examples/cookbookfiles/twitterFromQuickBase.rb +42 -0
- data/examples/cookbookfiles/twitterWithQuickBase.rb +36 -0
- data/examples/cookbookfiles/uploadCSVData.rb +20 -0
- data/examples/cookbookfiles/uploadExcelData.rb +22 -0
- data/examples/cookbookfiles/uploadFileEveryHour.rb +18 -0
- data/examples/cookbookfiles/uploadFileIntoNewRecord.rb +8 -0
- data/examples/cookbookfiles/uploadFilesFromFolder.exe +0 -0
- data/examples/cookbookfiles/uploadFilesFromFolder.rb +69 -0
- data/examples/cookbookfiles/useCompanyURL.rb +12 -0
- data/examples/cookbookfiles/userRoles.rb +49 -0
- data/examples/cookbookfiles/watchCommunityForum.rb +5 -0
- data/examples/cookbookfiles/wikifyTable.rb +29 -0
- data/examples/cookbookfiles/xmlShortcuts.rb +33 -0
- data/examples/pmp/app/controllers/application.rb +7 -0
- data/examples/pmp/app/controllers/contacts_controller.rb +8 -0
- data/examples/pmp/app/controllers/document_library_controller.rb +2 -0
- data/examples/pmp/app/controllers/issues_controller.rb +5 -0
- data/examples/pmp/app/controllers/projects_controller.rb +22 -0
- data/examples/pmp/app/controllers/resources_controller.rb +2 -0
- data/examples/pmp/app/controllers/tasks_controller.rb +13 -0
- data/examples/pmp/app/controllers/time_cards_controller.rb +5 -0
- data/examples/pmp/app/helpers/application_helper.rb +3 -0
- data/examples/pmp/app/helpers/contacts_helper.rb +2 -0
- data/examples/pmp/app/helpers/document_library_helper.rb +2 -0
- data/examples/pmp/app/helpers/issues_helper.rb +2 -0
- data/examples/pmp/app/helpers/projects_helper.rb +2 -0
- data/examples/pmp/app/helpers/resources_helper.rb +2 -0
- data/examples/pmp/app/helpers/tasks_helper.rb +2 -0
- data/examples/pmp/app/helpers/time_cards_helper.rb +2 -0
- data/examples/pmp/app/models/contacts.rb +26 -0
- data/examples/pmp/app/models/document_library.rb +2 -0
- data/examples/pmp/app/models/issues.rb +6 -0
- data/examples/pmp/app/models/projects.rb +26 -0
- data/examples/pmp/app/models/resources.rb +2 -0
- data/examples/pmp/app/models/tasks.rb +12 -0
- data/examples/pmp/app/models/time_cards.rb +7 -0
- data/examples/pmp/app/schemas/contacts.xml +1 -0
- data/examples/pmp/app/schemas/document_library.xml +1 -0
- data/examples/pmp/app/schemas/issues.xml +1 -0
- data/examples/pmp/app/schemas/pmp.xml +1 -0
- data/examples/pmp/app/schemas/projects.xml +1 -0
- data/examples/pmp/app/schemas/readme.txt +8 -0
- data/examples/pmp/app/schemas/resources.xml +1 -0
- data/examples/pmp/app/schemas/tasks.xml +1 -0
- data/examples/pmp/app/schemas/time_cards.xml +1 -0
- data/examples/pmp/app/views/contacts/companies.rhtml +31 -0
- data/examples/pmp/app/views/contacts/project_contacts.rhtml +31 -0
- data/examples/pmp/app/views/issues/filter_issues.rhtml +26 -0
- data/examples/pmp/app/views/layouts/application.rhtml +56 -0
- data/examples/pmp/app/views/projects/all_projects.rhtml +33 -0
- data/examples/pmp/app/views/projects/home.rhtml +11 -0
- data/examples/pmp/app/views/projects/my_open_projects.rhtml +27 -0
- data/examples/pmp/app/views/projects/open_projects.rhtml +44 -0
- data/examples/pmp/app/views/projects/project_sorted_by_company.rhtml +40 -0
- data/examples/pmp/app/views/projects/projects_sorted_by_priority.rhtml +30 -0
- data/examples/pmp/app/views/projects/updated_projects.rhtml +0 -0
- data/examples/pmp/app/views/tasks/all_tasks.rhtml +27 -0
- data/examples/pmp/app/views/tasks/search.rhtml +23 -0
- data/examples/pmp/app/views/tasks/search2.rhtml +23 -0
- data/examples/pmp/app/views/tasks/search3.rhtml +23 -0
- data/examples/pmp/app/views/time_cards/summary.rhtml +38 -0
- data/examples/pmp/config/boot.rb +45 -0
- data/examples/pmp/config/database.yml +30 -0
- data/examples/pmp/config/environment.rb +60 -0
- data/examples/pmp/config/environments/development.rb +21 -0
- data/examples/pmp/config/environments/production.rb +18 -0
- data/examples/pmp/config/environments/test.rb +19 -0
- data/examples/pmp/config/routes.rb +23 -0
- data/examples/pmp/db/migrate/001_create_projects.rb +10 -0
- data/examples/pmp/db/migrate/002_create_tasks.rb +10 -0
- data/examples/pmp/db/migrate/003_create_issues.rb +10 -0
- data/examples/pmp/db/migrate/004_create_document_libraries.rb +10 -0
- data/examples/pmp/db/migrate/005_create_resources.rb +10 -0
- data/examples/pmp/db/migrate/006_create_time_cards.rb +10 -0
- data/examples/pmp/db/migrate/007_create_contacts.rb +10 -0
- data/examples/pmp/public/404.html +30 -0
- data/examples/pmp/public/500.html +30 -0
- data/examples/pmp/public/app.index.html +277 -0
- data/examples/pmp/public/dispatch.cgi +10 -0
- data/examples/pmp/public/dispatch.fcgi +24 -0
- data/examples/pmp/public/dispatch.rb +10 -0
- data/examples/pmp/public/favicon.ico +0 -0
- data/examples/pmp/public/images/rails.png +0 -0
- data/examples/pmp/public/javascripts/application.js +2 -0
- data/examples/pmp/public/javascripts/controls.js +833 -0
- data/examples/pmp/public/javascripts/dragdrop.js +942 -0
- data/examples/pmp/public/javascripts/effects.js +1088 -0
- data/examples/pmp/public/javascripts/prototype.js +2515 -0
- data/examples/pmp/public/robots.txt +1 -0
- data/examples/pmp/test/fixtures/contacts.yml +5 -0
- data/examples/pmp/test/fixtures/document_libraries.yml +5 -0
- data/examples/pmp/test/fixtures/issues.yml +5 -0
- data/examples/pmp/test/fixtures/projects.yml +5 -0
- data/examples/pmp/test/fixtures/resources.yml +5 -0
- data/examples/pmp/test/fixtures/tasks.yml +5 -0
- data/examples/pmp/test/fixtures/time_cards.yml +5 -0
- data/examples/pmp/test/functional/contacts_controller_test.rb +18 -0
- data/examples/pmp/test/functional/document_library_controller_test.rb +18 -0
- data/examples/pmp/test/functional/issues_controller_test.rb +18 -0
- data/examples/pmp/test/functional/projects_controller_test.rb +18 -0
- data/examples/pmp/test/functional/resources_controller_test.rb +18 -0
- data/examples/pmp/test/functional/tasks_controller_test.rb +18 -0
- data/examples/pmp/test/functional/time_cards_controller_test.rb +18 -0
- data/examples/pmp/test/test_helper.rb +28 -0
- data/examples/pmp/test/unit/contacts_test.rb +10 -0
- data/examples/pmp/test/unit/document_library_test.rb +10 -0
- data/examples/pmp/test/unit/issues_test.rb +10 -0
- data/examples/pmp/test/unit/projects_test.rb +10 -0
- data/examples/pmp/test/unit/resources_test.rb +10 -0
- data/examples/pmp/test/unit/tasks_test.rb +10 -0
- data/examples/pmp/test/unit/time_cards_test.rb +10 -0
- data/lib/QuickBaseClient.rb +5054 -0
- data/lib/QuickBaseCommandLineClient.rb +401 -0
- data/lib/QuickBaseContactsAppBuilder.rb +419 -0
- data/lib/QuickBaseEmailer.rb +334 -0
- data/lib/QuickBaseEventNotifier.rb +592 -0
- data/lib/QuickBaseMisc.rb +96 -0
- data/lib/QuickBaseObjects.rb +566 -0
- data/lib/QuickBaseRSSGenerator.rb +286 -0
- data/lib/QuickBaseTextData.rb +545 -0
- data/lib/QuickBaseTwitterConnector.rb +300 -0
- data/lib/QuickBaseWebClient.rb +126 -0
- data/lib/WorkPlaceClient.rb +45 -0
- data/lib/qbc.makeCSVFile.qbc +4 -0
- data/lib/qbc.makeCSVFile.rb +17 -0
- data/lib/quickbase_adapter.rb +320 -0
- data/lib/runFieldEntryDialog.rb +151 -0
- data/lib/runOfflineFieldEntryDialog.rb +203 -0
- data/rakefile +100 -0
- data/test/run_tests.bat +7 -0
- data/test/spec_all_tests.rb +13 -0
- data/test/spec_smoke_tests.rb +58 -0
- data/test/spec_workplace_addrecord_test.rb +46 -0
- data/test/spec_workplace_base_test.rb +57 -0
- data/test/spec_workplace_editrecord_test.rb +38 -0
- data/test/spec_workplace_json_test.rb +38 -0
- data/test/spec_workplace_objects_test.rb +39 -0
- data/test/spec_workplace_smoke_tests.rb +45 -0
- metadata +353 -0
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'QuickBaseclient'
|
2
|
+
|
3
|
+
qbc = QuickBase::Client.new(ENV["quickbase_username"],ENV["quickbase_password"])
|
4
|
+
|
5
|
+
dbid = "bdeapkrmj"
|
6
|
+
baseURL = "https://www.quickbase.com/db/#{dbid}?a=dr&rid="
|
7
|
+
links = {}
|
8
|
+
|
9
|
+
# collect all the possible links in the table using the values in a particular text field
|
10
|
+
qbc.iterateRecords(dbid,["Record ID#","tag"]){|record|
|
11
|
+
if record["tag"] and record["tag"].length > 0
|
12
|
+
links[record["tag"]] = "<a href='#{baseURL}#{record["Record ID#"]}&rl=rfe'>#{record['tag']}</a>"
|
13
|
+
end
|
14
|
+
}
|
15
|
+
|
16
|
+
# loop through all the values in a particular HTML text field and insert links to other records
|
17
|
+
if links.length > 0
|
18
|
+
qbc.iterateRecords(dbid,["Record ID#","text"]){|record|
|
19
|
+
newText = record["text"].dup
|
20
|
+
newText.gsub!("<BR/>","")
|
21
|
+
links.each{|tag,url|
|
22
|
+
newText.gsub!(url,tag) # remove existing link so we don't duplicate it
|
23
|
+
newText.gsub!(tag,url)
|
24
|
+
}
|
25
|
+
qbc.clearFieldValuePairList
|
26
|
+
qbc.addFieldValuePair("text",nil,nil,newText)
|
27
|
+
qbc.editRecord(dbid,record["Record ID#"],qbc.fvlist)
|
28
|
+
}
|
29
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
require 'QuickbaseClient'
|
3
|
+
|
4
|
+
qbc = QuickBase::Client.new
|
5
|
+
|
6
|
+
qbc.getSchema("bbqm84dzy")
|
7
|
+
puts "\n\nSchema information for QuickBase Community Forum application:\n\n"
|
8
|
+
|
9
|
+
puts "Application dbid: #{qbc.xml_app_id}"
|
10
|
+
puts "Application description: #{qbc.xml_desc}"
|
11
|
+
puts "XML for list of child tables: #{qbc.xml_chdbids}"
|
12
|
+
puts "Last child table dbid: #{qbc.xml_chdbid}"
|
13
|
+
puts "Application variables: #{qbc.xml_variables}"
|
14
|
+
|
15
|
+
qbc.getSchema("8emtadvk")
|
16
|
+
puts "\n\nSchema information for QuickBase Community Forum Messages table:\n\n"
|
17
|
+
|
18
|
+
puts "Table name: #{qbc.xml_table.elements['name'].text}"
|
19
|
+
puts "Field 1 name: #{qbc.xml_field('1').label}"
|
20
|
+
puts "Field 2 name: #{qbc.xml_field('id','2').label}"
|
21
|
+
puts "Field 3 reuired?: #{qbc.xml_field('3').required == 1}"
|
22
|
+
puts "Query 2 criteria: #{qbc.xml_query('2').qycrit}"
|
23
|
+
puts "XML for Query 1: #{qbc.xml_query('1')}"
|
24
|
+
puts "Name for Query 1: #{qbc.xml_query('1').qyname}"
|
25
|
+
puts "Next Record #ID will be: #{qbc.xml_next_record_id}"
|
26
|
+
|
27
|
+
qbc.getRecordInfo("8emtadvk","24105")
|
28
|
+
puts "\n\nInfo from Record 24105:\n\n"
|
29
|
+
|
30
|
+
puts "Number of fields in record: #{qbc.xml_num_fields}"
|
31
|
+
puts "XML of last field: #{qbc.xml_field}"
|
32
|
+
puts "ID of last field: #{qbc.xml_field.fid}"
|
33
|
+
puts "Name of last field: #{qbc.xml_field.elements['name'].text}"
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Filters added to this controller apply to all controllers in the application.
|
2
|
+
# Likewise, all the methods added will be available for all controllers.
|
3
|
+
|
4
|
+
class ApplicationController < ActionController::Base
|
5
|
+
# Pick a unique cookie name to distinguish our session data from others'
|
6
|
+
session :session_key => '_pmp_session_id'
|
7
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
class ProjectsController < ApplicationController
|
2
|
+
def home
|
3
|
+
end
|
4
|
+
def all_projects
|
5
|
+
@projects, @reportColumns = Projects.all_projects
|
6
|
+
end
|
7
|
+
def my_open_projects
|
8
|
+
@projects = Projects.my_open_projects
|
9
|
+
end
|
10
|
+
def open_projects
|
11
|
+
@projects = Projects.open_projects
|
12
|
+
end
|
13
|
+
def project_sorted_by_company
|
14
|
+
@projects = Projects.project_sorted_by_company
|
15
|
+
end
|
16
|
+
def projects_sorted_by_priority
|
17
|
+
@projects = Projects.projects_sorted_by_priority
|
18
|
+
end
|
19
|
+
def updated_projects
|
20
|
+
@projects, @reportColumns = Projects.updated_projects
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class TasksController < ApplicationController
|
2
|
+
def all_tasks
|
3
|
+
end
|
4
|
+
def search
|
5
|
+
@tasks = Tasks.search(params[:s])
|
6
|
+
end
|
7
|
+
def search2
|
8
|
+
@tasks = Tasks.search2(params[:status])
|
9
|
+
end
|
10
|
+
def search3
|
11
|
+
@tasks = Tasks.search3(params[:status])
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class Contacts < ActiveRecord::Base
|
2
|
+
def self.project_contacts
|
3
|
+
|
4
|
+
projectsTablesAndFields = {}
|
5
|
+
projectsTablesAndFields["dbid"] = connection.setActiveTable("Projects")
|
6
|
+
projectsTablesAndFields["fields"] = Array["Company","Project Name"]
|
7
|
+
projectsTablesAndFields["joinfield"] = "Company"
|
8
|
+
|
9
|
+
contactsTablesAndFields = {}
|
10
|
+
contactsTablesAndFields["dbid"] = connection.setActiveTable("Contacts")
|
11
|
+
contactsTablesAndFields["fields"] = Array["Name","Company","Title","E-mail Address"]
|
12
|
+
contactsTablesAndFields["joinfield"] = "Company"
|
13
|
+
|
14
|
+
connection.raw_connection.getJoinRecords([projectsTablesAndFields,contactsTablesAndFields])
|
15
|
+
|
16
|
+
end
|
17
|
+
def self.companies
|
18
|
+
projects = {}
|
19
|
+
contacts = {}
|
20
|
+
projects["dbid"] = connection.setActiveTable("Projects")
|
21
|
+
contacts["dbid"] = connection.setActiveTable("Contacts")
|
22
|
+
tables = Array[projects,contacts]
|
23
|
+
fields = Array["Company"]
|
24
|
+
connection.raw_connection.getUnionRecords(tables,fields)
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class Projects < ActiveRecord::Base
|
2
|
+
def self.all_projects
|
3
|
+
projects = find_by_sql("All Projects")
|
4
|
+
reportFields = connection.raw_connection.clist.split('.')
|
5
|
+
return projects, reportFields
|
6
|
+
end
|
7
|
+
def self.my_open_projects
|
8
|
+
find_by_sql("My Open Projects")
|
9
|
+
end
|
10
|
+
def self.open_projects
|
11
|
+
find_by_sql("Open Projects")
|
12
|
+
end
|
13
|
+
def self.project_sorted_by_company
|
14
|
+
find_by_sql("Project Sorted By Company")
|
15
|
+
end
|
16
|
+
def self.projects_sorted_by_priority
|
17
|
+
dbid = connection.setActiveTable( "Projects" )
|
18
|
+
qbAPIcommand = %q{ getAllValuesForFieldsAsArray(dbid,nil,nil,nil,"Projects Sorted By Priority") }
|
19
|
+
connection.execute(qbAPIcommand)
|
20
|
+
end
|
21
|
+
def self.updated_projects
|
22
|
+
projects = find_by_sql("Updated Projects")
|
23
|
+
reportFields = connection.raw_connection.clist.split('.')
|
24
|
+
return projects, reportFields
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class Tasks < ActiveRecord::Base
|
2
|
+
def self.search(searchString)
|
3
|
+
searchString.gsub!("'","")
|
4
|
+
find_by_sql("{'0'.CT.'#{searchString}'}")
|
5
|
+
end
|
6
|
+
def self.search2(status)
|
7
|
+
find_by_sql("SELECT * FROM Tasks WHERE Status = '#{status}'")
|
8
|
+
end
|
9
|
+
def self.search3(status)
|
10
|
+
find_all_by_status(status)
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
class TimeCards < ActiveRecord::Base
|
2
|
+
def self.summary
|
3
|
+
dbid = connection.setActiveTable("Time Cards")
|
4
|
+
fieldNames = Array["Project Name","Week Starting On","Sun","Mon","Tue","Wed","Thu","Fri","Sat","Weekly Total"]
|
5
|
+
connection.raw_connection.getAllValuesForFieldsAsArray( dbid, fieldNames )
|
6
|
+
end
|
7
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version='1.0'?><qdbapi><action>API_getSchema</action><errcode>0</errcode><errtext>No error</errtext> <table> <name>Contacts</name> <original> <table_id>bcw7qd9ar</table_id> <cre_date>1190693829546</cre_date> <mod_date>1190693829936</mod_date> <next_record_id>7</next_record_id> <next_field_id>17</next_field_id> <next_query_id>6</next_query_id> <def_sort_fid>2</def_sort_fid> <def_sort_order>0</def_sort_order> </original> <queries> <query id='1'> <qyname>All Contacts</qyname> <qytype>table</qytype> <qycalst>0.0</qycalst> </query> <query id='2'> <qyname>Updated Contacts</qyname> <qytype>table</qytype> <qydesc>Sorted by Date Modified</qydesc> <qyslst>2</qyslst> <qyopts>so-D.gb-X.onlynew.</qyopts> <qycalst>0.0</qycalst> </query> </queries> <fields> <field id='6' base_type='text' field_type='text'> <label>Name</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='7' base_type='text' field_type='text'> <label>Company</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <choices> <choice>ABC Company</choice> <choice>Acme Technology</choice> <choice>Aircrafts Inc</choice> <choice>Healthy Care</choice> <choice>Sample Co</choice> <choice>Large Bank and Trust</choice> </choices> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='8' base_type='text' field_type='text'> <label>Title</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='9' base_type='text' field_type='text'> <label>Department</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='10' base_type='text' field_type='phone'> <label>Phone Number</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> <has_extension>1</has_extension> </field> <field id='11' base_type='text' field_type='phone'> <label>Mobile</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> <has_extension>1</has_extension> </field> <field id='12' base_type='text' field_type='phone'> <label>Fax</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> <has_extension>1</has_extension> </field> <field id='13' base_type='text' field_type='email'> <label>E-mail Address</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> </field> <field mode='virtual' id='14' base_type='text' field_type='dblink'> <label>Projects</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <target_dbid>bcw7qd9aj</target_dbid> <target_fid>60</target_fid> <source_fid>3</source_fid> <use_new_window>0</use_new_window> <cover_text>Projects</cover_text> <exact>1</exact> </field> <field id='16' base_type='text' field_type='vCardButton'> <label>Export Contact</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> </field> <field role='created' id='1' base_type='int64' field_type='timestamp'> <label>Date Created</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field role='modified' id='2' base_type='int64' field_type='timestamp'> <label>Date Modified</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='virtual' role='recordid' id='3' base_type='int32' field_type='recordid'> <label>Record ID#</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>1</unique> <doesdatacopy>0</doesdatacopy> <decimal_places>0</decimal_places> <comma_start>0</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>1</blank_is_zero> </field> <field role='owner' id='4' base_type='int32' field_type='userid'> <label>Record Owner</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>fullnamelf</display_user> <default_kind>none</default_kind> </field> <field role='modifier' id='5' base_type='int32' field_type='userid'> <label>Last Modified By</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>fullnamelf</display_user> <default_kind>none</default_kind> </field> </fields> </table></qdbapi>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version='1.0'?><qdbapi><action>API_getSchema</action><errcode>0</errcode><errtext>No error</errtext> <table> <name>Document Library</name> <original> <table_id>bcw7qd9an</table_id> <cre_date>1190693829546</cre_date> <mod_date>1190693829936</mod_date> <next_record_id>16</next_record_id> <next_field_id>41</next_field_id> <next_query_id>14</next_query_id> <def_sort_fid>2</def_sort_fid> <def_sort_order>1</def_sort_order> </original> <queries> <query id='1'> <qyname>All Documents</qyname> <qytype>table</qytype> <qyclst>6.29.9.40.39.2</qyclst> <qycalst>0.0</qycalst> </query> <query id='7'> <qyname>By Author</qyname> <qytype>table</qytype> <qydesc>By author</qydesc> <qyclst>6.9.40.10</qyclst> <qyslst>29</qyslst> <qyopts>so-A.gb-V.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='9'> <qyname>By Company</qyname> <qytype>table</qytype> <qydesc>View of Documents sorted and grouped by Company</qydesc> <qyclst>39.29.6.9.10</qyclst> <qyslst>39</qyslst> <qyopts>so-A.gb-V.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='13'> <qyname>By Project</qyname> <qytype>table</qytype> <qyclst>39.29.6.9.10</qyclst> <qyslst>40</qyslst> <qyopts>so-A.gb-V.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='5'> <qyname>By Title</qyname> <qytype>table</qytype> <qydesc>By title</qydesc> <qyclst>6.29.9.10</qyclst> <qyslst>6</qyslst> <qyopts>so-A.gb-X.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='12'> <qyname>Embedded for Projects</qyname> <qytype>table</qytype> <qyclst>6.29.9.2</qyclst> <qycalst>0.0</qycalst> </query> <query id='2'> <qyname>Updated Documents</qyname> <qytype>table</qytype> <qydesc>Sorted by Date Modified</qydesc> <qyclst>6.29.9.40.39.2</qyclst> <qyslst>2</qyslst> <qyopts>so-D.gb-X.onlynew.</qyopts> <qycalst>0.0</qycalst> </query> </queries> <fields> <field id='6' base_type='text' field_type='text'> <label>Title</label> <nowrap>0</nowrap> <bold>0</bold> <required>1</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='7' base_type='text' field_type='text'> <label>Description</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>6</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='29' base_type='int32' field_type='userid'> <label>Author</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <mastag>_DBID_RESOURCES</mastag> <display_user>fullnamelf</display_user> <default_kind>none</default_kind> </field> <field id='9' base_type='text' field_type='file'> <label>Attachment</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <max_versions>3</max_versions> <see_versions>1</see_versions> <use_new_window>1</use_new_window> </field> <field id='10' base_type='text' field_type='text'> <label>File Type</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <choices> <choice>Specification</choice> <choice>Requirements</choice> <choice>Budget</choice> <choice>Copy</choice> <choice>File Type</choice> <choice>Marketing Document</choice> <choice>Requirements Document</choice> </choices> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='25' base_type='text' field_type='text'> <label>File Format</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <choices> <choice>Word</choice> <choice>Excel</choice> <choice>Acrobat</choice> <choice>JPEG</choice> <choice>GIF</choice> </choices> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='37' base_type='float' field_type='float'> <label>Related Project</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <mastag>_DBID_CLIENT</mastag> <comma_start>0</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>0</blank_is_zero> </field> <field mode='lookup' id='40' base_type='text' field_type='text'> <label>Project Name</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <lutfid>16</lutfid> <lusfid>37</lusfid> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field mode='lookup' id='39' base_type='text' field_type='text'> <label>Company</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <lutfid>61</lutfid> <lusfid>37</lusfid> <num_lines>0</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field role='created' id='1' base_type='int64' field_type='timestamp'> <label>Date Created</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field role='modified' id='2' base_type='int64' field_type='timestamp'> <label>Date Modified</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='virtual' role='recordid' id='3' base_type='int32' field_type='recordid'> <label>Record ID#</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>1</unique> <doesdatacopy>0</doesdatacopy> <decimal_places>0</decimal_places> <comma_start>0</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>1</blank_is_zero> </field> <field role='owner' id='4' base_type='int32' field_type='userid'> <label>Record Owner</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>name</display_user> <default_kind>value</default_kind> </field> <field role='modifier' id='5' base_type='int32' field_type='userid'> <label>Last Modified By</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>name</display_user> <default_kind>value</default_kind> </field> </fields> </table></qdbapi>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version='1.0'?><qdbapi><action>API_getSchema</action><errcode>0</errcode><errtext>No error</errtext> <table> <name>Issues</name> <original> <table_id>bcw7qd9am</table_id> <cre_date>1190693829546</cre_date> <mod_date>1190693829936</mod_date> <next_record_id>12</next_record_id> <next_field_id>42</next_field_id> <next_query_id>23</next_query_id> <def_sort_fid>2</def_sort_fid> <def_sort_order>1</def_sort_order> </original> <queries> <query id='1'> <qyname>All Open Issues</qyname> <qytype>table</qytype> <qyclst>30.36.16.7.8.10.15.11.32</qyclst> <qyslst>16</qyslst> <qyopts>so-A.gb-X.</qyopts> <qycalst>0.0</qycalst> </query> <query id='-2'> <qyname>Default Calendar Report</qyname> <qytype>calendar</qytype> <qyclst>7</qyclst> <qyslst>10.7</qyslst> <qyopts>so-AA.gb-D.cab.cmx-35.</qyopts> <qycalst>-1.0</qycalst> </query> <query id='-3'> <qyname>Default Timeline Report</qyname> <qytype>timeline</qytype> <qyclst>7.36</qyclst> <qyopts>hwe.</qyopts> <qycalst>0.0</qycalst> <qytlst>..1.WD.16.16.0.0</qytlst> </query> <query id='22'> <qyname>Embedded for Projects</qyname> <qytype>table</qytype> <qyclst>36.16.7.8.10.15.11.32</qyclst> <qyslst>16</qyslst> <qyopts>so-A.gb-X.</qyopts> <qycalst>0.0</qycalst> </query> <query id='15'> <qyname>My Open Issues</qyname> <qytype>table</qytype> <qydesc>Open issues related to the person logged in</qydesc> <qycrit>{'36'.TV.'_curuser_'}AND{'11'.XEX.'Closed'}</qycrit> <qyclst>7.41.15.8.16.10.26.11.32</qyclst> <qyslst>15.10</qyslst> <qyopts>so-AA.gb-XX.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='9'> <qyname>Open by Owner</qyname> <qytype>table</qytype> <qycrit>{'11'.XEX.'Closed'}AND{'36'.TV.'_ask1_'}</qycrit> <qyclst>15.10.7.8.13.36</qyclst> <qyslst>15.10</qyslst> <qyopts>so-AA.gb-XX.</qyopts> <qycalst>0.0</qycalst> </query> <query id='10'> <qyname>Open by Priority</qyname> <qytype>table</qytype> <qydesc>All open issues by priority</qydesc> <qycrit>{'11'.XEX.'Closed'}</qycrit> <qyclst>10.38.7.8.36</qyclst> <qyslst>15.10.38</qyslst> <qyopts>so-AAA.gb-VXX.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='19'> <qyname>Open by Project</qyname> <qytype>table</qytype> <qycrit>{'11'.XEX.'Closed'}</qycrit> <qyclst>18.15.7.8.36.10</qyclst> <qyslst>30.18.15</qyslst> <qyopts>so-AAA.gb-VXX.</qyopts> <qycalst>0.0</qycalst> </query> <query id='14'> <qyname>Overdue issues</qyname> <qytype>table</qytype> <qydesc>Displays overdue issues (where the planned end date has passed)</qydesc> <qycrit>{'10'.BF.'today'}AND{'11'.XEX.'Closed'}</qycrit> <qyclst>15.7.8.36.13.16.10.26</qyclst> <qyslst>26</qyslst> <qyopts>so-D.gb-X.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='8'> <qyname>Resolved Issues</qyname> <qytype>table</qytype> <qydesc>Closed issues</qydesc> <qycrit>{'11'.EX.'Closed'}</qycrit> <qyclst>7.8.32.14.36.15</qyclst> <qyslst>30.2</qyslst> <qyopts>so-AA.gb-VX.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='2'> <qyname>Updated Issues</qyname> <qytype>table</qytype> <qydesc>Sorted by Date Modified</qydesc> <qyslst>2</qyslst> <qyopts>so-D.gb-X.onlynew.</qyopts> <qycalst>0.0</qycalst> </query> </queries> <fields> <field id='7' base_type='text' field_type='text'> <label>Issue Name</label> <nowrap>0</nowrap> <bold>0</bold> <required>1</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='8' base_type='text' field_type='text'> <label>Description</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>6</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='36' base_type='int32' field_type='userid'> <label>Assigned To</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <mastag>_DBID_RESOURCES</mastag> <display_user>fullnamelf</display_user> <default_kind>none</default_kind> </field> <field id='10' base_type='int64' field_type='date'> <label>Due Date</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field id='11' base_type='text' field_type='text'> <label>Status</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>1</sort_as_given> <width>40</width> <default_value>Open</default_value> <choices> <choice>Open</choice> <choice>Closed</choice> </choices> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='12' base_type='float' field_type='float'> <label>Project ID</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <choices> <choice>Boeing: Deploy Document Management system</choice> <choice>Cardinal Health: T3 install</choice> <choice>Citigroup: Finance system upgrade</choice> <choice>Citigroup: Wireless initiative</choice> <choice>IBM: Customer Service system update</choice> <choice>IBM: Increase web presence for Wireless team</choice> </choices> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <mastag>_DBID_CLIENT</mastag> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='13' base_type='text' field_type='text'> <label>Updates</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>60</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <num_lines>6</num_lines> <append_only>1</append_only> <allowHTML>0</allowHTML> </field> <field id='14' base_type='text' field_type='text'> <label>Resolution</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>6</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='15' base_type='text' field_type='text'> <label>Priority</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>1</sort_as_given> <width>40</width> <choices> <choice>High</choice> <choice>Medium</choice> <choice>Low</choice> </choices> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='16' base_type='int64' field_type='date'> <label>Date Identified</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>1</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='virtual' id='26' base_type='int64' field_type='duration'> <label>Days Overdue</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <formula>If([Status] = "Closed", null, ToDays(Today() - [Due Date]) <= 0, null, Today() - [Due Date])<BR/></formula> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <format>6</format> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>0</blank_is_zero> </field> <field mode='lookup' id='30' base_type='text' field_type='text'> <label>Project</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <lutfid>16</lutfid> <lusfid>12</lusfid> <num_lines>0</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field mode='virtual' id='31' base_type='text' field_type='dblink'> <label>Project Details</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <target_dbid>bcw7qd9aj</target_dbid> <target_fid>3</target_fid> <source_fid>12</source_fid> <use_new_window>0</use_new_window> <cover_text>Project Details...</cover_text> <exact>1</exact> </field> <field id='32' base_type='int64' field_type='date'> <label>Date Resolved</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='lookup' id='41' base_type='text' field_type='text'> <label>Company</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <lutfid>61</lutfid> <lusfid>12</lusfid> <num_lines>0</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field role='created' id='1' base_type='int64' field_type='timestamp'> <label>Date Created</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field role='modified' id='2' base_type='int64' field_type='timestamp'> <label>Date Modified</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='virtual' role='recordid' id='3' base_type='int32' field_type='recordid'> <label>ID</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>1</unique> <doesdatacopy>0</doesdatacopy> <comma_start>0</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>0</blank_is_zero> </field> <field role='owner' id='4' base_type='int32' field_type='userid'> <label>Issue Owner</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>fullname</display_user> <default_kind>value</default_kind> </field> <field role='modifier' id='5' base_type='int32' field_type='userid'> <label>Last Modified By</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>fullname</display_user> <default_kind>value</default_kind> </field> </fields> </table></qdbapi>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version='1.0'?><qdbapi><action>API_getSchema</action><errcode>0</errcode><errtext>No error</errtext> <table> <name>Project Manager Plus</name> <desc>Manage and report on multiple projects. In addition, this application allows you to add document, issue, resource, and timecard tracking so you have it all in one central location. </desc> <original> <table_id>bcw7qd9ai</table_id> <cre_date>1190693829546</cre_date> <mod_date>1190693829936</mod_date> <next_record_id>1</next_record_id> <next_field_id>7</next_field_id> <next_query_id>5</next_query_id> <def_sort_fid>6</def_sort_fid> <def_sort_order>1</def_sort_order> </original><chdbids><chdbid name='_dbid_client'>bcw7qd9aj</chdbid><chdbid name='_dbid_tasks'>bcw7qd9ak</chdbid><chdbid name='_dbid_critical_issues'>bcw7qd9am</chdbid><chdbid name='_dbid_document_library'>bcw7qd9an</chdbid><chdbid name='_dbid_resources'>bcw7qd9ap</chdbid><chdbid name='_dbid_time_cards'>bcw7qd9aq</chdbid><chdbid name='_dbid_contacts'>bcw7qd9ar</chdbid></chdbids> <fields> </fields> </table></qdbapi>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version='1.0'?><qdbapi><action>API_getSchema</action><errcode>0</errcode><errtext>No error</errtext> <table> <name>Projects</name> <original> <table_id>bcw7qd9aj</table_id> <cre_date>1190693829546</cre_date> <mod_date>1190693829936</mod_date> <next_record_id>33</next_record_id> <next_field_id>75</next_field_id> <next_query_id>21</next_query_id> <def_sort_fid>45</def_sort_fid> <def_sort_order>1</def_sort_order> </original> <queries> <query id='1'> <qyname>All Projects</qyname> <qytype>table</qytype> <qyclst>61.16.42.27.28.45.46.59.35.47</qyclst> <qycalst>0.0</qycalst> </query> <query id='18'> <qyname>Budget Cost Summary</qyname> <qytype>newsummary</qytype> <qyclst>72.70.68.67.74</qyclst> <qyslst>16</qyslst> <qyopts>so-A.gb-V.ag-SSSSS.</qyopts> <qycalst>0.0</qycalst> </query> <query id='17'> <qyname>Budget Monthly Cost (Chart)</qyname> <qytype>chart</qytype> <qyclst>67.68</qyclst> <qyslst>46</qyslst> <qyopts>so-AA.gb-MV.ag-SS.dlb-ooff.lin.</qyopts> <qycalst>0.0</qycalst> </query> <query id='-2'> <qyname>Default Calendar Report</qyname> <qytype>calendar</qytype> <qyclst>16.42</qyclst> <qyslst>45.16.42</qyslst> <qyopts>so-AAA.gb-D.hwe.cab.cmx-35.</qyopts> <qycalst>-1.0</qycalst> <qycalend>24</qycalend> </query> <query id='-3'> <qyname>Default Timeline Report</qyname> <qytype>timeline</qytype> <qyclst>16</qyclst> <qyslst>16</qyslst> <qyopts>so-A.gb-X.hwe.</qyopts> <qycalst>0.0</qycalst> <qytlst>..1.YM.45.46.0.0</qytlst> </query> <query id='14'> <qyname>Embedded for Contacts</qyname> <qytype>table</qytype> <qyclst>42.27.28.45.46.47.48.59</qyclst> <qycalst>0.0</qycalst> </query> <query id='13'> <qyname>My Open Projects</qyname> <qytype>table</qytype> <qycrit>{'28'.XEX.'Completed'}AND{'42'.TV.'_curuser_'}</qycrit> <qyclst>16.61.25.27.28.45.46.59</qyclst> <qyslst>14</qyslst> <qyopts>so-A.gb-X.</qyopts> <qycalst>0.0</qycalst> </query> <query id='10'> <qyname>Open Projects</qyname> <qytype>table</qytype> <qycrit>{'28'.XEX.'Completed'}</qycrit> <qyclst>16.25.27.28.23.46</qyclst> <qyslst>14</qyslst> <qyopts>so-A.gb-V.</qyopts> <qycalst>0.0</qycalst> </query> <query id='12'> <qyname>Open Projects by Company (Chart)</qyname> <qytype>chart</qytype> <qycrit>{'28'.XEX.'Completed'}</qycrit> <qyclst>59</qyclst> <qyslst>16</qyslst> <qyopts>so-AA.gb-VV.ag-S.dlb-oval.bar.</qyopts> <qycalst>0.0</qycalst> </query> <query id='16'> <qyname>Over Budget Projects</qyname> <qytype>newsummary</qytype> <qycrit>{'74'.GT.'0'}</qycrit> <qyclst>74</qyclst> <qyslst>16.59</qyslst> <qyopts>so-AA.gb-VV.ag-S.</qyopts> <qycalst>0.0</qycalst> </query> <query id='15'> <qyname>Project Calendar</qyname> <qytype>calendar</qytype> <qyclst>16.42</qyclst> <qyslst>45.16.42</qyslst> <qyopts>so-AAA.gb-D.hwe.cab.cmx-35.</qyopts> <qycalst>-1.0</qycalst> <qycalend>46</qycalend> </query> <query id='5'> <qyname>Project Sorted By Company</qyname> <qytype>table</qytype> <qyclst>61.16.25.42.27.28.59</qyclst> <qyslst>61</qyslst> <qyopts>so-A.gb-V.</qyopts> <qycalst>0.0</qycalst> </query> <query id='7'> <qyname>Projects Sorted By Priority</qyname> <qytype>table</qytype> <qyclst>16.25.42.23.46</qyclst> <qyslst>27</qyslst> <qyopts>so-A.gb-V.</qyopts> <qycalst>0.0</qycalst> </query> <query id='6'> <qyname>Timeline of all Projects</qyname> <qytype>timeline</qytype> <qyclst>16.42</qyclst> <qyslst>61.45</qyslst> <qyopts>so-AA.gb-VX.hwe.</qyopts> <qycalst>0.0</qycalst> <qytlst>..1.YM.45.46.66.0</qytlst> </query> <query id='2'> <qyname>Updated Projects</qyname> <qytype>table</qytype> <qydesc>Sorted by Date Modified</qydesc> <qyclst>61.16.42.27.28.45.46.59.47</qyclst> <qyslst>2</qyslst> <qyopts>so-D.gb-X.onlynew.</qyopts> <qycalst>0.0</qycalst> </query> </queries> <fields> <field id='16' base_type='text' field_type='text'> <label>Project Name</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field mode='lookup' id='61' base_type='text' field_type='text'> <label>Company</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <lutfid>7</lutfid> <lusfid>60</lusfid> <num_lines>0</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field mode='lookup' id='62' base_type='text' field_type='text'> <label>Contact Name</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <lutfid>6</lutfid> <lusfid>60</lusfid> <num_lines>0</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='25' base_type='text' field_type='text'> <label>Project Summary</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>6</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='42' base_type='int32' field_type='userid'> <label>Project Lead</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <mastag>_DBID_RESOURCES</mastag> <display_user>fullname</display_user> <default_kind>none</default_kind> </field> <field id='23' base_type='int64' field_type='date'> <label>Estimated Project Start Date</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field id='24' base_type='int64' field_type='date'> <label>Estimated Project End Date</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field id='27' base_type='text' field_type='text'> <label>Priority</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>1</sort_as_given> <width>40</width> <choices> <choice>High</choice> <choice>Medium</choice> <choice>Low</choice> </choices> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='28' base_type='text' field_type='text'> <label>Status</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>1</sort_as_given> <width>40</width> <choices> <choice>Open</choice> <choice>In-Progress</choice> <choice>Completed</choice> <choice>On-Hold</choice> </choices> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='11' base_type='text' field_type='text'> <label>Notes</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>6</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field mode='virtual' id='34' base_type='text' field_type='url'> <label>Add Task</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <formula>URLRoot() & "db/" & [_DBID_TASKS] & "?act=API_GenAddRecordForm&_fid_48=" & [Project ID] & "&z=" & Rurl()<BR/></formula> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <appears_as>Add a New Task...</appears_as> <abbreviate>0</abbreviate> <use_new_window>0</use_new_window> </field> <field mode='virtual' id='35' base_type='text' field_type='dblink'> <label>Tasks</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <target_dbid>bcw7qd9ak</target_dbid> <target_fid>48</target_fid> <source_fid>3</source_fid> <use_new_window>0</use_new_window> <cover_text>View ALL Project Tasks</cover_text> <exact>1</exact> </field> <field mode='virtual' id='32' base_type='text' field_type='url'> <label>Add Issue</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <formula>URLRoot() & "db/" & [_dbid_critical_issues] & "?act=API_GenAddRecordForm&_fid_12=" & [Project ID] & "&z=" & Rurl()<BR/></formula> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <appears_as>Add New Issue...</appears_as> <abbreviate>0</abbreviate> <use_new_window>0</use_new_window> </field> <field mode='virtual' id='33' base_type='text' field_type='dblink'> <label>Issues</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <target_dbid>bcw7qd9am</target_dbid> <target_fid>12</target_fid> <source_fid>3</source_fid> <use_new_window>0</use_new_window> <cover_text>View ALL Project Issues</cover_text> <exact>1</exact> </field> <field mode='summary' id='45' base_type='int64' field_type='date'> <label>Start Date</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='summary' id='46' base_type='int64' field_type='date'> <label>Planned Finish Date</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='summary' id='59' base_type='float' field_type='percent'> <label>Percent Complete</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <decimal_places>0</decimal_places> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='60' base_type='float' field_type='float'> <label>Customer Contact</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <mastag>_DBID_CONTACTS</mastag> <decimal_places>0</decimal_places> <comma_start>0</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>1</blank_is_zero> </field> <field mode='virtual' id='47' base_type='text' field_type='url'> <label>Add Similar Project</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <formula>"javascript:void(window.open('" &<BR/>URLRoot() & "db/9kaw8phg?a=dbpage&dbid=" & Dbid() &<BR/>"&namefid=16&pagename=copyParentChildren.html&rid=" &<BR/>[Project ID] &<BR/>"','copyRecursive','top=240,left=320,width=400,height=150,location=no,menubar=no,toolbar=no'))"<BR/></formula> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <appears_as>Add Similar Project</appears_as> <abbreviate>0</abbreviate> <use_new_window>0</use_new_window> </field> <field mode='virtual' id='63' base_type='text' field_type='dblink'> <label>Documents</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <target_dbid>bcw7qd9an</target_dbid> <target_fid>37</target_fid> <source_fid>3</source_fid> <use_new_window>0</use_new_window> <cover_text>Documents</cover_text> <exact>1</exact> </field> <field mode='virtual' id='64' base_type='text' field_type='url'> <label>Add Document</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <formula>URLRoot() & "db/" & [_DBID_DOCUMENT_LIBRARY] & "?a=API_GenAddRecordForm&_fid_37=" & URLEncode ([Project ID])& "&z=" & Rurl()<BR/></formula> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <appears_as>Add Document</appears_as> <abbreviate>0</abbreviate> <use_new_window>0</use_new_window> </field> <field mode='summary' id='67' base_type='float' field_type='currency'> <label>Actual Cost</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <decimal_places>2</decimal_places> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>0</blank_is_zero> <currency_symbol>$</currency_symbol> <currency_format>1</currency_format> </field> <field id='68' base_type='float' field_type='currency'> <label>Estimated Cost</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <decimal_places>2</decimal_places> <comma_start>3</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> <currency_symbol>$</currency_symbol> <currency_format>1</currency_format> </field> <field mode='summary' id='70' base_type='float' field_type='float'> <label>Actual Hours</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>0</blank_is_zero> </field> <field id='72' base_type='float' field_type='float'> <label>Estimated Hours</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field mode='virtual' id='74' base_type='float' field_type='percent'> <label>Percent Over Budget</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <formula>If(([Actual Cost]-[Estimated Cost])/[Estimated Cost] > 0, ([Actual Cost]-[Estimated Cost])/[Estimated Cost], null)<BR/></formula> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <decimal_places>2</decimal_places> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>0</blank_is_zero> </field> <field role='created' id='1' base_type='int64' field_type='timestamp'> <label>Date Created</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field role='modified' id='2' base_type='int64' field_type='timestamp'> <label>Date Modified</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='virtual' role='recordid' id='3' base_type='int32' field_type='recordid'> <label>Project ID</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>1</unique> <doesdatacopy>0</doesdatacopy> <comma_start>0</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>0</blank_is_zero> </field> <field role='owner' id='4' base_type='int32' field_type='userid'> <label>Record Owner</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>fullname</display_user> <default_kind>none</default_kind> </field> <field role='modifier' id='5' base_type='int32' field_type='userid'> <label>Last Modified By</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>fullname</display_user> <default_kind>none</default_kind> </field> </fields> </table></qdbapi>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
|
2
|
+
The XML files in this folder contain the XML returned by call to the QuickBase
|
3
|
+
API_GetSchema HTTP API. The XML is processed by the QuickBase::Client class
|
4
|
+
in the file QuickBaseClient.rb in order to get the list of columns in each
|
5
|
+
table and to get the properties of the columns.
|
6
|
+
|
7
|
+
The files are here to help you understand what happens behind the scenes.
|
8
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version='1.0'?><qdbapi><action>API_getSchema</action><errcode>0</errcode><errtext>No error</errtext> <table> <name>Resources</name> <original> <table_id>bcw7qd9ap</table_id> <cre_date>1190693829546</cre_date> <mod_date>1190693829936</mod_date> <next_record_id>29</next_record_id> <next_field_id>54</next_field_id> <next_query_id>9</next_query_id> <def_sort_fid>2</def_sort_fid> <def_sort_order>1</def_sort_order> <key_fid>8</key_fid> </original> <queries> <query id='1'> <qyname>All Resources</qyname> <qytype>table</qytype> <qyclst>8.9.10.25.19.21.24.53.14.26.20.13</qyclst> <qyslst>8</qyslst> <qyopts>so-A.gb-X.</qyopts> <qycalst>0.0</qycalst> </query> <query id='7'> <qyname>By Department</qyname> <qytype>table</qytype> <qydesc>By business function</qydesc> <qyclst>19.24.8.11.9.10.25.20</qyclst> <qyslst>21.19</qyslst> <qyopts>so-AA.gb-VX.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='8'> <qyname>By Function (Pie chart)</qyname> <qytype>chart</qytype> <qyclst>-2</qyclst> <qyslst>21</qyslst> <qyopts>so-A.gb-V.ag-S.dlb-van.pie.cab.</qyopts> <qycalst>0.0</qycalst> </query> <query id='6'> <qyname>By Job Title</qyname> <qytype>table</qytype> <qydesc>By job title</qydesc> <qyclst>24.21.8.19.11.9.10.25.20</qyclst> <qyslst>19</qyslst> <qyopts>so-A.gb-V.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='2'> <qyname>Updated Resources</qyname> <qytype>table</qytype> <qydesc>Sorted by Date Modified</qydesc> <qyclst>8.9.25.10.19.21.24.53.14.26.20.13</qyclst> <qyslst>2</qyslst> <qyopts>so-D.gb-X.onlynew.</qyopts> <qycalst>0.0</qycalst> </query> </queries> <fields> <field id='8' base_type='int32' field_type='userid'> <label>Name</label> <nowrap>0</nowrap> <bold>0</bold> <required>1</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>1</unique> <doesdatacopy>1</doesdatacopy> <display_user>fullname</display_user> <default_kind>none</default_kind> </field> <field id='9' base_type='text' field_type='phone'> <label>Business Phone</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> <has_extension>1</has_extension> </field> <field id='10' base_type='text' field_type='phone'> <label>Mobile Phone</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> <has_extension>0</has_extension> </field> <field id='13' base_type='text' field_type='text'> <label>Skill Set</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>6</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='53' base_type='float' field_type='currency'> <label>Rate</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <decimal_places>2</decimal_places> <comma_start>3</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>1</blank_is_zero> <currency_symbol>$</currency_symbol> <currency_format>1</currency_format> </field> <field id='14' base_type='text' field_type='text'> <label>Notes</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>6</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='19' base_type='text' field_type='text'> <label>Job Title</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='20' base_type='text' field_type='text'> <label>Reports To</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='21' base_type='text' field_type='text'> <label>Department</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <choices> <choice>Management</choice> <choice>Marketing</choice> <choice>Consulting</choice> <choice>Design</choice> <choice>Engineering</choice> <choice>QA</choice> <choice>Sales</choice> <choice>Operations</choice> </choices> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='24' base_type='text' field_type='text'> <label>Company</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='25' base_type='text' field_type='phone'> <label>Business fax</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> <has_extension>1</has_extension> </field> <field id='26' base_type='text' field_type='file'> <label>Photo</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <max_versions>3</max_versions> <see_versions>1</see_versions> <use_new_window>1</use_new_window> </field> <field mode='virtual' id='43' base_type='text' field_type='dblink'> <label>Projects</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <target_dbid>bcw7qd9aj</target_dbid> <target_fid>42</target_fid> <source_fid>8</source_fid> <use_new_window>0</use_new_window> <cover_text>Projects...</cover_text> <exact>1</exact> </field> <field mode='virtual' id='45' base_type='text' field_type='dblink'> <label>Tasks</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <target_dbid>bcw7qd9ak</target_dbid> <target_fid>67</target_fid> <source_fid>8</source_fid> <use_new_window>0</use_new_window> <cover_text>Tasks...</cover_text> <exact>1</exact> </field> <field mode='virtual' id='49' base_type='text' field_type='dblink'> <label>Issues</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <target_dbid>bcw7qd9am</target_dbid> <target_fid>36</target_fid> <source_fid>8</source_fid> <use_new_window>0</use_new_window> <cover_text>Issues...</cover_text> <exact>1</exact> </field> <field mode='virtual' id='51' base_type='text' field_type='dblink'> <label>Documents</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <target_dbid>bcw7qd9an</target_dbid> <target_fid>29</target_fid> <source_fid>8</source_fid> <use_new_window>0</use_new_window> <cover_text>Documents...</cover_text> <exact>1</exact> </field> <field role='created' id='1' base_type='int64' field_type='timestamp'> <label>Date Created</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field role='modified' id='2' base_type='int64' field_type='timestamp'> <label>Date Modified</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='virtual' role='recordid' id='3' base_type='int32' field_type='recordid'> <label>Resource ID#</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>1</unique> <doesdatacopy>0</doesdatacopy> <comma_start>0</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>0</blank_is_zero> </field> <field role='owner' id='4' base_type='int32' field_type='userid'> <label>Record Owner</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>name</display_user> <default_kind>value</default_kind> </field> <field role='modifier' id='5' base_type='int32' field_type='userid'> <label>Last Modified By</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>name</display_user> <default_kind>value</default_kind> </field> </fields> </table></qdbapi>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version='1.0'?><qdbapi><action>API_getSchema</action><errcode>0</errcode><errtext>No error</errtext> <table> <name>Tasks</name> <original> <table_id>bcw7qd9ak</table_id> <cre_date>1190693829546</cre_date> <mod_date>1190693829936</mod_date> <next_record_id>278</next_record_id> <next_field_id>91</next_field_id> <next_query_id>40</next_query_id> <def_sort_fid>77</def_sort_fid> <def_sort_order>1</def_sort_order> <key_fid>3</key_fid> </original> <queries> <query id='1'> <qyname>All Tasks</qyname> <qytype>table</qytype> <qydesc>All Tasks, sorted by customer and start date</qydesc> <qyclst>23.6.76.89.77.10.75.33.12.13.67.83.88</qyclst> <qyslst>56.77</qyslst> <qyopts>so-AA.gb-VX.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='10'> <qyname>Calendar of Open Tasks</qyname> <qytype>calendar</qytype> <qydesc>Calender view of open tasks due this month by project</qydesc> <qyclst>6.67</qyclst> <qyslst>77.6.67</qyslst> <qyopts>so-AAA.gb-D.hwe.cab.cmx-30.</qyopts> <qycalst>-1.0</qycalst> <qycalend>10</qycalend> </query> <query id='-2'> <qyname>Default Calendar Report</qyname> <qytype>calendar</qytype> <qyclst>6.67</qyclst> <qyslst>77.6.67</qyslst> <qyopts>so-AAA.gb-D.hwe.cab.cmx-35.</qyopts> <qycalst>-1.0</qycalst> <qycalend>10</qycalend> </query> <query id='-3'> <qyname>Default Timeline Report</qyname> <qytype>timeline</qytype> <qyclst>6.67</qyclst> <qyslst>56</qyslst> <qyopts>so-A.gb-V.hwe.</qyopts> <qycalst>0.0</qycalst> <qytlst>..1.MW.77.10.89.0</qytlst> </query> <query id='37'> <qyname>Embedded for Projects</qyname> <qytype>table</qytype> <qyclst>6.76.77.10.75.33.12.13.67.83</qyclst> <qyslst>23</qyslst> <qyopts>so-A.gb-V.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='21'> <qyname>My Open Tasks</qyname> <qytype>table</qytype> <qydesc>Open tasks related to the person logged in </qydesc> <qycrit>{'67'.TV.'_curuser_'}AND{'12'.XEX.'Completed'}</qycrit> <qyclst>13.6.55.77.10.84.33.12.83.88</qyclst> <qyslst>56.77</qyslst> <qyopts>so-AA.gb-VX.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='26'> <qyname>My Overdue Tasks</qyname> <qytype>table</qytype> <qydesc>Displays overdue tasks for the logged in user</qydesc> <qycrit>{'10'.BF.'today'}AND{'12'.XEX.'Completed'}AND{'67'.TV.'_curuser_'}</qycrit> <qyclst>56.6.13.10.12.83.33</qyclst> <qyslst>13</qyslst> <qyopts>so-A.gb-X.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='6'> <qyname>Open Tasks - Grouped by Assigned To</qyname> <qytype>table</qytype> <qydesc>Displays open tasks by assigned to for a project</qydesc> <qycrit>{'12'.XEX.'Completed'}</qycrit> <qyclst>6.7.12.77.76.13.10.33.83</qyclst> <qyslst>67.13.10</qyslst> <qyopts>so-AAA.gb-VXX.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='14'> <qyname>Open Tasks Sorted by Priority</qyname> <qytype>table</qytype> <qydesc>All open tasks by priority for a project</qydesc> <qycrit>{'12'.XEX.'Completed'}</qycrit> <qyclst>56.6.7.12.10.67</qyclst> <qyslst>13.10</qyslst> <qyopts>so-AA.gb-VX.</qyopts> <qycalst>0.0</qycalst> </query> <query id='19'> <qyname>Overdue Tasks</qyname> <qytype>table</qytype> <qydesc>NOTE: This view displays overdue tasks (where the Planned Finish date has past)<BR/>- High Priority overdue tasks are hightlighted pink. <BR/>- Medium Prioirty overdue tasks are highlighted yellow. <BR/>- Low priority overdue tasks are highlighted green. </qydesc> <qycrit>{'10'.BF.'today'}AND{'12'.XEX.'Completed'}AND{'12'.XEX.'On Hold'}</qycrit> <qyclst>6.56.13.77.67.12.33</qyclst> <qyslst>13.10</qyslst> <qyopts>so-AA.gb-XX.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='38'> <qyname>Quarterly Timeline - All projects</qyname> <qytype>timeline</qytype> <qyclst>6.67.83</qyclst> <qyslst>56.77</qyslst> <qyopts>so-AA.gb-VX.hwe.</qyopts> <qycalst>0.0</qycalst> <qytlst>..1.QM.77.10.89.0</qytlst> </query> <query id='9'> <qyname>Task Status by Project -- Stacked Bar Chart</qyname> <qytype>chart</qytype> <qyclst>-2</qyclst> <qyslst>56.12</qyslst> <qyopts>so-AA.gb-VV.ag-S.dlb-oval.sbar.</qyopts> <qycalst>0.0</qycalst> </query> <query id='31'> <qyname>Task Summary</qyname> <qytype>newsummary</qytype> <qyclst>-2.83</qyclst> <qyslst>56.12</qyslst> <qyopts>so-AA.gb-VV.ag-CA.</qyopts> <qycalst>0.0</qycalst> </query> <query id='33'> <qyname>Tasks by Resource</qyname> <qytype>table</qytype> <qyclst>6.77.76.10.84.13.12.33.83</qyclst> <qyslst>67.12</qyslst> <qyopts>so-AD.gb-V.</qyopts> <qycalst>0.0</qycalst> </query> <query id='25'> <qyname>Tasks for Specific Project</qyname> <qytype>table</qytype> <qycrit>{'56'.EX.'_ask1_'}</qycrit> <qyclst>23.6.77.76.10.12.67.33.13</qyclst> <qyslst>47.23.13</qyslst> <qyopts>so-AAD.gb-V.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='2'> <qyname>Updated Tasks</qyname> <qytype>table</qytype> <qydesc>Sorted by Date Modified -- Overdue tasks are highlighted in salmon. </qydesc> <qyclst>6.67.77.76.10.84.75.12.13.33.83</qyclst> <qyslst>56.2</qyslst> <qyopts>so-AA.gb-VX.onlynew.nos.</qyopts> <qycalst>0.0</qycalst> </query> <query id='32'> <qyname>Weekly Timeline - All Tasks, All Projects</qyname> <qytype>timeline</qytype> <qyclst>6.67.83</qyclst> <qyslst>56.77</qyslst> <qyopts>so-AA.gb-VX.hwe.</qyopts> <qycalst>0.0</qycalst> <qytlst>..1.YM.77.10.89.0</qytlst> </query> <query id='24'> <qyname>Weekly Timeline - for a Specific Project</qyname> <qytype>timeline</qytype> <qydesc>Timeline of all the tasks for a given customer project</qydesc> <qycrit>{'48'.EX.'_ask1_'}</qycrit> <qyclst>6</qyclst> <qyopts>hwe.</qyopts> <qycalst>0.0</qycalst> <qytlst>..1.MW.77.10.89.0</qytlst> </query> </queries> <fields> <field mode='lookup' id='56' base_type='text' field_type='text'> <label>Project Name</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <lutfid>16</lutfid> <lusfid>48</lusfid> <num_lines>0</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='48' base_type='float' field_type='float'> <label>Project ID</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <choices> <choice>Boeing: Deploy Document Management system</choice> <choice>Cardinal Health: T3 install</choice> <choice>Citigroup: Finance system upgrade</choice> <choice>Citigroup: Wireless initiative</choice> <choice>IBM: Customer Service system update</choice> <choice>IBM: Increase web presence for Wireless team</choice> </choices> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <mastag>_DBID_CLIENT</mastag> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='23' base_type='text' field_type='text'> <label>Project Phase</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>1</sort_as_given> <width>40</width> <choices> <choice>Planning</choice> <choice>Design</choice> <choice>Development</choice> <choice>Test</choice> </choices> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='6' base_type='text' field_type='text'> <label>Task Name</label> <nowrap>0</nowrap> <bold>0</bold> <required>1</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='89' base_type='bool' field_type='checkbox'> <label>Milestone</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <display_graphic>1</display_graphic> <does_total>0</does_total> </field> <field id='7' base_type='text' field_type='text'> <label>Description</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>6</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='75' base_type='text' field_type='predecessor'> <label>Predecessors</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <startDateFid>77</startDateFid> <endDateFid>10</endDateFid> </field> <field id='76' base_type='float' field_type='float'> <label>Duration</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <default_value>1</default_value> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <units>Days</units> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='77' base_type='int64' field_type='date'> <label>Start</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> <workweek>7</workweek> <start_field>0</start_field> <duration_field>0</duration_field> </field> <field mode='virtual' id='10' base_type='int64' field_type='date'> <label>Calculated Finish Date</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <formula>WeekdayAdd([Start], [Duration])<BR/></formula> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> <workweek>5</workweek> <start_field>77</start_field> <duration_field>76</duration_field> </field> <field id='84' base_type='int64' field_type='date'> <label>Actual Finish Date</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='virtual' id='80' base_type='text' field_type='url'> <label>Successors</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <formula>URLRoot() & "db/" & [_DBID_TASKS] & "?act=q&query={'75'.CT.'" & [Task ID] & "'}"<BR/></formula> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <appears_as>View Successor Tasks</appears_as> <abbreviate>0</abbreviate> <use_new_window>0</use_new_window> </field> <field mode='virtual' id='33' base_type='int64' field_type='duration'> <label>Days Overdue</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <formula>If([Status] = "Completed", null, ToDays(Today() - ToDate([Calculated Finish Date])) <= 0, null, Today() - ToDate([Calculated Finish Date]))<BR/></formula> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <format>6</format> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>0</blank_is_zero> </field> <field id='12' base_type='text' field_type='text'> <label>Status</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>1</sort_as_given> <width>40</width> <default_value>Not Started</default_value> <choices> <choice>Not Started</choice> <choice>In Process</choice> <choice>On Hold</choice> <choice>Completed</choice> </choices> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='83' base_type='float' field_type='percent'> <label>% Complete</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <decimal_places>0</decimal_places> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='13' base_type='text' field_type='text'> <label>Priority</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>1</sort_as_given> <width>40</width> <choices> <choice>High</choice> <choice>Medium</choice> <choice>Low</choice> <choice>Sample</choice> </choices> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field id='67' base_type='int32' field_type='userid'> <label>Assigned To</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <mastag>_DBID_RESOURCES</mastag> <display_user>fullnamelf</display_user> <default_kind>none</default_kind> </field> <field id='55' base_type='text' field_type='text'> <label>History/Notes</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>60</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <num_lines>4</num_lines> <append_only>1</append_only> <allowHTML>0</allowHTML> </field> <field mode='virtual' id='59' base_type='text' field_type='dblink'> <label>Project Details</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <target_dbid>bcw7qd9aj</target_dbid> <target_fid>3</target_fid> <source_fid>48</source_fid> <use_new_window>0</use_new_window> <cover_text>Project Details...</cover_text> <exact>1</exact> </field> <field id='88' base_type='text' field_type='ICalendarButton'> <label>Export Event</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> </field> <field role='created' id='1' base_type='int64' field_type='timestamp'> <label>Date Created</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field role='modified' id='2' base_type='int64' field_type='timestamp'> <label>Date Modified</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='virtual' role='recordid' id='3' base_type='int32' field_type='recordid'> <label>Task ID</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>1</unique> <doesdatacopy>0</doesdatacopy> <comma_start>0</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>0</blank_is_zero> </field> <field role='owner' id='4' base_type='int32' field_type='userid'> <label>Record Owner</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>name</display_user> <default_kind>value</default_kind> </field> <field role='modifier' id='5' base_type='int32' field_type='userid'> <label>Last Modified By</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>name</display_user> <default_kind>value</default_kind> </field> </fields> </table></qdbapi>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version='1.0'?><qdbapi><action>API_getSchema</action><errcode>0</errcode><errtext>No error</errtext> <table> <name>Time Cards</name> <original> <table_id>bcw7qd9aq</table_id> <cre_date>1190693829546</cre_date> <mod_date>1190693829936</mod_date> <next_record_id>27</next_record_id> <next_field_id>36</next_field_id> <next_query_id>13</next_query_id> <def_sort_fid>6</def_sort_fid> <def_sort_order>1</def_sort_order> </original> <queries> <query id='11'> <qyname>Add My Timecards</qyname> <qytype>gedit</qytype> <qydesc>Use this view to add new timecard records and provide actual time spent working on each project. <BR/></qydesc> <qycrit>{'7'.TV.'_curuser_'}</qycrit> <qyclst>24.8.7.16.10.11.12.13.14.15</qyclst> <qyopts>gvd.</qyopts> <qycalst>0.0</qycalst> </query> <query id='1'> <qyname>All Timecards</qyname> <qytype>table</qytype> <qyclst>7.24.8.16.10.11.12.13.14.15.18</qyclst> <qyslst>20</qyslst> <qyopts>so-A.gb-X.</qyopts> <qycalst>0.0</qycalst> </query> <query id='7'> <qyname>Hours by Resource</qyname> <qytype>table</qytype> <qydesc>Shows the accumulated hours worked by each resource grouped by resource</qydesc> <qyclst>8.18</qyclst> <qyslst>7</qyslst> <qyopts>so-A.gb-V.</qyopts> <qycalst>0.0</qycalst> </query> <query id='8'> <qyname>Hours per Project</qyname> <qytype>table</qytype> <qyclst>7.24.8.18</qyclst> <qyslst>24</qyslst> <qyopts>so-A.gb-V.</qyopts> <qycalst>0.0</qycalst> </query> <query id='9'> <qyname>My hours</qyname> <qytype>table</qytype> <qydesc>Hours worked by me</qydesc> <qycrit>{'7'.TV.'_curuser_'}</qycrit> <qyclst>24.7.8.10.11.12.13.14.15.16.18</qyclst> <qycalst>0.0</qycalst> </query> <query id='12'> <qyname>Resource Cost Per Month</qyname> <qytype>newsummary</qytype> <qyclst>33</qyclst> <qyslst>7.8</qyslst> <qyopts>so-AA.gb-VM.ag-S.</qyopts> <qycalst>0.0</qycalst> </query> <query id='5'> <qyname>Summary of total hours worked on a project</qyname> <qytype>newsummary</qytype> <qydesc>Shows the total hours worked on each project and also shows the accumulated totals worked on each project</qydesc> <qyclst>18</qyclst> <qyslst>24.8</qyslst> <qyopts>so-AA.gb-VW.ag-S.</qyopts> <qycalst>0.0</qycalst> </query> <query id='2'> <qyname>Updated Timecards</qyname> <qytype>table</qytype> <qydesc>Sorted by Date Modified</qydesc> <qyclst>24.7.8.10.11.12.13.14.15.16.18</qyclst> <qyslst>2</qyslst> <qyopts>so-D.gb-X.onlynew.</qyopts> <qycalst>0.0</qycalst> </query> </queries> <fields> <field id='20' base_type='float' field_type='float'> <label>Project</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <mastag>_DBID_CLIENT</mastag> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='7' base_type='int32' field_type='userid'> <label>Resource</label> <nowrap>1</nowrap> <bold>0</bold> <required>1</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <mastag>_DBID_RESOURCES</mastag> <display_user>fullname</display_user> <default_kind>current_user</default_kind> </field> <field id='8' base_type='int64' field_type='date'> <label>Week Starting On</label> <nowrap>0</nowrap> <bold>0</bold> <required>1</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <choices> <choice>Feb 2</choice> <choice>Feb 9</choice> <choice>Feb 16</choice> <choice>Feb 23</choice> <choice>March 1</choice> </choices> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <display_time>0</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field id='16' base_type='float' field_type='float'> <label>Sun</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='10' base_type='float' field_type='float'> <label>Mon</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='11' base_type='float' field_type='float'> <label>Tue</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='12' base_type='float' field_type='float'> <label>Wed</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='13' base_type='float' field_type='float'> <label>Thu</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='14' base_type='float' field_type='float'> <label>Fri</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field id='15' base_type='float' field_type='float'> <label>Sat</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>1</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>1</blank_is_zero> </field> <field mode='virtual' id='18' base_type='float' field_type='float'> <label>Weekly Total</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <formula>[Sun] + [Mon] + [Tue] + [Wed] + [Thu] + [Fri] + [Sat]<BR/></formula> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>0</blank_is_zero> </field> <field mode='lookup' id='21' base_type='text' field_type='text'> <label>Customer: Project</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <lutfid>36</lutfid> <lusfid>20</lusfid> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field mode='lookup' id='24' base_type='text' field_type='text'> <label>Project Name</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>40</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <lutfid>16</lutfid> <lusfid>20</lusfid> <num_lines>1</num_lines> <append_only>0</append_only> <allowHTML>0</allowHTML> </field> <field mode='virtual' id='33' base_type='float' field_type='currency'> <label>Total Cost</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>1</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <formula>[Resource - Rate]*[Weekly Total]<BR/></formula> <carrychoices>0</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <comma_start>4</comma_start> <does_average>0</does_average> <does_total>1</does_total> <blank_is_zero>0</blank_is_zero> <currency_symbol>$</currency_symbol> <currency_format>1</currency_format> </field> <field mode='lookup' id='34' base_type='float' field_type='currency'> <label>Resource - Rate</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <width>10</width> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <lutfid>53</lutfid> <lusfid>7</lusfid> <decimal_places>2</decimal_places> <comma_start>3</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>1</blank_is_zero> <currency_symbol>$</currency_symbol> <currency_format>1</currency_format> </field> <field role='created' id='1' base_type='int64' field_type='timestamp'> <label>Date Created</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field role='modified' id='2' base_type='int64' field_type='timestamp'> <label>Date Modified</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>0</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_time>1</display_time> <display_relative>0</display_relative> <display_month>number</display_month> <default_today>0</default_today> <display_dow>0</display_dow> <display_zone>0</display_zone> </field> <field mode='virtual' role='recordid' id='3' base_type='int32' field_type='recordid'> <label>Record ID#</label> <nowrap>0</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>0</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>1</unique> <doesdatacopy>0</doesdatacopy> <decimal_places>0</decimal_places> <comma_start>0</comma_start> <does_average>0</does_average> <does_total>0</does_total> <blank_is_zero>1</blank_is_zero> </field> <field role='owner' id='4' base_type='int32' field_type='userid'> <label>Record Owner</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>fullnamelf</display_user> <default_kind>none</default_kind> </field> <field role='modifier' id='5' base_type='int32' field_type='userid'> <label>Last Modified By</label> <nowrap>1</nowrap> <bold>0</bold> <required>0</required> <appears_by_default>0</appears_by_default> <find_enabled>1</find_enabled> <allow_new_choices>1</allow_new_choices> <sort_as_given>0</sort_as_given> <carrychoices>1</carrychoices> <foreignkey>0</foreignkey> <unique>0</unique> <doesdatacopy>0</doesdatacopy> <display_user>fullnamelf</display_user> <default_kind>none</default_kind> </field> </fields> </table></qdbapi>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<h1>Companies</h1>
|
2
|
+
|
3
|
+
This view shows 'union' records created from the Projects and Contacts tables.
|
4
|
+
<br>
|
5
|
+
The result is a list of Companies from both tables.
|
6
|
+
<br>
|
7
|
+
Although there is a relationship in QuickBase between the Projects and Contacts
|
8
|
+
tables, the <i>QuickBase:Client.getUnionRecords</i> method used to build this list of records
|
9
|
+
does not depend on that relationship.
|
10
|
+
|
11
|
+
<hr>
|
12
|
+
|
13
|
+
<table border="1">
|
14
|
+
|
15
|
+
<tr>
|
16
|
+
<% @unionRecords[0].each_key{|fieldName| %>
|
17
|
+
<td><b><%= fieldName %></b></td>
|
18
|
+
<% } %>
|
19
|
+
</tr>
|
20
|
+
|
21
|
+
<% @unionRecords.each{|record| %>
|
22
|
+
|
23
|
+
<tr>
|
24
|
+
<% record.each_value{|value| %>
|
25
|
+
<td><%= value %></td>
|
26
|
+
<% } %>
|
27
|
+
</tr>
|
28
|
+
|
29
|
+
<% } %>
|
30
|
+
|
31
|
+
</table>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<h1>Projects + Contacts</h1>
|
2
|
+
|
3
|
+
This view shows 'join' records created from the Projects and Contacts tables.
|
4
|
+
<br>
|
5
|
+
The common field from the two tables is the 'Company' field.
|
6
|
+
<br>
|
7
|
+
Although there is a relationship in QuickBase between the Projects and Contacts
|
8
|
+
tables, the <i>QuickBase:Client.getJoinRecords</i> method used to build this list of records
|
9
|
+
does not depend on that relationship.
|
10
|
+
|
11
|
+
<hr>
|
12
|
+
|
13
|
+
<table border="1">
|
14
|
+
|
15
|
+
<tr>
|
16
|
+
<% @joinRecords[0].each_key{|fieldName| %>
|
17
|
+
<td><b><%= fieldName %></b></td>
|
18
|
+
<% } %>
|
19
|
+
</tr>
|
20
|
+
|
21
|
+
<% @joinRecords.each{ |record| %>
|
22
|
+
|
23
|
+
<tr>
|
24
|
+
<% record.each_value{|value| %>
|
25
|
+
<td><%= value %></td>
|
26
|
+
<% } %>
|
27
|
+
</tr>
|
28
|
+
|
29
|
+
<% } %>
|
30
|
+
|
31
|
+
</table>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<h1> Issues starting with '<%= params[:s] %>'</h1>
|
2
|
+
This view shows how to filter records using a Ruby regular expression.
|
3
|
+
<hr>
|
4
|
+
<table border="1">
|
5
|
+
|
6
|
+
<tr>
|
7
|
+
|
8
|
+
<td><b>Issue Name</b></td>
|
9
|
+
<td><b>Description</b></td>
|
10
|
+
<td><b>Resolution</b></td>
|
11
|
+
<td><b>Priority</b></td>
|
12
|
+
|
13
|
+
</tr>
|
14
|
+
|
15
|
+
<% for issue in @issues do %>
|
16
|
+
|
17
|
+
<tr>
|
18
|
+
<td><%= issue["Issue Name"] %></td>
|
19
|
+
<td><%= issue["Description"] %></td>
|
20
|
+
<td><%= issue["Resolution"] %></td>
|
21
|
+
<td><%= issue["Priority"] %></td>
|
22
|
+
</tr>
|
23
|
+
|
24
|
+
<% end %>
|
25
|
+
|
26
|
+
</table>
|
@@ -0,0 +1,56 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>
|
4
|
+
Project Manager Plus
|
5
|
+
</title>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<table>
|
10
|
+
<tr>
|
11
|
+
<td>
|
12
|
+
</td>
|
13
|
+
<td>
|
14
|
+
<h1>Project Manager Plus</h1>
|
15
|
+
(<%= link_to "Home Page", {:controller => "projects", :action => "home" } %>)
|
16
|
+
<hr>
|
17
|
+
</td>
|
18
|
+
</tr>
|
19
|
+
<tr>
|
20
|
+
|
21
|
+
<td width="300" >
|
22
|
+
<%= link_to "Home Page", {:controller => "projects", :action => "home" } %>
|
23
|
+
<br>
|
24
|
+
<%= link_to "All Projects", {:controller => "projects", :action => "all_projects" } %>
|
25
|
+
<br>
|
26
|
+
<%= link_to "My Open Projects", {:controller => "projects", :action => "my_open_projects" } %>
|
27
|
+
<br>
|
28
|
+
<%= link_to "Open Projects", {:controller => "projects", :action => "open_projects" } %>
|
29
|
+
<br>
|
30
|
+
<%= link_to "Projects Sorted By Company", {:controller => "projects", :action => "project_sorted_by_company" } %>
|
31
|
+
<br>
|
32
|
+
<%= link_to "Projects Sorted By Priority", {:controller => "projects", :action => "projects_sorted_by_priority" } %>
|
33
|
+
<br>
|
34
|
+
<%= link_to "All Tasks", {:controller => "tasks", :action => "all_tasks" } %>
|
35
|
+
<br>
|
36
|
+
<%= link_to "Task search 1", {:controller => "tasks", :action => "search", :s => "test" } %>
|
37
|
+
<br>
|
38
|
+
<%= link_to "Task search 2", {:controller => "tasks", :action => "search2", :status => "Completed" } %>
|
39
|
+
<br>
|
40
|
+
<%= link_to "Task search 3", {:controller => "tasks", :action => "search3", :status => "Completed" } %>
|
41
|
+
<br>
|
42
|
+
<%= link_to "Issues starting with 'S'", {:controller => "issues", :action => "filter_issues", :s => "S.+" } %>
|
43
|
+
<br>
|
44
|
+
<%= link_to "Projects+Contacts", {:controller => "contacts", :action => "project_contacts" } %>
|
45
|
+
<br>
|
46
|
+
<%= link_to "Companies", {:controller => "contacts", :action => "companies" } %>
|
47
|
+
<br>
|
48
|
+
<%= link_to "Time Cards", {:controller => "time_cards", :action => "summary" } %>
|
49
|
+
</td>
|
50
|
+
|
51
|
+
<td>
|
52
|
+
<%= yield :layout %>
|
53
|
+
</td>
|
54
|
+
|
55
|
+
</body>
|
56
|
+
</html>
|