C_MemoRecordTP

DDL: C_MEMORECORDTP Type: view CONSUMPTION

Memo Record Administrative Data

C_MemoRecordTP is a Consumption CDS View that provides data about "Memo Record Administrative Data" in SAP S/4HANA. It reads from 1 data source (I_MemoRecordTP) and exposes 157 fields with key field CashFlowID. It has 30 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MemoRecordTP memo from

Associations (30)

CardinalityTargetAliasCondition
[0..1] I_MemoRecordStatus _MemoRecordStatus $projection.MemoRecordStatus = _MemoRecordStatus.MemoRecordStatus and _MemoRecordStatus.Language = $session.system_language
[0..*] I_ProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter
[0..1] C_BankAcctIdVH _BankAcctIDVH $projection.BankAccountInternalID = _BankAcctIDVH.BankAccountInternalID and $projection.BankAccount = _BankAcctIDVH.BankAccountNumber and $projection.HouseBank = _BankAcctIDVH.HouseBank and $projection.HouseBankAccount = _BankAcctIDVH.HouseBankAccount and $projection.CompanyCode = _BankAcctIDVH.CompanyCode
[0..1] I_HouseBankAccountVH _BankAcctVH $projection.BankAccountInternalID = _BankAcctVH.BankAccountInternalID and $projection.BankAccount = _BankAcctVH.BankAccount and $projection.HouseBank = _BankAcctVH.HouseBank and $projection.HouseBankAccount = _BankAcctVH.HouseBankAccount and $projection.CompanyCode = _BankAcctVH.CompanyCode
[0..1] I_PlanningLevelVH _PlanningLevelVH $projection.PlanningLevel = _PlanningLevelVH.PlanningLevel
[0..1] I_UserContactCard _CreatedBy $projection.CreatedByUser = _CreatedBy.ContactCardID
[0..1] I_UserContactCard _SubmittedBy $projection.CashRequestSubmittedByUser = _SubmittedBy.ContactCardID
[0..1] C_BankAcctIdVH _RcvgBankAcctIDVH $projection.ReceivingBankAccountIntID = _RcvgBankAcctIDVH.BankAccountInternalID and $projection.ReceivingBankAccount = _RcvgBankAcctIDVH.BankAccountNumber and $projection.CashReqCompanyCode = _RcvgBankAcctIDVH.CompanyCode and $projection.AdditionalCurrency2 = _RcvgBankAcctIDVH.BankAccountCurrency
[0..1] C_BankAcctIdVH _SndgBankAcctIDVH $projection.SendingBankAccountIntID = _SndgBankAcctIDVH.BankAccountInternalID and $projection.SendingBankAccount = _SndgBankAcctIDVH.BankAccountNumber and $projection.CashReqCompanyCode = _SndgBankAcctIDVH.CompanyCode and $projection.AdditionalCurrency1 = _SndgBankAcctIDVH.BankAccountCurrency
[0..1] I_PlanningLevel _CashReqPlanningLevel $projection.CashReqPlanningLevel = _CashReqPlanningLevel.PlanningLevel
[0..1] I_PlanningLevelText _CashReqPlanningLevelText $projection.CashReqPlanningLevel = _CashReqPlanningLevelText.PlanningLevel and _CashReqPlanningLevelText.Language = $session.system_language
[0..1] I_BusinessPartnerBank _BusinessPartnerBank $projection.BusinessPartner = _BusinessPartnerBank.BusinessPartner and $projection.BankIdentification = _BusinessPartnerBank.BankIdentification
[0..1] I_FinancialInstrAssignment _FinInstrAssignment $projection.FinancialInstrumentAssignment = _FinInstrAssignment.FinancialInstrumentAssignment
[0..1] I_FinancialInstrReference _FinInstrReference $projection.FinancialInstrumentReference = _FinInstrReference.FinancialInstrumentReference
[0..1] I_FinancialInstrCharacteristic _FinInstrCharc $projection.FinancialInstrCharacteristic = _FinInstrCharc.FinancialInstrCharacteristic
[0..1] I_CashReqInstrCategory _CashReqInstrCategory $projection.CashReqInstrCategory = _CashReqInstrCategory.CashReqInstrCategory
[0..1] I_CashRequestStatus _CashRequestStatus $projection.CashRequestStatus = _CashRequestStatus.CashRequestStatus
[0..1] I_HouseBankAccountVH _HouseBankVH $projection.BankAccountInternalID = _HouseBankVH.BankAccountInternalID and $projection.BankAccount = _HouseBankVH.BankAccountNumber and $projection.CompanyCode = _HouseBankVH.CompanyCode and $projection.HouseBank = _HouseBankVH.HouseBank and $projection.HouseBankAccount = _HouseBankVH.HouseBankAccount
[0..1] I_HouseBankAccountVH _OffsettingBankVH $projection.OffsetBankAccountNumber = _OffsettingBankVH.BankAccountNumber and $projection.OffsettingCompanyCode = _OffsettingBankVH.CompanyCode and $projection.OffsettingHouseBank = _OffsettingBankVH.HouseBank and $projection.OffsettingHouseBankAccount = _OffsettingBankVH.HouseBankAccount
[0..1] I_CompanyCode _OffsettingCompanyCode $projection.OffsettingCompanyCode = _OffsettingCompanyCode.CompanyCode
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_HouseBankText _OffsettingHouseBank $projection.OffsettingCompanyCode = _OffsettingHouseBank.CompanyCode and $projection.OffsettingHouseBank = _OffsettingHouseBank.HouseBank and $projection.OffsettingHouseBankAccount = _OffsettingHouseBank.HouseBankAccount and _OffsettingHouseBank.Language = $session.system_language
[0..1] I_BusinessPartnerVH _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_MemoRecordCertaintyLevelText _CertaintyLevelText $projection.CertaintyLevel = _CertaintyLevelText.CertaintyLevel and _CertaintyLevelText.Language = $session.system_language
[0..1] I_StatisticalItemText _StatisticalItemText $projection.IsStatisticalItem = _StatisticalItemText.MemoRecordStatisticItem and _StatisticalItemText.Language = $session.system_language
[0..1] I_PlanningLevelText _PlanningLevelText $projection.PlanningLevel = _PlanningLevelText.PlanningLevel and _PlanningLevelText.Language = $session.system_language
[0..1] I_LiquidityItemText _LiquidityItemText $projection.LiquidityItem = _LiquidityItemText.LiquidityItem and _LiquidityItemText.Language = $session.system_language
[0..*] I_FundText _FundText $projection.Fund = _FundText.Fund and _FundText.Language = $session.system_language
[0..1] I_GrantText _GrantText $projection.GrantID = _GrantText.GrantID and _GrantText.Language = $session.system_language
[0..1] I_BusinessAreaText _BusinessAreaText $projection.BusinessArea = _BusinessAreaText.BusinessArea and _BusinessAreaText.Language = $session.system_language

Annotations (26)

NameValueLevelField
AbapCatalog.sqlViewName CMEMORECORDTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Memo Record Administrative Data view
VDM.viewType #CONSUMPTION view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.representativeKey CashFlowID view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
Consumption.semanticObject BankAccount view
UI.headerInfo.typeName Memo Record view
UI.headerInfo.typeNamePlural Memo Records view
UI.headerInfo.title.label Memo Records view
UI.headerInfo.title.value CashMemoRecordID view
UI.headerInfo.description.label Certainty Level view
UI.headerInfo.description.value CertaintyLevel view

Fields (157)

KeyFieldSource TableSource FieldDescription
KEY CashFlowID I_MemoRecordTP CashFlowID
CashMemoRecordID I_MemoRecordTP CashMemoRecordID ID number
CompanyCode I_MemoRecordTP CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
PlanningLevel I_MemoRecordTP PlanningLevel Planning Level
CashPlanningGroup I_MemoRecordTP CashPlanningGroup Planning Group
BankAccountInternalID I_MemoRecordTP BankAccountInternalID Technical ID
BankAccountRevision I_MemoRecordTP BankAccountRevision
BankAccount I_MemoRecordTP BankAccount Bank acct
BankAccountDescription I_MemoRecordTP BankAccountDescription
TransactionDate I_MemoRecordTP TransactionDate Value Date
ExpirationDate I_MemoRecordTP ExpirationDate Expiratn Date
MemoRecordStatus I_MemoRecordTP MemoRecordStatus Memo Record Status
MemoRecordStatusCriticality _MemoRecordStatus MemoRecordStatusCriticality INT1
AmountInTransactionCurrency I_MemoRecordTP AmountInTransactionCurrency Pt Crcy Amt
TransactionCurrency I_MemoRecordTP TransactionCurrency Transaction Currency
LiquidityItem I_MemoRecordTP LiquidityItem Liquidity Item
LiquidityItemDescription I_MemoRecordTP LiquidityItemDescription
BusinessArea I_MemoRecordTP BusinessArea Business Area
ProfitCenter I_MemoRecordTP ProfitCenter Profit Center
ProfitCenterName
OffsettingCompanyCode I_MemoRecordTP OffsettingCompanyCode
OffsettingCompanyCodeName _OffsettingCompanyCode CompanyCodeName Company Name
OffsettingAccount I_MemoRecordTP OffsettingAccount Offsetting Acct
OffsettingValueDate I_MemoRecordTP OffsettingValueDate
OffsettingBankAccount I_MemoRecordTP OffsettingBankAccount
OffsetBankAccountNumber I_MemoRecordTP OffsetBankAccountNumber Bank Account
OffsetBankAccountName
OffsettingHouseBank I_MemoRecordTP OffsettingHouseBank
OffsettingHouseBankAccount I_MemoRecordTP OffsettingHouseBankAccount
BankStatementDate I_MemoRecordTP BankStatementDate Statement Date
BankStatementShortID I_MemoRecordTP BankStatementShortID Statement Short Key
Fund I_MemoRecordTP Fund Sender Fund
GrantID I_MemoRecordTP GrantID Sender Grant
CreatedByUser I_MemoRecordTP CreatedByUser User Name
CreatedByUserDescription I_MemoRecordTP CreatedByUserDescription Description
CreationTime I_MemoRecordTP CreationTime Time of Change
LastChangedByUser I_MemoRecordTP LastChangedByUser User Name
LastChangedByUserDescription I_MemoRecordTP LastChangedByUserDescription Description
LastChangeDateTime I_MemoRecordTP LastChangeDateTime Timestamp
CashRequestSubmittedByUser I_MemoRecordTP CashRequestSubmittedByUser
CshTrdReqSubmdByUserIsHidden CshTrdReqSubmdByUserIsHidden
HouseBank I_MemoRecordTP HouseBank House Bank
HouseBankAccount I_MemoRecordTP HouseBankAccount House Bank Account
GLAccount I_MemoRecordTP GLAccount General Ledger
OwnerName I_MemoRecordTP OwnerName
CertaintyLevel I_MemoRecordTP CertaintyLevel
CertaintyLevelName _CertaintyLevelText CertaintyLevelName
OriginApplication I_MemoRecordTP OriginApplication Origin Application
CashFlowCategory I_MemoRecordTP CashFlowCategory
CashFlowType I_MemoRecordTP CashFlowType Flow Type
IsDeleted I_MemoRecordTP IsDeleted TRUE
CustomerFactoryCalenderCode I_MemoRecordTP CustomerFactoryCalenderCode Cust.calendar
EffectiveInterestRate I_MemoRecordTP EffectiveInterestRate
TermStartDate I_MemoRecordTP TermStartDate
TextDescription I_MemoRecordTP TextDescription
IsStatisticalItem I_MemoRecordTP IsStatisticalItem Statisticl.Indicator
StatisticalItemText _StatisticalItemText StatisticalItemText
Segment I_MemoRecordTP Segment Segment number
CashReleaseStatus I_MemoRecordTP CashReleaseStatus
CashReleaseStatusText I_MemoRecordTP CashReleaseStatusText
TreasuryTradeRequest TreasuryTradeRequest
CashRequestStatus CashRequestStatus
CashRequestStatusDesc CashRequestStatusDesc
CashReqInstrCategory CashReqInstrCategory
CashReqInstrCategoryDesc CashReqInstrCategoryDesc
CashReqValueDate CashReqValueDate Value Date
TrsyTradedAmountBuySellCode TrsyTradedAmountBuySellCode
CashReqCompanyCode CashReqCompanyCode Receiver Company Code
CashReqCompanyCodeName CashReqCompanyCodeName Company Name
TradedCurrency TradedCurrency Transaction Currency
AmountInTradedCurrency AmountInTradedCurrency Local Crcy Amt
FollowingCurrency FollowingCurrency
AmountInFollowingCurrency AmountInFollowingCurrency
OpenAmountInTradedCurrency OpenAmountInTradedCurrency Pt Crcy Amt
OpenAmountInFollowingCurrency OpenAmountInFollowingCurrency
SendingBankAccountIntID SendingBankAccountIntID Technical ID
SendingBankAccount
SendingBankAccountName SendingBankAccountName
ReceivingBankAccountIntID ReceivingBankAccountIntID
ReceivingBankAccount
ReceivingBankAccountName ReceivingBankAccountName
BusinessPartner BusinessPartner Issuing Authority
BusinessPartnerName BusinessPartnerName Extracted Customer Name
BankIdentification BankIdentification Bank Details
FinancialInstrumentAssignment FinancialInstrumentAssignment
FinancialInstrAssignmentDesc FinancialInstrAssignmentDesc
FinancialInstrumentReference FinancialInstrumentReference
FinancialInstrReferenceDesc FinancialInstrReferenceDesc
FinancialInstrCharacteristic FinancialInstrCharacteristic Characteristics
FinancialInstrCharcDesc FinancialInstrCharcDesc
CashReqLiquidityItem CashReqLiquidityItem Liquidity Item
CashReqLiquidityItemName CashReqLiquidityItemName
CashReqPlanningLevel CashReqPlanningLevel Planning Level
CashReqPlanningLevelName _CashReqPlanningLevelText PlanningLevelName
CashReqHasDocument CashReqHasDocument
TrsyTradeReqCancellationReason TrsyTradeReqCancellationReason
TrsyTradeReqCanclnRsnName TrsyTradeReqCanclnRsnName
CashRequestText CashRequestText
AdditionalCurrency1 AdditionalCurrency1 Local curr. 2
AdditionalCurrency2 AdditionalCurrency2 Local curr. 3
TrsyCshFlowDebtInvmtCode TrsyCshFlowDebtInvmtCode
TermEndDate TermEndDate
LoanTermStartDate LoanTermStartDate
LoanTermEndDate LoanTermEndDate
OffstgBankAccountInternalID OffstgBankAccountInternalID
CashPaymentAdviceGroup CashPaymentAdviceGroup
CshTrdReqFXLeg1BuySellCode CshTrdReqFXLeg1BuySellCode
CshTrdReqFXLeg1ValueDate CshTrdReqFXLeg1ValueDate
CshTrdReqFXLeg1ReqdAmtInTDC CshTrdReqFXLeg1ReqdAmtInTDC
CshTrdReqFXLeg1ReqdAmtInOTDC CshTrdReqFXLeg1ReqdAmtInOTDC
CshTrdReqFXLeg1OpenAmtInTDC CshTrdReqFXLeg1OpenAmtInTDC
CshTrdReqFXLeg1OpenAmtInOTDC CshTrdReqFXLeg1OpenAmtInOTDC
CshTrdReqFXLeg1TradedCurrency CshTrdReqFXLeg1TradedCurrency
CshTrdReqFXLeg1OpstTrddCrcy CshTrdReqFXLeg1OpstTrddCrcy
CshTrdReqFXLeg1SndgBkAcctIntID CshTrdReqFXLeg1SndgBkAcctIntID
CshTrdReqFXLeg1RcvgBkAcctIntID CshTrdReqFXLeg1RcvgBkAcctIntID
CshTrdReqFXLeg2BuySellCode CshTrdReqFXLeg2BuySellCode
CshTrdReqFXLeg2ValueDate CshTrdReqFXLeg2ValueDate
CshTrdReqFXLeg2ReqdAmtInTDC CshTrdReqFXLeg2ReqdAmtInTDC
CshTrdReqFXLeg2ReqdAmtInOTDC CshTrdReqFXLeg2ReqdAmtInOTDC
CshTrdReqFXLeg2OpenAmtInTDC CshTrdReqFXLeg2OpenAmtInTDC
CshTrdReqFXLeg2OpenAmtInOTDC CshTrdReqFXLeg2OpenAmtInOTDC
CshTrdReqFXLeg2TradedCurrency CshTrdReqFXLeg2TradedCurrency
CshTrdReqFXLeg2OpstTrddCrcy CshTrdReqFXLeg2OpstTrddCrcy
CshTrdReqFXLeg2SndgBkAcctIntID CshTrdReqFXLeg2SndgBkAcctIntID
CshTrdReqFXLeg2RcvgBkAcctIntID CshTrdReqFXLeg2RcvgBkAcctIntID
_RcvgBankAcctIDVH _RcvgBankAcctIDVH
_SndgBankAcctIDVH _SndgBankAcctIDVH
_CashReqPlanningLevel _CashReqPlanningLevel
_BusinessPartnerBank _BusinessPartnerBank
_FinInstrAssignment _FinInstrAssignment
_FinInstrReference _FinInstrReference
_FinInstrCharc _FinInstrCharc
_CashReqInstrCategory _CashReqInstrCategory
_CashRequestStatus _CashRequestStatus
_BusinessPartner _BusinessPartner
_PlanningLevelVH _PlanningLevelVH
_BankAcctIDVH _BankAcctIDVH
_BankAcctVH _BankAcctVH
_CertaintyLevelText _CertaintyLevelText
_StatisticalItemText _StatisticalItemText
_CashReqPlanningLevelText _CashReqPlanningLevelText
_ProfitCenter _ProfitCenter
_MemoRecordStatus _MemoRecordStatus
_CreatedBy _CreatedBy
_SubmittedBy _SubmittedBy
_HouseBankVH _HouseBankVH
_OffsettingBankVH _OffsettingBankVH
_OffsettingCompanyCode _OffsettingCompanyCode
_CompanyCode _CompanyCode
_OffsettingHouseBank _OffsettingHouseBank
_PlanningLevelText _PlanningLevelText
_LiquidityItemText _LiquidityItemText
_FundText _FundText
_GrantText _GrantText
_BusinessAreaText _BusinessAreaText

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 C_MemoRecordTP.
-- 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 C_MemoRecordTP AS
SELECT
  memo.CashFlowID AS CashFlowID,
  memo.CashMemoRecordID AS CashMemoRecordID,
  memo.CompanyCode AS CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  memo.PlanningLevel AS PlanningLevel,
  memo.CashPlanningGroup AS CashPlanningGroup,
  memo.BankAccountInternalID AS BankAccountInternalID,
  memo.BankAccountRevision AS BankAccountRevision,
  memo.BankAccount AS BankAccount,
  memo.BankAccountDescription AS BankAccountDescription,
  memo.TransactionDate AS TransactionDate,
  memo.ExpirationDate AS ExpirationDate,
  memo.MemoRecordStatus AS MemoRecordStatus,
  _MemoRecordStatus.MemoRecordStatusCriticality AS MemoRecordStatusCriticality,
  memo.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  memo.TransactionCurrency AS TransactionCurrency,
  memo.LiquidityItem AS LiquidityItem,
  memo.LiquidityItemDescription AS LiquidityItemDescription,
  memo.BusinessArea AS BusinessArea,
  memo.ProfitCenter AS ProfitCenter,
  cast('' as fis_prctr_shorttext ) AS ProfitCenterName,
  memo.OffsettingCompanyCode AS OffsettingCompanyCode,
  _OffsettingCompanyCode.CompanyCodeName AS OffsettingCompanyCodeName,
  memo.OffsettingAccount AS OffsettingAccount,
  memo.OffsettingValueDate AS OffsettingValueDate,
  memo.OffsettingBankAccount AS OffsettingBankAccount,
  memo.OffsetBankAccountNumber AS OffsetBankAccountNumber,
  cast('' as fclm_bam_description ) AS OffsetBankAccountName,
  memo.OffsettingHouseBank AS OffsettingHouseBank,
  memo.OffsettingHouseBankAccount AS OffsettingHouseBankAccount,
  memo.BankStatementDate AS BankStatementDate,
  memo.BankStatementShortID AS BankStatementShortID,
  memo.Fund AS Fund,
  memo.GrantID AS GrantID,
  memo.CreatedByUser AS CreatedByUser,
  memo.CreatedByUserDescription AS CreatedByUserDescription,
  memo.CreationTime AS CreationTime,
  memo.LastChangedByUser AS LastChangedByUser,
  memo.LastChangedByUserDescription AS LastChangedByUserDescription,
  memo.LastChangeDateTime AS LastChangeDateTime,
  memo.CashRequestSubmittedByUser AS CashRequestSubmittedByUser,
  CshTrdReqSubmdByUserIsHidden,
  memo.HouseBank AS HouseBank,
  memo.HouseBankAccount AS HouseBankAccount,
  memo.GLAccount AS GLAccount,
  memo.OwnerName AS OwnerName,
  memo.CertaintyLevel AS CertaintyLevel,
  _CertaintyLevelText.CertaintyLevelName AS CertaintyLevelName,
  memo.OriginApplication AS OriginApplication,
  memo.CashFlowCategory AS CashFlowCategory,
  memo.CashFlowType AS CashFlowType,
  memo.IsDeleted AS IsDeleted,
  memo.CustomerFactoryCalenderCode AS CustomerFactoryCalenderCode,
  memo.EffectiveInterestRate AS EffectiveInterestRate,
  memo.TermStartDate AS TermStartDate,
  memo.TextDescription AS TextDescription,
  memo.IsStatisticalItem AS IsStatisticalItem,
  _StatisticalItemText.StatisticalItemText AS StatisticalItemText,
  memo.Segment AS Segment,
  memo.CashReleaseStatus AS CashReleaseStatus,
  memo.CashReleaseStatusText AS CashReleaseStatusText,
  TreasuryTradeRequest,
  CashRequestStatus,
  CashRequestStatusDesc,
  CashReqInstrCategory,
  CashReqInstrCategoryDesc,
  CashReqValueDate,
  TrsyTradedAmountBuySellCode,
  CashReqCompanyCode,
  CashReqCompanyCodeName,
  TradedCurrency,
  AmountInTradedCurrency,
  FollowingCurrency,
  AmountInFollowingCurrency,
  OpenAmountInTradedCurrency,
  OpenAmountInFollowingCurrency,
  SendingBankAccountIntID,
  SendingBankAccountName,
  ReceivingBankAccountIntID,
  ReceivingBankAccountName,
  BusinessPartner,
  BusinessPartnerName,
  BankIdentification,
  FinancialInstrumentAssignment,
  FinancialInstrAssignmentDesc,
  FinancialInstrumentReference,
  FinancialInstrReferenceDesc,
  FinancialInstrCharacteristic,
  FinancialInstrCharcDesc,
  CashReqLiquidityItem,
  CashReqLiquidityItemName,
  CashReqPlanningLevel,
  _CashReqPlanningLevelText.PlanningLevelName AS CashReqPlanningLevelName,
  CashReqHasDocument,
  TrsyTradeReqCancellationReason,
  TrsyTradeReqCanclnRsnName,
  CashRequestText,
  AdditionalCurrency1,
  AdditionalCurrency2,
  TrsyCshFlowDebtInvmtCode,
  TermEndDate,
  LoanTermStartDate,
  LoanTermEndDate,
  OffstgBankAccountInternalID,
  CashPaymentAdviceGroup,
  CshTrdReqFXLeg1BuySellCode,
  CshTrdReqFXLeg1ValueDate,
  CshTrdReqFXLeg1ReqdAmtInTDC,
  CshTrdReqFXLeg1ReqdAmtInOTDC,
  CshTrdReqFXLeg1OpenAmtInTDC,
  CshTrdReqFXLeg1OpenAmtInOTDC,
  CshTrdReqFXLeg1TradedCurrency,
  CshTrdReqFXLeg1OpstTrddCrcy,
  CshTrdReqFXLeg1SndgBkAcctIntID,
  CshTrdReqFXLeg1RcvgBkAcctIntID,
  CshTrdReqFXLeg2BuySellCode,
  CshTrdReqFXLeg2ValueDate,
  CshTrdReqFXLeg2ReqdAmtInTDC,
  CshTrdReqFXLeg2ReqdAmtInOTDC,
  CshTrdReqFXLeg2OpenAmtInTDC,
  CshTrdReqFXLeg2OpenAmtInOTDC,
  CshTrdReqFXLeg2TradedCurrency,
  CshTrdReqFXLeg2OpstTrddCrcy,
  CshTrdReqFXLeg2SndgBkAcctIntID,
  CshTrdReqFXLeg2RcvgBkAcctIntID
FROM I_MemoRecordTP AS memo
LEFT OUTER JOIN I_MemoRecordStatus AS _MemoRecordStatus ON MemoRecordStatus = _MemoRecordStatus.MemoRecordStatus AND _MemoRecordStatus.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter  -- association [0..*]
LEFT OUTER JOIN C_BankAcctIdVH AS _BankAcctIDVH ON BankAccountInternalID = _BankAcctIDVH.BankAccountInternalID AND BankAccount = _BankAcctIDVH.BankAccountNumber AND HouseBank = _BankAcctIDVH.HouseBank AND HouseBankAccount = _BankAcctIDVH.HouseBankAccount AND CompanyCode = _BankAcctIDVH.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_HouseBankAccountVH AS _BankAcctVH ON BankAccountInternalID = _BankAcctVH.BankAccountInternalID AND BankAccount = _BankAcctVH.BankAccount AND HouseBank = _BankAcctVH.HouseBank AND HouseBankAccount = _BankAcctVH.HouseBankAccount AND CompanyCode = _BankAcctVH.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_PlanningLevelVH AS _PlanningLevelVH ON PlanningLevel = _PlanningLevelVH.PlanningLevel  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedBy ON CreatedByUser = _CreatedBy.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _SubmittedBy ON CashRequestSubmittedByUser = _SubmittedBy.ContactCardID  -- association [0..1]
LEFT OUTER JOIN C_BankAcctIdVH AS _RcvgBankAcctIDVH ON ReceivingBankAccountIntID = _RcvgBankAcctIDVH.BankAccountInternalID AND ReceivingBankAccount = _RcvgBankAcctIDVH.BankAccountNumber AND CashReqCompanyCode = _RcvgBankAcctIDVH.CompanyCode AND AdditionalCurrency2 = _RcvgBankAcctIDVH.BankAccountCurrency  -- association [0..1]
LEFT OUTER JOIN C_BankAcctIdVH AS _SndgBankAcctIDVH ON SendingBankAccountIntID = _SndgBankAcctIDVH.BankAccountInternalID AND SendingBankAccount = _SndgBankAcctIDVH.BankAccountNumber AND CashReqCompanyCode = _SndgBankAcctIDVH.CompanyCode AND AdditionalCurrency1 = _SndgBankAcctIDVH.BankAccountCurrency  -- association [0..1]
LEFT OUTER JOIN I_PlanningLevel AS _CashReqPlanningLevel ON CashReqPlanningLevel = _CashReqPlanningLevel.PlanningLevel  -- association [0..1]
LEFT OUTER JOIN I_PlanningLevelText AS _CashReqPlanningLevelText ON CashReqPlanningLevel = _CashReqPlanningLevelText.PlanningLevel AND _CashReqPlanningLevelText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerBank AS _BusinessPartnerBank ON BusinessPartner = _BusinessPartnerBank.BusinessPartner AND BankIdentification = _BusinessPartnerBank.BankIdentification  -- association [0..1]
LEFT OUTER JOIN I_FinancialInstrAssignment AS _FinInstrAssignment ON FinancialInstrumentAssignment = _FinInstrAssignment.FinancialInstrumentAssignment  -- association [0..1]
LEFT OUTER JOIN I_FinancialInstrReference AS _FinInstrReference ON FinancialInstrumentReference = _FinInstrReference.FinancialInstrumentReference  -- association [0..1]
LEFT OUTER JOIN I_FinancialInstrCharacteristic AS _FinInstrCharc ON FinancialInstrCharacteristic = _FinInstrCharc.FinancialInstrCharacteristic  -- association [0..1]
LEFT OUTER JOIN I_CashReqInstrCategory AS _CashReqInstrCategory ON CashReqInstrCategory = _CashReqInstrCategory.CashReqInstrCategory  -- association [0..1]
LEFT OUTER JOIN I_CashRequestStatus AS _CashRequestStatus ON CashRequestStatus = _CashRequestStatus.CashRequestStatus  -- association [0..1]
LEFT OUTER JOIN I_HouseBankAccountVH AS _HouseBankVH ON BankAccountInternalID = _HouseBankVH.BankAccountInternalID AND BankAccount = _HouseBankVH.BankAccountNumber AND CompanyCode = _HouseBankVH.CompanyCode AND HouseBank = _HouseBankVH.HouseBank AND HouseBankAccount = _HouseBankVH.HouseBankAccount  -- association [0..1]
LEFT OUTER JOIN I_HouseBankAccountVH AS _OffsettingBankVH ON OffsetBankAccountNumber = _OffsettingBankVH.BankAccountNumber AND OffsettingCompanyCode = _OffsettingBankVH.CompanyCode AND OffsettingHouseBank = _OffsettingBankVH.HouseBank AND OffsettingHouseBankAccount = _OffsettingBankVH.HouseBankAccount  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _OffsettingCompanyCode ON OffsettingCompanyCode = _OffsettingCompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_HouseBankText AS _OffsettingHouseBank ON OffsettingCompanyCode = _OffsettingHouseBank.CompanyCode AND OffsettingHouseBank = _OffsettingHouseBank.HouseBank AND OffsettingHouseBankAccount = _OffsettingHouseBank.HouseBankAccount AND _OffsettingHouseBank.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerVH AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_MemoRecordCertaintyLevelText AS _CertaintyLevelText ON CertaintyLevel = _CertaintyLevelText.CertaintyLevel AND _CertaintyLevelText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_StatisticalItemText AS _StatisticalItemText ON IsStatisticalItem = _StatisticalItemText.MemoRecordStatisticItem AND _StatisticalItemText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_PlanningLevelText AS _PlanningLevelText ON PlanningLevel = _PlanningLevelText.PlanningLevel AND _PlanningLevelText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_LiquidityItemText AS _LiquidityItemText ON LiquidityItem = _LiquidityItemText.LiquidityItem AND _LiquidityItemText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_FundText AS _FundText ON Fund = _FundText.Fund AND _FundText.Language = $session.system_language  -- association [0..*]
LEFT OUTER JOIN I_GrantText AS _GrantText ON GrantID = _GrantText.GrantID AND _GrantText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea AND _BusinessAreaText.Language = $session.system_language  -- association [0..1]
;