﻿<?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%3ATrigger_Programs</id>
	<title>Information Systems:Trigger Programs - 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%3ATrigger_Programs"/>
	<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Trigger_Programs&amp;action=history"/>
	<updated>2026-09-01T12:14:48Z</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:Trigger_Programs&amp;diff=4049&amp;oldid=prev</id>
		<title>Norwinu at 16:57, 7 July 2016</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Trigger_Programs&amp;diff=4049&amp;oldid=prev"/>
		<updated>2016-07-07T16:57:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There are dozens of files that define an item (I counted – I came up with 70).  Some of these files are date sensitive; which means there can be many records for a single item, but not all are effective.  This makes it hard – maybe even impossible – to use some of this data in SQL or Query.  So we created the consolidated item master file (XXITEMP).  It is rebuilt every night, but would become inaccurate as soon as any item maintenance is done.  So we put triggers on the more significant files, so that when they are changed XXITEMP is automatically updated.  These programs, are in library UWDASWPRDS, file QRPGLESRC, and start with ‘TRG’.  &lt;br /&gt;
&lt;br /&gt;
Because these programs are attached to files, they can only be compiled when those files are not in use.  The trigger programs have to be detached from the files, compiled, then re-attached.  Because this is such an awkward process, that has to be done at night, I have occasionally manually updated XXITEMP when a user makes a change using InfoNet.  For example, NPN (natural product number)is an important field, so I manually update XXITEM when it is changed.&lt;br /&gt;
&lt;br /&gt;
 Program        File&lt;br /&gt;
 TRGCXITPRP     CXITPRP  Contract Item Prices&lt;br /&gt;
 TRGIXMARKP     IXMARKP  Item to Mark Up Class Links&lt;br /&gt;
 TRGIXPRICP     IXPRICP  Item Base Pricing&lt;br /&gt;
 TRGPXPRICP     PXPRICP  Promotional Item Pricing&lt;br /&gt;
 TRGSROPCR      SROPCR   Item Cross Reference&lt;br /&gt;
 TRGSROPRG      SROPRG   Item Master&lt;br /&gt;
 TRGSROPRX      SROPRX   Item Extended Description&lt;br /&gt;
 TRGSROSRO      SROSRO   Warehouse Balance&lt;br /&gt;
 TRGWHOLOC      WHOLOC   Location Definition&lt;br /&gt;
&lt;br /&gt;
[[Category: Custom Files and Processes]]&lt;/div&gt;</summary>
		<author><name>Norwinu</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Trigger_Programs&amp;diff=897&amp;oldid=prev</id>
		<title>Sheilav: Created page with &quot;There are dozens of files that define an item (I counted – I came up with 70).  Some of these files are date sensitive; which means there can be many records for a single it...&quot;</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Trigger_Programs&amp;diff=897&amp;oldid=prev"/>
		<updated>2015-10-26T20:25:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;There are dozens of files that define an item (I counted – I came up with 70).  Some of these files are date sensitive; which means there can be many records for a single it...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There are dozens of files that define an item (I counted – I came up with 70).  Some of these files are date sensitive; which means there can be many records for a single item, but not all are effective.  This makes it hard – maybe even impossible – to use some of this data in SQL or Query.  So we created the consolidated item master file (XXITEMP).  It is rebuilt every night, but would become inaccurate as soon as any item maintenance is done.  So we put triggers on the more significant files, so that when they are changed XXITEMP is automatically updated.  These programs, are in library UWDASWPRDS, file QRPGLESRC, and start with ‘TRG’.  &lt;br /&gt;
&lt;br /&gt;
Because these programs are attached to files, they can only be compiled when those files are not in use.  The trigger programs have to be detached from the files, compiled, then re-attached.  Because this is such an awkward process, that has to be done at night, I have occasionally manually updated XXITEMP when a user makes a change using InfoNet.  For example, NPN (natural product number)is an important field, so I manually update XXITEM when it is changed.&lt;br /&gt;
&lt;br /&gt;
 Program        File&lt;br /&gt;
 TRGCXITPRP     CXITPRP  Contract Item Prices&lt;br /&gt;
 TRGIXMARKP     IXMARKP  Item to Mark Up Class Links&lt;br /&gt;
 TRGIXPRICP     IXPRICP  Item Base Pricing&lt;br /&gt;
 TRGPXPRICP     PXPRICP  Promotional Item Pricing&lt;br /&gt;
 TRGSROPCR      SROPCR   Item Cross Reference&lt;br /&gt;
 TRGSROPRG      SROPRG   Item Master&lt;br /&gt;
 TRGSROPRX      SROPRX   Item Extended Description&lt;br /&gt;
 TRGSROSRO      SROSRO   Warehouse Balance&lt;br /&gt;
 TRGWHOLOC      WHOLOC   Location Definition&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
</feed>