SubledgerVoucherGeneralJournalEntry::addJoinForNaturalKey Method
Adds a join to the SubledgerVoucherGeneralJournalEntry table by using the natural key.
Syntax
client server public static Query addJoinForNaturalKey(
Query _query,
TableId _naturalKeyTable,
FieldId _accountingDateField,
FieldId _voucherField,
FieldId _voucherDataAreaIdField)
Run On
Called
Parameters
- _query
Type: Query Class
The query to which to apply relations.
- _naturalKeyTable
Type: TableId Extended Data Type
The table ID of the join table.
- _accountingDateField
Type: FieldId Extended Data Type
The field ID of the accounting date field in the join table.
- _voucherField
Type: FieldId Extended Data Type
The field ID of the voucher field in the join table.
- _voucherDataAreaIdField
Type: FieldId Extended Data Type
The field ID of the voucher data area ID field in the join table.
Return Value
Type: Query Class
A query with a join to the SubledgerVoucherGeneralJournalEntry table by using the natural key.
Remarks
An exist join is used and no fields can be retrieved.