﻿<?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%3AAdd_New_User_Defined_Field</id>
	<title>Information Systems:Add New User Defined Field - 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%3AAdd_New_User_Defined_Field"/>
	<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Add_New_User_Defined_Field&amp;action=history"/>
	<updated>2026-09-01T12:17:29Z</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:Add_New_User_Defined_Field&amp;diff=860&amp;oldid=prev</id>
		<title>Sheilav: Created page with &quot;It is a major task to add a field to an existing data file.  You have to change the source, compile the new file, copy the old file into the new format, and compile every sing...&quot;</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Add_New_User_Defined_Field&amp;diff=860&amp;oldid=prev"/>
		<updated>2015-10-26T16:54:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;It is a major task to add a field to an existing data file.  You have to change the source, compile the new file, copy the old file into the new format, and compile every sing...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;It is a major task to add a field to an existing data file.  You have to change the source, compile the new file, copy the old file into the new format, and compile every single program that uses it.  That last option can be virtually impossible when it comes to a file that is used a lot; like an ASW file.  The only feasible option is to build an extension file.  That works if you are adding a bunch of related fields, but what if you are only adding one?  We have ‘user defined file’ for partners, items, and sales orders.  We assign a description and data type for the field we want, and add it.&lt;br /&gt;
&lt;br /&gt;
To do this, go to - &lt;br /&gt;
&lt;br /&gt;
Unity / Start uniPharm Extensions / VA Company / System Administration / Extension Data Control  / Maintain User Data Elements&lt;br /&gt;
&lt;br /&gt;
  5/02/14  09:45:51    uniPHARM --Volume test               UDRIQ050/LISTCTL    &lt;br /&gt;
                         USER DATA -- List of Files         VOLUME        60    &lt;br /&gt;
 Display Order                                Field      Test Values            &lt;br /&gt;
 FILE  By file name                                                             &lt;br /&gt;
                                          AND                                   &lt;br /&gt;
 Limit to                                 AND                                   &lt;br /&gt;
 File Name    Added by                                                          &lt;br /&gt;
                                                                                 &lt;br /&gt;
 MA=Main Info   PU=Purge   EL=Element                                           &lt;br /&gt;
 CP=Copy                   FO=Forms                                             &lt;br /&gt;
    File Name  Description                    ADDED BY   ADD DATE   ADD TIME    &lt;br /&gt;
 __ CNCVDAP    Customer/Contact User Data     ANDYK      OCT 21 03  10:45 AM    &lt;br /&gt;
 __ CNUSDAP    Contact Nam Level User Data    ANDYK      SEP 18 03  12:54 PM    &lt;br /&gt;
 __ CVUSDAP    Customer/Vendor Level U Data   ANDYK      SEP 18 03  12:30 PM    &lt;br /&gt;
 EL ITUSDAP    Item Level User Data           ANDYK      SEP 27 03   7:58 AM    &lt;br /&gt;
 __ ITWHDAP    Item/Warehouse Level User Data PATP       MAY 14 08   2:28 PM    &lt;br /&gt;
 __ SOHDDAP    Sales Order Header extensions  HKOETHLER  MAR 01 04   3:22 PM    &lt;br /&gt;
 __ SOLIDAP    ASW Sales Order Line Extension ANDYK      MAR 01 04  11:33 AM    &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh      F6=Add     F12=Previous               F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
This shows the user defined files we have.  Key “EL” beside ITUSDAP to see the fields we have defined for items.&lt;br /&gt;
&lt;br /&gt;
  5/02/14  09:48:36    uniPHARM --Volume test               UDRIQ070/LISTCTL    &lt;br /&gt;
                         USER DATA -- List of Elements      VOLUME        60    &lt;br /&gt;
 Display Order                                Field      Test Values            &lt;br /&gt;
 FILE  By file, then element nam                                                &lt;br /&gt;
                                          AND                                   &lt;br /&gt;
 Limit to                                 AND                                   &lt;br /&gt;
 File Name   Added by    Element Name Func. Athor.  Alph Date Numb Long Alpha   &lt;br /&gt;
 ITUSDAP                                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 MA=Main Info   PU=Purge  FA=Authority   TB=Table Values                        &lt;br /&gt;
 CP=Copy                  FO=Forms                                              &lt;br /&gt;
    Element    Element Description            TABLE NAME FA NAME    USE ALPHA   &lt;br /&gt;
 __ BONUS PACK Bonus Pack                     ITEM BONUS            Y           &lt;br /&gt;
 __ COLOUR     Colour Of Item                 ITEM COLOU            Y           &lt;br /&gt;
 __ COST SOURC Cost Source                                          Y           &lt;br /&gt;
 __ ECU CA SIZ ECU Case Size                                        N           &lt;br /&gt;
 __ ECU CASE   ECU Case Flag                  YESNO                 Y           &lt;br /&gt;
 __ EDL        EDL flag                       YESNO                 Y           &lt;br /&gt;
 __ EDLFLAG    EDL Flag                                             Y           &lt;br /&gt;
 __ FLAVOUR    Item Flavour                   ITEM FLAV             Y           &lt;br /&gt;
 __ NARCOTIC   Narcotics Flag                 NARCOTIC              Y         + &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh      F6=Add     F12=Previous               F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Press F6 to add a new field.&lt;br /&gt;
&lt;br /&gt;
  1/10/08  15:58:34    uniPHARM -- PRODUCTION               UDRIU080/UPDATE &lt;br /&gt;
 UPDATE                User Data -- Enter/update Element    PRODUCTION    60&lt;br /&gt;
                                                                            &lt;br /&gt;
 File Name   File Description                                               &lt;br /&gt;
 ITUSDAP     Item Level User Data                                           &lt;br /&gt;
                                                                            &lt;br /&gt;
 Element     Element Description              *DEFAULT Seq.                 &lt;br /&gt;
 NPN         Natural Product Number                                         &lt;br /&gt;
                                                                            &lt;br /&gt;
 Uses Table Validation   Uses Functional Authority                          &lt;br /&gt;
 N                       N                                                  &lt;br /&gt;
                                                                            &lt;br /&gt;
 Use Alpha  Use Date  Use Number Use Long Alpha                             &lt;br /&gt;
     Y          N         N          N                                      &lt;br /&gt;
&lt;br /&gt;
The ‘element name’ is written to file ITUSDAP to identify the data in the record.  By using a table, the user selects an option from that table instead of keying something in.  (See the [[UWD Tables]] for information).  There are four fields on the record; we select which one this data will use.  ‘Alpha’ is a ten character field, ‘Date’ is century / year / month / day, ‘Number’ is 15 digits with 4 decimal places, and ‘Long Alpha’ is 256 characters.&lt;br /&gt;
&lt;br /&gt;
The information here is written to file UDELMAP in library RCSUTILPRD.  InfoNet item maintenance reads it to control the entry of user defined fields.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
</feed>