I_StRpWhldgTaxItem

DDL: I_STRPWHLDGTAXITEM Type: view_entity COMPOSITE

Withholding Tax Item View For Statutory Reporting

I_StRpWhldgTaxItem is a Composite CDS View (Cube) that provides data about "Withholding Tax Item View For Statutory Reporting" in SAP S/4HANA. It reads from 1 data source (P_StRpWhldgTaxItem) and exposes 147 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem, WithholdingTaxType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_StRpWhldgTaxItem wht from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_StRpJournalEntryHeaderLog _StRpJournalEntryHeaderLog _StRpJournalEntryHeaderLog.CompanyCode = wht.CompanyCode and _StRpJournalEntryHeaderLog.AccountingDocument = wht.AccountingDocument and _StRpJournalEntryHeaderLog.FiscalYear = wht.FiscalYear
[0..1] I_WithholdingTaxReportingDate _WHTRptDateActive _WHTRptDateActive.CompanyCode = wht.CompanyCode

Annotations (9)

NameValueLevelField
EndUserText.label Withholding Tax Item View For Statutory Reporting view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
Metadata.allowExtensions true view

Fields (147)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_StRpWhldgTaxItem CompanyCode Receiver Company Code
KEY AccountingDocument P_StRpWhldgTaxItem AccountingDocument Journal Entry
KEY FiscalYear P_StRpWhldgTaxItem FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem P_StRpWhldgTaxItem AccountingDocumentItem Posting View Item
KEY WithholdingTaxType P_StRpWhldgTaxItem WithholdingTaxType WTax Type
KEY StatryRptgEntity _StRpJournalEntryHeaderLog StatryRptgEntity Reporting Entity
KEY StatryRptCategory _StRpJournalEntryHeaderLog StatryRptCategory Report ID
KEY StatryRptRunID _StRpJournalEntryHeaderLog StatryRptRunID Report Run ID
WithholdingTaxCode P_StRpWhldgTaxItem WithholdingTaxCode WTax Code
OfficialWhldgTaxCode
Country P_StRpWhldgTaxItem Country Venue: Ctry/Reg
BusinessPlace P_StRpWhldgTaxItem BusinessPlace Business place
BusinessArea P_StRpWhldgTaxItem BusinessArea Business Area
FinancialAccountType P_StRpWhldgTaxItem FinancialAccountType Fin. Account Type
Debtor P_StRpWhldgTaxItem Debtor Debtor
Creditor P_StRpWhldgTaxItem Creditor Supplier
CustomerName P_StRpWhldgTaxItem CustomerName Name of Customer
BPCustomerName P_StRpWhldgTaxItem BPCustomerName Name of Customer
BusinessPartner P_StRpWhldgTaxItem BusinessPartner Issuing Authority
FiscalPeriod P_StRpWhldgTaxItem FiscalPeriod Tax period
WithholdingTaxReportingDate P_StRpWhldgTaxItem WithholdingTaxReportingDate Withholding Tax Reporting Date
WhldgTaxRptgDateIsActive _WHTRptDateActive WhldgTaxRptgDateIsActive
DefaultWhldgTxRptgDateIsActive _WHTRptDateActive DefaultWhldgTxRptgDateIsActive
PostingDateendasPostingDate
DocumentDateendasDocumentDate
ReportingDateendasReportingDate
ClearingDate P_StRpWhldgTaxItem ClearingDate Clearing Date
ClearingAccountingDocument P_StRpWhldgTaxItem ClearingAccountingDocument Clearing Journal Entry
ClearingJournalEntry P_StRpWhldgTaxItem ClearingJournalEntry Clrng doc.
ClearingJournalEntryFiscalYear P_StRpWhldgTaxItem ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
PostingKey P_StRpWhldgTaxItem PostingKey Posting Key
AccountingDocumentType P_StRpWhldgTaxItem AccountingDocumentType Journal Entry Type
SpecialGLCode P_StRpWhldgTaxItem SpecialGLCode Special G/L Ind
SpecialGLTransactionType P_StRpWhldgTaxItem SpecialGLTransactionType Transact.Type
Reference3IDByBusinessPartner P_StRpWhldgTaxItem Reference3IDByBusinessPartner Reference Key 3
InvoiceReference P_StRpWhldgTaxItem InvoiceReference Invoice Reference
InvoiceReferenceFiscalYear P_StRpWhldgTaxItem InvoiceReferenceFiscalYear Invoice Reference Fiscal Year
InvoiceItemReference P_StRpWhldgTaxItem InvoiceItemReference Item
TaxSection P_StRpWhldgTaxItem TaxSection Tax Section
IsReversed P_StRpWhldgTaxItem IsReversed Reversed?
IsReversal P_StRpWhldgTaxItem IsReversal Reversal doc.
ReverseDocument P_StRpWhldgTaxItem ReverseDocument Reversed With
DebitCreditCode P_StRpWhldgTaxItem DebitCreditCode Single-Character Flag
ClearingItem P_StRpWhldgTaxItem ClearingItem Clearing Item
ExchangeRateType P_StRpWhldgTaxItem ExchangeRateType Exch. Rate Type
AbsoluteExchangeRate
ReportingCurrency P_StRpWhldgTaxItem ReportingCurrency Currency
TransactionCurrency P_StRpWhldgTaxItem TransactionCurrency Transaction Currency
AdditionalCurrency1 P_StRpWhldgTaxItem AdditionalCurrency1 Local curr. 2
AdditionalCurrency2 P_StRpWhldgTaxItem AdditionalCurrency2 Local curr. 3
AmountInCompanyCodeCurrency P_StRpWhldgTaxItem AmountInCompanyCodeCurrency Local Crcy Amt
AmountInLocalCurrency P_StRpWhldgTaxItem AmountInLocalCurrency Local Crcy Amt
AmountInTransactionCurrency P_StRpWhldgTaxItem AmountInTransactionCurrency Pt Crcy Amt
AmountInAdditionalCurrency1 P_StRpWhldgTaxItem AmountInAdditionalCurrency1 Amount in Additional Currency 1
AmountInAdditionalCurrency2 P_StRpWhldgTaxItem AmountInAdditionalCurrency2 LC2 Amount
TaxAmountInCoCodeCrcy P_StRpWhldgTaxItem TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
TaxAmount P_StRpWhldgTaxItem TaxAmount Tax Amt in Rptg Crcy
TaxAmountInAdditionalCurrency1 P_StRpWhldgTaxItem TaxAmountInAdditionalCurrency1 LC 2 Tax
TaxAmountInAdditionalCurrency2 P_StRpWhldgTaxItem TaxAmountInAdditionalCurrency2 LC 3 Tax
WhldgTaxBaseAmtInCoCodeCrcy P_StRpWhldgTaxItem WhldgTaxBaseAmtInCoCodeCrcy
WhldgTaxBaseAmtInTransacCrcy P_StRpWhldgTaxItem WhldgTaxBaseAmtInTransacCrcy
WhldgTaxBaseAmtInAddlCrcy2 P_StRpWhldgTaxItem WhldgTaxBaseAmtInAddlCrcy2
WhldgTaxBaseAmtInAddlCrcy3 P_StRpWhldgTaxItem WhldgTaxBaseAmtInAddlCrcy3
WhldgTaxAmtInCoCodeCrcy P_StRpWhldgTaxItem WhldgTaxAmtInCoCodeCrcy
WhldgTaxAmtInTransacCrcy P_StRpWhldgTaxItem WhldgTaxAmtInTransacCrcy
WhldgTaxAmtInAddlCrcy2 P_StRpWhldgTaxItem WhldgTaxAmtInAddlCrcy2
WhldgTaxAmtInAddlCrcy3 P_StRpWhldgTaxItem WhldgTaxAmtInAddlCrcy3
WhldgTaxBaseIsEnteredManually P_StRpWhldgTaxItem WhldgTaxBaseIsEnteredManually
WhldgTaxIsEnteredManually P_StRpWhldgTaxItem WhldgTaxIsEnteredManually
WhldgTaxItemStatus P_StRpWhldgTaxItem WhldgTaxItemStatus
AggrgdWhldgTxBaseAmtInCCCrcy P_StRpWhldgTaxItem AggrgdWhldgTxBaseAmtInCCCrcy
AggrgdWhldgTaxAmtInCCCrcy P_StRpWhldgTaxItem AggrgdWhldgTaxAmtInCCCrcy
CashDiscountAmtInCoCodeCrcy P_StRpWhldgTaxItem CashDiscountAmtInCoCodeCrcy Discount Amt
WhldgTaxExmptAmtInCoCodeCrcy P_StRpWhldgTaxItem WhldgTaxExmptAmtInCoCodeCrcy
WhldgTaxExmptAmtInTransacCrcy P_StRpWhldgTaxItem WhldgTaxExmptAmtInTransacCrcy
WhldgTaxExmptAmtInAddlCrcy2 P_StRpWhldgTaxItem WhldgTaxExmptAmtInAddlCrcy2
WhldgTaxExmptAmtInAddlCrcy3 P_StRpWhldgTaxItem WhldgTaxExmptAmtInAddlCrcy3
WhldgTaxDeductedNetAmount P_StRpWhldgTaxItem WhldgTaxDeductedNetAmount
WhldgTxDdctdNetAmtInTransCrcy P_StRpWhldgTaxItem WhldgTxDdctdNetAmtInTransCrcy
RptgWhldgTxBaseAmtInCoCodeCrcy P_StRpWhldgTaxItem RptgWhldgTxBaseAmtInCoCodeCrcy
WhldgTaxExmptCertificate P_StRpWhldgTaxItem WhldgTaxExmptCertificate Exemption Number
GLAccount P_StRpWhldgTaxItem GLAccount General Ledger
SupplierRecipientType P_StRpWhldgTaxItem SupplierRecipientType
WithholdingTaxExmptPercent P_StRpWhldgTaxItem WithholdingTaxExmptPercent Exemption Rate
WithholdingTaxPercent P_StRpWhldgTaxItem WithholdingTaxPercent
IsSelfWhldgTax P_StRpWhldgTaxItem IsSelfWhldgTax
IsGrossingUp P_StRpWhldgTaxItem IsGrossingUp
WithholdingTaxCertificate P_StRpWhldgTaxItem WithholdingTaxCertificate WHT Certificate
WhldgTaxCertDate P_StRpWhldgTaxItem WhldgTaxCertDate
WithholdingTaxIncomeType
IN_ClrgWithholdingTaxDocument P_StRpWhldgTaxItem IN_ClrgWithholdingTaxDocument
IN_ClrgWithholdingTaxDate P_StRpWhldgTaxItem IN_ClrgWithholdingTaxDate
IN_ReferenceDocumentNumber P_StRpWhldgTaxItem IN_ReferenceDocumentNumber
IN_WhldgTaxRecordTypeTrans P_StRpWhldgTaxItem IN_WhldgTaxRecordTypeTrans
DownPaymentIsCleared P_StRpWhldgTaxItem DownPaymentIsCleared
DocumentIsPartialExempted P_StRpWhldgTaxItem DocumentIsPartialExempted
WhldgTaxDocumentType P_StRpWhldgTaxItem WhldgTaxDocumentType 3-Byte field
ItemIsReportingRelevant P_StRpWhldgTaxItem ItemIsReportingRelevant Item Reporting Relv
Name P_StRpWhldgTaxItem Name Zone name
BusinessPartnerName P_StRpWhldgTaxItem BusinessPartnerName Extracted Customer Name
TaxNumber1 P_StRpWhldgTaxItem TaxNumber1 VAT Reg. No.
TaxNumber2 P_StRpWhldgTaxItem TaxNumber2 Tax Number 2
TaxNumber3 P_StRpWhldgTaxItem TaxNumber3
TaxNumber4 P_StRpWhldgTaxItem TaxNumber4
TaxNumber5 P_StRpWhldgTaxItem TaxNumber5
VATRegistration P_StRpWhldgTaxItem VATRegistration VAT Registration No.
PostalCode P_StRpWhldgTaxItem PostalCode Postal Code
CityName P_StRpWhldgTaxItem CityName Name
StreetName P_StRpWhldgTaxItem StreetName Text
HouseNumber P_StRpWhldgTaxItem HouseNumber House Number
HouseNumberSupplementText P_StRpWhldgTaxItem HouseNumberSupplementText Supplement
OrganizationBPName1 P_StRpWhldgTaxItem OrganizationBPName1 Name 1
SearchTerm1 P_StRpWhldgTaxItem SearchTerm1 Search Term 1
OrganizationFoundationDate P_StRpWhldgTaxItem OrganizationFoundationDate Date founded
OrganizationBPName2 P_StRpWhldgTaxItem OrganizationBPName2 Name 2
POBoxPostalCode P_StRpWhldgTaxItem POBoxPostalCode PO Box Postal Code
POBox P_StRpWhldgTaxItem POBox PO Box
Region P_StRpWhldgTaxItem Region Venue Region
BusinessPartnerCountry P_StRpWhldgTaxItem BusinessPartnerCountry BP Ctry/Reg.
TaxNumberType P_StRpWhldgTaxItem TaxNumberType Tax number type
PaymentIsNotified P_StRpWhldgTaxItem PaymentIsNotified
Language P_StRpWhldgTaxItem Language Report Text Language
TaxItemIsZeroRated P_StRpWhldgTaxItem TaxItemIsZeroRated
DocumentReferenceID P_StRpWhldgTaxItem DocumentReferenceID Reference
TransactionCode P_StRpWhldgTaxItem TransactionCode Transaction Code
AccountingDocumentHeaderText P_StRpWhldgTaxItem AccountingDocumentHeaderText Doc.Header Text
DocumentItemText P_StRpWhldgTaxItem DocumentItemText Text
IsNaturalPerson P_StRpWhldgTaxItem IsNaturalPerson Natural person
EmailAddress P_StRpWhldgTaxItem EmailAddress E-Mail Address
SqntlNmbrOfWhldgTaxType P_StRpWhldgTaxItem SqntlNmbrOfWhldgTaxType
DependencyNmbrOfWhldgTaxType P_StRpWhldgTaxItem DependencyNmbrOfWhldgTaxType
WhldgTaxBaseIsInherited P_StRpWhldgTaxItem WhldgTaxBaseIsInherited
BusinessPartnerNumber P_StRpWhldgTaxItem BusinessPartnerNumber
SenderCompanyCode P_StRpWhldgTaxItem SenderCompanyCode Sender Company Code
SenderAccountingDocument P_StRpWhldgTaxItem SenderAccountingDocument Sender Journal Entry
SenderFiscalYear P_StRpWhldgTaxItem SenderFiscalYear Sender FiscalYr
SenderLogicalSystem P_StRpWhldgTaxItem SenderLogicalSystem Sender Logical System
_WithholdingTaxCode P_StRpWhldgTaxItem _WithholdingTaxCode
_CompanyCode P_StRpWhldgTaxItem _CompanyCode
_Supplier P_StRpWhldgTaxItem _Supplier
_Customer P_StRpWhldgTaxItem _Customer
_ReportingCurrency P_StRpWhldgTaxItem _ReportingCurrency
_Onetime P_StRpWhldgTaxItem _Onetime
_Branch P_StRpWhldgTaxItem _Branch
Supplier
_JournalEntry P_StRpWhldgTaxItem _JournalEntry
_OperationalAcctgDocItem P_StRpWhldgTaxItem _OperationalAcctgDocItem

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_StRpWhldgTaxItem.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW I_StRpWhldgTaxItem AS
SELECT
  wht.CompanyCode AS CompanyCode,
  wht.AccountingDocument AS AccountingDocument,
  wht.FiscalYear AS FiscalYear,
  wht.AccountingDocumentItem AS AccountingDocumentItem,
  wht.WithholdingTaxType AS WithholdingTaxType,
  _StRpJournalEntryHeaderLog.StatryRptgEntity AS StatryRptgEntity,
  _StRpJournalEntryHeaderLog.StatryRptCategory AS StatryRptCategory,
  _StRpJournalEntryHeaderLog.StatryRptRunID AS StatryRptRunID,
  wht.WithholdingTaxCode AS WithholdingTaxCode,
  wht._WithholdingTaxCode.OfficialWhldgTaxCode AS OfficialWhldgTaxCode,
  wht.Country AS Country,
  wht.BusinessPlace AS BusinessPlace,
  wht.BusinessArea AS BusinessArea,
  wht.FinancialAccountType AS FinancialAccountType,
  wht.Debtor AS Debtor,
  wht.Creditor AS Creditor,
  wht.CustomerName AS CustomerName,
  wht.BPCustomerName AS BPCustomerName,
  wht.BusinessPartner AS BusinessPartner,
  wht.FiscalPeriod AS FiscalPeriod,
  wht.WithholdingTaxReportingDate AS WithholdingTaxReportingDate,
  _WHTRptDateActive.WhldgTaxRptgDateIsActive AS WhldgTaxRptgDateIsActive,
  _WHTRptDateActive.DefaultWhldgTxRptgDateIsActive AS DefaultWhldgTxRptgDateIsActive,
  case when _WHTRptDateActive.WhldgTaxRptgDateIsActive = 'X' and _WHTRptDateActive.DefaultWhldgTxRptgDateIsActive = '1' then wht.WithholdingTaxReportingDate else wht.PostingDate end as PostingDate AS PostingDateendasPostingDate,
  case when _WHTRptDateActive.WhldgTaxRptgDateIsActive = 'X' and _WHTRptDateActive.DefaultWhldgTxRptgDateIsActive = '2' then wht.WithholdingTaxReportingDate else wht.DocumentDate end as DocumentDate AS DocumentDateendasDocumentDate,
  case when _WHTRptDateActive.WhldgTaxRptgDateIsActive = 'X' then wht.WithholdingTaxReportingDate else wht.ReportingDate end as ReportingDate AS ReportingDateendasReportingDate,
  wht.ClearingDate AS ClearingDate,
  wht.ClearingAccountingDocument AS ClearingAccountingDocument,
  wht.ClearingJournalEntry AS ClearingJournalEntry,
  wht.ClearingJournalEntryFiscalYear AS ClearingJournalEntryFiscalYear,
  wht.PostingKey AS PostingKey,
  wht.AccountingDocumentType AS AccountingDocumentType,
  wht.SpecialGLCode AS SpecialGLCode,
  wht.SpecialGLTransactionType AS SpecialGLTransactionType,
  wht.Reference3IDByBusinessPartner AS Reference3IDByBusinessPartner,
  wht.InvoiceReference AS InvoiceReference,
  wht.InvoiceReferenceFiscalYear AS InvoiceReferenceFiscalYear,
  wht.InvoiceItemReference AS InvoiceItemReference,
  wht.TaxSection AS TaxSection,
  wht.IsReversed AS IsReversed,
  wht.IsReversal AS IsReversal,
  wht.ReverseDocument AS ReverseDocument,
  wht.DebitCreditCode AS DebitCreditCode,
  wht.ClearingItem AS ClearingItem,
  wht.ExchangeRateType AS ExchangeRateType,
  wht._JournalEntry.AbsoluteExchangeRate AS AbsoluteExchangeRate,
  wht.ReportingCurrency AS ReportingCurrency,
  wht.TransactionCurrency AS TransactionCurrency,
  wht.AdditionalCurrency1 AS AdditionalCurrency1,
  wht.AdditionalCurrency2 AS AdditionalCurrency2,
  wht.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  wht.AmountInLocalCurrency AS AmountInLocalCurrency,
  wht.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  wht.AmountInAdditionalCurrency1 AS AmountInAdditionalCurrency1,
  wht.AmountInAdditionalCurrency2 AS AmountInAdditionalCurrency2,
  wht.TaxAmountInCoCodeCrcy AS TaxAmountInCoCodeCrcy,
  wht.TaxAmount AS TaxAmount,
  wht.TaxAmountInAdditionalCurrency1 AS TaxAmountInAdditionalCurrency1,
  wht.TaxAmountInAdditionalCurrency2 AS TaxAmountInAdditionalCurrency2,
  wht.WhldgTaxBaseAmtInCoCodeCrcy AS WhldgTaxBaseAmtInCoCodeCrcy,
  wht.WhldgTaxBaseAmtInTransacCrcy AS WhldgTaxBaseAmtInTransacCrcy,
  wht.WhldgTaxBaseAmtInAddlCrcy2 AS WhldgTaxBaseAmtInAddlCrcy2,
  wht.WhldgTaxBaseAmtInAddlCrcy3 AS WhldgTaxBaseAmtInAddlCrcy3,
  wht.WhldgTaxAmtInCoCodeCrcy AS WhldgTaxAmtInCoCodeCrcy,
  wht.WhldgTaxAmtInTransacCrcy AS WhldgTaxAmtInTransacCrcy,
  wht.WhldgTaxAmtInAddlCrcy2 AS WhldgTaxAmtInAddlCrcy2,
  wht.WhldgTaxAmtInAddlCrcy3 AS WhldgTaxAmtInAddlCrcy3,
  wht.WhldgTaxBaseIsEnteredManually AS WhldgTaxBaseIsEnteredManually,
  wht.WhldgTaxIsEnteredManually AS WhldgTaxIsEnteredManually,
  wht.WhldgTaxItemStatus AS WhldgTaxItemStatus,
  wht.AggrgdWhldgTxBaseAmtInCCCrcy AS AggrgdWhldgTxBaseAmtInCCCrcy,
  wht.AggrgdWhldgTaxAmtInCCCrcy AS AggrgdWhldgTaxAmtInCCCrcy,
  wht.CashDiscountAmtInCoCodeCrcy AS CashDiscountAmtInCoCodeCrcy,
  wht.WhldgTaxExmptAmtInCoCodeCrcy AS WhldgTaxExmptAmtInCoCodeCrcy,
  wht.WhldgTaxExmptAmtInTransacCrcy AS WhldgTaxExmptAmtInTransacCrcy,
  wht.WhldgTaxExmptAmtInAddlCrcy2 AS WhldgTaxExmptAmtInAddlCrcy2,
  wht.WhldgTaxExmptAmtInAddlCrcy3 AS WhldgTaxExmptAmtInAddlCrcy3,
  wht.WhldgTaxDeductedNetAmount AS WhldgTaxDeductedNetAmount,
  wht.WhldgTxDdctdNetAmtInTransCrcy AS WhldgTxDdctdNetAmtInTransCrcy,
  wht.RptgWhldgTxBaseAmtInCoCodeCrcy AS RptgWhldgTxBaseAmtInCoCodeCrcy,
  wht.WhldgTaxExmptCertificate AS WhldgTaxExmptCertificate,
  wht.GLAccount AS GLAccount,
  wht.SupplierRecipientType AS SupplierRecipientType,
  wht.WithholdingTaxExmptPercent AS WithholdingTaxExmptPercent,
  wht.WithholdingTaxPercent AS WithholdingTaxPercent,
  wht.IsSelfWhldgTax AS IsSelfWhldgTax,
  wht.IsGrossingUp AS IsGrossingUp,
  wht.WithholdingTaxCertificate AS WithholdingTaxCertificate,
  wht.WhldgTaxCertDate AS WhldgTaxCertDate,
  wht._WithholdingTaxCode.WithholdingTaxIncomeType AS WithholdingTaxIncomeType,
  wht.IN_ClrgWithholdingTaxDocument AS IN_ClrgWithholdingTaxDocument,
  wht.IN_ClrgWithholdingTaxDate AS IN_ClrgWithholdingTaxDate,
  wht.IN_ReferenceDocumentNumber AS IN_ReferenceDocumentNumber,
  wht.IN_WhldgTaxRecordTypeTrans AS IN_WhldgTaxRecordTypeTrans,
  wht.DownPaymentIsCleared AS DownPaymentIsCleared,
  wht.DocumentIsPartialExempted AS DocumentIsPartialExempted,
  wht.WhldgTaxDocumentType AS WhldgTaxDocumentType,
  wht.ItemIsReportingRelevant AS ItemIsReportingRelevant,
  wht.Name AS Name,
  wht.BusinessPartnerName AS BusinessPartnerName,
  wht.TaxNumber1 AS TaxNumber1,
  wht.TaxNumber2 AS TaxNumber2,
  wht.TaxNumber3 AS TaxNumber3,
  wht.TaxNumber4 AS TaxNumber4,
  wht.TaxNumber5 AS TaxNumber5,
  wht.VATRegistration AS VATRegistration,
  wht.PostalCode AS PostalCode,
  wht.CityName AS CityName,
  wht.StreetName AS StreetName,
  wht.HouseNumber AS HouseNumber,
  wht.HouseNumberSupplementText AS HouseNumberSupplementText,
  wht.OrganizationBPName1 AS OrganizationBPName1,
  wht.SearchTerm1 AS SearchTerm1,
  wht.OrganizationFoundationDate AS OrganizationFoundationDate,
  wht.OrganizationBPName2 AS OrganizationBPName2,
  wht.POBoxPostalCode AS POBoxPostalCode,
  wht.POBox AS POBox,
  wht.Region AS Region,
  wht.BusinessPartnerCountry AS BusinessPartnerCountry,
  wht.TaxNumberType AS TaxNumberType,
  wht.PaymentIsNotified AS PaymentIsNotified,
  wht.Language AS Language,
  wht.TaxItemIsZeroRated AS TaxItemIsZeroRated,
  wht.DocumentReferenceID AS DocumentReferenceID,
  wht.TransactionCode AS TransactionCode,
  wht.AccountingDocumentHeaderText AS AccountingDocumentHeaderText,
  wht.DocumentItemText AS DocumentItemText,
  wht.IsNaturalPerson AS IsNaturalPerson,
  wht.EmailAddress AS EmailAddress,
  wht.SqntlNmbrOfWhldgTaxType AS SqntlNmbrOfWhldgTaxType,
  wht.DependencyNmbrOfWhldgTaxType AS DependencyNmbrOfWhldgTaxType,
  wht.WhldgTaxBaseIsInherited AS WhldgTaxBaseIsInherited,
  wht.BusinessPartnerNumber AS BusinessPartnerNumber,
  wht.SenderCompanyCode AS SenderCompanyCode,
  wht.SenderAccountingDocument AS SenderAccountingDocument,
  wht.SenderFiscalYear AS SenderFiscalYear,
  wht.SenderLogicalSystem AS SenderLogicalSystem,
  wht._WithholdingTaxCode AS _WithholdingTaxCode,
  wht._CompanyCode AS _CompanyCode,
  wht._Supplier AS _Supplier,
  wht._Customer AS _Customer,
  wht._ReportingCurrency AS _ReportingCurrency,
  wht._Onetime AS _Onetime,
  wht._Branch AS _Branch,
  wht._Supplier.Supplier AS Supplier,
  wht._JournalEntry AS _JournalEntry,
  wht._OperationalAcctgDocItem AS _OperationalAcctgDocItem
FROM P_StRpWhldgTaxItem AS wht
LEFT OUTER JOIN I_StRpJournalEntryHeaderLog AS _StRpJournalEntryHeaderLog ON _StRpJournalEntryHeaderLog.CompanyCode = wht.CompanyCode AND _StRpJournalEntryHeaderLog.AccountingDocument = wht.AccountingDocument AND _StRpJournalEntryHeaderLog.FiscalYear = wht.FiscalYear  -- association [0..*]
LEFT OUTER JOIN I_WithholdingTaxReportingDate AS _WHTRptDateActive ON _WHTRptDateActive.CompanyCode = wht.CompanyCode  -- association [0..1]
;