Rate Plan data source
Data source to export summary data on rate plans that appear on subscriptions
Overview
Use this data source to export summary data on rate plans that appear on subscriptions, including associated data on account, subscription, and product information from the product catalog.
Objects available in the data source

Subscription Version Amendment
The RatePlan.Amendment Type and Amendment.Type fields show the type of the most recent amendment that touched a particular RatePlan. While there is no change to the meaning of these fields from before, note that the fields do not reflect Renewals, Cancellations, and Terms & Conditions Amendments. For example, if a subscription has been renewed, the RatePlan.Amendment Type field will continue to carry the Amendment Type value from before the renewal.
The SubscriptionVersionAmendment.Type field shows the type of the Amendment that most recently touched a particular Subscription version. This field will include all Amendment types, including Renewals, Cancellations, and Terms & Conditions.
Because the SubscriptionVersionAmendment.Type field is on a per-Subscription Version basis, it will have the same value for all RatePlans contained in a particular Subscription Version. This can result in some ambiguity. For example, if one of the RatePlans (on a subscription that has two RatePlans) is updated, the SubscriptionVersionAmendment.Type will show a value of UpdateProduct for both RatePlans. This can be disambiguated by comparing the values of SubscriptionVersionAmendment.Type and RatePlan.Amendment Type. A match indicates that the Amendment affected that particular RatePlan and a mis-match indicates that the RatePlan was not affected.
Using the Export ZOQL to export subscription data
You can use the SubscriptionVersionAmendment object to export the Renewal or Terms and Conditions amendments from the Rate Plan data source object, in addition to the other amendment types that are already available. For example, you can use the following Export ZOQL query: