Professional Documents
Culture Documents
Archiving Baan IV
Archiving Baan IV
A publication of: Enhanced Support Services EMEA Baan Global Support In cooperation with Technical Consulting Baan The Netherlands All rights reserved. The information in this document is subject to change without notice. No part of this document may be reproduced, stored or transmitted in any form or by any means, electronic or mechanical for any purpose, without the express written permission of Baan Global Support EMEA. Baan Global Support EMEA assumes no liability for any damages incurred, directly or indirectly, from any errors, omissions or discrepancies between the software and the information contained in this document. Document Information Code: Group: Edition: Date: Enhanced Support Services EMA User Document 1 August, 2000
Archiving Baan IV
Table of contents
TABLE OF CONTENTS.............................................................................................................................. 3 1 2 INTRODUCTION................................................................................................................................. 6 ARCHIVING STRATEGY.................................................................................................................. 7 FIRST STEP: WHAT DO YOU NEED TO STORE? ............................................................................................... 7 SECOND STEP: WHAT ARE THE LEGAL REQUIREMENTS? ............................................................................... 7 THIRD STEP: MATCH REQUIREMENTS WITH TECHNICAL POSSIBILITIES OF BAAN.......................................... 7 NEXT STEPS ................................................................................................................................................. 8 3 TECHNICAL SETUP........................................................................................................................... 9 THE PLACE AND FUNCTION OF CREATING THE ARCHIVE COMPANY NUMBER ................................................ 9 PREPARATIONS ............................................................................................................................................ 9 PROCEDURE (PART I)................................................................................................................................... 5 Maintain Companies (ttaad1100m000) .................................................................................................. 6 Convert to RTDD. ................................................................................................................................... 6 Assign Tables to Database (ttaad4111m000) ......................................................................................... 6 Convert to RTDD .................................................................................................................................... 7 Maintain Table Directories (ttaad4115m000) ........................................................................................ 7 CHECK / CREATE SPACES IN RDBMS ...................................................................................................... 8 Update <Rdbms>_storage file ............................................................................................................... 8 LOGICAL TABLE LINKING / LINK ARCHIVE COMPANY TO LIVE COMPANY.................................................. 9 Conversion to RTDD............................................................................................................................. 10 LOGOUT / LOGIN........................................................................................................................................ 10 Create Tables (ttaad4230m000) ........................................................................................................... 10 PROCEDURE (PART II)................................................................................................................................ 11 PARAMETERS ............................................................................................................................................. 11 FINANCE DATA .......................................................................................................................................... 11 EMPLOYEE DATA ....................................................................................................................................... 11 GENERAL DATA ......................................................................................................................................... 11 CHECK ARCHIVE GENERAL DATA? ........................................................................................................... 11 Maintain Companies (tccom0100m000) ............................................................................................... 12 REPAIR COMPANY NUMBER FOR ARCHIVE COMPANY ............................................................................... 12 Maintain Company Parameters (tfgld0103m000) ................................................................................ 12 Maintain Group Company Parameters (tfgld0101m000) ..................................................................... 13 Maintain Periods (tfgld0105m000)....................................................................................................... 13 Maintain Period Status (tfgld0107m000).............................................................................................. 13 MAINTAIN COMPANY PARAMETERS IN LIVE COMPANY (TFGLD0103M000)............................................. 14 Add archive company number to some sessions in the Live Company ................................................. 14 Purchase Statistics (tdpst0100m000).................................................................................................... 14 Sales Statistics (tdsst0100m000)........................................................................................................... 14 ARCHIVE BUDGETS, TIPCS0260M000......................................................................................................... 18 4 ARCHIVING LOGISTICS................................................................................................................ 18 PREREQUISITES FOR THE ARCHIVING, COMPRESSION AND REMOVING SESSIONS....................................... 19 Backup of the data ................................................................................................................................ 19 Important for the following Archiving sessions is: ............................................................................... 19 Archiving company number .................................................................................................................. 20 Session Process delivered purchase orders (tdpur4223m000) ............................................................. 20 Session Process delivered sales orders (tdsls4223m000) ..................................................................... 20 Session archive production orders (ticst0250m000)............................................................................. 21 Session Process/delete delivered replenishment orders (tdrpl2126m000)............................................ 21
Archiving Baan IV 3
Correction program tpcor4110 Making it possible to delete tfgld410 project records ........................ 21 Session Customer statistics (tfcmg3200m000)...................................................................................... 22 The to archive year should be closed.................................................................................................... 22 Closed years that can be archived ........................................................................................................ 22 ARCHIVE PRODUCTION ORDERS, TICST0250M000 ..................................................................................... 22 ARCHIVE COSTING HISTORY, TICST2250M000 ........................................................................................... 23 ARCHIVE HOURS ACCOUNTING, TIHRA1215M000...................................................................................... 24 ARCHIVE HOURS HISTORY, TIHRA3250M000 ............................................................................................. 25 ARCHIVE OVERALL BUDGET, TIHRA3225M000 .......................................................................................... 26 ARCHIVE PRODUCT VARIANTS, TIPCF5290M000........................................................................................ 27 ARCHIVE ENGINEERING ITEM DATA, TIEDM1250M000 .............................................................................. 29 ARCHIVE PROJECTS, TIPCS2260M000 ........................................................................................................ 30 PROCESS DELIVERED PURCHASE ORDERS, TDPUR4223M000...................................................................... 33 Processing Purchase order data........................................................................................................... 33 Deleting Purchase order data............................................................................................................... 33 PROCESS DELIVERED SALES ORDERS, TDSLS4223M000 ............................................................................. 35 ARCHIVE/DELETE PURCHASE STATISTICS, TDPST0202M000 ..................................................................... 38 ARCHIVE/DELETE SALES STATISTICS, TDSST0202M000 ............................................................................ 40 ARCHIVE WAREHOUSE TRANSACTIONS BY ITEM, TDINV1201M000 .......................................................... 41 ARCHIVE INVENTORY TRANSACTIONS BY ITEM, TDINV7210M000 ............................................................ 42 ARCHIVE ITEM ISSUE BY PERIOD/WAREHOUSE, TDINV7250M000/TDINV7260M000 ................................. 44 ARCHIVE STOCK HISTORY BY LOCATION, TDILC3211M000........................................................................ 45 ARCHIVE PROJECTS, TPPDM7820M000...................................................................................................... 46 Tables archived when General Data is set to Yes ........................................................................ 48 Tables archived when General Project Data is set to Yes ........................................................... 51 Tables that are archived when Planning Data is set to Yes ......................................................... 52 Tables that are archived when Actual budget is set to Yes .......................................................... 52 Tables that are archived when Actual budget history is set to Yes .............................................. 53 Tables that are archived when Actual budget history is set to Yes .............................................. 53 PRE ACTIONS FOR THE FINANCE ARCHIVING, REMOVING OR COMPRESSION SESSIONS ............................... 55 5 ARCHIVING FINANCE.................................................................................................................... 55 Session Delete Fixed Assets (tfgld6101m000) ...................................................................................... 55 Correction program otfcor0260 Recalculate Open Entries (tfacp200/tccom021)................................ 55 Important for Correction program otfcor0261 recalculate open entries (tfacr200/tccom011) ........... 56 Correction program otfcor0261 recalculate open entries (tfacr200/tccom011).................................. 56 Session select values for receivable invoices specification (tfacp1235m000) ...................................... 56 Session Match/approve purchase invoices with orders (tfacp1130m000) ............................................ 57 Session print integration transactions (tfgld4410m000)....................................................................... 58 Session print debit and credit totals for integration transactions (tfgld4411m000) ............................. 59 Session post integration transactions to finance transactions (tfgld4210m000) .................................. 60 Session Compose payments (tfcmg1240m000) ..................................................................................... 60 Session Process Direct Debits (tfcmg4240m000) ................................................................................. 61 Session Maintain Bank Transactions (tfcmg2100s000) ........................................................................ 61 Session Write off payment differences (tfacp2230m000) ...................................................................... 62 Session Write off currency differences (tfacp2240m000)...................................................................... 63 Session Control account checklist (tfacp2415m000) ............................................................................ 63 Important for Session Control account checklist (tfacp2415m000)...................................................... 64 Session Write off payment differences (tfacr2240m000)....................................................................... 64 Session Write off currency differences (tfacr2250m000) ...................................................................... 65 Session Control account checklist (tfacr2415m000)............................................................................. 66 Important for Session Control account checklist (tfacr2415m000) ...................................................... 67 Session print debit and credit amounts by document (tfgld3410m000) ................................................ 67 ARCHIVE DISPOSED FIXED ASSETS (TFFAS3300M000) .............................................................................. 68 ARCHIVE/PURGE INTEGRATION TRANSACTIONS (TFGLD4210M000).......................................................... 69 REMOVE FULLY PAID PURCHASE INVOICES (TFACP2250M000) ................................................................. 71 SESSION REMOVE FULLY PAID SALES INVOICES (TFACR2260M000).......................................................... 73 ARCHIVE / PURGE FINANCE TRANSACTIONS (TFGLD6205M000) ................................................................ 74 COPY BALANCES TO HISTORY BEFORE SPECIFIED YEAR (TFGLD6206M000).............................................. 75 ARCHIVE / PURGE TAX TRANSACTIONS (TFGLD6207M000) ...................................................................... 77
Archiving Baan IV 4
ARCHIVE/PURGE INTEGRATION TRANSACTIONS (TFGLD4210M000) .......................................................... 78 PURGE AND COMPRESS INTEGRATION TRANSACTIONS (TFGLD4220M000)................................................. 79 CORRECTION PROGRAM COMPRESS INTEGRATION TRANSACTIONS (OTFCOR0217) ................................... 79 SESSION REMOVE POSTED/CANCELED SALES INVOICES (TFACR4230M000)............................................... 80 SESSION DELETE POSTED INTEREST INVOICES (TFACR5230M000) ............................................................. 81 SESSION REMOVE PAYMENT BATCHES (TFCMG1259M000)........................................................................ 82 SESSION REMOVE DIRECT DEBIT BATCHES (TFCMG4259M000)................................................................. 83 SESSION DELETE RATIO HISTORY (TFFST6202M000)................................................................................. 84 SESSION DELETE FIXED ASSETS (TFGLD6101M000).................................................................................. 84 SESSION DELETE FAS SIMULATION TABLES (TFFAS4251M000) ................................................................ 85 SESSION COMPRESS FINALIZED TRANSACTIONS (TFGLD1220M000) ......................................................... 86 6 APPENDIX.......................................................................................................................................... 88 APPENDIX 1 ............................................................................................................................................... 88
Archiving Baan IV
Introduction
Time is spent on developing procedures for entering data into an ERP system. Time is spent on developing procedures for archiving of manuals, specs, drawings. But do we spend time on procedures to store historic electronic data? The answer to this question is in many cases no or insufficient or too late. This document is written to create awareness on archiving, not as a technical solution to create diskspace, but as an integral part of your business processes. What you are reading is version 0.5 of this document. It is made limited available to customers that have attended Arhiving Workshops or that we have assisted describing and implementing there archiving processes. We start this document with a chapter on Strategy. This, in our view, should be the starting point in any discussion around archiving. Chapter 3 will describe the technical setup of an archiving envirronment. The following chapters described the archiving sessions (including related purge sessions) in detail. We have tried to not only give a generic description, but also related tables, prerequisites and concequences of archiving. We would like to ask you, as our first external readers, for feedback on this document in order to tailor it to the need of our customers. Please send your feedback to boss-emea@baan.nl with subject Feedback Archiving 0.5. Release planning of this document: * October 2000: version 1.0 available * October 2000: version 0.5 of Archiving Baan V ERP available * Januari 2001: version 1.0 of Archiving Baan V ERP available Thank you in advance for your feedback!
Archiving Baan IV
Archiving Strategy
During the lifecycle of a system the operational data of the system will increase. Especially the dynamic data like orders (sales, purchase, shop floor, etc), projects, invoices and your integration transactions will increasingly demand disk space and could have a negative effect on the performance for your end-users. The answer looks simple, just remove data out of your life environment! Technically this is possible, but is this also in line with your companies strategy regarding operational data? Its not only your companies strategy towards operational data storage, but there are also legal requirements, which are different in every country. Also this effects, what you can and cannot do. (example taxaccounting) Archiving is not a separate function; it is a solid component of your companies business processes. It should be carefully considered, deleting operational data from your system without thoughts is like shredding e.g. the drawings of your products just to get some more space. Although the most archiving sessions within standard Baan are moving data from a live company to an archive company, it will influence the usage of this data. Closely related to archiving sessions, there are sessions that really only delete data from your live company. They are also described in this document.
Archiving Baan IV
Next steps
You have decided what to store and when, (it is convenient to make a matrix for this, see appendix 1) what you want to do with the stored data and matched your requirements with the functionality of your software set-up. You can now embed the archiving sessions into your process flows and if required define function designs for modified report and/or sessions. By defining your storage and reporting needs you have also created the framework of the technical set-up of the archiving environment. In most situations it will be an environment, which is identical to the live environment. E.g. if your live environment is single logistics - multi finance, your archive company will have the same structure. There are exceptions to this rule: * If you want to use your archive as a semi-thrash can, it is not necessary to build a complete structure; just one company is sufficient. * If you have the need for additional archives (e.g. per year or if you are reusing order series but want to store all data), your archive structure can look at lot more complex than your live environment. Order series is an important issue to think about before you archive. It is very important to finish these steps before you actually start running archiving sessions. In some cases the process is irreversible, so unless you restore your backup you can loose valuable data. It is therefore highly recommendable, that you create a test environment, in which you can simulate the archiving activities and study the effects, before you start in your live environment. This document is written to give you guidance, it will not cover all the unique situations that can occur in practice nor can it cover all your business questions. It is therefore possible that one of our archiving specialists will assist you defining your strategy, setting up the environment and running the sessions for the first time, to explain how they work in detail.
Archiving Baan IV
Technical Setup
Preparations
Getting insight in can do some useful preparations: Defined Companies Logical Table Linking Company Structure (Finance / Logistics) Company Data Common Company Data Finance The Amount of Data within the Companies Available Disk Space / Space within Database Required Patches
Archiving Baan IV
Procedure (Part I)
Start
Convert to RTDD
RDBMS
Bbase / RDBMS ?
Bbase
Update <Rdbms>_storage
Convert to RTDD
Conversion to RTDD
Archiving Baan IV
Convert to RTDD.
After a new company number is created youll need to run a conversion to RTDD (mandatory). The file ${BSE}/lib/datecurr is updated This file contains the date and currency formats,.
Archiving Baan IV
Switch audit on for the parameter tables (ttaad4211s000) Within BAAN IV it is mandatory to audit parameter tables. Changing parameters can have a tremendous effect on procedures within a company. When audit is switched on for those tables all database actions done on those parameter tables are stored in audit files. When something goes wrong in a daily procedure, the audit file can be checked to see whether a parameter has been changed and by whom. Most of the times these settings are specified for all companies instead having each company have its own specifications. But its good to check it out. If necessary, you can start the sub session (ttaad4211s000) from the session ttaad4111m000) Note : This session does not load any customised parameter tables.
Convert to RTDD
If youve changed the settings in this session, then youll need to run a Conversion to RTDD. During this conversion the file ${BSE}/lib/tabledef6.1 is updated.
5 TABLESPACE datarch INITRANS 3 5 TABLESPACE idxarch INITRANS 3 TABLESPACE datoper INITRANS 3 TABLESPACE idxoper INITRANS 3
Please note that if you archive data to a different server (database) the database login for the user and password must be identical. This is because during archiving Baan will switch from one database to the other and will pass on the original login & password information.
Archiving Baan IV
Where the group finance company live has the physical tccom000 table, And the rest has the logical link. Between the Archive Companies and the Live Companies you cant have any Logical Links because of referential problems thatll occur when you do so. There are some exceptions though: tccom000 Company Data (This is to link Archive to Live) tttxt004 Text Windows tttxt005 Text Groups tttxt007 Default Text Group for Users by Text Field tttxt008 Default Text Group for Users Please note that the existing logical links WITHIN the live companies, can also be set up for the archiving companies, as long as these links are not between LIVE and ARCHIVE other than above mentioned.
Archiving Baan IV
Conversion to RTDD
After a conversion to RTDD the file $BSE/lib/compnr6.1 is updated.
Logout / Login
You need to logout and login again. This is important because the bshell-process will read several files just once at start-up. And so far in this procedure you have changed a couple of those files.
Archiving Baan IV
10
Finance Data
Copy some Finance Data from your Live-Company into the Archive Company that belongs to it. Weve composed a file called finance in which all necessary tables are listed. Here are some examples to copy the Finance Data: $ bdbpre6.1 I finance C 200 > fin200.dmp $ bdbpost6.1 R f n m c 199 < fin200.dmp
Employee Data
Copy some Employee Data from your Live-Company into the Archive Company that belongs to it. Weve composed a file called employee in which all necessary tables are listed. Here are some examples to copy the Employee Data: $ bdbpre6.1 I employee C 200 > empl200.dmp $ bdbpost6.1 R f n m c 199 < empl200.dmp
General Data
Copy some General Data from your Live-Company into the Archive Company that belongs to it. Weve composed a file called general in which all necessary tables are listed. Here are some examples to copy the General Data: $ bdbpre6.1 I general C 200 > gen200.dmp $ bdbpost6.1 R f n m c 199 < gen200.dmp
Archiving Baan IV
11
Archiving Baan IV
12
Archiving Baan IV
13
Parameters
in
LIVE
company
Using this session you specify your Archive Company, also called History Company.
Archiving Baan IV
14
Tables to be copied Here is a list of tables to be copied from Live Companies into Archive Companies. General Data Employee Data Parameters tcmcs002 tccom001 cpcom000 tffst000 tpptc000 tcmcs010 tcmcs001 cprpd000 tfgld003 tracs000 tcmcs046 tcmcs003 pspmg000 tfgld004 trcde000 tcmcs010 tccom000 tfgld450 trdrp000 tcmcs045 tccom999 tgeis000 trecs000 tcmcs046 tcedi000 tibom000 trhec000 tdilc001 tcmcs000 ticpr000 trpac000 tcmcs002 ticrp000 trtcd000 tdilc008 tihra110 tcmcs095 tiedm000 trtco000 ticpr050 tdcms000 tihra000 trtfc000 tirou001 tdilc000 tiitm000 trtfm000 tppdm016 tdinv000 timps000 trtoc000 tppdm067 tdltc000 timrp000 trtod000 tdpst000 tipcf000 trtoh000 tdpur000 tipcs000 trtop000 tdrpl000 tirou000 trtrc000 tdsls000 tirpt000 trwoc000 tdsls600 tisfc000 trwrc000 tdsmi000 tpbop000 tssma000 tdsst000 tphrs000 tuxch001 tfacp000 tpism000 tfacr000 tppbs000 tfcal000 tppdm000 tfcmg000 tpppc000 tffas001 tpprc000 tffas002 tppss000
Archiving Baan IV
15
Options bdbpre6.1 -s -r -K/-k -d : Suppress messages : Recover Isam Table (Only for BISAM, BTAM) : Backup/Drop table after creating dump : Database Driver type B(isam) (b)T(am) O(racle) I(nformix) S(ybase) D(B2) M(SQL-Server) N(onStop SQL) <host> - remote system (name is <host>) <driver>[<spec>] - driver name [ specification ] -N : Table name (list) (ex: ttadv200) -I : File with table names -E file : Redirects errors to file -O file : Redirects output to file -C : Company number for given table (2 formats) 1. specific company number (ex: 000 001 ...) 2. Range of company number (ex: 001-999) -t : Seperator (Default: \0) Creates individual ASCII File (.S) of Isam Tables -x : To create ASCII File with fix length record and without seperator -y : Skip out-of-domain records for fixed length dumps (-x) -z : Nullify out-of-domain records for fixed length dumps (-x) Creates individual ASCII File (fix length) (.F) of Isam Tables -o : Directory name to create seq file (.S or .F) Only useful when -t or -x is used -p <pack_comb> : define package combination -q <output-file>: Redirect terminal output to file output-file -u : Short usage -U : Usage -V/-v : Version information
Archiving Baan IV
16
Options bdbpost6.1 -A : Append rows (skip and show total duplicates) or Create new table -I <file> : Redirects input from input-file <file> -O <file> : Redirects output to output-file <file> -E <file> : Redirects errors to error-file <file> -R : Append rows (replace and show total duplicates) or Create new table -f : Fast mode (first rows, then indexes) -K/-k : Backup/Drop existing table -l : Display contents of input -e : File to store unsuccessfully posted tables -d : Database Driver type B(isam) (b)T(am) O(racle) I(nformix) S(ybase) D(B2) M(SQL-Server) N(onStop SQL) <host> - remote system (name is <host>) <driver>[<spec>] - driver name [ specification ] Options -x, -t and -D described below are required while uploading ASCII files from other database to bshell format -x : To load fix length ASCII file (.F) from other database -t : Separator Needed while loading an ASCII file (.S) from other database -m : Disable domain constraints -n : Ignore referential integrity constraints -D : Directory name for ASCII files to be uploaded -c : Tables will be created with specified company number -C : Range of company numbers for which bdbpost will be done (ex:000-100) -i : Ignore domain range error and skip record -p <pack_comb> : define package combination <pattern> pattern to specify tables for which bdbpost will be done (wildcards allowed) -q <output-file>: Redirect terminal output to output-file -r <rows/transaction>: The number of inserted rows per transaction -u : Short usage -U : Usage -V/-v : Version information Required patches for releases before BIVc4 Last modification date : 29 May, 2000
The list of required patches are: Solution 4044 Solutions 75283, 20008, 100013 (in that order) Solutions 7585, 77466, 100727 (in that order) Solution 81837 Solution 82055 Solution 8239 Solutions 20202, 82317 (in that order) Solution 12073
Archiving Baan IV
17
Archiving logistics
PREREQUISITES -No Sales Quotation Lines should be linked to the budget, so quotations have to be processed and deleted before the (linked) budget can be archived. -No Sales Quotation Lines History should be linked to the budget, so quotation history records have to be deleted before the (linked) budget can be archived (only for versions before B40c). -No SMI-Activities should be linked to the budget, so Activities have to be deleted before the (linked) budget can be archived -The Project to which the budget is linked must have the status Archived INVOKED TABLES Activities Sales Quotation Lines Sales Quotation Lines History
Archiving Baan IV
Budgets Calculation Parts Budget Parts Budget Calculation Codes Material Sheets Routing Sheets Operation rates by Budgets Subcontracting rates by Budget Costprice Surcharges by Budget Costprice Surcharge Bases by Budget Costprices by Calculation Part Cosstprices by Budget Projects Product Variant IDs Product Variant Structure Options by Product Variant Sales Price Structure by Product Variant
tipcs001 tipcs002 tipcs005 tipcs100 tipcs110 tipcs120 tipcs130 tipcs131 tipcs140 tipcs141 tipcs150 tipcs160 tipcs020 tipcf500 tipcf510 tipcf520 tipcf530
Archived/deleted Restored Archived/deleted Archived/deleted Archived/deleted Archived/deleted Archived/deleted Archived/deleted Archived/deleted Archived/deleted Archived/deleted Archived/deleted Archived/deleted Read/Cleaned up fields Archived (reference) Archived (reference) Archived (reference) Archived (reference)
Archiving Baan IV
19
Archiving Baan IV
20
Via this session the processed replenishment orders will be deleted by setting the line Delete order data on Yes and fill in a end data on the line Delete up to (date) till when the replenishment orders should be removed
Archiving Baan IV
21
Invoices (tfacr2260m000)
Before starting the session Remove fully paid invoices sales invoices (tfacr2260m000), the session Update Customer statistics (tfcmg3200m000) must be started to update the Customer statistics. If this session is processed, the status in the table tfacr200 on the field Statistics updated (tfacr200.stat) is set to Yes (1.) If this session Customer statistics (tfcmg3200m000) is not done, no fully paid invoices will be archived or deleted. This, because the session Remove fully paid invoices sales invoices (tfacr2260m000) is checking on the status of the field tfacr200.stat. The field tfacr200.stat should have the status Yes (1.) We strongly advise to run this session Customer statistics (tfcmg3200m000) in the period closing procedure, before closing a period. If the session Customer statistics (tfcmg3200m000) is run, the start date should be the first year and period of the particular company.
Archiving Baan IV
22
In the other fields you enter the number of the archiving company, if general data should be archived and whether or not text should be archived too.
PREREQUISITES -Production orders for standard items must have status closed -In case of subcontracting, the purchase order linked to the operation must have been processed and deleted via tdpur4223m000 INVOKED TABLES Production Orders Receipts Production Planning by Order Utilization by week Utilization by day Production schedules Estimated and actual material cost Estimated and actual hours Hours Transactions
Archiving Baan IV
23
PREREQUISITES Not applicable INVOKED TABLES Production Order History (Material usage) Production Order History (Hours spent) Operation Times History by Item ticst021 ticst022 ticst030 Archived/deleted Archived/deleted Archived/deleted
Archiving Baan IV
24
PREREQUISITES -Hours transactions must have been processed (table field tihra100.htpr = yes) -If linked to a project, the project must have the status Archived -If the hours transaction is of type Production, Production batch or Service, the related orders must have the status Archived Only hours transactions who meet these prerequisites are archived. INVOKED TABLES Production Orders Production Batches Projects Hours Accounting tisfc001 pspmg001 tipcs020 tihra100 Archived Archived Read Archived/deleted
Archiving Baan IV
25
PREREQUISITES Not applicable INVOKED TABLES Period table Hours history by Workcenter Hours history by Employee Hours history by Machine Capacity flows between Workcenter tihra300 tihra350 tihra360 tihra370 tihra380 Archive Archive/delete Archive/delete Archive/delete Archive/delete
Archiving Baan IV
26
PREREQUISITES Not applicable INVOKED TABLES History Periods Hours budget by Work center Hours budget by Employee tihra300 tihra310 tihra320 Archived Archived/deleted Archived/deleted
Archiving Baan IV
27
PREREQUISITES Before data is archived and deleted there should no longer be a link between Product Variants and the following: -Sales Quotations Lines -Sales Quotation History Lines -Sales Order Lines -Sales Order History Lines -Budgets -Projects
INVOKED TABLES Sales Quotation Lines Sales Quotation History Lines Sales Order Lines Sales Order History Lines Calculation Parts Customized Items Product Variant IDs Product Variant Structure Options Sales Price Structure tdsls002 tdsls011 tdsls041 tdsls051 tipcs002 tipcs021 tipcf500 tipcf510 tipcf520 tipcf530 read read read read read read archived/deleted archived/deleted archived/deleted archived/deleted
Archiving Baan IV
28
HOW TO USE THE SESSION When executing this session, all engineering data linked to the selected items will be archived to the archive company. Be aware that Engineering Change Order (ECO) data will not be archived and that existing links to Engineering Item revisions will be lost. In the form you can first enter a selection for engineering items and engineering revisions. If you just want to archive up to a certain date you can leave these selections open. In the third form field you enter the date up to which you want the Engineering Item data to be archived. A date in the future can be entered here so be aware to fill this field correctly! Next field you fill with the number of the archiving company. Be sure to enter the correct company number here; the system will ask for a confirmation of the correct company number, but as it checks on table ttaad100 companies you could enter also a non-archiving company. In the next field you can select Yes or No for archiving general data via function itiitm0210. Depending on the frequency of archiving and on the number of changes in static data, general data should be archived. In the last two form fields you can choose to archive texts and to overwrite existing texts.
Archiving Baan IV
29
INVOKED TABLES Engineering Item Groups Drawing Sizes Drawing locations Engineering Items Engineering Item Revisions Eng. Item / Item relationships Engineering BOMs EBOM copy data Customized Items
Archiving Baan IV
30
PREREQUISITES -The project must have status Closed -Project Financial Integration Transactions must be posted in the Finance-package -Purchase orders linked to the project should be processed in purchase statistics -Sales orders linked to the project should be processed in sales statistics -No subcontracting orders (PUR) should be present INVOKED TABLES Purchase Orders Purchase Order Lines Specific Addresses Receipts Purchase Invoices Sales Orders Sales Order Lines Specific Addresses Deliveries Production Orders Estimated and Actual Material Costs Estimated and Actual Hours Hours Accounting by Employee Working Time Tables Conversion Factors Budgets Budget Calculation Codes Projects Customized Items Cust. Bills of Material Cust. Routings Project Stages Projects Parts
Archiving Baan IV
tdpur040 tdpur041 tdpur042 tdpur045 tdpur046 tdsls040 tdsls041 tdsls042 tdsls045 tisfc001 ticst001 ticst002 tihra100 tihra110 tiitm004 tipcs001 tipcs100 tipcs020 tipcs021 tipcs022 tipcs023 tipcs024 tipcs025
archived archived (4) archived archived archived archived archived (4) archived archived archived\deleted (4) archived\deleted archived\deleted archived\deleted (4) archived archived archived archived archived\updated archived\updated (1) archived\deleted (1) archived\deleted (1) archived archived\deleted (1)
31
Project Structure Operation Rates by Project Subcontracting Rates by Project Cost Price Surcharges by Project Cost Price Surcharge Bases by Project General Project Costs Cost Prices by Customized Item Cost Prices by Project Activities by Project Activity Relationships Module Planning by Project Capacity Load Table Codes Capacity Load Tables Rough Capacity Utilization by Project Planned PRP Warehouse Orders Inventory Transactions by Cust. Item Integration Transactions Posted Integration Trans.-credit lines Integration references Chart of Accounts for Financial Transactions Product Variant IDs Product Variant Structure Options by Product Variant Sales Price Structure by Product Variant Classified Items I Classified Items II, for Searching Lots Values of Variable Lot Features by Item Lot Transactions for Lot tracking PRP Warehouse Orders (LTC) Purchase Order History Lines Sales Order History Lines EBOM-Copy Data
Project
tipcs026 tipcs300 tipcs310 tipcs320 tipcs330 tipcs340 tipcs350 tipcs360 tipcs400 tipcs410 tipcs420 tipcs430 tipcs431 tipcs450 tipcs530 tipcs700 tfgld410 tfgld417 tfgld418 tipcs850 tipcf500 tipcf510 tipcf520 tipcf530 tigrt040 tigrt041 tdltc001 tdltc012 tdltc102 tdltc109 tdpur051 tdsls051 tiedm120
archived\deleted (1) archived\deleted (2) archived\deleted (2) archived\deleted (2) archived\deleted (2) archived\deleted (2) archived\deleted (2) archived\deleted (2) archived\deleted (1) archived\deleted (3) archived\deleted (3) archived\deleted (3) archived archived\deleted archived\deleted (4) archived\deleted (4) archived\deleted archived\deleted archived\deleted (5) archived\deleted (5) archived archived archived archived archived\deleted (1) archived\deleted (1) archived (1) archived\deleted (1) archived\deleted (1) archived\deleted (1 + 4) read read deleted (1)
The numbers behind the tabletransaction refer to the choice-fields in the lower half of the form: 1 = Archive Project Structure 2 = Archive Project Calculation 3 = Archive Project Master Schedule 4 = Archive Project History 5 = Archive Financial Project Data
NB: Business Impact : The project code (tipcs2101m000) is not deleted because of references with other parts of BAAN IV. Customized Items are not deleted because this data is required for rebuilding statistics in Purchase and Sales. NOTE that Archiving project history will archive/delete the project related SFC orders.
Archiving Baan IV
32
-Purchase order heading -Inspection data -Approval data Depending on the parameter Delete Order Data if Received Completely in the session Maintain Purchase Order Parameters, tdpur4100m000, data is cleared by order line or by order. If you select the second option, you will always have the receipt data of the entire order at your disposal, as long as not all items to be delivered have been received.
PREREQUISITES A purchase order line can only be deleted if the following criteria are met: -Backordered quantity is 0 or line has been cancelled -Order history has been updated -Purchase invoice matching procedure has been carried out (if Finance-package is implemented) -Project has been archived or deleted (for project related purchases) -Inbound advice has been fully processed -There is no longer a link with a transportation order (in the package Transportation the link between transportation and purchase order is cleared when the transportation order has been processed) -Invoice date must lie before the date entered on the screen; if the invoice is not printed, the receipt date is used. INVOKED TABLES Companies Additional Statistical Information sets Import/Export Statistics Link (BOM/Material, Routing/Operations) Order specific Inspections Order specific Inspection Data (Header) Order specific Inspection Data (Lines) Inventory Data by Location and Lot for Inspection Inbound data
Archiving Baan IV
Items tiitm001 Read PCS parameters tipcs000 Read Currencies tcmcs002 Read Order Steps tcmcs039 Read Order Types tcmcs042 Read Projects tipcs020 Read Customized Items tipcs021 Read Purchase Orders tdpur040 Cleared Purchase Order Lines tdpur041 Cleared Specific Addresses (P.O.) tdpur042 Cleared Receipts tdpur045 Updated/Cleared Purchase Invoices tdpur046 Cleared Purchase Order Bills of Material tdpur047 Cleared Purchase Receipts for Posting to Work-in-Process tdpur048 Cleared Purchase Contracts tdpur300 Read Purchase Contract Lines tdpur301 Updated Purchase Contract Line History tdpur306 Updated Sales Orders tdsls040 Read Sales Order Lines tdsls041 Updated Deliveries tdsls045 Updated S.O. Bills of Material tdsls047 Read Warehouses tcmcs003 Read Countries tcmcs010 Read Financial Companies tfgld004 Read End dates by Year tfgld006 Read Other tables i.e. tdpur050, tdsls051, tdsls300 are updated by functions called from this program script of tdpur4223 NOTE 1. Purchase Order History is not deleted by this session. If necessary, the Purchase Order History can be deleted using session tdpur5201m000 Print/Delete P.O.History. Be aware that history-records are used for updating Purchase Statistics. If records are deleted, a full update of the Purchase Statistics will become impossible. So before you delete P.O.History, run a full update of the Purchase Statistics via session tdpst0201m000. NOTE 2. This session is not a real archiving session: data of purchase orders is not stored in an archiving company. The session is mentioned here, as this session is crucial in the archiving process and in some cases.
If you delete order data you will lose the details on the order header, order lines, specific addresses, bill of lading, and deliveries. In stead of the details you have a more general look on the data by viewing the history. Deleting the order data is an irreversible process.
If the Finance-package is implemented, it is advised NOT to remove order data within a fiscal year that has not yet been closed.
Archiving Baan IV 35
The session carries out the following actions: -Generating financial transactions -Updating the customers open balance -Updating the data on the related Sales contract -Generating EU transactions -Updating the Sales order history -Deleting the Sales order data If you indicate that the order data is to be deleted, the following data will be removed from the tables up to the entered date: -The Sales Order header and lines -Bill of lading data -Outbound data (if ILC is implemented) Depending on the parameter Book Costprice Immediately of projects related to processed sales orders, session Calculate Cost Prices by Project tipcs3250m000 will be started automatically to calculate the estimated/actual cost price by project in order to calculate and post the costs of goods sold for such projects. Depending on the parameter Method of Deleting Order Data in the session Maintain Sales Order Parameters, tdsls4100m000, data is cleared by order line or by order. If you select the second option, you will always have the receipt data of the entire order at your disposal, as long as not all items to be delivered have been shipped.
Archiving Baan IV
36
PREREQUISITES Sales order lines are only deleted if the following criteria are met: -There is no backorder quantity -Financial transactions must have been created and the turnover history updated -The project for project-related sales must have been archived -If the Sales order is an instalment order, the customer must have been invoiced for all instalments, and the order must have the status "Closed" -For the orderliness is no RPL-order present INVOKED TABLES The following tables are used when processing and deleting Sales Order Data Maintain Statuses Tcmcs096 Update Late Payment Surcharges Tcmcs011 Read Terms of payment Tcmcs013 Read Ordersteps Tcmcs042 Read Invoice methods Tcmcs055 Read Parameters Taxcodes by country Customers Additional Statistical Information Sets COM Parameters Import-/Exportstatistics Sales Listing Data Sales deliveries Delivered SO to be processed Sales Order Headers Sales Order Lines Sales Parameters Installment Schedules Sales Order Bill of Material Sales Order Line History
Archiving Baan IV
Tcmcs095 Tcmcs036 Tccom010 Tccom705 Tccom999 Tccom710 Tccom700 Tdsls045 Tdsls049 Tdsls040 Tdsls041 Tdsls000 Tdsls048 Tdsls047 Tdsls051
Read Read Read Read Read Update Update Read/update/delete Update Read/update/Delete Read/update/Delete Read Read Read/delete Update
37
Sales Contract Lines Sales Contract Lines History Order priority simulations Specific Addresses Bill of Lading Data Outbound Data Lots ILC Parameters DRP Parameters Integration Transactions Additions to Integration Transactions Projects Costprizes by Cust. Item PCS Parameters Item data Standard Costprizes by Item Costprize components PCF Parameters
Tdsls301 Tdsls306 Tdsls026 Tdsls042 Tdsls043 Tdilc401 Tdltc001 Tdilc000 Trdrp000 Tfgld410 Tfgld415 Tipcs020 Tipcs350 Tipcs000 Tiitm001 Ticpr300 Ticpr010 Tipcf000
Update Update Delete Delete Delete Read/delete Read Read Read Update Update Read/update Read Read Read Read Read Read
NOTE 1. The Sales Order History in table tdsls050 and tdsls051 is not deleted by running this session. If necessary, the S.O.History can be deleted by executing session tdsls5201m000 Print Delete Sales Order History. Business impact can be that when deleting sales order history, you will lose information on the product variants that were sold. This information on product variants might be needed for your business to run the session tipcf6410m000 (Print product variant statistics), to get a good overview on what option sets are popular in demand. Before the S.O.History is deleted, the Sales Statistics should be fully updated. After deleting the history records this will not be possible anymore! NOTE 2. This session is not a real archiving session: data of sales orders is not stored in an archiving company. The session is mentioned here as this session is crucial in the archiving process and in some cases mandatory in order to be able to archive other data.
The session Archive/Delete Purchase Statistics tdpst0202m000 activates an included function tiitm0210 Archive General Data Industry that takes care of archiving item data, units and unit sets and other general data into the Archive Company.
PREREQUISITES INVOKED TABLES Pur. Statistics Master file (Turnover) Pur. Statistics Master file (Order Intake) Pur. Statistics Master file (Cancellation) Pur. Statistics Compression (Turnover) Pur. Statistics Compression (Order Intake) Pur. Statistics Compression (Cancellation) Pur. Statistics Sort file Purchase Budgets Purchase Statistics Sort Codes Pur. Stat. Discount Type (Turnover) Pur. Stat. Discount Type (Order Intake) Pur. Stat. Discount Type (Cancellation) Pur. Stat. Compression for Disc. Type (Turnover) Pur. Stat Compression for Disc. Type (Order Intake) Pur. Stat. Compression for Disc. Type (Cancellation) Purchase Budgets by Discount Type
Tdpst010 Tdpst015 Tdpst018 Tdpst020 Tdpst025 Tdpst028 Tdpst030 Tdpst050 Tdpst094 Tdpst110 Tdpst115 Tdpst118 Tdpst120 Tdpst125 Tdpst128 Tdpst150
Archived/cleared Archived/cleared Archived/cleared Cleared Cleared Cleared Cleared Archived/cleared Read Archived/cleared Archive/cleared Archive/cleared Cleared Cleared Cleared Archived/cleared
NOTE Purchase statistics should only then be archived/deleted after session tdpst0201m000 Update Purchase Statistics has been executed in full update-mode. This session updates the Purchase Statistics based on the Order History records.
Archiving Baan IV
39
Archiving Baan IV
40
INVOKED TABLES Sales Statistics Master file (Turnover) Sales Statistics Master file (Order Intake) Sales Statistics Master file (Cancellation) Sales Statistics Compression (Turnover) Sales Statistics Compression (Order Intake) Sales Statistics Compression (Cancellation) Sales Statistics Sort file Sales Budgets Sales Statistics Sort Codes Sales Stat. Discount Type (Turnover) Sales Stat. Discount Type (Order Intake) Sales Stat. Discount Type (Cancellation) Sales Stat. Compression for Disc. Type (Turnover) Sales Stat Compression for Disc. Type (Order Intake) Sales Stat. Compression for Disc. Type (Cancellation) Sales Budgets by Discount Type
Tdsst010 Tdsst015 Tdsst018 Tdsst020 Tdsst025 Tdsst028 Tdsst030 Tdsst050 Tdsst094 Tdsst110 Tdsst115 Tdsst118 Tdsst120 Tdsst125 Tdsst128 Tdsst150
Archived Archived Archived Cleared Cleared Cleared Cleared Archived Read Archived Archived Archived Cleared Cleared Cleared Archived
NOTE Purchase statistics should only then be archived/deleted after session tdpst0201m000 Update Purchase Statistics has been executed in full update-mode. This session updates the Purchase Statistics based on the Order History records.
Archiving Baan IV
41
PREREQUISITES -Warehouse order must have the status closed INVOKED TABLES Warehouse orders by Item Warehouse order Transactions by lot and location Warehouse order Transfers by lot and location
Archived Archived (if transactiontype inventory transfer) Archived (if transactiontype inventory transfer)
= =
This object otdinv1201 uses the functions itiitm0210, itcmcs008 and itfgld0026. These functions (includes) ensure the copying of actual general data to the archiving company, so that references are present to support the tables tdinv100, tdilc102 and tdilc103 in the Archiving company.
Archiving Baan IV
42
Below you see the form fields of the session. Take care that the date you fill in the first field is not one in the near past; You will lose recent and actual inventory data. Also be careful when entering the company number for Archives if there are several Archiving companies present on the system.
PREREQUISITES Not applicable INVOKED TABLES Companies Statuses Item data by Warehouse Inventory Transactions by Warehouse Tccom000 Tcmcs096 Tdinv001 Tdinv700 Read Update Update (historical stock balance) Archived
This object otdinv7210 uses the functions itiitm0210, itcmcs008 and itfgld0026. These functions (includes) ensure the copying of actual general data to the archiving company, so that references are present to support the table tdinv700 in the Archiving company. NB. Business Impact: Table tdinv700 is used in the Inventory valuation and in the MPS-forecast calculation. Be aware that after running this archiving session, the data is no longer available in the operational system to perform such analysis. If you use MPS forecasting, be aware that archiving will remove historical inventory data, which is the basis for forecasting.
Archiving Baan IV
43
Period/Warehouse,
SESSION OBJECTIVE Objective of these sessions is to archive the item issue by period and the item issue by warehouse and period. HOW TO USE THE SESSION Depending on the parameter setting in the INV-parameters, tdinv0100m000, the issue of an item is logged in two separate tables. If the parameter Item Issue History is set to Yes , item issue by period will be logged in tale tdinv750. If the parameter Item Issue History by Warehouse is set to Yes , item issue by warehouse and period will be logged in table tdinv760. These historical data can be archived using the mentioned sessions. In session tdinv7250m000, Archive Item Issue History by Period, you have to choose up to which year you want to archive the item issue history. Make sure not to archive recent data. After this choice you select the company number to which you want the issue data to be archived. Theres also the option to archive text. In session tdinv7260m000, Archive Item Issue by Warehouse, youll find the same form fields and options as in tdinv7250m000. The difference between those two is the tables they invoke
Archiving Baan IV
44
PREREQUISITES Not applicable INVOKED TABLES Companies Item Issue by Period (history) Item Issue by Warehouse (history) Tccom000 Tdinv750 Tdinv760 Read (both) Read/delete (tdinv7250) Read/delete (tdinv7260)
In both sessions the functions tiitm0210, tcmcs008 and tfgld0026 are executed. These functions (includes) ensure the copying of actual general data to the archiving company, so that references are present to support the tables tdinv750 and 760 in the Archiving company. NB. After archiving the Item Issue data, running specific sessions might lead to different results. For example the Perform ABC-analysis by Item (tdinv6210m000) and the Perform Slow moving Analysis by Item (tdinv6220m000) make use of the data stored in tables tdinv750 and tdinv760. It is best to perform these analysis before archiving this data. Also performing history analysis to calculate demand forecast by item (session tdinv4230m000) will be effected by this archiving session, run the calculation before archiving if you use demand forecasting.
Archiving Baan IV
45
PREREQUISITES -The project to which the inventory transaction may be linked must have the status Archived - When the item is lot controlled and the revaluation system is Lot prize, no outstanding Purchase order is to be linked to it Records that do not meet these prerequisites will be skipped for archiving/deletion INVOKED TABLES Companies Inventory Transactions by Location (History) Lots Purchase Orders Customized Items Items Relationships between items and containers
Read Read/deleted Read/archived, not deleted Read Read/archived, not deleted Read Read
Archiving Baan IV
46
Depending on the Run Type you can only archive to the Archive Company or archive the data to the Archive Company and afterwards delete the data from the Operational Company. There is also the possibility to retrieve the data from the Archive Company. PREREQUISITES Before a project can be archived the project must have the status Closed and the financial result of the project must be determined. This can be done by changing the status of the project in session tppdm6107m000 Maintain Project Status to Final and the Financial Result Status to Determine Result and then run session tpppc4802m000 Process Transactions.
In session tppdm7820m000 Process Transactions the field Process Financial Result should be set to Yes. After this session is ran the Project Status is Closed and the Financial Result Status is Result Determined (A project can also be archived when the status of the project is Free
Archiving Baan IV
47
Before you can archive the tables should be present in the Archive Company. If texts are linked to the data in the tables that have to be archived (for projects) a default text group has to be defined for the user in the Archive Project. INVOKED TABLES In the next scheme an overview is given which tables are copied to the Archive Company. Depending of the settings of the different fields in the archiving session a certain part of the data is archived.
ttcmcs032 ttcmcs033 ttcmcs034 ttcmcs035 ttcmcs036 ttcmcs037 ttcmcs039 ttcmcs041 ttcmcs042 ttcmcs043 ttcmcs044 ttcmcs045 ttcmcs046 ttcmcs047 ttcmcs053 ttcmcs055 ttcmcs080 ttcmcs095 ttcmcs096 ttccom001 ttccom010 ttccom012 ttccom013 ttccom015 ttccom020 ttccom022 ttccom025 ttccom030 ttccom500 ttccom705 ttdilc001 ttdilc008 ttdinv105 ttdinv400 ttdltc002 ttdpst090 ttdpst094 ttdsmi001 ttdsmi004 ttdsmi005 ttdsmi006 ttdsmi120 ttdsst090 ttdsst094 ttfacp000 ttfacp001 ttfacp002 ttfacp003 ttfacp004 ttfacp005 ttfacp300 ttfacp301 ttfacp302 ttfacr000 ttfacr001 ttfacr002 ttfacr003 ttfacr005 ttfacr310 ttfacr311 ttfacr312 ttfcmg000 ttfcmg001 ttfcmg002 ttfcmg003 ttfcmg006 ttfcmg007 ttfcmg008 ttfcmg110 ttffbs001 ttffbs003 Archiving Baan IV
Single Tax Rates Multiple Tax Rates Price Lists Tax Rates by Tax Code Tax Codes by Country Tax Codes Order Steps Terms of Delivery Order Types Additional Cost Sets Statistics Groups Areas Languages First Free Numbers Rounding Codes Invoicing Methods Forwarding Agents Parameters Statuses Employees Customers Customer Postal Addresses Delivery Addresses Banks by Customer Suppliers Supplier Postal Addresses Banks by Supplier Concern Structure Planning Board Groups 1 Additional Statistical Information Sets Locations Messages Reasons for Inventory Adjustments Forecast Methods Lot Selection Codes Purchase Statistics Period Data Purchase Statistics Sort Codes Salutations Job titles Promotions Attention Codes Contacts Sales Statistics Period Data Sales Statistics Sort Codes ACP Parameters Financial Supplier Groups Blocking Codes Blocking References Aging Analysis Data Ledger Accounts by Supplier Group Subcontractors Industrial Assurance Boards Remittance Agreements ACR Parameters Financial Customer Groups Problem Codes Problem References Ledger Accounts by Customer Group Reminder Methods Statement of Account Methods Statement of Account Layouts CMG Parameters Bank Relations Reasons for Foreign Payments Payment/Receipt Methods Data by Bank & Payment/Receipts Methods Posting Data by Bank & Payment/Receipts Methods Posting Data by Tax Code Anticipated Payments Budget Distribution Codes Budget Codes 49
ttfgld002 ttfgld004 ttfgld005 ttfgld006 ttfgld007 ttfgld008 ttfgld009 ttfgld010 ttfgld011 ttfgld018 ttfgld035 tticpr010 tticpr050 ttihra110 ttihra130 ttiitm001 ttiitm002 ttiitm003 ttiitm004 ttiitm011 ttiitm100 ttimps100 ttipcf050 ttipcs001 ttipcs020 ttipcs024 ttipcs100 ttirou000 ttirou001 ttirou002 ttirou003 ttirou101 ttirpt001 ttirpt003 tpsrou101 ttracs100 ttrtoc030 ttphrs000 ttphrs010 ttphrs020 ttppss000 ttpptc000 ttppdm001 ttppdm015 ttppdm025 ttppdm035 ttppdm040 ttppdm043 ttppdm045 ttppdm046 ttppdm048 ttppdm049 ttppdm051 ttppdm053 ttppdm055 ttppdm057 ttppdm059 ttppdm063 ttppdm065 ttppdm069 ttppdm071 ttppdm072 ttppdm075 ttppdm077 ttppdm078 ttppdm081 ttppdm083 ttppdm085 ttppdm090 ttppdm100 ttppdm110 Archiving Baan IV
Dimension Descriptions Financial Companies Periods End Dates by Year Period Status Chart of Accounts Dimension Ranges by Ledger Account Dimensions Transaction Types Documents Protocol Codes Cost Price Components Operation Rate Codes Working Time Tables Hourly Labor Types Item Item Default Data Alternative Units Conversion Factors Alternative Items Relationships between Items and Containers Plan Codes Product Features Budgets Projects Project Stages Budget Calculation Codes ROU Parameters Work Centers Machines Tasks Routing Codes by Item Production Schedule Codes Scheduling Areas Routing Codes by Formula Addresses Order Procedure Project Hours Accounting (HRS) Parameters Wage Components by Employer Employers Project Planning Parameters (PSS) Project Budget Parameters (PTC) User Defaults Labor Equipment Subcontracting Sundry Costs Revenues Third Party Types Third Parties Responsibilities Employees by Responsibility Competitors Appointment Types Business Sectors Sufferance Tax Financing Methods Project Acquiring Methods Project Groups Document Types Teams Team Resources Categories Coding Systems Codes by Coding System Line Statuses Formulas Phases Standard Elements Cost Components Standard Activities 50
ttppdm120 ttppdm121 ttppdm122 ttppdm130 ttppdm131 ttppdm132 ttppdm133 ttppdm141 ttppdm142 ttppdm143 ttppdm144 ttppdm145 ttppdm146 ttppdm147 ttppdm148 ttppdm151 ttppdm152 ttppdm155 ttppdm170 ttppdm171 ttppdm172 ttppdm173 ttppdm174 ttppdm175 ttppdm176 ttppdm177 ttppdm000 ttpppc001 ttpppc002 ttpppc000 ttpppc220 ttpprc000 ttpprc220 ttpprc221 ttpprc222 ttpprc223 ttpprc224 ttpprc231 ttpprc232 ttpprc241 ttpprc242 ttpprc243 ttpprc244 ttpprc245 ttppss005 ttppss030 ttppss032 ttppss033 ttppss034 ttppss055
Day Types Lay Off Forecasts Lay Off Forecasts by Area Standard AQS Codes Standard AQS Values AQS Selections AQS Relationships by Standard Activity Revenue Codes of Standard Elements Revenue Codes of Progress Invoicing Elements Revenue Codes Cost Plus (General and by Cost Type) Revenue Codes Cost Plus (Material) Revenue Codes Cost Plus (Labor) Revenue Codes Cost Plus (Equipment) Revenue Codes Cost Plus (Subcontracting) Revenue Codes Cost Plus (Sundry Costs) Price Fluctuations Index Tables of Price Fluctuations Financial Result Types Standard Surcharges (General and by Cost Type) Standard Surcharges by Cost Component Standard Surcharges by Material Standard Surcharges by Labor Standard Surcharges by Equipment Standard Surcharges by Subcontracting Standard Surcharges by Sundry Costs Standard Surcharges by Revenue General Parameters Baan Project (PDM) Hours Control Periods Cost Control Periods Parameters Project Progress (PPC) Hourly Labor Types PRC Parameters Financial Accounts for Costs and Commitments by Material Financial Accounts for Costs and Commitments by Labor Financial Accounts for Costs and Commitments by Equipment Financial Accounts for Costs and Commitments by Subcontracting Financial Accounts for Costs and Commitments by Sundry Costs Financial Accounts for Costs and Commitments by Cost type Financial Accounts for Costs and Commitments by Cost Component Financial Accounts for Revenues by Contract Type/Category Financial Accounts for Revenues by Category Financial Accounts for Revenues by Contract Type/Agreement Type Financial Accounts for Revenues by Agreement Type Financial Accounts for Revenues by Cost Component Standard Markers Company Calendar Trade Group Calendar Employee Calendar Equipment Calendar AQS Selection Expressions
ttppdm730 ttppdm731 ttppdm740 ttppdm742 ttpprc210 ttpprc211 ttpprc212 ttpprc213 ttpprc214 ttpprc230 ttpprc233 ttpprc240 ttpprc246
AQS Codes by Project AQS Values by Project Project Customers Locations by Project Financial Accounts for Cost and Commitments by Project/Item Financial Accounts for Cost and Commitments by Project/Labor Financial Accounts for Cost and Commitments by Project/Equipment Financial Accounts for Cost and Commitments by Project/Subcontracting Financial Accounts for Cost and Commitments by Project/Sundry Costs Financial Accounts for Cost and Commitments by Project/Cost type Financial Accounts for Cost and Commitments by Element/Cost type Financial Accounts for Revenues by Project Financial Accounts for Revenues by Element
The data from the tables tipcs020 and tipcs021 will also be archived if the parameter Baan Distribution Integration is set on Yes
ttpptc160 ttpptc162 ttpptc220 ttpptc230 ttpptc240 ttpptc250 ttpptc260 ttpptc070 ttpptc071 ttpptc300
Sundry Cost Budget Lines Codes of Sundry Cost Budget Lines Material Budget Lines by Activity Labor Budget Lines by Activity Equipment Budget Lines by Activity Subcontracting Budget Lines by Activity Sundry Costs Budget Lines by Activity Budget Adjustments Budget Adjustments Detail Lines Budget Cost Analysis Codes by Project
Tables that are archived when Actual budget history is set to Yes
ttpptc035 ttpptc036 ttpptc037 ttpptc045 ttpptc046 ttpptc047 ttpptc048 ttpptc049 ttpptc105 ttpptc125 ttpptc135 ttpptc145 ttpptc155 ttpptc165 ttpptc225 ttpptc235 ttpptc245 ttpptc255 ttpptc265 History of Cost Surcharges by Project History of Cost Surcharges by Cost Type History of Cost Surcharges by Cost Component History of Cost Surcharges by Material History of Cost Surcharges by Labor History of Cost Surcharges by Equipment History of Cost Surcharges by Subcontracting History of Cost Surcharges by Sundry Cost Code Element Relationship History History of Material Budget Lines History of Labor Budget Lines History of Equipment Budget Lines History of Subcontracting Budget Lines History of Sundry Costs Budget Lines History of Material Budget Lines by Activity History of Labor Budget Lines by Activity History of Equipment Budget Lines by Activity History of Subcontracting Budget Lines by Activity History of Sundry Costs Budget Lines by Activity
Tables that are archived when Actual budget history is set to Yes
ttpppc110 ttpppc111 ttpppc112 ttpppc113 ttpppc115 ttpppc120 ttpppc121 ttpppc122 ttpppc123 ttpppc124 ttpppc130 ttpppc131 ttpppc132 ttpppc133 ttpppc134 ttpppc150 ttpppc160 ttpppc215 ttpppc216 ttpppc217 ttpppc235 ttpppc236 ttpppc237 ttpppc255 ttpppc256 ttpppc257 ttpppc260 ttpppc261 ttpppc262 ttpppc263 ttpppc264 ttpppc265 ttpppc275 ttpppc276 ttpppc277 ttpppc280 ttpppc281 Archiving Baan IV Progress by Element/Item Progress by Element/Labor Progress by Element/Equipment Progress by Element/Subcontracting Progress by Element/Sundry Cost Progress by Activity/Item Progress by Activity /Labor Progress by Activity /Equipment Progress by Activity /Subcontracting Progress by Activity /Sundry Cost Progress by Extension/Item Progress by Extension/Labor Progress by Extension/Equipment Progress by Extension/Subcontracting Progress by Extension/Sundry Cost Progress by Element for Invoicing Procedure Progress by Activity History Material Usage for Cost Control Material Transactions Forecast for Final Result (Elements) Material Transactions Forecast for Final Result (Activities) Hours Accounting History Hours Transactions Forecast for Final Result (Elements) Hours Transactions Forecast for Final Result (Activities) Equipment Usage History for Cost Control Equipment Transactions Forecast for Final Result (Elements) Equipment Transactions Forecast for Final Result (Activities) Cost Surcharges by Project/Item Cost Surcharges by Project/Labor Cost Surcharges by Project/Equipment Cost Surcharges by Project/Subcontracting Cost Surcharges by Project/Sundry Cost Revenue Surcharges by Project/Revenue History Subcontracting for Cost Control Subcontracting Transactions Forecast for Final Result (Elements) Subcontracting Transactions Forecast for Final Result (Activities) Cost Surcharges by Project Cost Surcharges by Project/Cost Type 53
ttpppc282 ttpppc285 ttpppc286 ttpppc295 ttpppc296 ttpppc297 ttpppc305 ttpppc306 ttpppc307 ttpppc320 ttpppc350 ttppin010 ttppin020 ttppin030 ttdpur041 ttdpur300 ttdpur301 ttdpur040 ttfgld418 ttfgld410 ttfgld417
Cost Surcharges by Project/Cost Component Revenue Surcharges by Project Revenue Surcharges by Cost Component Sundry Cost History for Cost Control Sundry Costs Transactions Forecast for Final Result (Elements) Sundry Costs Transactions Forecast for Final Result (Activity) History of Revenues for Cost Control Revenue Transactions Forecast for Final Result (Elements) Revenue Transactions Forecast for Final Result (Activities) Price Fluctuations by Project Financial Results Advances Installment Progress Invoices Purchase Order Lines Purchase Contracts Purchase Contract Lines Purchase Orders Integration References Integration Transactions Posted Integration Transactions Credit Lines
Archiving Baan IV
54
Archiving Finance
otfcor0260
Recalculate
Open
Entries
This correction program is advisable to run for the archiving session: * Remove fully paid Purchase Invoices (tfacp2250m000) This correction program will check if the total open amount of a supplier is correct, and if the open amount for a particular invoice is correct.
Archiving Baan IV
55
In the case of a group company with several other finance companies, only the Group Company should be given in for the recalculation.
otfcor0261
recalculate
open
entries
This correction program is advisable to run for the archiving session: * Remove Fully Paid Sales Invoices (tfacr2260m000) This correction program will check if the total open amount of a supplier is correct, and if the open amount for a particular invoice is correct. In the case of a group company with several other finance companies, only the Group Company should be given in for the recalculation. Important for Correction program otfcor0261 recalculates open entries (tfacr200/tccom011) This correction program will not take in account the archived Sales invoices. If the Fully paid invoices are archived it will not be possible to recalculate the open amount of the archived Sales invoices. If the Open amount of 0,00 was not correct, it will also not be taken in account for the total open amount of the customer.
values
for
receivable
invoices
specification
This session is advisable for the archiving session: * Archive and Purge Integration Transactions (tfgld4210m000) * Remove Fully Paid Purchase Invoices (tfacp2250m000)
Archiving Baan IV 56
This session is advisable for the compressing and removing session: * Archive and Purge Integration Transactions (tfgld4210m000) * Purge and Compress Integration Transactions (tfgld4220m000) * Compress Integration Transactions (otfcor0217) It is not necessary to run the session select values for receivable invoices specification (tfacp1235m000). Before archiving the Integration transactions via the session Archive and Purge Integration Transactions (tfgld4210m000) and fully paid Purchase invoices, the session Select values for receivable invoices specification (tfacp1235m000) should be started to check via the sessions Print receivable invoices specifications financial (tfacp1435m000) and Print receivable invoices specifications. Checklist (tfacp1436m000), if Purchase invoices for the matching and approving procedure are not correct (matched and approved) There can be done a check if the list of not matched and or approved orders is correct.
Important for the session Select values for receivable invoice specifications (tfacp1235m000) This session can only been done for the not been deleted or archived data via the sessions Process Delivered Purchase OrdersRemove (tdpur4223m000), fully paid purchase invoices (tfacp2250m000) and Archive and Purge Integration Transactions (tfgld4210m000). If one af the particular sessions is processed for data of a particular period, it will not be possible to compare the data from the different tables (purchase orders, integration transactions and purchase invoices). This session can be used again if the data of a certain period is deleted or archived via all three mentioned sessions.
Archiving Baan IV
57
The matching and approving session must be done as far as possible to get the integration transactions (Purchase / Result transactions) up to date and get the best result when running the session Archive and Purge Integration Transactions (tfgld4210m000). The fully paid Purchase invoices will not be archived if the Purchase invoices must be matched with orders, and the status of Purchase invoice is Registered or Matched. A fully paid Purchase invoices will only be archived, if the Purchase invoices must be matched with orders, if the status is approved.
Archiving Baan IV
58
Via the following sessions it is possible to check if there are still errors logged for the to archive integration transactions. It is also possible to check if there are non posted integration transactions present. It can be done via the following sessions: -The session Print integration transactions log (tfgld4432m000) -Display integration transactions log (tfgld4532m000)
-Print integration transactions (tfgld4410m000), with the line Transaction status on Non posted till Erroneous. The session will print all records, which have the given status. Those records arent posted to finance
Session print debit and credit totals for integration transactions (tfgld4411m000)
This session is advisable for the archiving session: * Archive and Purge Integration Transactions (tfgld4210m000) This session is advisable for the compressing and removing session: * Archive and Purge Integration Transactions (tfgld4210m000) * Purge and Compress Integration Transactions (tfgld4220m000) * Compress Integration Transactions (otfcor0217)
Archiving Baan IV
59
The session Print debits and credit totals for integrations transactions (tfgld4411m000) checks if the integration transactions are balanced. It is good to check if the integration transactions are in the right order.
transactions
to
finance
transactions
This session is advisable for the archiving session: * Archive and Purge Integration Transactions (tfgld4210m000) This session is advisable for the compressing and removing session: * Archive and Purge Integration Transactions (tfgld4210m000) * Purge and Compress Integration Transactions (tfgld4220m000) * Compress Integration Transactions (otfcor0217) To be sure that all integration transactions are posted to finance this session must be run.
If in the session Maintain CMG Parameters (tfcmg0100m000) the line: Settle Payments with Sales Invoices: is set on Yes Purchase invoices can be selected in a direct debit batch. To be sure that of all created direct debit batches, the direct debit procedure should been done as fas as possible. If this is the case, you get the best result by processing by the archiving or removing sessions In the session Display Batch Numbers for Direct Debit Procedure (tfcmg4521m000) and Print Batch Numbers for Direct Debit Procedure (tfcmg4421m000) the status of the direct debit batch will be visible. The status of the batch should be: Removed Posted Sent This session should be started if there are batches with a not actual date present, with the following status: Selected Composed Audited Assigned The payment batch should be selected and the payment batch should get the status Sent.
Archiving Baan IV
61
Via the session Display Batch Numbers for Direct Debit Procedure (tfcmg4521m000) and Print Batch Numbers for Direct Debit Procedure (tfcmg4421m000) the status of the direct debit batch will be visable. If the status of a batch is sent, in the session Maintain Bank Transactions (tfcmg2100s000) on the line: Type of Transaction: Customer Reconciliation must be just to selected, to be able to process the direct debit procedure, so that the direct debit batch will receive the status Posted. If the status is posted, the Purchase invoice is fully paid and can be archived via the session Remove Fully Paid Purchase Invoices (tfacp2250m000). If the status of a payment batch is: Selected Composed Audited Assigned The session Process Direct Debits (tfcmg4240m000) must first be processed to get the status of the direct debit batch on Sent.
Archiving Baan IV
62
Archiving Baan IV
64
It is possible to run a simulation, by pressing the button Simulate. The outcome of the simulation can be checked and if the responsible person of the open invoices agree with the outcome of this session, it can be definitely runes.
Archiving Baan IV
65
It is possible to run a simulation, by putting the line Post currency difference on No. The outcome of the simulation can be checked an if the responsible person of the open invoices agree with the outcom of this session, it can be definitely runes by setting the line Post currency difference to Yes.
Archiving Baan IV
66
Archiving Baan IV
67
Invoked tables of Archive Disposed Fixed Assets (tffas3300m000) Fixed asset parameters Depreciation master data Fixed asset main groups Fixed assets groups data Group depreciation data Fixed asset master data Fixed asset depreciation data Variable depreciation data Fixed asset locations Business information details Special depreciation master data Special depreciation amounts Logged transactions Depreciation error log file Investments
Archiving Baan IV
Tffas001 Tffas002 Tffas003 Tffas004 Tffas005 Tffas007 Tffas008 Tffas009 Tffas013 Tffas017 Tffas018 Tffas019 Tffas020 Tffas021 Tffas100
Check Check Check Check Check Move Move Move Check Move Check Move Move Move Move
68
Disposals Maintenance costs Transferred fixed assets Transaction schedule Periodical depreciation and revaluation results Annual depreciation and revaluation results Fixed asset performed units Depreciation parameters Index master data Indices Insured fixed assets Documents Language Independent text data
Tffas101 Tffas102 Tffas103 Tffas110 Tffas200 Tffas201 Tffas202 Tffas203 Tffas300 Tffas301 Tffas501 Tfgld018 Tttxt001
Move Move Move Check Move Move Move Check Check Check Delete Check Check
Archiving Baan IV
69
EXPLANATION OF THE LINES OF THE SESSION Archive/purge integration transactions (tfgld4210m000) Purge all transactions: In this field can be defined whether the integration transactions should be removed after copying to the history company. Transactions will not be removed if: The project number still exist The purchase order number is found in Purchase Orders The sales order number is found in Sales Orders The production order number is found in Production Orders The replenishment order number is found in Purchase Orders Copy to History: The History Company that is registered in session tfgld0103m000 will be displayed default here. Compress data: Compression is done for cost price components that are included in the integration transactions. During compression the records which are compressed are deleted. After compression it is no longer possible to get a report of integration transactions that is split up into cost price components. (tfgld4410m000). Therefore it is to be recommended to compress data that is present in the history company. Purge PCS Non Finance Integration Transactions: In this field can be defined whether PCS integration transactions, having the status Not for Finance should be purged. This status is a result of the parameter setting in manufacturing session tipcs0100m000. If the parameter for Work in Process valuation is Actual Cost then the result data that is sent to the Finance module has the status Not for Finance. If the parameter for Work in Process valuation is Estimated Cost then the data for actual cost of goods sold that is sent to the Finance module has the status Not for Finance
Archiving Baan IV
70
Prerequisites for the session Archive/purge integration transactions (tfgld4210m000) * Maintain company parameters (tfgld0103m000) * Process delivered purchase orders (tdpur4223m000) * Process delivered sales orders (tdsls4223m000) * Archive production orders (ticst0250m000) * Process/delete delivered replenishment orders (tdrpl2126m000) * Correction program tpcor4110 Pre actions for the session Archive/purge integration transactions (tfgld4210m000) * Select values for receivable invoices specification (tfacp1235m000)
Archiving Baan IV
71
We stirringly advice to give a range till the last period of the year you want to archive on both lines. Invoiced period from / to And Payment in period from / to So if you want to archive (till) the year 1998 so should enter on the line: Invoiced period from 0000 00 to 1998 13 (if there 13 periods in one year) Payment in period from 0000 00 to 1998 13 Now it will be possible to get the details of a Purchase invoice of a payment in the year 1999 for a sales invoices if the year 1998. Prerequisites for the session Remove Fully Paid purchase invoices (tfacp2250m000 * Maintain company parameters (tfgld0103m000) Pre actions for the session Remove Fully Paid purchase invoices (tfacp2250m000) * Recalculate open entries {tfacp200 / tccom021} (otfcor0260) * Select values for receivable invoices specification (tfacp1235m000) * Match / Approve purchase invoices with orders (tfacp1130m000) * Compose payments (tfcmg1240m000) * Process direct debits (tfcmg4240m000) * Maintain bank transactions (tfcmg2100s000) * Write off payment differences (tfacp2230m000) * Write off currency differences (tfacp2240m000) * Control account checklist (tfacp2415m000) INVOKED TABLES of session Remove Fully Paid purchase invoices (tfacp2250m000) Suppliers Received Purchase invoices Matched purchase invoice tr.
Archiving Baan IV
Authorization scheme Purchase invoices Sundry suppliers Anticipated payments Transaction types Documents Finalized transactions Relation intercompany documents
Fully
Paid
sales
invoices
SESSION OBJECTIVE of Session Remove Fully Paid sales invoices (tfacr2260m000) To remove fully paid sales invoices from the live company and archive these invoices into the history company. Related documents like payments and corrections are removed as well. A high volume of sales invoices in table tfacr200 may have a negative influence on the performance of sessions in the ACR and CMG module. HOW TO USE THE SESSION Remove Fully Paid sales invoices (tfacr2260m000) Here you can make a selection that fully paid sales invoices should be removed and / or archived. This session Remove Fully Paid sales invoices (tfacr2260m000) can be used to archive all fully paid invoices. This will cause no reference problems in the data. But if a user wants to display of the actual data of a sales invoices, he has to go to the Archive Company. Therefor we advice to archive only the fully paid invoices of a particular year which financial transactions also will be archived after archiving this session. For the lines: Invoiced period from / to And Payment in period from / to Only the fully paid sales invoices will be removed if the Period of the Sales invoice is in the given range and also all records of payment of the Sales invoice are in the given range, which is given at the line payment in period. If there is any record of the Sales invoice (header or payment records) which fits not in the given range of one of both lines, the Sales invoice will not be archived.
Archiving Baan IV
73
We strongly advice to give a range till the last period of the year that should be archived on both lines: Invoiced period from Payment in period from So if you want to archive (till) the year 1998 so should enter on the line: Invoiced period from 0000 00 to 1998 13 (if there 13 periods in one year) Payment in period from 0000 00 to 1998 13 Now it will be possible to get the details of a Sales invoice where the payment is received in the year 1999 for that particular sales invoices of the year 1998. Prerequisites for the session Remove Fully Paid sales invoices (tfacr2260m000) * Maintain company parameters (tfgld0103m000) Pre actions for the session Remove Fully Paid sales invoices (tfacr2260m000) * Recalculate open entries {tfacr200 / tccom011} (otfcor0261) * Compose payments (tfcmg1240m000) * Process direct debits (tfcmg4240m000) * Maintain bank transactions (tfcmg2100s000) * Write off payment differences (tfacr2240m000) * Write off currency differences (tfacr2250m000) * Control account checklist (tfacr2415m000) Invoked tables Session Remove Fully Paid sales invoices (tfacr2260m000) Tccom010 Tfacr200 Tfacr202 Tfacr306 Tfcmg110 Tfgld018 Tfgld106 Tfgld112 Check Move Check Delete Check Check Check Check
Customers Open sales invoices One time customers Maintain reminder dairy Anticipated payments Documents Finalized transactions Relation intercompany docs
Archiving Baan IV
74
If this is oke the session will start with archiving of the data.
Pre actions for the session archive / purge finance transactions (tfgld6205m000) * Print debit and credit amounts by document (tfgld3410m000) * Close Year (tfgld6203m000) INVOKED TABLES Session archive / purge finance transactions (tfgld6205m000) Documents Batch status Transaction type batch status Finalized transactions Finalization run status Tfgld018 Tfgld100 Tfgld101 Tfgld106 Tflgd109 Move Move Move Move Move
to
History
before
specified
year
SESSION OBJECTIVE of session Copy Balances to History before specified year (tfgld6206m000) After closing a specific fiscal year, it is possible to copy Balances from table tfgld200 till tfgld206 into the history company via the session Copy Balances to History before specified year (tfgld6206m000) The closing action of a year is done by session Close year (tfgld6203m000), the archiving of the finalized transactions is done via session Archive / purge finance transactions (tfgld6205m000). HOW TO USE THE SESSION Copy Balances to History before specified year (tfgld6206m000) The following sessions should be processed, for the particular year that will be archived, before the session Copy Balances to History before specified year (tfgld6206m000) is started. The following archiving procedure, with the pre-actions and prerequisites, should be done in the following sequence. Archive disposed fixed assets (tffas3300m000) Archive and purge integration transactions (tfgld4210m000) Remove fully paid purchase invoices (tfacp2250m000) Remove fully paid sales invoices (tfacr2260m000) Archive / purge finance transactions (tfgld6205m000)
Archiving Baan IV
75
In this session only the to archive year must be filled in. The system will check if it to archive year is lower than the condition that the actual year (session Company parameters (tfgld0103m000, line Current fiscal year) minus the to store years, defined in the session Group company parameters (tfgld0101m000), line Store data for X years. If this is oke the session will start with archiving of the balances. Copy of the tables with balances Another possibility is to copy the balances tables to the History Company. If the data of a particular year is archived via the archiving sessions, it is not necessary to archive the balances also. It can be useful to have the balances for comparing matters still in the operational company. It will also be useful to have the balances of the archived year(s) also in the History Company. Via the session Create Sequential Dump of Table ttaad4226m000 or via table maintenance there can be made a export of the balances tables (tfgld200 till tfgld206) If there is made a sequential dump via the session the tables can be imported via the session Create Table from Sequential Dump ttaad4227m000. All the data of the balances will be present in the History Company. If there is made an export file it can be imported in the several balances tables of the history company, by first renaming the created files of the export of the tables. Via table maintenance there can be given a range of year to be exported. Important before running the session Copy Balances to History before specified year (tfgld6206m000) If only the finalized transactions (table tfgld106) are archived via the session session Archive / purge finance transactions (tfgld6205m000), and one of the following sessions is processed to rebuild the ledger of dimension history: Rebuild Ledger History tfgld3201m000 Rebuild Dimension History tfgld3202m000 Rebuild Opening Balance/History from Transactions tfgld3203m000 the balances which are present for that particular year will be lost. So it is not useful to rebuild a year which is archived via the session Archive / purge finance transactions (tfgld6205m000). Pre actions for the session archive / purge finance transactions (tfgld6205m000) * Print debit and credit amounts by document (tfgld3410m000) * Close Year (tfgld6203m000) INVOKED TABLES of session Copy Balances to History before specified year (tfgld6206m000) End dates by year Period status Documents Batch status History ledger account totals History-Dimensions/Ledger accounts Opening balance Ledger/Currency Opening balance Dim/Ledger/Currency History-Dim Combination Opening Balance-Dim Combinations Tfgld006 Tfgld007 Tfgld018 Tfgld100 Tfgld201 Tfgld202 Tfgld203 Tfgld204 Tfgld205 Tfgld206 Check Check Move Check Move Move Move Move Move Move
Archiving Baan IV
76
Pre actions for the session archive / purge finance transactions (tfgld6205m000) * Print debit and credit amounts by document (tfgld3410m000) * Close Year (tfgld6203m000) INVOKED TABLES of the session Archive / Purge Tax Transactions (tfgld6207m000) Group company parameters Period status VAT transactions Tfgld003 Tfgld007 Tfgld110 Check Check Move
Archiving Baan IV
77
If one of the following fields differ, the integration transaction will not be compressed: Original Company (tfgld410.ocom) Transaction origin (tfgld410.tror) Financial transaction (tfgld410.fitr) Log date (tfgld410.trdt) Log time (tfgld410.trtm)
Archiving Baan IV 78
Line number (tfgld410.line) Transaction type (tfgld410.ttyp) Document number (tfgld410.docn) Finance company (tfgld410.fcom) Ledger account (tfgld410.leac) Dimension code1 till 5 (tfgld410.dim1 till tfgld410.dim5) Debit / credit (tfgld410.dbcr) Order (tfgld410.orno) Item (tfgld410.item) Project (tfgld410.cprj)
Archiving Baan IV
79
How to use the Correction program Compress Integration Transactions (otfcor0217) In the History Company this correction program can be started via the P option on choice. It is possible to delete a range based on the log date of integration transactions for the following Financial transactions Sales Issues Inventory transfers Revenues Produktion inventory transfers. There is a possibility to do this correction first in a test run.
INVOKED TABLES of Correction program Compress Integration Transactions (otfcor0217) Companies Group company parameters Integration transactions Posted integration transactions credit lines Tccom000 Tfgld001 Tfgld410 Tfgld417 Check Check Change and delete Change and delete
After running this session remove posted/cancelled sales invoices (tfacr4230m000) a message will appear stating the number of sales invoices with status posted or cancelled that have been removed.
To be aware of after running session Remove posted/canceled sales invoices (tfacr4230m000) If the posted sales invoice is removed, it will not be possible to reprint the sales invoice again. Because the data is not archived to a history company. Invoked tables Customers Currency Invoice header Invoice lines Transaction type Documents of session Remove posted/canceled sales invoices (tfacr4230m000) Tccom010 Tcmcs002 Tfacr400 Tfacr401 Tfgld011 Tfgld018 Check Check Delete Delete Check Check
Archiving Baan IV
81
They should be posted via the session Post interest invoices (tfacr5220m000). The deleted interest invoices, via the session Delete posted interest invoices (tfacr5230m000), will be printed on a report . To be aware of after running session Delete posted interest invoices (tfacr5230m000) The removed interest invoices via the session Delete posted interest invoices (tfacr5230m000), can not be reprinted anywhere in the program. Invoked tables of Session Delete posted interest invoices (tfacr5230m000) Tfacr200 Tfacr510 Tfacr520 Tfgld018 Check Delete Delete Check
Customers invoices and receipts Customer receipt for int. inv.generation Interest invoice intermediate table Documents
Archiving Baan IV
82
Invoked tables of Session Remove payment batches (tfcmg1259m000) Parameters CMG Payment advice Posting data for payments without invoices Composed payments One time supplier addresses Payment batches Payment documents Financial companies Tfcmg000 Tfcmg101 Tfcmg102 Tfcmg103 Tfcmg108 Tfcmg109 Tfcmg113 Tfgld004 Check Delete Delete Delete Delete Check Delete Check
Invoked tables of Session Remove Direct debit batches (tfcmg4259m000) Parameters CMG Direct debit advice Composed direct debits Direct debit batches Financial companies Tfcmg000 Tfcmg401 Tfcmg403 Tfcmg409 Tfgld004 Check Delete Delete Check Check
Archiving Baan IV
83
Invoked tables of Session Delete ratio History (tffst6202m000) Ratio history Ratios Tffst600 Tffst610 Delete Delete
Archiving Baan IV
84
Invoked tables of Session Delete Fixed Assets (tfgld6101m000) Fixed asset parameters Fixed Assets groups data Fixed asset master data Fixed asset depreciation data Variable depreciation data Special depreciation amounts Logged transactions Depreciation error log file Investments Disposals Maintenance costs Transaction schedule Periodical depreciation and revaluation results Annual depreciation and revaluation results Insured fixed assets Tffas001 Tffas004 Tffas007 Tffas008 Tffas009 Tffas019 Tffas020 Tffas021 Tffas100 Tffas101 Tffas102 Tffas110 Tffas200 Tffas201 Tffas501 Check Check Delete Delete Delete Delete Delete Delete Delete Check Delete Delete Delete Delete Delete
Archiving Baan IV
85
Invoked tables of Session Delete FAS simulation tables (tffas4251m000) Depreciation codes (simulation) Main groups (simulation) Fixed Assets groups (simulation) Group depreciation data (simulation) Fixed asset master data (simulation) Fixed asset depreciation master data (simulation) Variable depreciation data (simulation) Fixed asset sites (simulation) Special depreciation master data (simulation) Special depreciation amounts Logged transactions (simulation) Depreciation error log file (simulation) Investments (simulation) Disposals (simulation) Periodical depreciation (simulation) Annual deprecation data (simulation) Performances (simulation) Depreciation parameters (simulation) Index master data Tffas402 Tffas402 Tffas404 Tffas405 Tffas407 Tffas408 Tffas409 Tffas413 Tffas418 Tffas419 Tffas420 Tffas421 Tffas430 Tffas431 Tffas440 Tffas441 Tffas442 Tffas443 Tffas450 Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete
The results of the seuential file can be printed via the session Print Uncompressed Transactions (tfgld1445m000). If the compressed transaction is printed via a another General ledger session is will printed as one line. The conditions if finalized transactions will be compressed are, that must have the same: Transaction type Document number Batch number Ledger account Dimensions Currency Tax codes Fiscal year and period Reporting year and period Tax year and period Customer Supplier Original transaction type Original document
Invoked tables of Session Compress Finalized Transactions (tfgld1220m000) Years Transaction types Finalized transactions Integration transactions Integration transactions- credit lines Integration references Tfgld006 Tfgld011 Tfgld106 Tfgld410 Tfgld417 Tfgld418 Check
Archiving Baan IV
87
Appendix
Appendix 1
Session description Archive pcs projects Settings From To range Archive company Retrieve no/yes From to range Archive company From -to Periodical Yes, monthly Job/manual Job ARC1
Archiving Baan IV
88