ProgramRbtTypeAggrField

Represents the attribute used for aggregation within a program rebate type, specifying the field that groups transactions for payout and accrual calculation. This object is available in API version 67.0 and later.

Supported Calls 

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields 

AggregateField 

  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Description: The transaction field, such as Product or Region, used to group and calculate the rebate.

  • Possible values:

    • AccountId—Account
    • ActivityDate—Activity Date
    • CloneSourceId—Clone Source
    • CreatedById—Created By
    • CreatedDate—Created Date
    • CreationSourceType—Creation Source Type
    • DestinationLocationId—Destination Location
    • ErrorDescription—Error Message
    • ExternalTransactionNumber—External Transaction ID
    • Id—Transaction Journal ID
    • IsDeleted—Deleted
    • JournalDate—Journal Date
    • JournalTypeId—Journal Type
    • LastModifiedById—Last Modified By
    • LastModifiedDate—Last Modified Date
    • LastReferencedDate—Last Referenced Date
    • LastViewedDate—Last Viewed Date
    • MemberId—Program Member
    • Name
    • OrderId—Order
    • OrderItemId—Order Product
    • PriceType—Price Type
    • ProductCategoryId—Product Category
    • ProductId—Product
    • Quantity
    • QuantityUnitOfMeasureId—Quantity Unit
    • RebatePgmReferenceNumber—Program Reference Number
    • RelatedJournalId—Related Journal
    • ResaleUnitPrice—Resale Unit Price
    • SaleUnitPrice—Sale Unit Price
    • ShipToAccountId—Ship To Account
    • SourceLocationId—Source Location
    • Status
    • SystemModstamp—System Modstamp
    • TransactionAmount—Transaction Amount
    • UniqueIdentifier—Unique Identifier
    • UsageType—Usage Type
    • UserRecordAccessId—Object Access Level

ProgramRebateTypeId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: The rebate type that this aggregation criterion applies to.

    This field is a relationship field.

  • Relationship Name: ProgramRebateType

  • Relationship Type: Master-detail

  • Refers To: ProgramRebateType (the master object)