If your company provides multiple products as part of a single arrangement, you create an MEA allocation for the contract. When you create the allocation, you group the applicable contract lines into one or more bundles. For each bundle, the system uses the items’ fair value prices from the contract’s MEA price list to allocate the total bundle contract value between the participating contract lines. Alternatively, you can override the automatic calculation of the MEA amounts and input your own values. In either case, the system uses the allocated amounts in the revenue schedules associated with the applicable contract lines.

You can create multiple allocations, each with its own specific effective date so that balances posted prior to the effective date are not affected. If you create multiple allocations with the same effective date, the last one created will be active.


List MEA Allocations

readByQuery

<readByQuery>
    <object>CONTRACTMEABUNDLE</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use CONTRACTMEABUNDLE
fields Optional string Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query Required string SQL-like query based on fields on the object. Illegal XML characters must be properly encoded. The following SQL operators are supported: <, >, >=, <=, =, like, not like, in, not in. When doing NULL comparisons: IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. Single quotes in any operands must be escaped with a backslash - For example, the value Erik's Deli would become 'Erik\'s Deli'.
pagesize Optional integer Custom page size between 1 and 1000 items (Default: 100)

query

Name Required Type Description
ADJUSTMENTPROCESS Optional string State. Use C for One time, D for Distributed.

Get MEA Allocation

read

<read>
    <object>CONTRACTMEABUNDLE</object>
    <keys>1</keys>
    <fields>*</fields>
</read>

Parameters

Name Required Type Description
object Required string Use CONTRACTMEABUNDLE
keys Required string MEA allocation RECORDNO to get
fields Optional string Comma-separated list of fields on the object to get. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.

Create MEA Allocation

create

<create>
    <CONTRACTMEABUNDLE>
        <CONTRACTID>CON-007</CONTRACTID>
        <NAME>Second allocation</NAME>
        <DESCRIPTION>First Bundle</DESCRIPTION>
        <EFFECTIVEDATE>8/1/2018</EFFECTIVEDATE>
        <ADJUSTMENTPROCESS>Distributed</ADJUSTMENTPROCESS>
        <TYPE>MEA Bundle</TYPE>
        <APPLYTOJOURNAL1>true</APPLYTOJOURNAL1>
        <CONTRACTMEABUNDLEENTRIES>
            <CONTRACTMEABUNDLEENTRY>
                <CONTRACTDETAILLINENO>1</CONTRACTDETAILLINENO>
                <BUNDLENO>1</BUNDLENO>
            </CONTRACTMEABUNDLEENTRY>
            <CONTRACTMEABUNDLEENTRY>
                <CONTRACTDETAILLINENO>2</CONTRACTDETAILLINENO>
                <BUNDLENO>1</BUNDLENO>
            </CONTRACTMEABUNDLEENTRY>
        </CONTRACTMEABUNDLEENTRIES>
    </CONTRACTMEABUNDLE>
</create>

Parameters

Name Required Type Description
CONTRACTMEABUNDLE Required object Object to create

CONTRACTMEABUNDLE

Name Required Type Description
CONTRACTID Required string Contract ID
NAME Required string Name for the allocation. Must be unique within the contract
DESCRIPTION Required string Description for the allocation.
EFFECTIVEDATE Required string Date the MEA allocation becomes active in format mm/dd/yyyy. Must fall on or after the latest contract line Start date and before the earliest revenue template End date of all contract lines included in the bundle.
ADJUSTMENTPROCESS Required string Adjustment process. Use One time or Distributed.
TYPE Required string Use MEA Bundle
APPLYTOJOURNAL1 Required boolean Apply to journal 1. Use ‘true’ or ‘false’.
APPLYTOJOURNAL2 Required boolean Apply to journal 2 (typically used for ASC 606). Use ‘true’ or ‘false’.
COMMENTS Required string Comments for the allocation
CONTRACTMEABUNDLEENTRIES Required CONTRACTMEABUNDLEENTRY[1...n] MEA allocation entries for contract lines. Must have at least two entries per allocation.

CONTRACTMEABUNDLELENTRY

Name Required Type Description
CONTRACTDETAILLINENO Required string Line number of the contract line
BUNDLENO Required integer Number for the allocation.
MEA_AMOUNT Optional currency Override amount for the allocation. Only used if you want to override the calculated amount, which would otherwise be generated based on the MEA price list. The MEA amount total for a bundle must equal the Extended transaction value of the lines being bundled. See MEA allocations in the Sage Intacct product help for more information.

Provide feedback