Публичный ресурс

Выдавать купоны в рамках одной акции по кратной сумме или количеству товаров из списка

Информация также добавлена на страницу Импорт рекламных акций из ERP в SetRetail10 в главу Печать купона <coupon>.


SLS-2824 - Получение подробных данных проблемы… СТАТУС

CR-9972 - Получение подробных данных проблемы… СТАТУС

10.3.27.0

AdvertisingActions/AdvertisingAction/actionResults/coupon

Наименование элемента

Тип данных

Описание

Обязательное

single-slip-printBoolean

Если в результате РА выдается несколько купонов, то выводить их одним слипом

Нет

rule

Комплексный

Правила формирования купонов (даже нескольких)

Нет


Пример XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AdvertisingActions>
    <AdvertisingAction AdvertActGUID="2824" name="Акция с результатом печать нескольких купонов по правилам"
                       active="true" mode="unconditional" priority="50.0" ignoreRestrictions="false" worksAnyTime="true" color="red"
                       external-code="Акция с результатом печать нескольких купонов по правилам" deleted="false">
        <begin-date>2023-08-11T18:00:00.000</begin-date>
        <end-date>2050-12-01T18:00:00.000</end-date>
        <actionResults>
            <coupon>
                <print-slip-inside-receipt>true</print-slip-inside-receipt>
                <force-printing>true</force-printing>
                <priority>1</priority>
                <discount>
                    <discount-type>PERCENT</discount-type>
                    <max-discount>0.0</max-discount>
                </discount>
                <period>
                    <starts-after-period-type>DAYS</starts-after-period-type>
                    <works-period-type>DAYS</works-period-type>
                </period>
                <coupon-type-guid>100000000000</coupon-type-guid>
                <barcode-type>TEXT</barcode-type>
                <required-client-card>true</required-client-card>
                <only-one-time>false</only-one-time>
                <allow-offline>false</allow-offline>
                <action-restriction max-value="1"/>
                <client-restriction max-value="1"/>
                <text>
                    ШК - обязательный атрибут %CouponBarcode%
                    Название купона %CouponName%
                    Скидка по купону %CouponDiscount%
                </text>
                <rule valueType="SUM" value="50.00" count="10" maxCount="50">
                    <for-all-goods>false</for-all-goods>
                    <marking-of-the-good id="184195_ST"/>
                    <goodsGroup name="Список продуктов">
                        <marking-of-the-good id="00001"/>
                        <marking-of-the-good id="00003"/>
                    </goodsGroup>
                    <group id="12346"/>
                    <sale-group>SG4</sale-group>
                    <sale-group>SG5</sale-group>
                    <manufacturer>1235</manufacturer>
                    <department>2</department>
                    <country>AZ</country>
                    <product-type>ProductDiscountCardEntity</product-type>
                    <composite>
                        <manufacturer>1237</manufacturer>
                        <department>3</department>
                        <name>Составной объект 1</name>
                    </composite>
                    <exclude>
                        <marking-of-the-good id="184196_ST"/>
                        <goodsGroup name="Список продуктов">
                            <marking-of-the-good id="00000"/>
                            <marking-of-the-good id="00002"/>
                        </goodsGroup>
                        <group id="12345"/>
                        <sale-group>SG3</sale-group>
                        <manufacturer>1234</manufacturer>
                        <department>1</department>
                        <country>RU</country>
                        <product-type>ProductSiebelGiftCardEntity</product-type>
                        <composite>
                            <manufacturer>1237</manufacturer>
                            <department>3</department>
                            <name>Составной объект 1</name>
                        </composite>
                    </exclude>
                </rule>
                <single-slip-print>true</single-slip-print>
            </coupon>
        </actionResults>
        <externalConditions/>
        <pricetag-type>ADDITIONAL</pricetag-type>
    </AdvertisingAction>
</AdvertisingActions>

© 1994-2024, ООО "Кристалл Сервис Интеграция".
Все права защищены.

Политика обработки персональных данных