Page tree
Skip to end of metadata
Go to start of metadata

The Purchase/Sales Conditions and applications specified in the Purchase/Sales campaigns are applied to the Orders, Dispatches and Invoices. The campaigns can be applied using two methods:


Automatic Campaign Application

In Orders, Dispatch/Receipts and Invoices, the campaigns defined for the slip line or bottom can be applied when the slip is recorded. To do so, Transactions To Apply Campaign Rules parameter located in the Material Management Parameters in the Definitions menu of the Administrationsection is used. The transactions to apply campaign rules are specified. The automatic campaign application can be performed using Apply Campaignoption located in the right mouse button of the Orders, Dispatches/Receiptsand Invoices.

If campaign rules are applied to both Orders and Invoices, campaign rules are applied when the invoice is recorded after the order is transferred into the invoice. If the campaigns are required to be generated in the Order and not to be changed, campaign rules should be applied to Orders only.


"Apply Campaign" option located in the F9 key or right mouse button menu is used to apply campaigns to the slip line or bottom of the Orders, Dispatches/Receipts and Invoices.

When "Apply Campaign" is selected, the campaign can be applied to the slip line or bottom if the AR/AP in the slip or the material or service in the lines is included in the campaign definition.

The discount, surcharge and promotion lines of the campaign applied to the slip line are located right under the relevant line. In campaigns applied to slip bottom, the discount, surcharge, promotion and point lines are located in the section separated with a dotted line. The points to consider for campaign application are:

  • To apply campaign rules to a slip, the slip must be among the transactions to be applied campaign rules.
  • Campaigns can not be applied to Order, Dispatch/Receipt and Invoice lines with Distribution Order connections.
  • To apply any campaign to the slip bottom or line, the slip and/or transaction in question must be complying with the general criteria of the campaign.
  • Maximum 5 campaigns can be applied to a line. If 5 campaigns are linked to a line, no other campaign even if appropriate can be applied.

If a campaign is applied to a line for the first time, the campaign application is performed as follows:

  1. If the campaign is applied to Order Slip, it is not applied to other transactions with Distribution Order connection.
  2. To apply any campaign to the slip or line, the slip or transaction in question must be complying with the following general criteria of the campaign.


Start and End Date: The date of the slip for which the campaign will be applied must be within this date range.

    • The AR/AP Code, AR/AP Aux. Code and Trading Groupspecified as criteria must be the same with the AR/AP code, AR/AP aux. code and trading group of the slip. If "*" character is used, this information must be within the scope of the groups.
    • The Payment Plan and Payment Plan Group Code specified as criteria must be the same with the payment plan and payment plan group code of the slip. If "*" character is used, this information must be within the scope of the groups.
    • The CityTown and District information must be the same with the Delivery Address.


  1. For campaigns complying with general criteria, also a Conditioning Material Code check is performed.
  2. If the line conditions are also met, the Priority Class and Prioritygeneral criteria are processed. In the LOGO application, only the campaign with lowest Priority can be applied if there are campaigns with the same priority class. This control is not performed for campaigns without a priority class.
  3. If the campaign limit is exceeded for any line, the campaign can not be applied.
  4. If the applied campaign is a Point promotion, it is connected to the line independently from other campaign types. The slip line also records the points won from the point promotion. Only one point promotion can be applied to each line. Even if the line meets multiple point promotions defined in the system, only one of them is applied.


When the campaign is a Promotion, any of the materials within the material class is displayed as the promotion line when the campaign is applied if the promotion is defined as material class in the campaign record, and the database stores the reference of the material class (specified in the campaign) that the promotional material belongs to. If another material of the material class will be provided as promotion, the "Select Alternative Promotion" option located in the F9 key or right mouse button menu is used. The other materials are listed and the appropriate material is selected.

If a campaign is applied to a slip, the next campaign is applied as follows:

  1. The campaign lines are scanned, and the validity of the conditions is checked.
    1. If the conditions are still valid, the campaign remains valid. If the conditions are not met, the campaign reference connected to the campaign and material transaction is deleted.
    2. The applicability of the valid campaign for other slip lines is inspected. If material transactions which did not meet the conditions previously are detected to be valid after certain changes, the campaign is applied to these transactions, and the campaign connection is generated.
  2. The validity of the campaigns applied to slip bottom is inspected.
    1. If the conditions are still valid, the campaign remains valid.
      1. If the applied campaign is a Promotion, and there are new material transactions that affect the fulfillment of campaign conditions, the campaign connection is also established for these transactions. If there are lines to which a campaign is applied previously but that do not currently meet the conditions, the campaign connection of such lines is broken.
      2. If the applied campaign is a Discount or Surchargecampaign, the campaign connection is established for new lines added to the slip.
    2. If the conditions are not met, the campaign connection of all related lines is broken, and the campaign reference is deleted.

Point Campaigns

Point is a campaign type in which points are applied to material purchases and sales. Another product is given as a gift for collected points. Such campaigns are recorded as Point (plus) and Point (minus). Point (plus) is used for materials that provide points when purchased, and Point (minus) is used for materials given as gifts against the points earned.

The gift applications for campaign points are tracked and recorded using Point Campaign Gifts option located in the F9 key or right mouse button menu of the dispatch or invoice lines.

The Point Campaign Gifts window accessed by selecting Point Campaign Gifts option displays the campaign and gift information of the AR/AP to which the slip or invoice belongs in the following fields:

  • Campaign Code
  • Campaign Description
  • Start Date
  • End Date
  • Material Code
  • Material Description
  • Bonus Point
  • Quantity
  • Total Point


Campaign Code: The campaign code applied to the AR/AP of the slip or invoice. 

Campaign Description: The name or description of the campaign applied to the AR/AP of the slip or invoice. 

Start Date and End Date: Indicates the start and end dates of the campaign. 

Material Code: The material code included as Point (minus) in the campaign definition in the line. The Materials that are defined as Point (minus) and used in the campaign are listed. The points of the listed gifts must be equal to or greater than the net total of campaign points; otherwise they are not listed in this window. If parameters and functions are used in the Point definition of a gift in the Campaign, such materials are not included in the point check. 

Material Description: The description of the material code included as Point (minus) in the campaign definition in the line. 

Bonus Point: The total point of the material in the campaign. 

Quantity: Indicates the quantity of gifts to be received. When the quantity is changed, it is checked if the total campaign points are exceeded or not. If the total points are exceeded, the user is warned. 

Total Points. The net point total previously gained for the main campaign line. The Total Points are calculated by processing the previous gifts received. If the slip contains Point (plus) or Point (minus) gift lines that are connected to the point campaign but that are not yet recorded, the points of the gift lines are processed in the calculation of net campaign points.

The gifts to be given as promotion are selected, and OK button is clicked. The gifts of the campaign meeting the appropriate conditions are transferred as Promotion to the bottom of the slip or invoice. Point promotions can not be changed, but can be deleted. 

  • No labels