Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
control_database_tables [2019/01/30 09:22] 127.0.0.1 external edit |
control_database_tables [2019/02/07 10:58] kcifreo |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
Updated: 2014-04-28 | Updated: 2014-04-28 | ||
- | |||
- | |||
Version: Control 5.1 | Version: Control 5.1 | ||
+ | List of the tables used by Control | ||
+ | Tables Used Directly By Control | ||
- | List of the tables used by Control | + | |Account \\ AccountContact \\ AccountContactUserField \\ AccountUserField \\ Address \\ AddressLink \\ AdvQuery \\ AssemblyLink \\ CalendarLink \\ CalendarStatus \\ CatalogItem \\ Closeout \\ CommissionRate \\ ContactActivity \\ ContractPeriod \\ CustomerGoodsItem \\ CustomRange \\ Dashboard \\ DiscountTable \\ DiscountTableItem \\ DivisionData \\ Element \\ EmailActivity \\ Employee \\ EmployeeContact \\ EmployeeGroup \\ GLAccount \\ GoodsItemPartLink \\ Graphic \\ Inventory \\ InventoryLog \\ IOTemplate \\ Journal \\ Ledger \\ MarketingListItem \\ Part \\ PartInfoTemplate \\ PartInventoryConversion \\ PartUsageCard \\ Payment||PaymentAccount \\ PaymentPlan \\ PaymentTerms \\ Payroll \\ PayrollPaycheck \\ PayrollPaycheckPayItem \\ PayrollPayItem \\ PayrollPayItemLink \\ PayrollPTO \\ PayrollTaxTable \\ PayrollTaxTableRow \\ PhoneNumber \\ PostalCodeTaxClass \\ PricingElement \\ PricingGraphic \\ PricingLevel \\ PricingLink \\ PricingPlan \\ PricingTable \\ ProdModLink \\ ProductTaxabilityCode \\ ProductTaxExemptLink \\ Promotion \\ QuickProduct \\ RecurringActivity \\ ReportElement \\ ReportMenuItem \\ RuleAction \\ RuleActivity \\ RuleMacro \\ SalesGoal \\ ScheduledPayment \\ SecurityRightChange \\ SelectionList \\ SelectionListItem \\ ServiceContractType \\ ServiceTicketPriority \\ Shipments \\ ShippingMethod||SpeedNote \\ StateTaxExemptionLink \\ Station \\ Store \\ StoreConstant \\ TaxClass \\ TaxLink \\ TimeCard \\ TransDetail \\ TransDetailGraphic \\ TransDetailParam \\ TransHeader \\ TransHeaderUserField \\ TransMod \\ TransPart \\ TransTax \\ TransVariation \\ UserColumns \\ UserFieldDef \\ UserFieldLayout \\ UserName \\ UserOption \\ Variable \\ VendorTransDetail \\ Warehouse \\ TransDetailHistory \\ TransDetailGraphicHistory \\ TransDetailParamHistory \\ TransHeaderHistory \\ TransHeaderHistoryUserField \\ TransModHistory \\ TransPartHistory \\ TransTaxHistory \\ TransVariationHistory \\ VendorTransDetailHistory \\ Warden \\ DBSettings \\ Sequence|| |
- | + | ||
- | + | ||
- | + | ||
- | Tables Used Directly By Control | + | |
- | + | ||
- | + | ||
- | + | ||
- | || Account \\ AccountContact \\ AccountContactUserField \\ AccountUserField \\ Address \\ AddressLink \\ AdvQuery \\ AssemblyLink \\ CalendarLink \\ CalendarStatus \\ CatalogItem \\ Closeout \\ CommissionRate \\ ContactActivity \\ ContractPeriod \\ CustomerGoodsItem \\ CustomRange \\ Dashboard \\ DiscountTable \\ DiscountTableItem \\ DivisionData \\ Element \\ EmailActivity \\ Employee \\ EmployeeContact \\ EmployeeGroup \\ GLAccount \\ GoodsItemPartLink \\ Graphic \\ Inventory \\ InventoryLog \\ IOTemplate \\ Journal \\ Ledger \\ MarketingListItem \\ Part \\ PartInfoTemplate \\ PartInventoryConversion \\ PartUsageCard \\ Payment || PaymentAccount \\ PaymentPlan \\ PaymentTerms \\ Payroll \\ PayrollPaycheck \\ PayrollPaycheckPayItem \\ PayrollPayItem \\ PayrollPayItemLink \\ PayrollPTO \\ PayrollTaxTable \\ PayrollTaxTableRow \\ PhoneNumber \\ PostalCodeTaxClass \\ PricingElement \\ PricingGraphic \\ PricingLevel \\ PricingLink \\ PricingPlan \\ PricingTable \\ ProdModLink \\ ProductTaxabilityCode \\ ProductTaxExemptLink \\ Promotion \\ QuickProduct \\ RecurringActivity \\ ReportElement \\ ReportMenuItem \\ RuleAction \\ RuleActivity \\ RuleMacro \\ SalesGoal \\ ScheduledPayment \\ SecurityRightChange \\ SelectionList \\ SelectionListItem \\ ServiceContractType \\ ServiceTicketPriority \\ Shipments \\ ShippingMethod || SpeedNote \\ StateTaxExemptionLink \\ Station \\ Store \\ StoreConstant \\ TaxClass \\ TaxLink \\ TimeCard \\ TransDetail \\ TransDetailGraphic \\ TransDetailParam \\ TransHeader \\ TransHeaderUserField \\ TransMod \\ TransPart \\ TransTax \\ TransVariation \\ UserColumns \\ UserFieldDef \\ UserFieldLayout \\ UserName \\ UserOption \\ Variable \\ VendorTransDetail \\ Warehouse \\ TransDetailHistory \\ TransDetailGraphicHistory \\ TransDetailParamHistory \\ TransHeaderHistory \\ TransHeaderHistoryUserField \\ TransModHistory \\ TransPartHistory \\ TransTaxHistory \\ TransVariationHistory \\ VendorTransDetailHistory \\ Warden \\ DBSettings \\ Sequence || | + | |
- | Tables Used Undirectly By Control | + | |
+ | **Tables Used Undirectly By Control** | ||
+ | \\ | ||
+ | CCCSConfiguration | ||
CCCSCustomer | CCCSCustomer | ||
- | |||
- | |||
CCCSTransactions | CCCSTransactions | ||
- | |||
- | |||
FedExShippingLogForShipments | FedExShippingLogForShipments | ||
+ | UPSShippingLogForShipments | ||
- | + | **Query to pull unused tables** | |
- | UPSShippingLogForShipments || | + | |
- | Query to pull unused tables | + | |
- | + | ||
This query can be used to pull a list of tables in a given database that are not in the above list. | This query can be used to pull a list of tables in a given database that are not in the above list. | ||
- | + | [[:code_formatsql|code format" | |
- | + | ||
- | [[code_formatsql|code format" | + | |
- | + | ||
select name | select name | ||
- | |||
- | |||
from sys.tables | from sys.tables | ||
- | |||
- | |||
where name not in (' | where name not in (' | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
- | 'Account', 'AccountContact', 'AccountContactUserField', 'AccountUserField', | + | < |
+ | 'CalendarStatus', 'CatalogItem', 'Closeout', 'ContactActivity', | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
- | 'Address', 'AddressLink', 'AdvQuery', 'AssemblyLink', 'CalendarLink', | + | < |
+ | 'EmployeeGroup', 'GLAccount', 'GoodsItemPartLink', 'Graphic', 'Inventory', | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
- | 'CalendarStatus', 'CatalogItem', 'Closeout', 'ContactActivity', 'ContractPeriod', | + | < |
+ | 'PaymentAccount', 'PaymentPlan', 'PaymentTerms', 'Payroll', 'PayrollPaycheck', | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
- | 'CustomerGoodsItem', 'CustomRange', 'Dashboard', 'DiscountTable', | + | < |
+ | 'PricingElement', 'PricingGraphic', 'PricingLevel', 'PricingLink', | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
- | 'DiscountTableItem', 'DivisionData', 'Element', 'EmailActivity', 'Employee', | + | < |
+ | 'RuleAction', 'RuleActivity', 'RuleMacro', 'SalesGoal', 'ScheduledPayment', | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
- | 'EmployeeGroup', 'GLAccount', 'GoodsItemPartLink', 'Graphic', 'Inventory', | + | < |
+ | 'StateTaxExemptionLink', 'Station', 'Store', 'StoreConstant', 'TaxClass', | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
- | 'InventoryLog', 'IOTemplate', 'Journal', 'Ledger', 'MarketingListItem', | + | < |
+ | 'UserColumns', 'UserFieldDef', 'UserFieldLayout', 'UserName', 'UserOption', | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
- | 'PartInfoTemplate', 'PartInventoryConversion', 'PartUsageCard', | + | < |
+ | 'TransHeaderHistory', 'TransHeaderHistoryUserField', 'TransModHistory', | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
- | ' | + | < |
- | + | | |
- | + | </ | |
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | ' | + | |
+ | < | ||
+ | ' | ||
+ | </ | ||
+ | < | ||
+ | ' | ||
+ | </ | ||
Order By name | Order By name | ||
+ | \\ | ||
- | |||
- | < | ||