How can I determine what files are used for what purpose in the program files and data path directory?
Description
Cause
Resolution
Note: Not all files will apply to all versions of Sage 50.

Files and Folders




 


Definition

Delete Yes/No

What will happen when deleted?


Company Data files







_default_user_.cacHolds user license info for Default userYesRecreates
Address.datContains all Bill-to/Ship-to address of customers and mail-to/remit-to addresses of vendorsNoCorrupts Database
AdvData.datSage Advisor data related to user interactions.YesRecreates Empty
AdvHist.datSage Advisor history of advice related to user.YesRecreates Empty
Aflocat.datContains Auto-Fill data for Address fields only.YesRecreates Empty (Run DV to repopulate)
Alarm.datHelper file for Alerts.YesRecreates Empty (Alarms will be lost)
Alert.datContains Alert information entered through Tasks, Action Items, Alerts. This includes alert email criteria.YesRecreates Empty (Alerts will be lost)
Apiaccss.datRegulates third-party SDK client applications access to company filesYes(must reauthorize third-party apps with company file)
Atmntbdl.datContains the necessary information for Sage 50—U.S. Edition to locate the attached file inside the attachments directory and reference what maintenance or transactional record it is associated with.YesRecreates Empty (Attachments will still exist, but the relationship to Sage 50 and the attachments will be lost. Must restore complete backup)
Attchmnt.datContains the necessary information for Sage 50 to locate the attached file inside the attachments directory and reference what maintenance or transactional record it is associated with.YesRecreates Empty (Attachments will still exist, but the relationship to Sage 50 and the attachments will be lost. Must restore complete backup)
Audittr.datContains Audit Trail Report informationYesRecreates Empty (Audit Trail will be lost)
Avgdtpay.datAverageDayToPayfileName: Added with the Cash Flow feature. It looks like this file is not currently used.YesAsked to recreate on open company.
Bankrec.datContains Account Reconciliation information (but not cleared checklist).NoCorrupts Database
Bddetail.datBudget DetailNoCorrupts Database
BomHist.datContain revisions to the Bill of Materials for Assembly ItemsNoCorrupts Database
BomItems.datContains Bills of Materials for Assembly ItemsNoCorrupts Database
Budget.datBudget List InformationNoCorrupts Database
Budgetar.datArchivedBudgetSummaryfileName: Added for the Prior Year Reporting featureNoCorrupts Database - you will lose any summary prior year transactions for reporting.
Cashflow.datCashFlowfileName: Looks like this was included in the database for future expansion to allow for multiple cash flow projections, but currently Sage 50 only does one.YesAsked to recreate on company.
Cfacct.datCashFlowAccountfileName: New accounts on the "Starting Cash" tabNoCorrupts Database - you will lose any new cash flow accounts you've added.
Cftrans.datCashFlowTransactionsfileName: Edited and added transactions on the "Expected Incoming Cash" and "Expected Outgoing Cash" tabsNoCorrupts Database - you will lose any new cash flow accounts you've added.
Chart.datContains Chart of Account informationNoCorrupts Database
Chartar.datArchivedChartSummaryfileName: Added for the Prior Year Reporting featureNoCorrupts Database - you will lose any summary prior year transactions for reporting.
ChgOrder.datChange Order "header" data.NoRecreates Empty
(data will be lost)
CODetail.datChange Order detailNoRecreates Empty
(data will be lost & data corruption)
Company.datContains Company Name, Address, etc information entered through Maintain, Company Information.NoCorrupts Database
Company.dbTax forms fileYesReinstall AATRIX tax forms to recover
Connco.datCreates when company is open.YesRecreates Empty
Contacts.datContains Contact informationNoCorrupts Database
Cosess.datTracks how many users are in a companyYesRecreates Empty
Cost.datContains information concerning Job Cost Codes.NoCorrupts Database
Customer.datContains Customer informationNoCorrupts Database
Defprfld.datContains all of the default company payroll fields.NoCorrupts Database
EarnSumm.datContains earnings information for each employee.NoCorrupts Database
Employee.datContains Employee informationNoCorrupts Database
EmpPayinf.datContains the pay rates defined for each employee.NoCorrupts Database
Empprfld.datContains the customized payroll fields specific to an employee.NoCorrupts Database
Esprfld.datContains the earnings for a payroll field.NoCorrupts Database
ESWage.datContains the employee summary hours and pay for each pay rate.NoCorrupts Database
Eventlog.datContains Customer\Employee\Vendor Event information.YesRecreates Empty (Events will be lost)
Evntcls.datCreated during the Year-End WizardYesShould not be present outside of the Year-End Wizard process
Forecast.datContains Business Analysis informationYesRecreates Empty
Foredetl.datContains Business Analysis informationYesRecreates Empty
General.datContains Default Information entered through Maintain, Default Information.NoCorrupts Database
GLCoat.datUsed so FAS will know what Chart of Account numbers the company uses in Sage 50YesRecreates Empty (will have to relink the FAS company to the Sage 50 company)
Grpdata.datContains a List of Report Groups.YesRecreates Empty (report groups will be lost)
Invchain.datHelper file for inventory costing system. It is used with LIFO and FIFO costing methods.NoCorrupts Database
Invcomp.datContains Component List(s) for Assemblies. This file is used in part to help check for circular components when saving assemblies.NoCorrupts Database
Invcost.datHelper file for inventory costing system.NoCorrupts Database
Jobest.datContains Job Estimate information.NoCorrupts Database
Jrnlcls.datCreated during the Year-End WizardYesShould not be present outside of the Year-End Wizard process
Jrnlhdr.datContains one record for each transaction that the user enters. There is a one to many relationship between Header records and row records. Each header record can have any number of related rows.NoCorrupts Database
Jrnlrow.datContains the meat of the accounting system. It has one row for every financial event. Some rows serve to hold more than one type of information. There will be one row for every amount that the user entered PLUS there will be one or two rows for each system generated activity such as cost of goods sold, or below zero transactions.NoCorrupts Database
Jrnlsno.datContains information concerning Serialized InventoryNoCorrupts Database
KMSKeys.xmlKey management for Sage ExchangeNoCorrupts Database
Lineitem.datContains Inventory item informationNoCorrupts Database
NotAdMsg.dat"Additional message" added to Notification Rules on the Setup Notification Rules window.NoRecreates Empty (data will be lost)
Deleting individual Not*.dat files will corrupt the database--you may be unable to edit Notifications.
NotCdVal.datNotification Condition Value RecordNoRecreates Empty
(data will be lost)
NotMsg.datSystem generated notification text description of each Notification.NoRecreates Empty
(data will be lost)
NotRecip.datRelates User assigned a Notification to the Notification in Notifica.dat.NoRecreates Empty
(data will be lost)
NotRules.datNotification rules.NoRecreates Empty
(data will be lost)
Notifica.datNotifications that have been made.NoRecreates Empty
(data will be lost)
Olacct.datOnline Banking OFX Imported Account InformationNoCorrupts Database
Oltrans.datOnline Banking OFX Imported Bank RecordsNoCorrupts Database
Paymethd.datContains payment methods used in transactions.NoCorrupts Database

PDSIDMap.dat

(See note)*

Contains Sage HR field mapping information
NoCan have unpredictable results, such as duplicate data
PEPUsage.datContains reportable usage data and environment statistics reported to Sage.YesRecreates Empty
Periodar.datArchivedPeriodInfofileName: Added for the Prior Year Reporting featureNoCorrupts Database
you will lose any summary prior year transactions for reporting.
Permiss.datContains User ID and Password informationNoCorrupts Database
Phase.datContains Maintain Phase information.NoCorrupts Database
Project.datContains Maintain Job information.NoCorrupts Database
QtyDisc.datContains Quantity Discount informationNoCorrupts Database
RaiseHst.datContains Employee Raise History informationNoCorrupts Database
Recon.datfile holds information regarding reconsolidation of a Consolidated Company.NoCorrupts Database
Recpttag.datHelper file for cash basis companies. Also, links up invoices and payments.NoCorrupts Database
Recurex.datContains information about yearend rollover recurring entriesNoCorrupts Database
Report.datContains Predefined and Customized Financial Statement Report Formats.YesCopy from Reports folder in data path.
Review.datContains information on reviews.YesRecreates Empty
Roles.datHolds information for default Roles in a Sage 50 CompanyNoCorrupts Database
Rptdata.datContains custom report formats that are not financial reports nor forms, and also import templatesYesRecreates Empty (Custom reports will be lost)
Rptfilts.datUsed to save the report ranges in the filter tabs for reports. i.e non-contiguous customer ranges.YesRecreates Empty
Rstydef.datContains the report style defaults.YesRecreates Empty
Rstyle.datContains Predefined and Custom report style settings.YesRecreates Empty
Statcode.datAvailable Notification Tracking status codesYesRecreates Empty(Loses Tracking Status and History)
Stathist.datHistory of assignments of Notifications.YesRecreates Empty(Loses Tracking Status and History)
Statnote.datNotification Tracking notes.YesRecreates Empty(Loses Tracking Status and History)
Storetrx.d atContains Memorized Transactions (2005 and earlier)YesRecreates Empty
Stxhdr.datContains Memorized TransactionsYesRecreates Empty
Stxrow.datContains Memorized TransactionsYesRecreates Empty
Syspref.datHolds company-specific preferences not associated with any particular Sage 50 userYesRecreates Empty
Taxauth.datContains Sales Tax Authority informationNoCorrupts Database
Taxcode.datContains Sales Tax Code information.NoCorrupts Database
Taxtable.datContains Company specific (User-Maintained) payroll tax formulas.YesCompany Tax Tables will be lost
Template.datContains Predefined and Customized Tasks screen Templates.YesRecreates Empty
Ticket.datContains Time Ticket and Expense Ticket information.NoCorrupts Database
Unitmeas.datContains Unit of Measure informationNoCorrupts Database
UPSinfo.datHelper file for UPS IntegrationNoCorrupts Database
UPSship.datHelper file for UPS IntegrationNoCorrupts Database
Userpref.datContains User Preferences for Sage 50YesRecreates Empty and resets defaults
Userrole.datHolds information for User defined Roles in a Sage 50 CompanyNoCorrupts Database
Vendins.datContains vendor insurance informationNoCorrupts Database
Vendor.datContains Vendor information.NoCorrupts Database
Worktkt.datContains information on created work ticketsNoCorrupts Database





Other files and Folders located in Company data folder







*.DDFData Definition files that 3rd party programs (such as Crystal Reports) and Pervasive need to read our data files.YesRecreates the next time the company is opened
*.frmIndividual Form files. Each Custom form is its own separate file.YesCustom Forms will have to be restored from a backup.
*.LCKfiles that Btrieve creates to manage record locking.YesNo consequence
*.ptbSage 50 company backup file. Can be decompressed using extraction utility.YesBackups will be lost
*.PTL(Sage 50 Lock files) files that we create to manage record locks.YesNo consequence
*.PTRFiles that are created at the time of printing to manage print functionsYesRecreates with next print
*.RPTCrystal Report that lists detailed information pulled from Maintain Customers. Includes sales and payment information.YesReport will no longer be available
~pvsw~.locContains the computer name that is designated as the Actian (Pervasive) gateway server engineYesRecreates the next time Sage 50 is opened
Datalog.txtThis is the log file that data verification writes toYesRecreates with next DV test (DV history will be lost)
Details.iniContains company backup reminder information.YesNo consequence
Plan.datLinking file for customers record in ScopusYesRecreates with next online update
Purge.logLog file that Purge writes to: If turned onYesRecreates with next Purge (Purge history will be lost)
PWASync.logThe log file that is created when PWA sync is done. When you sync and it pass or fails and you click to see the log, this is the file it is showing you. It Logs if the sync passes or if it fails and what the error is if it errors. file gets reset with every sync.YesRecreates with next PWA Sync (Last Log will be lost)
Sync.pwpHolds web transaction center transactionsYesRecreates with next PWA Sync
Services.pwpHolds web transaction center transactionsYesRecreates with next PWA Sync
Version.txtText file that tells the data version.NoCorrupts Database
Archives (file folder)Contains Archived company dataYesArchives will be lost
Drafts (file folder)Draft forms for AatrixYesDrafts will be lost
Histories (file folder)Historic files for AatrixYesHistoric forms will be lost
Letters (file folder)Contains Mail Merge documentsYesWill need to recreate the Mail Merge documents
UPS (file folder)UPS LabelYesPrinted Labels will be lost
GenericAdvisorPEPYesRecreates

Files and Folders in the Datapath







*.DDFData Definition files that 3rd party programs (such as Crystal Reports) and Pervasive need to read our data files.YesRun Repair of Sage 50 or reinstall latest service release to replace
*.LCKFiles that Btrieve creates to manage record locking.YesNo consequence
1099info.datContains Box Types, Descriptions, and lower limits for 1099 settings and defaultsYesReinstall Sage 50
Bilic.datContains Business Intelligence licensingNoMust reinstall/repair to replace
Connco.datAt the company level, holds serial number information to enforce anti-piracy of software.YesRecreates Empty
Conndp.datAt the company level, holds serial number information to enforce anti-piracy of software.YesRecreates Empty
Envsess.datManages User Licenses in Sage 50YesRecreates Empty
Envuser.datManages User Licenses in Sage 50YesRecreates Empty
Holiday.datContains bank holidaysNoMust reinstall/repair to replace
Lgnsessn.datFile used to hold login sessionsYesRecreates Empty
Msgtrigg.datMessage Trigger Data file Name: Contains tracked data for PEP:YesCan be deleted, but collected data is lost.
Obsret.datContains service obsolescence and retirement informationYesWeb services will not function until Sage 50 Repair is run to reinstall the file.
Olfi.datContains Online Banking Import Wizard's List of Financial InstitutionsYesReinstall Sage 50 or the latest tax update, if applicable.
Options.datContains Global Program Settings (I.e. Hide Accounting Periods, Change System Date, Define Internet Connection). Also holds Tax Registration and Product "value pack" Registration information.YesRecreates Empty
Peachdat.locLocator file used by Sage 50 to designate where the proper Data Path is during installation.YesWill need to reinstall to get the file back.
Rptdatai.datContains all Predefined Reports for All Flavors. (No custom reports and no financial).YesWill need to reinstall to get the file back.
Serial.datHolds serial number information to enforce anti-piracy of software.YesRecreates Empty
Spstatus.datSmartPostingStatusfileName: Holds information about companies using SmartPosting:NoCorrupts Database - hangs the SmartPosting service.
Status.datContains status bar text messages.YesWill need to reinstall to get the file back.
Taxinfo.datHelper file for Payroll tax tables. Contains Filing Statuses for each state, among other things.YesWill need to reinstall to get the file back.
Taxrghst.datTax registration for E-filing (versions 2013 and older)YesWill need to reinstall and reregister Tax Service to get the file back.
Taxtable.datIf located in the data path it contains Global payroll tax formulas. If located in the Company folder contains Company Payroll Tax Formulas.YesWill need to reinstall to get the file back.
Forms (file folder)Contains custom and standard formsYesWill need to reinstall for standard forms and restore a backup for custom
Letters (file folder)Contains zipped data needed to fill the company's letter folder.YesWill need to reinstall to get the folder back
Reports (file folder)Contains zipped data of DDF files, RPT files and the Report.dat filesYesWill need to reinstall to get the folder back.
Updates (file folder)Contains Service Releases, Tax Updates and the oupaw.ini fileYesWill need to run the Check for Update option to repopulate


*Note: Reindexing PDSIDMap.dat directly (reindexing Sage HR ID Map) or performing Repair Company will consistently result in 3 specific error messages. For this reason, do not run Repair Company in version 2024.0 because it is not able to complete the entire repair process. Refer to Error: "The company could not be opened because the file 'PDSIDMap.DAT' is missing or damaged.".

This issue will be resolved in the 2024.0.1 update, which is tentatively slated for mid-December 2023.


[BCB:161:Chat 50 US:ECB]









Steps to duplicate
Related Solutions