<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/td/onlinemanual/000382" xml:lang="en">
   <Header>
      <Title>Discount retrieval</Title>
      <Keyword type="header" order="d1e1623054">
         <Level1>Discount retrieval</Level1>
      </Keyword>
      <Keyword type="header" order="d1e1623057">
         <Level1>Pricing information retrieval</Level1>
         <Level2>retrieving discounts</Level2>
      </Keyword>
   </Header>
   <AimSection>
      <List>
         <ListIntro>The functionality to determine discounts is similar to the
		  functionality that is 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 more information, refer to <Link href="/baanerp/td/onlinemanual/000016" role="manual">Multiple discount levels</Link>.</ListItem>
      </List>
   </AimSection>
   <GeneralSection>
      <SectionTitle>To retrieve discounts from a contract</SectionTitle>
      <Paragraph>When searching for
		discounts, ERP Enterprise 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.</Paragraph>
      <List>
         <ListIntro>You can define:</ListIntro>
         <ListItem>Sales contract discounts in the <Link href="/baanerp/td/sls/tdsls3501m000" role="session">Sales Contract Lines (tdsls3501m000)</Link> or <Link href="/baanerp/td/sls/tdsls3103m000" role="session">Sales Contract Price Revisions (tdsls3103m000)</Link> session.</ListItem>
         <ListItem>Purchase contract discounts in the <Link href="/baanerp/td/pur/tdpur3103m000" role="session">Purchase Contract Price Revisions (tdpur3103m000)</Link> session.</ListItem>
      </List>
      <Paragraph>If required, you can link one or more discount schedules to a
		contract. For more information, refer to <Link href="/baanerp/td/onlinemanual/000344" role="manual">Discount schedules on contracts</Link>.</Paragraph>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>If the contract does not have a valid discount, ERP Enterprise can stop or continue
		  the search based on the setting of the <Link href="/baanerp/td/pcg/tdpcg0100m000#tdpcg000.sacd" role="formfield">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 or a discount
		matrix</SectionTitle>
      <Paragraph>If ERP Enterprise cannot find a discount in a special contract or a normal contract, and if the
		search for discounts continues, ERP Enterprise 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, ERP Enterprise 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, ERP Enterprise 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>
         <ListItemHead>
            <GUIRef href="/baanerp/td/domains/pcg.dsco#first" role="option">First Discount</GUIRef>
         </ListItemHead>
         <ListItem> ERP Enterprise 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 priority number. When
		  more than one discount has the lowest priority number, the first discount is
		  the one with the latest <GUIRef href="/baanerp/td/pcg/tdpcg0130m100#tdpcg030.efdt" role="manual">Effective Date</GUIRef>. When the first discount is found, the
		  search for discounts stops.</ListItem>
         <ListItemHead>
            <GUIRef href="/baanerp/td/domains/pcg.dsco#best" role="option">Best Discount</GUIRef>
         </ListItemHead>
         <ListItem>ERP Enterprise picks up the best discount found for the
		  level and disregards the matrix priorities.</ListItem>
         <ListItemHead>
            <GUIRef href="/baanerp/td/domains/pcg.dsco#accum" role="option">Accumulate</GUIRef>
         </ListItemHead>
         <ListItem>All valid discounts are
		  retrieved and returned as one aggregated percentage. The maximum aggregated
		  discount percentage is 100.</ListItem>
         <ListItemHead>
            <GUIRef href="/baanerp/td/domains/pcg.pmco#napp" role="option">Not Applicable</GUIRef>
         </ListItemHead>
         <ListItem>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. ERP Enterprise first searches for a
		  line discount, then for an order discount. If no valid discount is found, ERP Enterprise enters a value of 0.00
		  (zero), which can be maintained or modified by the user.</ListItem>
         <ListItem>The values of the <GUIRef href="/baanerp/td/pcg/tdpcg0130m100#tdpcg030.dtrm" role="manual">Determining</GUIRef> and <GUIRef href="/baanerp/td/pcg/tdpcg0130m100#tdpcg030.elgb" role="manual">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 more information, refer to <Link href="/baanerp/td/onlinemanual/000018" role="manual">Determining/eligible</Link>.</ListItem>
         <ListItem>From the applicable discount schedules or price books that ERP Enterprise finds for a particular
		  order or contract, ERP Enterprise picks up the discounts listed in the currency of the order or contract. If no
		  applicable discount is found in the order currency, ERP Enterprise selects discounts
		  listed in the home currency.</ListItem>
         <ListItem>You can always manually enter or overwrite discounts.</ListItem>
      </List>
   </Note>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/td/onlinemanual/000063" role="manual">Sales contracts - overview</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/td/onlinemanual/000067" role="manual">Purchase contracts</Link>
      </RelTopic>
      <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">Setting 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>