<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/td/onlinemanual/000382" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Discount retrieval</Title>
		<Keyword><Level1>discount</Level1>
		</Keyword>
		<Keyword><Level1>price</Level1>
		</Keyword>
	</Header>
	<GeneralSection><List><ListIntro>The functionality to determine discounts is similar to the functionality used to retrieve prices. The main differences are as follows:</ListIntro>
			<ListItem>Discounts can be stored in discount matrices and <Link href="/baanerp/td/glossary/glossary#000363" role="glossary">discount schedules</Link>.</ListItem>
			<ListItem>More than one discount can be applicable. For details, refer to <Link href="/baanerp/td/onlinemanual/000016" role="manual">Multiple discount levels</Link>.</ListItem>
		</List>
		<GeneralSection><SectionTitle>To retrieve discounts from a contract</SectionTitle>
			<Paragraph>When searching for discounts, SSA ERP first checks whether a valid <Link href="/baanerp/td/glossary/glossary#SpeciaContra.td" role="glossary" Update="No">special contract</Link> and next a valid <Link href="/baanerp/td/glossary/glossary#NormalContra.td" role="glossary" Update="No">normal contract</Link> exists. If the order/line is linked to a contract, SSA ERP bases the discount of the order/line on the contract discount, if available.</Paragraph>
			<List><ListIntro>You can define:</ListIntro>
				<ListItem>Sales contract discounts in the <Link href="/baanerp/td/sls/tdsls3101s000" role="session">Sales Contract Lines (tdsls3101s000)</Link> session.</ListItem>
				<ListItem>Purchase contract discounts in the <Link href="/baanerp/td/pur/tdpur3103m000" role="session">Purchase Contract Price Revisions (tdpur3103m000)</Link> session. If required, you can link one or more discount schedules to a purchase contract price revision. For details, refer to <Link href="/baanerp/td/onlinemanual/000344" role="manual">To link discount schedule(s) to purchase contract price revision</Link>.</ListItem>
			</List>
			<List><ListItem>For more information on sales contracts, refer to <Link href="/baanerp/td/onlinemanual/000063" role="manual">Sales contracts</Link>.</ListItem>
				<ListItem>For more information on purchase contracts, refer to <Link href="/baanerp/td/onlinemanual/000067" role="manual">Purchase contracts</Link>.</ListItem>
			</List>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>If the order/line is linked to a contract, and the contract does not have a valid discount, SSA ERP can stop or continue the search based on the setting of the <Link href="/baanerp/td/pcg/tdpcg0100m000#tdpcg000.sacd" role="fieldhelp">Apply Discounts if No Contract Discounts</Link> check box in the <GUIRef href="/baanerp/td/pcg/tdpcg0100m000" role="session">Pricing Parameters (tdpcg0100m000)</GUIRef> session. If this check box is selected, the search continues.</Paragraph>
			</Note>
		</GeneralSection>
		<GeneralSection><SectionTitle>To retrieve discounts from a price book ar a discount matrix</SectionTitle>
			<Paragraph>If SSA ERP cannot find a discount in a special contract or a normal contract, and if the search for discounts continues, SSA ERP tries to retrieve discounts from a <Link href="/baanerp/td/glossary/glossary#000363" role="glossary">discount schedule</Link> that is linked to a price book, or from a discount matrix. To retrieve discount information from a discount schedule that is linked to a price book, SSA ERP must find the correct price book first. To find the correct price book, the retrieval process as described in <Link href="/baanerp/td/onlinemanual/000381" role="manual">Price retrieval</Link> takes place.</Paragraph>
			<Paragraph>To retrieve discounts from a discount matrix, SSA ERP looks for discount matrices with a matrix definition and matrix attributes that match the properties of the relevant order. Note that all of the matrix attributes must match the properties of the order. When found, the discount schedule of the discount matrix, in which the matrix definition and the matrix attributes are stored, is used to calculate the discount of the order. The discount information of the discount matrix includes a <Link href="/baanerp/td/glossary/glossary#000217" role="glossary">discount amount</Link>, a <Link href="/baanerp/td/glossary/glossary#000364" role="glossary">discount percentage</Link> or a discount schedule.</Paragraph>
			<List><ListIntro>The retrieval of discount matrices is controlled by the following settings in the <GUIRef href="/baanerp/td/pcg/tdpcg0100m000" role="session">Pricing Parameters (tdpcg0100m000)</GUIRef> session for the relevant discount level:</ListIntro>
				<ListItem><GUIRef href="/baanerp/td/domains/pcg.dsco#first" role="enum">First Discount</GUIRef>, SSA ERP picks up the first valid discount found in the level and ignores any other valid discounts. The first valid discount is the one with the lowest matrix sequence number. When more than one discount has the lowest sequence number, the first discount is the one with the latest <GUIRef href="/baanerp/td/pcg/tdpcg0130m100#tdpcg030.efdt" role="formfield">Effective Date</GUIRef>. When the first discount is found, the search for discounts stops.</ListItem>
				<ListItem><GUIRef href="/baanerp/td/domains/pcg.dsco#best" role="enum">Best Discount</GUIRef>, SSA ERP picks up the best discount found for the level and disregards the matrix sequence priorities.</ListItem>
				<ListItem><GUIRef href="/baanerp/td/domains/pcg.dsco#accum" role="enum">Accumulate</GUIRef>, all valid discounts are retrieved and returned as one aggregated percentage. The maximum aggregated discount percentage is 100.</ListItem>
				<ListItem><GUIRef href="/baanerp/td/domains/pcg.pmco#napp" role="enum">Not Applicable</GUIRef>, no discounts are retrieved for the pertaining discount level.</ListItem>
			</List>
		</GeneralSection>
		<Note><SectionTitle>Note</SectionTitle>
			<List><ListItem>The discount retrieval process takes place for each level of discounts defined, starting with level 1. SSA ERP first searches for a line discount, then for an order discount. If no valid discount is found, SSA ERP enters a value of 0.00 (zero), which can be maintained or modified by the user.</ListItem>
				<ListItem>The value of the <GUIRef href="/baanerp/td/pcg/tdpcg0130m100#tdpcg030.dtrm" role="formfield">Determining</GUIRef> and <GUIRef href="/baanerp/td/pcg/tdpcg0130m100#tdpcg030.elgb" role="formfield">Eligible</GUIRef> check boxes in the <GUIRef href="/baanerp/td/pcg/tdpcg0130m000" role="session">Price Matrices (tdpcg0130m000)</GUIRef> and <GUIRef href="/baanerp/td/pcg/tdpcg0130m100" role="session">Discount Matrices (tdpcg0130m100)</GUIRef> session, also affect the calculation of discounts. For details, refer to <Link href="/baanerp/td/onlinemanual/000018" role="manual">Determining/eligible</Link>.</ListItem>
				<ListItem>From the applicable discount schedules or price books that SSA ERP finds for a particular order or contract, SSA ERP picks up the discounts listed in the currency of the order or contract. If no applicable discount is found in the order currency, SSA ERP selects discounts listed in the home currency.</ListItem>
				<ListItem>You can always enter, or overwrite discounts manually. As a result, a discount can have several origins. For more information on the various origins for discounts, refer to <Link href="/baanerp/td/domains/gen.dorg" role="domain">Discount Origin</Link>.</ListItem>
			</List>
		</Note>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/td/onlinemanual/000026" role="manual">To set up a price matrix</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/td/onlinemanual/000027" role="manual">To set up a discount matrix</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/td/onlinemanual/000016" role="manual">Multiple discount levels</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/td/onlinemanual/000018" role="manual">Determining/eligible</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/td/onlinemanual/000380" role="manual">An outline of the pricing information retrieval processes</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
