ecl-logo Documentation

SyncBilling

SyncBilling[team]updated team and bill

provides an updated team and bill for the usage of the ECL and activities financed by team during the current billing cycle.

Details

  • The updated bill reflects costs calculated by PriceExperiment, PriceData, PriceShipping, PriceTransactions, and PriceRecurring.
  • Pricing information is only calculated for Completed parent protocols - protocols that are incomplete at the time of the bill closing will appear on the next bill.
  • Note that any prices displayed in this documentation are only for the sake of example and do not represent actual prices.
  • If the current billing cycle ends, a new bill is generated, and the completed bill is closed out.
  • Input
    Output
    General Options
    Messages
  • ActiveTeamsOnlySyncBilling can not create new bills on non-active teams.
    FinancingTeamDoesNotExistThe provided object `1` does not exist in the database.
    NotConfiguredTeamSyncBilling can not create new bills for a team without CurrentPricingScheme or NextBillingCycle.
    PricingFunctionFailedThe following pricing functions were nto able to properly evaluate: `1`. Investigate the specific error messages and contact ECL for assistance.

Examples

Basic Examples  (3)

Create a new billing object for a financing team with no bill but with a pricing scheme:

Display the packets for the proposed changes:

Display the packets for the proposed changes:

Options  (2)

Notify  (1)

Makes asana tasks:

Verbose  (1)

Adds progress output to track the progress of the function:

Messages  (3)

ActiveTeamsOnly  (1)

Display the message if the team is not active:

FinancingTeamDoesNotExist  (1)

Returns messages if the team does not exist:

PricingFunctionFailed  (1)

Display the message if the pricing function fails: