List MEA Price Lists

readByQuery

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

Parameters

Name Required Type Description
object Required string Use CONTRACTMEAPRICELIST
fields Required string Comma separated list of fields on the object to list. Use * to return all fields.
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 Set a custom page size between 1 and 1000 items (Default: 100)

query

Name Required Type Description
STATUS Optional string Status. Use T for Active, F fo Inactive

Get MEA Price List

read

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

Parameters

Name Required Type Description
object Required string Use CONTRACTMEAPRICELIST
keys Required string The record RECORDNO to get
fields Required string Comma separated list of fields on the object to get. Use * to return all fields.

Get MEA Price List by Name

readByName

<readByName>
    <object>CONTRACTMEAPRICELIST</object>
    <keys>MEA Price List</keys>
    <fields>*</fields>
</readByName>

Parameters

Name Required Type Description
object Required string Use CONTRACTMEAPRICELIST
keys Required string The record NAME to get
fields Required string Comma separated list of fields on the object to get. Use * to return all fields.

Create MEA Price List

create

<create>
    <CONTRACTMEAPRICELIST>
        <NAME>MEA price list</NAME>
    </CONTRACTMEAPRICELIST>
</create>

Parameters

Name Required Type Description
CONTRACTMEAPRICELIST Optional object The object to create

CONTRACTMEAPRICELIST

Name Required Type Description
NAME Required string MEA price list name
DESCRIPTION Optional string Description
STATUS Optional string Status. Use active for Active otherwise use inactive for Inactive (Default: active)

Update MEA Price List

update

<update>
    <CONTRACTMEAPRICELIST>
        <NAME>MEA price list</NAME>
        <DESCRIPTION>hello world</DESCRIPTION>
    </CONTRACTMEAPRICELIST>
</update>

Parameters

Name Required Type Description
CONTRACTMEAPRICELIST Optional object The object to update

CONTRACTMEAPRICELIST

Name Required Type Description
RECORDNO Optional integer Record number of contract. Required if not using NAME.
NAME Optional string MEA price list name. Required if not using RECORDNO
DESCRIPTION Optional string Description
STATUS Optional string Status. Use active for Active otherwise use inactive for Inactive

Delete MEA Price List

delete

<delete>
    <object>CONTRACTMEAPRICELIST</object>
    <keys>112</keys>
</delete>

Parameters

Name Required Type Description
object Required string Use CONTRACTMEAPRICELIST
keys Required string The record RECORDNO to delete

List MEA Price List Entries

readByQuery

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

Parameters

Name Required Type Description
object Required string Use CONTRACTMEAITEMPRICELIST
fields Required string Comma separated list of fields on the object to list. Use * to return all fields.
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 Set a custom page size between 1 and 1000 items (Default: 100)

Get MEA Price List Entry

read

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

Parameters

Name Required Type Description
object Required string Use CONTRACTMEAITEMPRICELIST
keys Required string The record RECORDNO to get
fields Required string Comma separated list of fields on the object to get. Use * to return all fields.

Create MEA Price List Entry

create

<create>
    <CONTRACTMEAITEMPRICELIST>
        <PRICELISTNAME>MEA price list</PRICELISTNAME>
        <ITEMID>SFTW</ITEMID>
        <CURRENCY>USD</CURRENCY>
        <ITMPRCLSTTYP>Amount</ITMPRCLSTTYP>
        <PRICELISTENTRY>
            <STARTDATE>01/01/2017</STARTDATE>
            <VALUE>2500.00</VALUE>
            <MEMO></MEMO>
        </PRICELISTENTRY>
    </CONTRACTMEAITEMPRICELIST>
</create>

Parameters

Name Required Type Description
CONTRACTMEAITEMPRICELIST Optional object The object to create

CONTRACTMEAITEMPRICELIST

Name Required Type Description
PRICELISTNAME Required string Price list name
ITEMID Required string Item ID
CURRENCY Optional string Currency. Required if company is enabled for multi-currency.
ITMPRCLSTTYP Optional string Item priced as. Use Amount or Price Range (Default: Amount)
USEPRICEBANDS Optional boolean Use price range. Only used if Item priced as Amount. Use true or false (Default: false)
PRICEBANDTYPE Optional string Price range variances entered as. Only used if Use price range is true. Use Amount or Percent (Default: Amount)
PRICEBANDRULE Optional string Price rule when outside range. Only used if Use price range is true. Use Fair Value or Nearest Boundary (Default: Fair Value)
STATUS Optional string Status. Use active for Active otherwise use inactive for Inactive (Default: active)
PRICELISTENTRY Optional PRICELISTENTRY[] MEA price list entry detail. Multiple PRICELISTENTRY elements may be passed.

PRICELISTENTRY

Name Required Type Description
STARTDATE Required string Start date in format mm/dd/yyyy.
VALUE Optional currency Flat amount
MEMO Optional string Notes
MARKDOWN Optional number Range variance low. Only used if Use price range is true.
MARKUP Optional number Range variance high. Only used if Use price range is true.
BANDDOWN Optional number Lower limit. Only used if Item priced as Price Range.
BANDUP Optional number Upper limit. Only used if Item priced as Price Range.

Delete MEA Price List Entry

delete

<delete>
    <object>CONTRACTMEAITEMPRICELIST</object>
    <keys>112</keys>
</delete>

Parameters

Name Required Type Description
object Required string Use CONTRACTMEAITEMPRICELIST
keys Required string The record RECORDNO to delete

Provide feedback