Log File
The Log File shows what the users of alameen ERP 10 did in the current file: date, time, user, computer, type of operation and document number. You choose what appears in the Customize Log File window. From the same window you preview, print and empty the log. The details of edits and deletions are in Log file operation details. The steps are in Review the log file.
Opening the window
- From the ribbon: Management > Review > Log File.
- You need the Log File permission, on the Operations page of the Users window (Set actions and reports permissions).
- A user who has Review Log File for This User Only but not Log File also opens the window, but sees only their own operations. The program sets their name in the User field of the customize window and disables the field.
- The window opens empty. The program does not read the log when it opens: click Filter..., then OK, to load the rows. Update, Preview and Print stay disabled until the program has loaded at least one row.
- When logging is on, opening the window adds a row with the Log File operation and the event Display.
- The detail pages appear at the bottom of the window only if the Save changes details in log file option is on when you open the window. If you change it while the window is open, close the window and open it again.
What the program logs
The log belongs to each company file. It has two options, in Program Options > Save page > Systems (Program Options). They are saved in the file itself, so they apply to everyone who works in it. You can also turn them on when you create a file, on the Log File Options page of the Create Files wizard.
| Option | What it does | Notes |
|---|---|---|
| Activate log file | The program adds a row to the log for every logged operation. | When it is off the program adds nothing, and the existing rows stay. When you save the options after changing it, the program adds a row with the event Start (turned on) or Stop (turned off). The change is disabled while the Saudi or Syrian e-invoice system is on. |
| Save changes details in log file | The program stores the content of the document or card with the row at the time of the operation. | Without it the Log file operation details windows have nothing to show. Rows logged before you turned it on stay without content. It works only while the first option is on. |
For each row the program stores:
- The time of the operation, saved in universal time and shown in your computer's time.
- The event date: the date of the document or operation as logged (for example the bill date).
- The user who did it and the computer name.
- The type of operation, the event, the number of the document or card, and notes.
Deletions are logged before the program deletes the document, so its content stays in the log. For a modification the program first stores a copy of the document as it was, then adds a Modify row with the new content. The "before" copy is not listed. The details window uses it for the Before column.
The table below shows everything you can choose in the customize window. Operations that are not in the table do not appear in the list.
| Type in the Show list | Events in the Event list | What the Form list shows | Details window |
|---|---|---|---|
| Bill | Cancel audit, Audit, Post to Accounts, print, Post to Warehouses, Delete, Modify, Add, End Order, Undo completed order, Cancel Order, Undo cancelled order, Export, Cancel Invoice, Approve Invoice, Send Invoice, Add invoice as Draft, Prepare Invoice, Post Draft, Unpost Draft, Prepare invoice for reporting, Reporting Invoice, Invoice Clearance, Verify invoice compliance, Convert to "sent on taxpayer's liability", Convert to "outside scope of tax on taxpayer's liability", Approve, Assembling, Assembled, Deliver, Reject, Receive, Under Disassembling, Disassembled | Bill forms (the internal assembly and disassembly form and the closing inventory form are left out) | Modify and Delete |
| Entry | Cancel audit, Audit, print, Post to Accounts, Delete, Modify, Add, Export | Entry forms, plus the general journal entry | Modify and Delete |
| Commercial Paper | Note events sequence preview, Cancel audit, Audit, print, Delete, Modify, Add, Receive, Pay, Return to origin, Cancel returned before receipt, Cancel returned before pay, Endorse, Retrieve from endorsement, Endorsed due with balance, Endorsed due without balance, Send for collection, Collect, Return to origin from collection, Return from collection, Send for discounting, Return from discounting, Don't approve discounting, Approve discounting, Discounted due with balance, Discounted due without balance, Deliver note payable, Cancel received by discount, Cancel returned from discounting, Cancel delivering note, Cancel discounted, Cancel send for discounting, Cancel returned from collection, Cancel collection, Cancel send for collection, Cancel received by endorsement, Cancel returned from endorsement, Cancel endorsement, Cancel partial receipt, Cancel partial pay, Cancel all partial receipts, Cancel all partial payments, Cancel receipt, Cancel payment, Partially received, Partially paid | Commercial paper forms | Modify, Delete and the paper events |
| Cards | Enable ' Lock Current File ' option, Disable ' Lock Current File ' option, print, Display, Delete, Modify, Add | Card and operation types (a long list, see below) | None |
| Material Card | Delete, Modify | No list | Modify and Delete |
| Operations and Reports | Import Shipping Return Bill from Profit Center, Display, print, Export, Share, Delete, Modify, Add | Names of the reports and operations that have rows in the file | All eight events |
| POS and Restaurants | Operation, print, Delete, Modify, Add | Names of the operations that have rows in the file | Modify and Add |
| Maintenances Log | Display | Names of the operations that have rows in the file | Display |
| Letter of Credit | Reopen Closed Letter of Credit, Close Letter of Credit, Delete, Modify, Add | No list | None |
| Taxation System | Activate Taxation System, Tax Settings, Modify Materials Tax, Modify Customers Tax, Modify Bills Tax, Tax Bills and Accounts Verification..., Audit and Close Tax Periods, Export FTA Audit File | No list | None |
| Profit Centers | Extract Data, Cancel Extracting, Update Data, Update Special Offers, Extracting data from file, Close Day, Unclose Day, Export File of Closing, Generate Closing Entry | No list | None |
| Shipping to Profit Center | Add, Modify, Delete, Receive | Names of the operations that have rows in the file | None |
| Distribution | Add, Modify, Delete, Import | Distribution Routes, Distribution Unit Card, Distribution Group Card | None |
Profit Centers and Shipping to Profit Center appear only when your licence has the profit centers feature, and Distribution only with the distribution feature.
The Cancel Invoice event appears twice in the Event list, and Surgery appears twice in the Form list.
When you choose Cards, the Form list holds these types: Money Transfer, Manufacturing Model, Manufacture Operation, Material Card, Customer Card, Warehouse Card, Group Card, Cost Center Card, Currency, Branch Card, Bill Form, Entry Form, Commercial Paper Form, Transposition Form, Assembly and Disassembly Type, Receipt Voucher, General Consumables, Medical Consultation, Residence, Residence Entry, Additional Service, General Work Entry, Surgery, Surgery Cost Entry, Surgery Executors Fees Entry, Surgery Consumables Bill, Patient Consumables Bill, Packing List, Distribute Payments over Monthly Periods, Manufacturing Product, Sub Asset, Employee Card, Guest Card, General Service Card, Site Card, Site Type Card, Sites Group Card, Guest Dossier, Radiography Type Card, Radiograph Template Card, Radiography Application Form, Patient Card, Radiography Card, Patients Habits, Clinical Test, Treatment Plan, Patient Dossier, Labels, Design Paper, Options, Used, Group, Account Reconciliation, Login, Change Password, Replication, Logout, Scheduled Tasks, Alternatives, Order Status, Taxation System, Shipping to Profit Center, Opening Guardianship, Guardianship Delivery and Receipt Memo, Asset Investment Contract, Tax.
Login, logout, password changes, program options, users, groups, scheduled tasks and replication are items of the Form list under Cards. Choose Cards to find them.
The window
Buttons and fields
| Item | What it does |
|---|---|
| Search box (no caption, at the top) | Type the text and press Enter to go to the next row that contains the text in any column. The search ignores letter case. When it reaches the end of the list the program beeps and starts again from the top. The box shows the prompt "Enter here what you want to search for." |
Preview (Alt+P) | A menu button: it opens its menu wherever you click it. See Preview and Print menus. Disabled until the program has loaded a row. |
Print (Alt+R) | A menu button like Preview. Disabled until the program has loaded a row. |
Clear (Alt+C) | Deletes the log rows that match the current filter. Available as soon as the window opens, even before you filter. See Emptying the log. |
Filter... (Alt+F) | Opens the Customize Log File window. |
| Update | Reads the log again with the current filter and removes the "Current Log Events" restriction. Disabled until the program has loaded a row. |
| Cancel | Closes the window. |
After you load or empty the list, the program disables Update, Preview, Print and Clear together if it finds no row.
While the list fills, a progress window with a counter appears. If you cancel it, the rows loaded so far stay, and the details area no longer updates when you select rows. The report still shows all the matching rows, not only those listed.
List columns
| Column | What it shows |
|---|---|
| Process Date | The day the operation ran, in your computer's time. |
| Event date | The date of the document or operation as logged. |
| Time | The time the operation ran, in your computer's time. |
| User | The login name of the user who did it. |
| Computer Name | The computer it was done from. |
| Operation | The kind of document or operation: the abbreviation of the bill, entry or commercial paper form, or the name of the card or report. |
| No | The number of the document or card. |
| Event | What happened: add, modify, delete, print and so on. |
| Notes | The note the program saved with the row. |
Add, Modify and Delete rows use different font styles, and Delete rows use the error style. The rows are sorted by the time you choose in the customize window (operation date or event date).
Details area
A splitter under the list changes the height of the lower page, when Save changes details in log file was on when you opened the window. When it was off, the lower area stays a thin strip and dragging does nothing. When you select a row, the program shows the details page that fits the type and event of the row (Log file operation details).
The "No logs found" page
The page that says "No logs found" appears when:
- No details page exists for the type and event of the row (for example adding or printing a bill).
- Save changes details in log file was off when you opened the window.
- The row is old and has no stored content.
- You emptied the log and no row is left.
Then the "details" items do not appear in the Preview and Print menus.
Row menu
Right-click a row. The menu is the usual list menu (Lists and trees): Grid Lines, then the display commands of the row (such as display the bill, entry or card). A Delete row has no display command, because the document no longer exists. A double-click runs the last display command you used, or the first.
The window adds one item at the end of the menu:
| Item | What it does |
|---|---|
| Current Log Events | Limits the list to the rows of the document or operation the selected row belongs to, under the current filter. Update or a new filter removes the limit. |
Preview and Print menus
Clicking Preview or Print opens a small menu:
| Button | Item | What it does |
|---|---|---|
| Preview | Preview Logs | Opens the Log File report in the viewer with all the loaded rows. |
| Preview | Preview Log Details | Opens the report of the visible details page (for example the bill fields report). It appears only while a details page is visible, not the "No logs found" page. |
| Print Logs | Prints the same report. | |
| Print Log Details | Prints the report of the details page. It appears only with a visible details page. |
The Print items need the Print reports permission. Without it the program shows a message.
Customize Log File
Open it with Filter.... You set the period, user, types, events and forms. The program applies the conditions together: a row appears if it matches everything you set. The program does not keep the filter: when you close the Log File window and open it again, the conditions are back to their first state.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| User | Limits the list to one user's operations. | No | All Users or the login name of a user. Default: All Users. Disabled and fixed to your name if you have only Review Log File for This User Only. |
| By Event Date | Compares the period with the date of the document or operation. | No | The two options exclude each other. |
| By Operation Date | Compares the period with the day the user did the operation. | No | The default. |
| From | Start of the period. | Yes | Default: today the first time you open the window; later, inside the same Log File window, the date of the last OK. The day you enter is included. |
| To | End of the period. | Yes | Default: the same as From. The day you enter is included. |
| Number | Limits the type selected in Show to one document or card number. | No | A whole number. Leave it empty for all numbers. It is kept for each type separately. Disabled for Operations and Reports, POS and Restaurants, and Maintenances Log. It has no effect for Shipping to Profit Center. |
| Show | The list of log types. Tick a type to include it. | No | All are ticked by default. Select a type in the list so the Event and Form lists show what belongs to it. |
| Event | The events of the type selected in Show. | No | All are ticked by default. A type with no event ticked shows nothing. If you untick every type in Show, or no type keeps a ticked event, the program does not limit the types: the list shows, and Clear deletes, every row of the period that has no form, such as the rows of reports and operations. |
| Form | The forms or kinds of the type selected in Show. | No | All are ticked by default. The table above shows what the list holds for each type. Rows of a form you untick do not appear. |
| OK | Applies the conditions and reads the log. | ||
| Cancel | Closes the window without changes. |
When you move from one type to another in the Show list, the program keeps what you ticked in the Event and Form lists of the first type. It keeps the last type when you click OK.
The events of each type are fixed by the program. The Form list of Operations and Reports, POS and Restaurants, Maintenances Log and Shipping to Profit Center is read from the log each time you select the type; items logged after you opened the Log File window appear unticked. After OK, the buttons Update, Preview, Print and Clear are disabled if the program finds no matching row.
Emptying the log
Clear deletes the rows that match the current filter in the log: period, user, types, events, forms and the "Current Log Events" limit. The deletion is not limited to the rows you see: the program applies the same conditions to the whole log.
Set the filter before you click Clear. The deletion reaches beyond what you see in the list and cannot be undone. The program also deletes all the details of the Maintenances Log from the file, whatever the filter. If you untick every type in Show, or no type keeps a ticked event, the program does not limit the types: Clear deletes every row of the period that has no form, such as the rows of reports and operations.
- The program checks the Empty Log File permission. If you do not have it, it shows a message and stops.
- It asks you to confirm the permanent deletion. Click Delete to continue.
- It deletes all the details of the maintenance log.
- If the Saudi or Syrian e-invoice system is on, it shows a notice that the log rows of electronic invoices (or of sales invoices in Syria) are not deleted.
- It deletes the matching log rows, except the ones named in the notice and every row with the event Activate Taxation System, whatever its type. It does not delete the "before the edit" copies kept with Modify rows; they stay in the file.
- When logging is on, it adds a row with the Log File operation and the event Clear, then reads the list again.
Log File report
Preview Logs and Print Logs open the Log File report. It uses the rows loaded in the window as they are and does not read the log again. It has one parameter:
| Parameter | Description |
|---|---|
| User Name | The user you chose in the customize window. Empty when you chose All Users. It appears in the report header. |
| Column | What it shows |
|---|---|
| Operation Date | The day the operation ran. |
| Event Date | The date of the document or operation. |
| Time | The time the operation ran. |
| User | The user. |
| Computer Name | The computer. |
| Operation | The kind of document or operation. |
| Number | The number of the document or card. |
| Event | The event. |
| Notes | The notes. |
The viewer shows Delete rows in the warning format. The Option List of the viewer has a Period group with the Operation Date and Event Date fields. For working with the result see the report viewer.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| "You don't have the authority to delete the file" | You clicked Clear without the Empty Log File permission. | Ask the administrator for the permission. |
| "Are you sure you want to delete?" and under it "Current record will be permanently deleted, and it can't be retrieved..." | You clicked Clear and you have the permission. The buttons are Delete and Cancel. | Click Delete if you have set the filter. |
| "Records will not be deleted from Log file" | The Saudi or Syrian e-invoice system is on. The text is "In accordance with e-invoice requirements, no record related to electronic invoices or their associated notes will be deleted." (Saudi) or "In accordance with Syrian Taxes requirements, no record related to sales invoices will be deleted." (Syria). | A notice only. The deletion goes on. |
| "You don't have the authority to print" | You chose a Print item without the Print reports permission. | Ask the administrator for the permission. |
| "Error Execute Proc" | Reading or deleting the log failed in the database. It appears in English in both languages. | Try again. If it repeats, ask technical support. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.