我通过 MS Access 的 ODBC 连接到 QB 并链接到以下内容:
- QBReportAdminGroup_v_txn_invoice_hdr
- QBReportAdminGroup_v_txn_invoice_line
- QBReportAdminGroup_v_txn_received_payment_hdr
- QBReportAdminGroup_v_txn_received_payment_line
我想创建一个查询来连接付款和发票,但我找不到它们之间的公共键。有什么我想念的吗?LE(添加的表格字段):
QBReportAdminGroup_v_txn_invoice_hdr
- cf_name_id
- clear_type_h
- contact_id_h
- 货币_id_h
- custom_style_id_h
- customer_id_h
- customer_message_id
- db_created_tms
- db_modified_tms
- 交货日期
- doc_num_h
- due_date_h
- employee_id_h
- end_balance_amt
- exchange_rate_h
- 预产期
- 离岸价
- 活跃
- is_condensed
- is_deposited_h
- is_finance_charge
- is_home_currency_adjustment
- is_opening_balance
- is_paid_h
- is_purchase_h
- is_purchase_order_h
- is_received_h
- is_refunded
- is_sale_h
- is_shown_in_home_currency
- item_id_h
- last_auditable_action
- last_edit_by
- memo_h
- modtimestamp_tms
- 其他
- other_id_h
- payment_method_id_h
- po_num
- sales_order_num
- sales_rep_id
- sales_tax_code_id_h
- 发货日期
- ship_to_id
- ship_to_name_id
- ship_via_id
- target_id_h
- tax_code_id_h
- terms_id
- trans_num
- transaction_date_h
- transaction_id
- transaction_name_type_h
- transaction_view_type_h
- txn_ident
- vendor_id_h
- 供应商消息
QBReportAdminGroup_v_txn_invoice_line
- cf_name_id
- clear_type_h
- contact_id_h
- 货币_id_h
- custom_style_id_h
- customer_id_h
- customer_message_id
- db_created_tms
- db_modified_tms
- 交货日期
- doc_num_h
- due_date_h
- employee_id_h
- end_balance_amt
- exchange_rate_h
- 预产期
- 离岸价
- 活跃
- is_condensed
- is_deposited_h
- is_finance_charge
- is_home_currency_adjustment
- is_opening_balance
- is_paid_h
- is_purchase_h
- is_purchase_order_h
- is_received_h
- is_refunded
- is_sale_h
- is_shown_in_home_currency
- item_id_h
- last_auditable_action
- last_edit_by
- memo_h
- modtimestamp_tms
- 其他
- other_id_h
- payment_method_id_h
- po_num
- sales_order_num
- sales_rep_id
- sales_tax_code_id_h
- 发货日期
- ship_to_id
- ship_to_name_id
- ship_via_id
- target_id_h
- tax_code_id_h
- terms_id
- trans_num
- transaction_date_h
- transaction_id
- transaction_name_type_h
- transaction_view_type_h
- txn_ident
- vendor_id_h
- 供应商消息
- cf_item_id
- 帐户ID
- 金额
- 银行账户类型
- bank_ref_name
- billed_date
- 班级号
- 清除类型
- cogs_amt
- 联系人 ID
- 货币_id
- 客户ID
- doc_num
- 截止日期
- 员工ID
- 估计量
- 汇率
- foreign_amount_amt
- is_adjustment
- is_applied_discount
- is_arap
- is_based_on_time_activity
- is_begin_balance
- is_build
- is_deposited
- is_discount
- is_estimated
- is_gain_loss_target
- is_groupend_row
- is_inactive
- is_invoiced
- is_item_from_estimate
- is_item_from_sales_order
- is_less_cashback
- is_manually_closed
- 已经付款了
- is_purchase
- is_purchase_order
- is_receipt
- is_received
- is_sale
- is_sales_order
- is_source
- is_trans_tax
- is_uses_billed_date
- is_value_adjust
- item_id
- lineitem_name_type
- 制造商零件编号
- markup_amt
- markup_amt_pct
- 备忘录
- next_target_id
- nom_total_amt
- open_balance_amt
- open_qnty
- other_id
- 其他1
- 其他2
- payment_entry_type
- payment_method_id
- 数量_数量
- 调和日期
- 报销类型
- sales_order_qnty
- sales_tax_code_id
- 服务日期
- 兄弟帐户ID
- site_id
- target_id
- tax_code_id
- taxable_discount_amt
- 交易日期
- 交易名称类型
- 事务视图类型
- txnline_ident
- unit_id
- unit_price_amt
- unit_price_pct
- 供应商 ID
QBReportAdminGroup_v_txn_received_payment_hdr
- cf_name_id
- clear_type_h
- contact_id_h
- 货币_id_h
- custom_style_id
- customer_id_h
- customer_message_id
- db_created_tms
- db_modified_tms
- 交货日期
- doc_num_h
- due_date_h
- employee_id_h
- end_balance_amt
- exchange_rate_h
- 预产期
- 离岸价
- 活跃
- is_condensed
- is_deposited_h
- is_finance_charge
- is_home_currency_adjustment
- is_opening_balance
- is_paid_h
- is_purchase_h
- is_purchase_order_h
- is_received_h
- is_refunded
- is_sale_h
- is_shown_in_home_currency
- item_id_h
- last_auditable_action
- last_edit_by
- memo_h
- modtimestamp_tms
- 其他
- other_id_h
- payment_method_id_h
- po_num
- sales_order_num
- sales_rep_id
- sales_tax_code_id_h
- 发货日期
- ship_to_id
- ship_to_name_id
- ship_via_id
- target_id_h
- tax_code_id_h
- terms_id
- trans_num
- transaction_date_h
- transaction_id
- transaction_name_type_h
- transaction_view_type_h
- txn_ident
- vendor_id_h
- 供应商消息
QBReportAdminGroup_v_txn_received_payment_line
- cf_name_id
- clear_type_h
- contact_id_h
- 货币_id_h
- custom_style_id
- customer_id_h
- customer_message_id
- db_created_tms
- db_modified_tms
- 交货日期
- doc_num_h
- due_date_h
- employee_id_h
- end_balance_amt
- exchange_rate_h
- 预产期
- 离岸价
- 活跃
- is_condensed
- is_deposited_h
- is_finance_charge
- is_home_currency_adjustment
- is_opening_balance
- is_paid_h
- is_purchase_h
- is_purchase_order_h
- is_received_h
- is_refunded
- is_sale_h
- is_shown_in_home_currency
- item_id_h
- last_auditable_action
- last_edit_by
- memo_h
- modtimestamp_tms
- 其他
- other_id_h
- payment_method_id_h
- po_num
- sales_order_num
- sales_rep_id
- sales_tax_code_id_h
- 发货日期
- ship_to_id
- ship_to_name_id
- ship_via_id
- target_id_h
- tax_code_id_h
- terms_id
- trans_num
- transaction_date_h
- transaction_id
- transaction_name_type_h
- transaction_view_type_h
- txn_ident
- vendor_id_h
- 供应商消息
- cf_item_id
- 帐户ID
- 金额
- 银行账户类型
- bank_ref_name
- billed_date
- 班级号
- 清除类型
- cogs_amt
- 联系人 ID
- 货币_id
- 客户ID
- doc_num
- 截止日期
- 员工ID
- 估计量
- 汇率
- foreign_amount_amt
- is_adjustment
- is_applied_discount
- is_arap
- is_based_on_time_activity
- is_begin_balance
- is_build
- is_deposited
- is_discount
- is_estimated
- is_gain_loss_target
- is_groupend_row
- is_inactive
- is_invoiced
- is_item_from_estimate
- is_item_from_sales_order
- is_less_cashback
- is_manually_closed
- 已经付款了
- is_purchase
- is_purchase_order
- is_receipt
- is_received
- is_sale
- is_sales_order
- is_source
- is_trans_tax
- is_uses_billed_date
- is_value_adjust
- item_id
- lineitem_name_type
- 制造商零件编号
- markup_amt
- markup_amt_pct
- 备忘录
- next_target_id
- nom_total_amt
- open_balance_amt
- open_qnty
- other_id
- 其他1
- 其他2
- payment_entry_type
- payment_method_id
- 数量_数量
- 调和日期
- 报销类型
- sales_order_qnty
- sales_tax_code_id
- 服务日期
- 兄弟帐户ID
- site_id
- target_id
- tax_code_id
- taxable_discount_amt
- 交易日期
- 交易名称类型
- 事务视图类型
- unit_id
- unit_price_amt
- unit_price_pct
- 供应商 ID