﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://owl.unipharm.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Information_Systems%3ACCP_-_Customer%2FContract_Pricing</id>
	<title>Information Systems:CCP - Customer/Contract Pricing - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://owl.unipharm.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Information_Systems%3ACCP_-_Customer%2FContract_Pricing"/>
	<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Customer/Contract_Pricing&amp;action=history"/>
	<updated>2026-09-01T16:29:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Customer/Contract_Pricing&amp;diff=3932&amp;oldid=prev</id>
		<title>Norwinu at 17:15, 30 June 2016</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Customer/Contract_Pricing&amp;diff=3932&amp;oldid=prev"/>
		<updated>2016-06-30T17:15:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:15, 30 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; VEDI      vendor debit – charged back to the vendor or rep &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; VEDI      vendor debit – charged back to the vendor or rep &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; VEBA      vendor base cost&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; VEBA      vendor base cost&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Extensions]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:wikidiff2:1.12:old-3930:rev-3932:1.11.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Norwinu</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Customer/Contract_Pricing&amp;diff=3930&amp;oldid=prev</id>
		<title>Norwinu: Norwinu moved page Information Systems:CCP Description to Information Systems:CCP - Customer/Contract Pricing</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Customer/Contract_Pricing&amp;diff=3930&amp;oldid=prev"/>
		<updated>2016-06-30T17:14:51Z</updated>

		<summary type="html">&lt;p&gt;Norwinu moved page &lt;a href=&quot;/mediawiki/index.php/Information_Systems:CCP_Description&quot; class=&quot;mw-redirect&quot; title=&quot;Information Systems:CCP Description&quot;&gt;Information Systems:CCP Description&lt;/a&gt; to &lt;a href=&quot;/mediawiki/index.php/Information_Systems:CCP_-_Customer/Contract_Pricing&quot; title=&quot;Information Systems:CCP - Customer/Contract Pricing&quot;&gt;Information Systems:CCP - Customer/Contract Pricing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There are no fixed selling prices; instead they are the result of a calculation based on the contents of several different files.  &lt;br /&gt;
&lt;br /&gt;
- File IXPRICP (CPP – Item Base Pricing) contains the vendor base cost (price type of VEBA) for all items.&lt;br /&gt;
  &lt;br /&gt;
- File IXMARKP (CCP – Item to mark Up Class Linkages) contains the markup class for each item.  (For example ‘FS 5.5/7.5’, which is front store items with 5.5% markup for shareholders, and 7.5% for non-shareholders.)&lt;br /&gt;
&lt;br /&gt;
- File MKCUPR (CCP – Customer to Price Links Master) gives the price list for each customer.  (For example ‘SHARE-BC’ or ‘NON-SH-AB’.)&lt;br /&gt;
&lt;br /&gt;
- File MKPERCP (CCP – Mark Up Percentages by Date Range) gives the markup percent for each price list within each markup class.&lt;br /&gt;
&lt;br /&gt;
RPG program IXRUP500 (CCP – Item pricing lookup routine) is the black box that does all price lookup.  Basically, it receives item, customer, and date, then returns all related price fields.&lt;br /&gt;
&lt;br /&gt;
The high level process is – &lt;br /&gt;
&lt;br /&gt;
- Read IXMARKP to get the item’s markup class.&lt;br /&gt;
&lt;br /&gt;
- Read MKCUPR to get the customer’s price list.&lt;br /&gt;
&lt;br /&gt;
- Read MKPERCP by markup class and price list to get the markup percentage.&lt;br /&gt;
&lt;br /&gt;
- Read IXPRICP to get the vendor base cost.&lt;br /&gt;
&lt;br /&gt;
- Multiple the vendor base cost by the markup percentage, and add it to the cost.&lt;br /&gt;
&lt;br /&gt;
There is more to it; for example – &lt;br /&gt;
&lt;br /&gt;
- Because of government legislation, vendors can have different selling prices by province.  There is not a field for province on IXPRICP, so we use the warehouse field.  ‘MAI’ for BC price, ‘CGY’ for Alberta, or ‘*ANY’ if the price is the same for both provinces.&lt;br /&gt;
&lt;br /&gt;
- Items can be on contract, or on promo (see next two sections), so the black box must search for the lowest selling price effective on the requested date, that the customer is eligible for.&lt;br /&gt;
&lt;br /&gt;
‘VEBA’ is not the only price type in IXPRICP.  There are also – &lt;br /&gt;
	&lt;br /&gt;
 CUSU      customer suggested retail price&lt;br /&gt;
 CURE      customer rebate&lt;br /&gt;
 VERE      vendor rebate&lt;br /&gt;
&lt;br /&gt;
==Contracts==&lt;br /&gt;
&lt;br /&gt;
This is when we get special prices from vendors.   The effective prices for purchasing are in CXITPRP.  Price types in this file are - &lt;br /&gt;
&lt;br /&gt;
 CUSU      customer suggested retail price&lt;br /&gt;
 SUBS      subsidy (by uniPHARM)&lt;br /&gt;
 VEBA      vendor base cost&lt;br /&gt;
 VEDI      vendor debit – charged back to the vendor or rep &lt;br /&gt;
 VEOI      off invoice – taken off the purchase price at time of payment	&lt;br /&gt;
&lt;br /&gt;
There are also sales dates in this file, or these special prices can be moved into a promotion.&lt;br /&gt;
&lt;br /&gt;
==Promotions==&lt;br /&gt;
&lt;br /&gt;
This is when we give special prices to our customers.  The effective prices are in PXPRICP.&lt;br /&gt;
&lt;br /&gt;
 CUSU      customer suggested retail price&lt;br /&gt;
 SUBS      subsidy (by uniPHARM)&lt;br /&gt;
 VEBA      vendor base cost&lt;br /&gt;
 VEDI      vendor debit – charged back to the vendor or rep &lt;br /&gt;
 VEBA      vendor base cost&lt;/div&gt;</summary>
		<author><name>Norwinu</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Customer/Contract_Pricing&amp;diff=634&amp;oldid=prev</id>
		<title>Sheilav: /* CPR – Customer Product Restrictions */</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Customer/Contract_Pricing&amp;diff=634&amp;oldid=prev"/>
		<updated>2015-10-19T19:43:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;CPR – Customer Product Restrictions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:43, 19 October 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;−&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=CPR – Customer Product Restrictions=&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;−&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are no fixed selling prices; instead they are the result of a calculation based on the contents of several different files.  &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are no fixed selling prices; instead they are the result of a calculation based on the contents of several different files.  &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:wikidiff2:1.12:old-631:rev-634:1.11.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Customer/Contract_Pricing&amp;diff=631&amp;oldid=prev</id>
		<title>Sheilav: Created page with &quot;=CPR – Customer Product Restrictions=  There are no fixed selling prices; instead they are the result of a calculation based on the contents of several different files.    -...&quot;</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Customer/Contract_Pricing&amp;diff=631&amp;oldid=prev"/>
		<updated>2015-10-19T19:42:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=CPR – Customer Product Restrictions=  There are no fixed selling prices; instead they are the result of a calculation based on the contents of several different files.    -...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=CPR – Customer Product Restrictions=&lt;br /&gt;
&lt;br /&gt;
There are no fixed selling prices; instead they are the result of a calculation based on the contents of several different files.  &lt;br /&gt;
&lt;br /&gt;
- File IXPRICP (CPP – Item Base Pricing) contains the vendor base cost (price type of VEBA) for all items.&lt;br /&gt;
  &lt;br /&gt;
- File IXMARKP (CCP – Item to mark Up Class Linkages) contains the markup class for each item.  (For example ‘FS 5.5/7.5’, which is front store items with 5.5% markup for shareholders, and 7.5% for non-shareholders.)&lt;br /&gt;
&lt;br /&gt;
- File MKCUPR (CCP – Customer to Price Links Master) gives the price list for each customer.  (For example ‘SHARE-BC’ or ‘NON-SH-AB’.)&lt;br /&gt;
&lt;br /&gt;
- File MKPERCP (CCP – Mark Up Percentages by Date Range) gives the markup percent for each price list within each markup class.&lt;br /&gt;
&lt;br /&gt;
RPG program IXRUP500 (CCP – Item pricing lookup routine) is the black box that does all price lookup.  Basically, it receives item, customer, and date, then returns all related price fields.&lt;br /&gt;
&lt;br /&gt;
The high level process is – &lt;br /&gt;
&lt;br /&gt;
- Read IXMARKP to get the item’s markup class.&lt;br /&gt;
&lt;br /&gt;
- Read MKCUPR to get the customer’s price list.&lt;br /&gt;
&lt;br /&gt;
- Read MKPERCP by markup class and price list to get the markup percentage.&lt;br /&gt;
&lt;br /&gt;
- Read IXPRICP to get the vendor base cost.&lt;br /&gt;
&lt;br /&gt;
- Multiple the vendor base cost by the markup percentage, and add it to the cost.&lt;br /&gt;
&lt;br /&gt;
There is more to it; for example – &lt;br /&gt;
&lt;br /&gt;
- Because of government legislation, vendors can have different selling prices by province.  There is not a field for province on IXPRICP, so we use the warehouse field.  ‘MAI’ for BC price, ‘CGY’ for Alberta, or ‘*ANY’ if the price is the same for both provinces.&lt;br /&gt;
&lt;br /&gt;
- Items can be on contract, or on promo (see next two sections), so the black box must search for the lowest selling price effective on the requested date, that the customer is eligible for.&lt;br /&gt;
&lt;br /&gt;
‘VEBA’ is not the only price type in IXPRICP.  There are also – &lt;br /&gt;
	&lt;br /&gt;
 CUSU      customer suggested retail price&lt;br /&gt;
 CURE      customer rebate&lt;br /&gt;
 VERE      vendor rebate&lt;br /&gt;
&lt;br /&gt;
==Contracts==&lt;br /&gt;
&lt;br /&gt;
This is when we get special prices from vendors.   The effective prices for purchasing are in CXITPRP.  Price types in this file are - &lt;br /&gt;
&lt;br /&gt;
 CUSU      customer suggested retail price&lt;br /&gt;
 SUBS      subsidy (by uniPHARM)&lt;br /&gt;
 VEBA      vendor base cost&lt;br /&gt;
 VEDI      vendor debit – charged back to the vendor or rep &lt;br /&gt;
 VEOI      off invoice – taken off the purchase price at time of payment	&lt;br /&gt;
&lt;br /&gt;
There are also sales dates in this file, or these special prices can be moved into a promotion.&lt;br /&gt;
&lt;br /&gt;
==Promotions==&lt;br /&gt;
&lt;br /&gt;
This is when we give special prices to our customers.  The effective prices are in PXPRICP.&lt;br /&gt;
&lt;br /&gt;
 CUSU      customer suggested retail price&lt;br /&gt;
 SUBS      subsidy (by uniPHARM)&lt;br /&gt;
 VEBA      vendor base cost&lt;br /&gt;
 VEDI      vendor debit – charged back to the vendor or rep &lt;br /&gt;
 VEBA      vendor base cost&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
</feed>