Happy Business Starts Here

Highlighted
Senior Tutor

Unable to create a product rate plan charge via Workflow

Hello. I'm trying to create a workflow the creates a Product -> Product Rate Plan -> Product Rate Plan Charge. The creation of the Product and Product Rate Plan work fine, but when the workflow gets to the Product Rate Plan Charge it errors saying "MISSING_REQUIRED_VALUE::Missing required value: ProductRatePlanChargeTierData." Obviously I need to pass the ProductRatePlanChargeTierData for my recurring charge, but there is no option in the UI to specify this field. How can I create a charge with workflow?

 

Here is the generated SOAP call workflow is trying to make. 

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns2="http://object.api.zuora.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:api="http://api.zuora.com/" xmlns:ns1="http://api.zuora.com/">
  <SOAP-ENV:Header>
    <ns1:SessionHeader>
      <ns1:session/>
    </ns1:SessionHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:create>
      <ns1:zObjects xsi:type="ns2:ProductRatePlanCharge">
        <ns2:Name>Some Name</ns2:Name>
        <ns2:Taxable>false</ns2:Taxable>
        <ns2:ChargeType>Recurring</ns2:ChargeType>
        <ns2:ChargeModel>Flat Fee Pricing</ns2:ChargeModel>
        <ns2:TriggerEvent>ContractEffective</ns2:TriggerEvent>
        <ns2:BillCycleType>DefaultFromCustomer</ns2:BillCycleType>
        <ns2:BillingPeriod>Month</ns2:BillingPeriod>
        <ns2:BillingTiming>In Advance</ns2:BillingTiming>
        <ns2:RevRecEnd__NS>Charge Period End</ns2:RevRecEnd__NS>
        <ns2:Department__NS>Sales</ns2:Department__NS>
        <ns2:RevRecStart__NS>Charge Period Start</ns2:RevRecStart__NS>
        <ns2:EndDateCondition>SubscriptionEnd</ns2:EndDateCondition>
        <ns2:ProductRatePlanId>2c92c0f86716797001671e0288623768</ns2:ProductRatePlanId>
        <ns2:IncludeChildren__NS>Yes</ns2:IncludeChildren__NS>
        <ns2:BillingPeriodAlignment>AlignToCharge</ns2:BillingPeriodAlignment>
        <ns2:DeferredRevAccount__NS>Deferred Revenue - Individual (Zuora)</ns2:DeferredRevAccount__NS>
        <ns2:DeferredRevenueAccount>20411: Deferred Revenue - Individual (Zuora)</ns2:DeferredRevenueAccount>
        <ns2:RevRecTemplateType__NS>Standard</ns2:RevRecTemplateType__NS>
        <ns2:RecognizedRevAccount__NS>Individual Monthly Plus</ns2:RecognizedRevAccount__NS>
        <ns2:RecognizedRevenueAccount>40200: Individual Monthly Plus</ns2:RecognizedRevenueAccount>
        <ns2:RevenueRecognitionRuleName>Recognize daily over time</ns2:RevenueRecognitionRuleName>
      </ns1:zObjects>
    </ns1:create>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Screen Shot 2018-11-16 at 12.40.09 PM.png