What Information Is Stored in System 12 Months Table (SY12MONS)?

Release Date: 12/5/17

Many users have noticed the existence of the SY12MONS (System 12 Months) table and would like to know what information is stored there and how to access it. This document is an attempt to explain what information is stored in this table, how you can access it, and how it gets updated.

What Kind of Data Are Stored in the SY12MONS Table?

SY12MONS - The System 12 Months Table is designed to store 12 months of information for many master tables. This includes Customer, Salesman, Vendor...etc.  Netcellent began to populate the SY12MONS table starting in early 2016.  Depending on when you updated your version of Elliott, you may have data in the SY12MONS table from as early as 2016.  So far, we have only limited user interface -- like Export Processor -- in Elliott to access the information in this table.  Therefore, you may consider using a third-party tool -- like Crystal Report -- to access Elliott SY12MONS data through ODBC.

The primary key index of the IMLOCHST table consists of the following columns:
  • File Name – SY12MONS_FILENAME
  • Reference - SY12MONS_REF_ID
  • Record Type – SY12MONS_TYPE
  • Year - SY12MONS_YEAR
File Name - The column file name designates the master file of the 12 months of information and can have the following value:
  • APVENFIL - AP Vendor File, Reference = Vendor Number
  • ARCDETAX - AR Tax Code File, Reference = Tax Code
  • ARCDETRM - AR Terms Code File, Reference = Terms Code
  • ARCDEVIA - AR Ship Via File, Reference = Ship Via Code
  • ARCUSFIL - AR Customer File, Reference = Customer Number
  • ARCUSTYP - AR Customer Type File, Reference = Customer Type
  • ARSLMFIL - AR Salesman File, Reference = Salesman ID
  • BMOPERID - BOMP Operation File, Reference = Operation-ID
  • BMOPITEM - BOMP Operation Item File, Reference = Operation-ID + Item Number
  • BMOPPCAT - BOMP Operation Category File, Reference = Operaton-ID + Prod Category
  • BMWCFIL - BOMP Work Center File, Reference = Work Center
  • IMCATFIL - IM Category File, Reference = Produce Category
  • IMITMFIL - IM Item File, Reference = Item Number
  • IMLOCFIL - IM Location File, Reference = Location Code
  • IMLOCTYP - IM Location Customer Type File, Reference = Item-No + Loc + Customer Type
Reference - The reference is the primary key of the master file.  For example, for the customer file, the reference value is the customer number, and for the vendor file, the reference value is the vendor number.

Record Type - The record type can have a value from 1 to 4. Each SY12MONS record can store up to 4 different types of 12-month information.  If there are more than 4 different types of 12-month information to be stored for a master file, then we start to use record type 2, 3, 4, and so on and so forth.

Year - The year is the 4-digit year, like 2016, 2017...etc.

Because this table tends to be large, when you try to access it through ODBC, ADO.NET or Crystal Report, you must specify the file name for best performance. For example, if you want to get all customer information in 2017, you can use the following statement:

      SELECT * FROM SY12MONS where SY12MONS_FILENAME = 'ARCUSFIL' and SY12MONS_YEAR = 2017

If you want to get 12-month information for a certain customer -- say customer number 000013 for year 2017 -- then you can use the following statement:

      SELECT * FROM SY12MONS where SY12MONS_FILENAME = 'ARCUSFIL' and SY12MONS_REFERENCE = '000013' and SY12MONS_YEAR = 2017

How Are Records Created in SY12MONS?
The records in SY12MONS are currently created through the following processes: 
  • New AP Trx Posting
  • AP Check Posting
  • COP Sales Journal posting
  • BOMP Plus Work Order Processing
Take COP Sales Journal Posting as an example. When an invoice is posted, the system will determine whether to create a new record or to modify an existing record for a customer by checking to see whether the matching record for the customer and year exists. If the corresponding record does not exist, then a new record is created. If the record does exist, then it adds to the existing record the proper month based on invoice date. Compared to the implementation of customer accumulators like YTD, PTD, Last Year Sales and Cost Amount, SY12MONS has many benefits, such as:
  • It is self-maintained and there’s no month-end or year-end procedure to clear the accumulator.
  • It updates to the right bucket based on document date (i.e., invoice date). Therefore, if you have back-dated posting (over the month-end or year-end), it will not cause your SY12MONS history to mismatch with your sub module or general ledger.
  • It provides complete 12-month history breakdown.
  • You can store as many years' worth of history as you want.

Type of History Information Stored in SY12MONS

Each SY12MONS record type stores up to 4 different types of history information with the following column names:
  • SY12MONS_AMT1_1 - 12
  • SY12MONS_AMT2_1 - 12
  • SY12MONS_AMT3_1 - 12
  • SY12MONS_AMT4_1 - 12
The following is a list of what kind of information is stoerd in AMT1, 2, 3 and 4.
  • APVENFIL, Type 1, AMT1=Purchase Amount, AMT2=Amount pay, AMT3=Discount Taken
  • ARCDETAX - Type 1, AMT1=Sales, AMT2=Tax Amt, AMT3=Misc Amt, AMT4=Frieght Amt
  • ARCDETRM - Type 1, AMT1=Sales, AMT2=Number of Invoice
  • ARCDEVIA - Type 1, AMT1=Sales, AMT2=Weight, AMT3=Volume, AMT4=Number of Invoice
  • ARCUSFIL, Record 1, AMT1=Sales, AMT2=Cost, AMT3=Number of Invoice
  • ARCUSTYP, Record 1, AMT1=Sales, AMT2=Cost, AMT3=Number of Invoice
  • ARSLMFIL, Record 1, AMT1=Sales, AMT2=Cost, AMT3=Commission, AMT4=Number of Invoice
  • BMOPERID, Record 1, AMT1=Std Direct Labor Hour, AMT2=Actual Direct Labor Hour, AMT3=Std Shared Labor Hour, AMT4=Actual Shared Labor Hour
  • BMOPERID, Record 2, AMT1=Std Machine Hours, AMT2=Actual Machine Hours, AMT3=Std Burden Cost, AMT4=Actual Burden Cost
  • BMOPERID, Record 3, ATM1=Std Direct Labor Cost, AMT2=Actual Direct Labor Cost, AMT4=Std Shared Labor Cost, AMT4=Actual Shared Labor Cost
  • BMOPERID, Record 4, AMT1=Complete Qty, AMT2=Scrap Qty, AMT3=Std Matieral Cost, AMT4=Actual Material Cost
  • BMOPITEM, Record 1, AMT1=Std Direct Labor Hour, AMT2=Actual Direct Labor Hour, AMT3=Std Shared Labor Hour, AMT4=Actual Shared Labor Hour
  • BMOPITEM, Record 2, AMT1=Std Machine Hours, AMT2=Actual Machine Hours, AMT3=Std Burden Cost, AMT4=Actual Burden Cost
  • BMOPITEM, Record 3, ATM1=Std Direct Labor Cost, AMT2=Actual Direct Labor Cost, AMT4=Std Shared Labor Cost, AMT4=Actual Shared Labor Cost
  • BMOPITEM, Record 4, AMT1=Complete Qty, AMT2=Scrap Qty, AMT3=Std Matieral Cost, AMT4=Actual Material Cost
  • BMOPPCAT, Record 1, AMT1=Std Direct Labor Hour, AMT2=Actual Direct Labor Hour, AMT3=Std Shared Labor Hour, AMT4=Actual Shared Labor Hour
  • BMOPPCAT, Record 2, AMT1=Std Machine Hours, AMT2=Actual Machine Hours, AMT3=Std Burden Cost, AMT4=Actual Burden Cost
  • BMOPPCAT, Record 3, ATM1=Std Direct Labor Cost, AMT2=Actual Direct Labor Cost, AMT4=Std Shared Labor Cost, AMT4=Actual Shared Labor Cost
  • BMOPPCAT, Record 4, AMT1=Complete Qty, AMT2=Scrap Qty, AMT3=Std Matieral Cost, AMT4=Actual Material Cost
  • BMWCFIL, Record 1, AMT1=Std Material Cost, AMT2=Actual Material Cost, AMT3=Std Direct Labor Cost, AMT4=Actual Direct Labor Cost
  • BMWCFIL, Record 2, AMT1=Std Shared Labor Cost, AMT2=Actual Shared Labor Cost, AMT3=Std Burden Cost, AMT4=Actual Burden Cost.
  • BMWCFIL, Record 3, AMT1=Std Direct Labor Hour, AMT2=Actual Direct Laobr Hour, AM3=Std Shared Labor Hour, AMT4=Actual Shared Labor Hour
  • BMWCFIL, Record 4, AMT1=Std Machine Hour, AMT2=Actual Machine Hour, AMT3=Complete Qty, AMT4=Scrap Qty
  • IMCATFIL, Record 1, AMT1=Sales, AMT2=Cost
  • IMITMFIL, Record 1, AMT1=Days Out of Stock (for All Locations, thus different from IMLOCHST)
  • IMLOCFIL, Record 1, AMT1=Sales, AMT2=Cost
  • IMLOCTYP, Record 1, AMT1=Sales, AMT2=Cost, AMT3=Number of Invoices
  • IMLOCTYP, Record 2, ATM1=Sales Desk Time Out of Stock, AMT2=SD Times Quoted, AMT3=SD Qty Quoted
  • IMLOCTYP, Record 3, AMT1 = Sales Desk Number Wis List, AMT2=Sales Desk Wish List Qty

Access 12 Months of History from Export Processor

After Elliott V8.2, you can access 12-month history information for certain master tables from the Elliott Export Processor, including:
  • Customer
  • Vendor
  • Customer Type
  • Ship Via
  • Tax Code
  • Terms Code
  • Product Category
  • Location
  • Operation ID
  • Work Center
The following is an example of customer history that can be exported in the Customer category in Export Processor. You can go to the Export tab and find the Customer History node, which you can expand and export. See sample below:


Regenerating the SY12MONS Table

Certain master table information in SY12MONS can be regenerated for whatever reason. To do so, you can go to Global Setup-> Utilities-> Generate Statistical Info-> Generate-> Generate IMLOCHST Sales Information (IMGENLHP). The program initializes IMLOCHST and SY12MONS data and rebuilds it using data in the CPHSTTRX file. 

Previously, only IMLOCTYP records were added to the SY12MONS file with this utility. We now also support the regeneration of ARCUSFIL, ARCUSTYP, IMCATFIL, and IMLOCFIL.


EMK

Systems Manager

  1. Mapped Drives Disappear After Logoff or Reboot
  2. Using Raw Data Pass Through for Dot Matrix Printer on Windows 10 Does Not Work
  3. How Do I Find The Workstation That's Infected with The Crypto Ransom Ware?
  4. How to Reset the Counter in *.DAT Files After Recovery from Crypto Ransom Ware Attack
  5. Aging Shows Differently After Database Rebuild
  6. What Do I Do When My Anti-virus Software Reports Elliott EXE File as a Virus?
  7. High CPU Usage and Performance Issues After Implementing NTFS Security
  8. "We can't verify who created this file. Are you sure you want to run this file?"
  9. Problem with Printer Configuration If Running Elliott from Multiple Workstations
  10. Inconsistent Elliott Error on Terminal Server
  11. How to Restore Elliott from CryptoWall Ransomware Attack
  12. Clarify Laser Forms Line Item Level Barcode Printing
  13. Is Dot Matrix Printer Still Supported in Elliott with Windows 10?
  14. Should I Install the 32-bit or 64-bit Outlook/Office?
  15. I Receive Error 114 When I Start Up Elliott on the Server
  16. Manage Data Execution Prevention (DEP) Through Registry Editing
  17. Windows Defender May Cause Elliott Start-Up Difficulties
  18. Why Do I Exceed Elliott User License Count When There are No or Very Few Users in Elliott?
  19. What Causes Load Error 198?
  20. How the Windows Scheme You Choose May Affect the Elliott Screen Display
  21. Still Get Error 114 After Adding All Elliott EXE Files to the DEP List
  22. How to Copy Laser Form Templates from Company to Company
  23. Weird Character Displayed for Backslash (\) Character
  24. Does Elliott Support Desktop Virtualization?
  25. Access Is Denied When Launching Elliott V8 Report Viewer
  26. User Cannot See Some Spooled Reports in Elliott V8
  27. Why Does the User List Function Take Forever to Bring Up?
  28. I Am Running Out of Invoice Numbers -- I Need Direction to Archive Invoices
  29. Algorithm to Speed Up eContacts List in Elliott V8
  30. Elliott Requires Volume Supporting 8dot3name
  31. Elliott Running Extremely Slow on Windows 8 with Trend Micro Anti Virus Software Installed
  32. What Causes "File Table Exceed Limit" Error?
  33. Mass Email Time Out
  34. Report Incomplete After 4 Hours: Event Stops Working After Upgrade to Elliott V8
  35. File Created in C:\ Root Directory Disappears
  36. Is There a Way to Create and Distribute Elliott Printer Configurations?
  37. What Are "COBOL Only" or "User Defined" Event Actions? Can We Use Them in Any Way?
  38. How to Purge WSORDHDR.BTR and WSORDLIN.BTR files?
  39. CPORDLS (Order Serial/Lot File) Btrieve Page Size
  40. Create PO Receiving Event to Trap Negative Qty on Hand Problem
  41. Reducing File Sizes for INITLFILE.LOG & SYACTLOG.BTR
  42. Windows 10 and Trend Micro Anti-Virus Software
  43. The Remote Certificate Is Invalid According to the Validation Procedure
  44. Customer Has Multiple Primary Contacts or No Primary Contact
  45. Btrieve Error 46 on S/M Activity Log File
  46. Multi-Currency Workarounds in Elliott
  47. Using the Export Processor to Export Data
  48. Instructions for Importing Laser Form Template
  49. I Am Unable to Post or Enter a Date for the New Year
  50. Does Elliott Work Under Virtualized Desktops Infrastructure (VDI)
  51. Btrieve Error 80 During Defer Processing
  52. Lauch CSV File -- There Was a Problem Sending the Command to the Program
  53. Feature - System Users File Integrity Check
  54. Receive Error in NWSMSCRN for Function Pf-Map-Coordinate-Space
  55. Not Able to Receive Event Emails from Certain Users
  56. Feature - Events for Add Note and Delete Note
  57. When and How to Use DDF2BTR.EXE Utility
  58. Elliott Last Printing Job Overrides Windows Default Printer on Windows 10
  59. Not Able to Change Attributes Added by Other Users
  60. Feature - New Context Menus in v8.0 Spooled Reports Manager
  61. Feature - Automatic Archiving of Spooled Reports in Elliott v8.0
  62. Feature - Enhanced Security for Attributes
  63. Feature - Deferred Processing Multiple Times Per Day
  64. Feature - Ability to Specify User ID in User Search
  65. Feature - Utility to Re-Calculate Item First Received and Last Received Date
  66. NSCTLMN1 Global Setup Time Clock Global Setup
  67. How to Set Up One-to-One Restriction of Customer and Item
  68. Recursion Error When Drill Down to Item File Inquiry
  69. Error Invoking Macro - Cannot Install Hook
  70. Feature - Record Navigation in Attribute Window
  71. Error Connecting VPN from Windows 10 to Windows 2008 Server
  72. How to Stop Users from Sending Elliott Reports through Email
  73. Does Elliott Support Windows 10?
  74. It Is Extremely Slow to Run Elliott over VPN Connection
  75. SYTIMCLK Systems Manager General Time Clock
  76. Feature - Recalculate AP Vendor YTD and Last Year Amount
  77. XCO0100 Systems Manager Design Your Own Order
  78. Feature - Restrict Recurring Event for Number of Times for a Specific Reference
  79. How Do I Limit the Companies for Users?
  80. Feature - Enforced Report Destinations
  81. I Am Unable to Create a New User in Elliott
  82. Feature - PDF Printing in Elliott V8.2
  83. Feature: PDF PostOffice in Elliott V8.2, Introduction
  84. Feature: PDF PostOffice in Elliott V8.2, Part 1
  85. Feature: PDF PostOffice in Elliott V8.2, Part 2
  86. Feature: PDF PostOffice in Elliott V8.2, Part 3
  87. Feature - Added Checkbox and Description to Attribute List and the SPS Commerce Create Attribute Register
  88. Feature - Performance Options for eContact Activity Tab
  89. Feature - Mass Change Salesman Utility
  90. Elliott Installer File-In-Use Warning During Installation
  91. Unable to Run Elliott from UNC Path
  92. V8 Program Desktop Startup Shortcuts - Internal Macro
  93. Event When Order Put On Hold at Invoice Printing
  94. Feature - Time Clock Logoff Type
  95. Feature - Added Distribution to G/L History Files
  96. Feature - Utility to Update eContact PDF PostOffice Flags
  97. Can I Use Elliott for Sales, Telemarketing and CRM Purposes?
  98. Emailing PDF with SSPI Failed After Online Charging Using Credit Card
  99. Can You Explain How Elliott Stores Serial Numbers in Its Database?
  100. Converting Elliott Internal Date to Conventional Date Format in Excel
  101. All of a Sudden, My Terminal Server's Elliott Default Changed to Someone Else's Settings
  102. WannaCry Ransomware Security Recommendation
  103. Symantec Endpoint Protection Versions 12 and 14 Cause Elliott Startup Error
  104. Notes Security - From Global Setup, Note Type to Supervisory Relationship
  105. Remote Desktop Workstation Name
  106. Which Anti-Virus Software Do You Recommend to Installing on the Elliott ERP Server?
  107. Menu Access Error - You Do Not Have Access to CP,INQ, Menu Item 01
  108. Ping Test to Isolate Inconsistent Load Error 198
  109. The Definitions of Extra Flags in System Period Control Setup
  110. How to Use Procdump.exe to Create a Memory Dump for PSQL Engine
  111. Feature - Group Location Security
  112. NSCTLMN4 Global Setup Bill of Lading 1
  113. NSCTLMN4 Global Setup Bill of Lading 2
  114. NSCTLMN4 Global Setup Bill of Lading 3
  115. NSCTLMN4 Global Setup Bill of Lading 4
  116. NSCTLMN4 Global Setup Bill of Lading 5
  117. NSCTLMN4 Global Setup Bill of Lading 6
  118. NSCTLMN4 Global Setup Bill of Lading 7
  119. NSCTLMN4 Global Setup Bill of Lading 8
  120. NSCTLMN4 Global Setup Bill of Lading 9
  121. NSCTLMN4 Global Setup Bill of Lading 10
  122. NSCTLMN4 Global Setup Bill of Lading: Index
  123. Feature - Support 12 Months History in Export Processor
  124. NSCTLMN3 Inventory Management Global Control Setup 1
  125. NSCTLMN3 Inventory Management Global Control Setup 2
  126. NSCTLMN3 Purchase Order Global Control Setup 1
  127. NSCTLMN3 Purchase Order Global Control Setup 2
  128. NSCTLMN3 Bill of Material and Production Order Global Control Setup
  129. NSCTLMN3 Distribution Modules Global Setup: Index
  130. NSCTLMN5 Global Setup Change Quote to Order 1
  131. NSCTLMN5 Global Setup Change Quote to Order 2
  132. NSCTLMN5 Global Setup Change Quote to Order 3
  133. NSCTLMN5 Global Setup Change Quote to Order 4
  134. NSCTLMN5 Global Setup Change Quote to Order 5
  135. NSCTLMN5 Global Setup Change Quote to Order 6
  136. NSCTLMN5 Global Setup Change Quote to Order: Index
  137. I Cannot See the Spooled Reports Even though I Am an Administrator Equivalent User
  138. Multi-Currency Exchange Handling in Elliott
  139. How to be a Good Elliott Citizen
  140. Salesman Security
  141. SYMENU System Manager Introduction 1
  142. SYMENU System Manager Introduction 2
  143. SYMENU System Manager Introduction 3
  144. SYMENU System Manager Introduction 4
  145. SYMENU System Manager Introduction 5
  146. SYMENU System Manager Introduction 6
  147. SYMENU System Manager Introduction 7
  148. SYMENU System Manager Introduction 8
  149. SYMENU System Manager Introduction 9
  150. SYMENU System Manager Introduction 10
  151. Feature - Audit Trail of Accumulator Clearing
  152. SYMENU System Manager Introduction 11
  153. SYMENU System Manager Introduction 12
  154. SYMENU System Manager Introduction 13
  155. SYMENU System Manager Introduction 14
  156. SYMENU System Manager Introduction 15
  157. SYMENU System Manager Introduction 16
  158. SYMENU System Manager Introduction 17
  159. SYMENU System Manager Introduction 18
  160. SYMENU System Manager Introduction 19
  161. SYMENU System Manager Introduction 20
  162. SYMENU System Manager Introduction 21
  163. SYMENU System Manager Introduction 22
  164. SYMENU System Manager Introduction 23
  165. SYMENU System Manager Introduction 24
  166. SYMENU System Manager Introduction 25
  167. SYMENU System Manager Introduction 26
  168. SYMENU System Manager Introduction 27
  169. SYMENU System Manager Introduction 28
  170. SYMENU System Manager Introduction 29
  171. SYMENU System Manager Introduction 30
  172. SYMENU System Manager Introduction 31
  173. SYMENU System Manager Introduction 32
  174. SYMENU System Manager Introduction 33
  175. SYMENU System Manager Introduction 34
  176. SYMENU System Manager Introduction 35
  177. SYMENU System Manager Introduction 36
  178. SYMENU System Manager Introduction 37
  179. SYMENU System Manager Introduction 38
  180. SYMENU System Manager Introduction 39
  181. SYMENU System Manager Introduction 40
  182. SYMENU System Manager Introduction 41
  183. SYMENU System Manager Introduction 42
  184. SYMENU System Manager Introduction 43
  185. SYMENU System Manager Introduction 44
  186. SYMENU System Manager Introduction 45
  187. SYMENU System Manager Introduction 46
  188. SYMENU System Manager Introduction 47
  189. SYMENU System Manager Introduction 48
  190. SYMENU System Manager Introduction 49
  191. SYMENU System Manager Introduction 50
  192. SYMENU System Manager Introduction 51
  193. SYMENU System Manager Introduction 52
  194. SYMENU System Manager Introduction: Index
  195. Elliott V7.0 Release Notes: What's New Since Elliott V6.7
  196. Elliott V7.1 Release Notes: What's New Since Elliott V7.0
  197. Elliott V7.2 Release Notes: What's New Since Elliott V7.1
  198. Elliott V7.3 Release Notes: What's New Since Elliott V7.2
  199. Elliott V8.1 Release Notes: What's New Since Elliott V8.0
  200. Elliott V7.4 Release Notes: What's New Since Elliott V7.3
  201. Elliott V7.5 Release Notes: What's New Since Elliott V7.4
  202. Elliott V8.0 Release Notes: What's New Since Elliott V7.5
  203. Elliott V8.2 Release Notes: What's New Since Elliott V8.1
  204. Drill Down and Receive Message You Do Not Have Access
  205. Problem Running Elliott After Upgrading Windows 10 to Fall Creator Edition
  206. MAPISendMail failed! Not supported [26]
  207. What Information Is Stored in System 12 Months Table (SY12MONS)?
  208. Elliott Telephony Integration - How to Call through My Telephone Set from eContact?
  209. Error Adding Printer Configuration After Latest Windows 10 Update
  210. Anti-Virus Causes PostOffice Emailing Problem
  211. Feature - Equal Sign Support in Export Processor
  212. Running Elliott 8.2 and Up on Windows 2003 Server
  213. How Can I Find Out About New Elliott Events Added or Changed Lately?
  214. Feature - Export Enhanced Attribute Predefined Code Value and Description
  215. Error 114 with GUIUTL32.LBR\GUIUTIL.int in Defer Processing

Feedback and Knowledge Base