@EndUserText: { label: 'Business Partner: Collection Segments' }
@ObjectModel: { representativeKey: 'BPCollSgmtAssignmentValidTo',
semanticKey: [ 'BusinessPartner',
'CollectionSegment',
'CollectionGroup',
'CollectionStrategy' ],
usageType: { dataClass: #TRANSACTIONAL,
sizeCategory: #L,
serviceQuality: #X } }
@AccessControl: { authorizationCheck: #CHECK,
personalData: { blocking: #BLOCKED_DATA_EXCLUDED },
privilegedAssociations: [ '_SubstituteCard',
'_CollectionsSpecialistCard',
'_CollectionSpecialist' ] }
@VDM: { viewType: #CONSUMPTION,
usage: { type: [ #TRANSACTIONAL_PROCESSING_SERVICE ] } }
@Metadata: { allowExtensions: true }
define view entity C_BPCollsSegmentAssignmentTP
as projection on R_BPCollsSegmentAssignmentTP
{
// VDM Fields
@ObjectModel: { text: { element: [ 'BusinessPartnerName' ] },
foreignKey: { association: '_CollectionsBPQuickView' } }
key BusinessPartner,
@ObjectModel: { text: { element: [ 'CollectionSegmentName' ] } }
key CollectionSegment,
key BPCollSgmtAssignmentValidTo,
BPCollSgmtAssignmentValidFrom,
@ObjectModel: { text: { element: [ 'CollectionGroupName' ] } }
CollectionGroup,
@ObjectModel: { text: { element: [ 'CollectionSpecialistName' ] } }
CollectionSpecialist,
@ObjectModel: { text: { element: [ 'ContactPersonName' ] } }
CollectionBPMainContactPerson,
Customer,
CollectionSpecialistSubstitute,
@ObjectModel: { text: { element: [ 'CollStrgyName' ] } }
_CollectionGroup.CollectionStrategy,
// Text Fields
_BusinessPartner.BusinessPartnerName as BusinessPartnerName,
_CollectionSpecialist.FullName as CollectionSpecialistName,
_MainContactPerson.BusinessPartnerName as ContactPersonName,
_CollectionSegment._Text.CollectionSegmentName as CollectionSegmentName : localized,
_CollectionGroup._Text.CollectionGroupName as CollectionGroupName : localized,
// Virtual Elements
@ObjectModel: { virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_COLL_PR_VE' }
virtual DueDateGridIsWorkable : boolean,
@ObjectModel: { virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_COLL_PR_VE' }
virtual PaymentTrendIsWorkable : boolean,
@ObjectModel: { virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_COLL_PR_VE' }
virtual UICT_CreditAccount : boolean,
@ObjectModel: { virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_COLL_MD_SGM_VE' }
virtual CollectionSegmentIsProcessed : coll_md_is_on_worklist,
@ObjectModel: { virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_COLL_MD_SGM_VE' }
virtual UICT_MainContact : boolean,
@ObjectModel: { virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_COLL_MD_SGM_VE' }
virtual UICT_CurrentSubstitute : boolean,
@ObjectModel: { virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_COLL_MD_SGM_VE' }
virtual CollStrgyName : udm_coll_strategy_text,
// Exposed Associations
_BusinessPartner,
_CollectionGroup,
_CollectionSegment,
_CollectionSpecialist,
_MainContactPerson,
_CollectionsMainContact : redirected to C_CollectionsMainContact,
_CollsAcctCreditMgmtSummary : redirected to C_CollsAcctCreditMgmtSummary,
@ObjectModel.filter.enabled: false
_CollectionsPaymentTrend : redirected to C_CollectionsPaymentTrend,
@ObjectModel.filter.enabled: false
_CollectionsDueDateGrid : redirected to C_CollectionsDueDateGrid,
_CollsAccountStickyNote : redirected to C_CollsAccountStickyNote,
@ObjectModel.filter.enabled: false
_CollectionsAccountNote : redirected to C_CollectionsAccountNote,
_CollectionsBPQuickView : redirected to C_BPCollectionsSgmtQuickView,
_CollectionsSpecialistCard : redirected to C_RblsMgmtUserContactCard,
_CollsSpecialistSubstitute : redirected to C_CollsSpecialistSubstitute,
_SubstituteCard : redirected to C_RblsMgmtUserContactCard,
// BO Compositions
_CollsMgmtBusinessPartnerTP : redirected to parent C_CollsMgmtBusinessPartnerTP,
_BPCollsSegmentTmpAssgmtTP : redirected to composition child C_BPCollsSegmentTmpAssgmtTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNER",
"I_COLLECTIONGROUP",
"I_COLLECTIONGROUPTEXT",
"I_COLLECTIONSEGMENT",
"I_COLLECTIONSEGMENTTEXT",
"I_USERCONTACTCARD",
"R_BPCOLLSSEGMENTASSIGNMENTTP"
],
"ASSOCIATED":
[
"C_BPCOLLECTIONSSGMTQUICKVIEW",
"C_BPCOLLSSEGMENTTMPASSGMTTP",
"C_COLLECTIONSACCOUNTNOTE",
"C_COLLECTIONSDUEDATEGRID",
"C_COLLECTIONSMAINCONTACT",
"C_COLLECTIONSPAYMENTTREND",
"C_COLLSACCOUNTSTICKYNOTE",
"C_COLLSACCTCREDITMGMTSUMMARY",
"C_COLLSMGMTBUSINESSPARTNERTP",
"C_COLLSSPECIALISTSUBSTITUTE",
"C_RBLSMGMTUSERCONTACTCARD",
"I_BUSINESSPARTNER",
"I_COLLECTIONGROUP",
"I_COLLECTIONSACCOUNTNOTE",
"I_COLLECTIONSDUEDATEGRID",
"I_COLLECTIONSEGMENT",
"I_COLLECTIONSMAINCONTACT",
"I_COLLECTIONSPAYMENTTREND",
"I_COLLSACCOUNTSTICKYNOTE",
"I_USERCONTACTCARD",
"R_BPCOLLECTIONSSGMTQUICKVIEW",
"R_BPCOLLSSEGMENTTMPASSGMTTP",
"R_COLLSACCTCREDITMGMTSUMMARY",
"R_COLLSMGMTBUSINESSPARTNERTP",
"R_COLLSSPECIALISTSUBSTITUTE",
"R_RBLSMGMTUSERCONTACTCARD"
],
"BASE":
[
"R_BPCOLLSSEGMENTASSIGNMENTTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/