I_PublicSectorFormBundle

DDL: I_PUBLICSECTORFORMBUNDLE Type: view BASIC

Form Bundle

I_PublicSectorFormBundle (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Cross Applications

I_PublicSectorFormBundle is a Basic CDS View that provides data about "Form Bundle" in SAP S/4HANA. It reads from 1 data source (dfmca_return) and exposes 76 fields with key field PublicSectorFormBundleUUID. It has 22 associations to related views.

SAP Help Documentation

CategoryCDS Views for Taxpayer Identification and Returns Processing
StatusUser Status
Purpose
This CDS view is designed to provide a comprehensive overview of form bundles within the public sector, including details about taxpayers, joint taxpayers, associated contracts, periods, currency, status, and other relevant attributes. It serves as a foundational data source for transactional operations and reporting related to public sector form bundles. This CDS view provides the data to answer the following business questions: What are the details of a specific form bundle, including its unique identifier and type? Who is the taxpayer associated with a particular form bundle, and what are their identification details? What are the contract account and contract details linked to the taxpayer and joint taxpayer? What is the period key and billing period associated with the form bundle? What is the transaction currency and tax amount for the form bundle? What are the system and user statuses of the form bundle? What are the key dates related to the form bundle, such as receipt, postmark, validation, due date, and filing date? Who created or last changed the form bundle, and when did these actions occur? What is the communication channel used for the form bundle? Is the form bundle consolidated or estimated, and what are the details of any consolidation or duplication? What is the mass processing code associated with the form bundle? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: Authorization Object ID Authorization Object Text B_BUP_PCPT Business Partner: End of Purposes F_PSFH_ACT Authorization Object Public Sector Form Handling, Activity F_PSFH_FBT Authorization Object Public Sector Form Handling, F.B.Type F_PSFH_REV Authorization Object Public Sector Form Handling, Rev. Type F_PSFH_STA Authorization Object Pbulic Sector From Handling, Status

Structure
Important Fields Important fields in this view include the following: Field Name Label PublicSectorFormBundleUUID Carrying Object PublicSectorFormBundle Form Bundle Number PublicSectorFormProcess Form-Based Process PublicSectorFormBundleType Form Bundle Type PublicSectorRevenueType Revenue Type AuthorizationGroup Authorization Group Taxpayer Taxpayer TaxpayerIdentification Taxpayer Identification TaxpayerIdentificationType Taxpayer Identification Type TaxpayerAccount Taxpayer Account TaxpayerContract Taxpayer Contract TaxpayerSubapplication Taxpayer Subapplication JointTaxpayer Joint Taxpayer JointTaxpayerIdentification Joint Taxpayer Identification JointTaxpayerIdnType Joint Taxpayer Identification Type JointTaxpayerAccount Joint Taxpayer Account JointTaxpayerContract Joint Taxpayer Contract JointTaxpayerSubapplication Joint Taxpayer Subapplication CAPeriodCode Period Key CAStartDateOfBillingPeriod Billing Period From CAEndDateOfBillingPeriod Billing Period To TaxAmountInTransCrcy Amount TransactionCurrency Currency PubSecFormBundleSystSts1 System Status 1 PubSecFormBundleSystSts2 System Status 2 PubSecFormBundleUserStatus User Status FormBndlSystStsIsReplicated Status replicated ReceiptDateTime Received On PostmarkDateTime Postmark ValidationDateTime Validation DueDate Tax Due Date FormSubmissionDeferralDate Deferral Date RefundDate Ref. Complete Date PostmarkExtensionDate PstmkExtnsn Dte ReconciliationDate Checked on FilingDate Last Filing Date StatuteOfLimitationDate Statute of Limitation Date KeyDate Key Date for BRF CreatedByUser Created By CreationDateTime Created At LastChangedByUser Changed By LastChangeDateTime Last Changed At PublicSectorTransact

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-PS-CA
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view is designed to provide a comprehensive overview of form bundles within the public sector, including details about taxpayers, joint taxpayers, associated contracts, periods, currency, status, and other relevant attributes. It serves as a foundational data source for transactional operations and reporting related to public sector form bundles.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the details of a specific form bundle, including its unique identifier and type?</p></li> <li><p>Who is the taxpayer associated with a particular form bundle, and what are their identification details?</p></li> <li><p>What are the contract account and contract details linked to the taxpayer and joint taxpayer?</p></li> <li><p>What is the period key and billing period associated with the form bundle?</p></li> <li><p>What is the transaction currency and tax amount for the form bundle?</p></li> <li><p>What are the system and user statuses of the form bundle?</p></li> <li><p>What are the key dates related to the form bundle, such as receipt, postmark, validation, due date, and filing date?</p></li> <li><p>Who created or last changed the form bundle, and when did these actions occur?</p></li> <li><p>What is the communication channel used for the form bundle?</p></li> <li><p>Is the form bundle consolidated or estimated, and what are the details of any consolidation or duplication?</p></li> <li><p>What is the mass processing code associated with the form bundle?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
dfmca_return PublicSectorFormBundle from

Associations (22)

CardinalityTargetAliasCondition
[0..1] I_PublicSectorFormProcess _PublicSectorFormProcess $projection.PublicSectorFormProcess = _PublicSectorFormProcess.PublicSectorFormProcess
[0..1] I_PubSecFormBundleType _PublicSectorFormBundleType $projection.PublicSectorFormBundleType = _PublicSectorFormBundleType.PublicSectorFormBundleType
[0..1] I_PublicSectorRevenueType _PublicSectorRevenueType $projection.PublicSectorRevenueType = _PublicSectorRevenueType.PublicSectorRevenueType
[0..1] I_BusinessPartner _Taxpayer $projection.Taxpayer = _Taxpayer.BusinessPartner
[0..1] I_BuPaIdentification _TaxpayerIdentification $projection.Taxpayer = _TaxpayerIdentification.BusinessPartner and $projection.TaxpayerIdentificationType = _TaxpayerIdentification.BPIdentificationType and $projection.TaxpayerIdentification = _TaxpayerIdentification.BPIdentificationNumber
[0..1] I_ContractAccountHeader _TaxpayerAccountHeader $projection.TaxpayerAccount = _TaxpayerAccountHeader.ContractAccount
[0..1] I_ContractAccountPartner _TaxpayerAccount $projection.Taxpayer = _TaxpayerAccount.BusinessPartner and $projection.TaxpayerAccount = _TaxpayerAccount.ContractAccount
[0..1] I_PublicSectorContract _TaxpayerContractHeader $projection.TaxpayerContract = _TaxpayerContractHeader.PublicSectorContract
[0..*] I_PubSecContractPartner _TaxpayerContract $projection.TaxpayerContract = _TaxpayerContract.PublicSectorContract and $projection.Taxpayer = _TaxpayerContract.ContractPartner and $projection.TaxpayerAccount = _TaxpayerContract.ContractAccount
[0..1] I_BusinessPartner _JointTaxpayer $projection.JointTaxpayer = _JointTaxpayer.BusinessPartner
[0..1] I_BuPaIdentification _JointTaxpayerIdentification $projection.JointTaxpayer = _JointTaxpayerIdentification.BusinessPartner and $projection.JointTaxpayerIdnType = _JointTaxpayerIdentification.BPIdentificationType and $projection.JointTaxpayerIdentification = _JointTaxpayerIdentification.BPIdentificationNumber
[0..1] I_ContractAccountHeader _JointTaxpayerAccountHeader $projection.JointTaxpayerAccount = _JointTaxpayerAccountHeader.ContractAccount
[0..1] I_ContractAccountPartner _JointTaxpayerAccount $projection.JointTaxpayer = _JointTaxpayerAccount.BusinessPartner and $projection.JointTaxpayerAccount = _JointTaxpayerAccount.ContractAccount
[0..1] I_PublicSectorContract _JointTaxpayerContractHeader $projection.JointTaxpayerContract = _JointTaxpayerContractHeader.PublicSectorContract
[0..*] I_PubSecContractPartner _JointTaxpayerContract $projection.JointTaxpayerContract = _JointTaxpayerContract.PublicSectorContract and $projection.JointTaxpayer = _JointTaxpayerContract.ContractPartner and $projection.JointTaxpayerAccount = _JointTaxpayerContract.ContractAccount
[0..1] I_CAPeriodCode _CAPeriodCode $projection.CAPeriodCode = _CAPeriodCode.CAPeriodCode
[0..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[0..1] I_SystemStatus _PubSecFormBundleSystSts1 $projection.PubSecFormBundleSystSts1 = _PubSecFormBundleSystSts1.SystemStatus
[0..1] I_SystemStatus _PubSecFormBundleSystSts2 $projection.PubSecFormBundleSystSts2 = _PubSecFormBundleSystSts2.SystemStatus
[0..1] I_CACommunicationChannel _CACommunicationChannel $projection.CACommunicationChannel = _CACommunicationChannel.CACommunicationChannel
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID

Annotations (12)

NameValueLevelField
EndUserText.label Form Bundle view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IPSFORMBUNDLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.representativeKey PublicSectorFormBundleUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view

Fields (76)

KeyFieldSource TableSource FieldDescription
KEY PublicSectorFormBundleUUID dfmca_return case_guid Technical Key of Carrying Object
PublicSectorFormBundle Number of a Form Bundle
PublicSectorFormProcess Form-Based Process
PublicSectorFormBundleType Form Bundle Type Description
PublicSectorRevenueType dfmca_return revenue_type Revenue Type
AuthorizationGroup dfmca_return begru Authorization Group
Taxpayer Taxpayer Number
TaxpayerIdentification Taxpayer Identification Number
TaxpayerIdentificationType Taxpayer Identification Type
TaxpayerAccount Taxpayer Account Number
TaxpayerContract Taxpayer Contract Object Number
TaxpayerSubapplication Subapplication in Contract Accounts Receivable and Payable
JointTaxpayer Joint Taxpayer Number
JointTaxpayerIdentification Joint Taxpayer Identification Number
JointTaxpayerIdnType Joint Taxpayer Identification Type
JointTaxpayerAccount Joint Taxpayer Account Number
JointTaxpayerContract Joint Taxpayer Contract Object Number
JointTaxpayerSubapplication Subapplication in Contract Accounts Receivable and Payable
CAPeriodCode dfmca_return period_key Key for Period Assignment
CAEndDateOfBillingPeriod Billing Period To
TaxAmountInTransCrcy dfmca_return betrw Tax Return Amount
TransactionCurrency dfmca_return waers Transaction Currency
PubSecFormBundleSystSts1 dfmca_return fbsta FPF: System Status 1 of a Form Bundle
PubSecFormBundleSystSts2 dfmca_return fbstb FPF: System Status 2 of a Form Bundle
PubSecFormBundleUserStatus dfmca_return fbust FPF: User Status of a Form Bundle
FormBndlSystStsIsReplicated Status replicated
ReceiptDateTime Received On
PostmarkDateTime dfmca_return postmark Postmark
ValidationDateTime dfmca_return validation Time When Validation Started
DueDate Tax Due Date
FormSubmissionDeferralDate dfmca_return deferral_date Deferral Date for Submission of Form
RefundDate dfmca_return refund_complete Refund Complete Date
PostmarkExtensionDate dfmca_return postmark_ext Postmark Extension Date
ReconciliationDate dfmca_return reconciliation Reconciliation
FilingDate dfmca_return last_filing Last Filing Date
StatuteOfLimitationDate Statute of Limitation Date
KeyDate dfmca_return keydt Key Date for Determination of BRF Events
CreatedByUser dfmca_return ernam Name of Person Responsible for Creating the Object
CreationDateTime Time at Which Object Was Created
LastChangedByUser dfmca_return aenam Name of Person Who Changed Object
LastChangeDateTime Last Changed At
PublicSectorTransactionType dfmca_return transaction_type Transaction Type for Tax Processing
CACommunicationChannel Communication Channel
PubSecFormBundleCurVersion dfmca_return current_version Current TTF-Form Version
PubSecFormBundleIsCnsldtd dfmca_return x_cons Consolidating Tax Return
PubSecFormBundleIsEstimated dfmca_return x_estimated Estimated Form Bundle
ConsolidatingFormBundleUUID dfmca_return consolidated_by Technical Case Key (Case GUID)
DuplicateToFormBundleUUID dfmca_return duplicate_to Technical Case Key (Case GUID)
DeferralRequestDate dfmca_return as_filed_ext As Filed Extension Date
CADocMgmtSrvcStorageLocation dfmca_return locator_number Identification of Storage Location of Document
CADocMgmtSrvcBatch dfmca_return batch_id Identification Number of Lot
TaxAdviser dfmca_return tax_preparer Tax Adviser
CASubAreaForParallelization dfmca_return keypp Subarea for Parallelization in Mass Processing
PublicSectorMassProcessingCode dfmca_return indpr Process Indicator
_PublicSectorFormProcess _PublicSectorFormProcess
_PublicSectorFormBundleType _PublicSectorFormBundleType
_PublicSectorRevenueType _PublicSectorRevenueType
_Taxpayer _Taxpayer
_TaxpayerIdentification _TaxpayerIdentification
_TaxpayerAccountHeader _TaxpayerAccountHeader
_TaxpayerAccount _TaxpayerAccount
_TaxpayerContractHeader _TaxpayerContractHeader
_TaxpayerContract _TaxpayerContract
_JointTaxpayer _JointTaxpayer
_JointTaxpayerIdentification _JointTaxpayerIdentification
_JointTaxpayerAccountHeader _JointTaxpayerAccountHeader
_JointTaxpayerAccount _JointTaxpayerAccount
_JointTaxpayerContractHeader _JointTaxpayerContractHeader
_JointTaxpayerContract _JointTaxpayerContract
_CAPeriodCode _CAPeriodCode
_TransactionCurrency _TransactionCurrency
_PubSecFormBundleSystSts1 _PubSecFormBundleSystSts1
_PubSecFormBundleSystSts2 _PubSecFormBundleSystSts2
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_CACommunicationChannel _CACommunicationChannel

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_PublicSectorFormBundle.
-- 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_PublicSectorFormBundle AS
SELECT
  PublicSectorFormBundle.case_guid AS PublicSectorFormBundleUUID,
  cast(PublicSectorFormBundle.fbnum as ps_formbundle_number preserving type) AS PublicSectorFormBundle,
  cast(PublicSectorFormBundle.formproc as ps_form_process preserving type) AS PublicSectorFormProcess,
  cast(PublicSectorFormBundle.fbtyp as ps_formbundletype preserving type ) AS PublicSectorFormBundleType,
  PublicSectorFormBundle.revenue_type AS PublicSectorRevenueType,
  PublicSectorFormBundle.begru AS AuthorizationGroup,
  cast(PublicSectorFormBundle.taxpayer as ps_taxpayer preserving type) AS Taxpayer,
  cast(PublicSectorFormBundle.taxpayer_id as ps_taxpayer_id_number preserving type ) AS TaxpayerIdentification,
  cast(PublicSectorFormBundle.bu_id_type as ps_taxpayer_id_type preserving type ) AS TaxpayerIdentificationType,
  cast(PublicSectorFormBundle.account as ps_taxpayer_account preserving type ) AS TaxpayerAccount,
  cast(PublicSectorFormBundle.reg_id as ps_taxpayer_contract preserving type ) AS TaxpayerContract,
  cast(PublicSectorFormBundle.reg_type as ps_taxpayer_subap preserving type ) AS TaxpayerSubapplication,
  cast(PublicSectorFormBundle.joint_filer as ps_joint_taxpayer preserving type ) AS JointTaxpayer,
  cast(PublicSectorFormBundle.joint_filer_id as ps_joint_taxpayer_id_number preserving type ) AS JointTaxpayerIdentification,
  cast(PublicSectorFormBundle.joint_id_type as ps_joint_taxpayer_id_type preserving type ) AS JointTaxpayerIdnType,
  cast(PublicSectorFormBundle.joint_account as ps_joint_taxpayer_account preserving type ) AS JointTaxpayerAccount,
  cast(PublicSectorFormBundle.joint_reg_id as ps_joint_taxpayer_contract preserving type ) AS JointTaxpayerContract,
  cast(PublicSectorFormBundle.joint_reg_type as ps_joint_taxpayer_subap preserving type ) AS JointTaxpayerSubapplication,
  PublicSectorFormBundle.period_key AS CAPeriodCode,
  cast(PublicSectorFormBundle.apply_to as ps_billing_period_to preserving type ) AS CAEndDateOfBillingPeriod,
  PublicSectorFormBundle.betrw AS TaxAmountInTransCrcy,
  PublicSectorFormBundle.waers AS TransactionCurrency,
  PublicSectorFormBundle.fbsta AS PubSecFormBundleSystSts1,
  PublicSectorFormBundle.fbstb AS PubSecFormBundleSystSts2,
  PublicSectorFormBundle.fbust AS PubSecFormBundleUserStatus,
  cast(PublicSectorFormBundle.fbstz as ps_status_replicated preserving type ) AS FormBndlSystStsIsReplicated,
  cast(PublicSectorFormBundle.receipt as ps_received_on preserving type ) AS ReceiptDateTime,
  PublicSectorFormBundle.postmark AS PostmarkDateTime,
  PublicSectorFormBundle.validation AS ValidationDateTime,
  cast(PublicSectorFormBundle.due_date as ps_tax_due_date preserving type ) AS DueDate,
  PublicSectorFormBundle.deferral_date AS FormSubmissionDeferralDate,
  PublicSectorFormBundle.refund_complete AS RefundDate,
  PublicSectorFormBundle.postmark_ext AS PostmarkExtensionDate,
  PublicSectorFormBundle.reconciliation AS ReconciliationDate,
  PublicSectorFormBundle.last_filing AS FilingDate,
  cast(PublicSectorFormBundle.date_sol as ps_date_sol preserving type ) AS StatuteOfLimitationDate,
  PublicSectorFormBundle.keydt AS KeyDate,
  PublicSectorFormBundle.ernam AS CreatedByUser,
  cast( PublicSectorFormBundle.ertsp as ps_ertsp preserving type ) AS CreationDateTime,
  PublicSectorFormBundle.aenam AS LastChangedByUser,
  cast (PublicSectorFormBundle.aetsp as ps_aetsp preserving type ) AS LastChangeDateTime,
  PublicSectorFormBundle.transaction_type AS PublicSectorTransactionType,
  cast( PublicSectorFormBundle.in_channel as ps_communicationchannel preserving type) AS CACommunicationChannel,
  PublicSectorFormBundle.current_version AS PubSecFormBundleCurVersion,
  PublicSectorFormBundle.x_cons AS PubSecFormBundleIsCnsldtd,
  PublicSectorFormBundle.x_estimated AS PubSecFormBundleIsEstimated,
  PublicSectorFormBundle.consolidated_by AS ConsolidatingFormBundleUUID,
  PublicSectorFormBundle.duplicate_to AS DuplicateToFormBundleUUID,
  PublicSectorFormBundle.as_filed_ext AS DeferralRequestDate,
  PublicSectorFormBundle.locator_number AS CADocMgmtSrvcStorageLocation,
  PublicSectorFormBundle.batch_id AS CADocMgmtSrvcBatch,
  PublicSectorFormBundle.tax_preparer AS TaxAdviser,
  PublicSectorFormBundle.keypp AS CASubAreaForParallelization,
  PublicSectorFormBundle.indpr AS PublicSectorMassProcessingCode
FROM dfmca_return AS PublicSectorFormBundle
LEFT OUTER JOIN I_PublicSectorFormProcess AS _PublicSectorFormProcess ON PublicSectorFormProcess = _PublicSectorFormProcess.PublicSectorFormProcess  -- association [0..1]
LEFT OUTER JOIN I_PubSecFormBundleType AS _PublicSectorFormBundleType ON PublicSectorFormBundleType = _PublicSectorFormBundleType.PublicSectorFormBundleType  -- association [0..1]
LEFT OUTER JOIN I_PublicSectorRevenueType AS _PublicSectorRevenueType ON PublicSectorRevenueType = _PublicSectorRevenueType.PublicSectorRevenueType  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _Taxpayer ON Taxpayer = _Taxpayer.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_BuPaIdentification AS _TaxpayerIdentification ON Taxpayer = _TaxpayerIdentification.BusinessPartner AND TaxpayerIdentificationType = _TaxpayerIdentification.BPIdentificationType AND TaxpayerIdentification = _TaxpayerIdentification.BPIdentificationNumber  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _TaxpayerAccountHeader ON TaxpayerAccount = _TaxpayerAccountHeader.ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _TaxpayerAccount ON Taxpayer = _TaxpayerAccount.BusinessPartner AND TaxpayerAccount = _TaxpayerAccount.ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_PublicSectorContract AS _TaxpayerContractHeader ON TaxpayerContract = _TaxpayerContractHeader.PublicSectorContract  -- association [0..1]
LEFT OUTER JOIN I_PubSecContractPartner AS _TaxpayerContract ON TaxpayerContract = _TaxpayerContract.PublicSectorContract AND Taxpayer = _TaxpayerContract.ContractPartner AND TaxpayerAccount = _TaxpayerContract.ContractAccount  -- association [0..*]
LEFT OUTER JOIN I_BusinessPartner AS _JointTaxpayer ON JointTaxpayer = _JointTaxpayer.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_BuPaIdentification AS _JointTaxpayerIdentification ON JointTaxpayer = _JointTaxpayerIdentification.BusinessPartner AND JointTaxpayerIdnType = _JointTaxpayerIdentification.BPIdentificationType AND JointTaxpayerIdentification = _JointTaxpayerIdentification.BPIdentificationNumber  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _JointTaxpayerAccountHeader ON JointTaxpayerAccount = _JointTaxpayerAccountHeader.ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _JointTaxpayerAccount ON JointTaxpayer = _JointTaxpayerAccount.BusinessPartner AND JointTaxpayerAccount = _JointTaxpayerAccount.ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_PublicSectorContract AS _JointTaxpayerContractHeader ON JointTaxpayerContract = _JointTaxpayerContractHeader.PublicSectorContract  -- association [0..1]
LEFT OUTER JOIN I_PubSecContractPartner AS _JointTaxpayerContract ON JointTaxpayerContract = _JointTaxpayerContract.PublicSectorContract AND JointTaxpayer = _JointTaxpayerContract.ContractPartner AND JointTaxpayerAccount = _JointTaxpayerContract.ContractAccount  -- association [0..*]
LEFT OUTER JOIN I_CAPeriodCode AS _CAPeriodCode ON CAPeriodCode = _CAPeriodCode.CAPeriodCode  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_SystemStatus AS _PubSecFormBundleSystSts1 ON PubSecFormBundleSystSts1 = _PubSecFormBundleSystSts1.SystemStatus  -- association [0..1]
LEFT OUTER JOIN I_SystemStatus AS _PubSecFormBundleSystSts2 ON PubSecFormBundleSystSts2 = _PubSecFormBundleSystSts2.SystemStatus  -- association [0..1]
LEFT OUTER JOIN I_CACommunicationChannel AS _CACommunicationChannel ON CACommunicationChannel = _CACommunicationChannel.CACommunicationChannel  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
;