SlideShare una empresa de Scribd logo
1 de 24
Sage 300 ERP
Technical Tour of Diagnostic Tools
Introduction
• Peter Singh Customer Support Specialist
• This session will provide details on tools for Monitoring, Tuning,
  Diagnosing, Creating. Editing, Debugging, and Reporting for
  Sage 300 ERP databases.
• Follow Sage 300 ERP Customer Support: @sage300erpcs
• Sage 300 ERP Community: http://community.sageaccpac.com/
• Follow me on Twitter: <https://twitter.com/#!/sinpa01
Agenda
• Sage 300 ERP Architecture
• Application Object Model & UI Info
• System Diagnostic
• Spy Tools
• Other Utilities
• Q&A
Sage 300 ERP Architecture
• Sage 300 ERP uses a “3-tiered layered architecture”
• Meaning 3 distinct layers that interact with each other:

                                    •   Screens for the user to interact with
                                        Sage 300 ERP
             User Interface

                                    •   Business Logic to calculate values
                 Views

                                    •   Provides access to the underlying
                                        Data
                Database
Sage 300 ERP Architecture
• Database Layer
   • Sage 300 ERP just saves and retrieves data to/from the Database

   • Layer just abstracts (hides unnecessary details)

   • View layer uses this layer to talk to the database
Sage 300 ERP Architecture
• View Layer
   • A “View” is an specific term for the module of business logic that
     maps to a database table

   • Think of like a “black box” that gets input, processes it, and then
     outputs it



            input              View             output


        Cost = $10.00       (Processing)      Tax = $1.20
Application Object Model
• What is the Application Object Model?
   • Is a complete comprehensive structure of data dictionary
   • This doesn’t tell you how the tables are related or how data flows
     from one table to another as you post various transactions
• Where Can I find the Application Object Model?
   • Application Object Model can be found on Sage Portal
   • Knowledge Base #210-30254
   • UI Info Utility
• How can the Application Object Model Help You?
   • Provides information on the fields included in Views/Tables
   • Shows which Views are related
Application Object Model
Views Listed in AOM




                                                     RotoIDs of Views
RotoID is like    Database        The dll file for   you can link to this
the address for   table this View this View          View to share related
the View          maps to         (OEAUDD.dll)       information
System Diagnostic
• What is System Diagnostic?
   •   Generates a log in the c:Windows folder
   •   Log contains Information of the System
   •   Operating System, Environment Variables
   •   Sage 300 ERP Install and Previous Version
   •   Crystal DLL etc.
• How does it benefit you?
   • Compare workstation configurations
   • Information of Install
DBSPY Tool
• Log Window shows when a database link (connection) is
  created
• Shows error when connecting to a database with engine
  specific error code
• Shows operations of each specific link in separate window (if
  created successfully)
• Enhanced logging:
   –   For SQL Server or Oracle
   –   A4W.INI
   –   [A4WSQLS]
   –   Logdetails=271232
DBSPY Tool
DBSPY Tool
• Common functions:
           –   OPEN-TABLE
           –   SELECT
           –   FETCH
           –   Etc.
• Return codes for functions could tell if there is a problem
   – DBS_NO_MORE_DATA
       • No more records to fetch, might not be a problem


   – DBS_NOT_FOUND
       • Cannot find a record requested, could indicate a problem
Database Layer Functions
   •   Common DBSPY functions:

       Function                  Description
       GET                       Retrieves a specified record based on its
                                 key value

       SELECT                    Sets a criteria used for FETCH calls

       FETCH                     Retrieves records based on a specified
                                 criteria

       INSERT                    Adds a record to the database

       UPDATE                    Saves the changes to an existing record
RVSPY Tool
   Records all operations done to the application views:
   • AR Customers, IC Day End, etc.

   • Records 3rd Party Applications

   • Record is Read, Fields Value Retrieved, when updating
     happens

   • Output is nested if one view calls another

   • Can Include DBSPY output to show what database calls
     are made for a particular view call
RVSPY Tool
RVSPY Tool
   • Views are identified by View IDs
      – AP0015: APVEN
         • AP Vendors
      – First 2 characters are always the application prefix so
        you can determine if a view is Sage Accpac’s or a 3rd
        party application
   • Each function has a corresponding return code:
RVSPY Tool
   • Common return codes for functions
      – 0 = success
      – 1 = Warning
      – 1020 = RECORD_NOT_FOUND
      – 1024 = RECORD_INVALID
      – 1026 = RECORD_CONFLICT (Record modified by
        another user)
      – 1041 = TABLE_NOT_FOUND
      – 1120 = KEY_INVALID
View Layer Common Functions
   Function         Description                                     DB Function
   Read             Gets the record specified by a key              GET
   Browse           Sets a criteria used for Fetch calls            SELECT
   Fetch            Retrieves records based on specified criteria   FETCH
   Insert           Inserts the current record                      INSERT
   Update           Updates an existing record                      UPDATE
   Put              Sets the value of a particular field
   Verify           Verify this record follows data rules
   Compose          Link other Views to this one
   Init             Old way of clearing/creating records
   RecordClear      Clears a record of all information

   RecordGenerate   Creates a new record with default key values
Accpac SPY Tool
  • Tracks activity of various components that make up a Sage
    Accpac ERP screen
  • This is layer that user sees and interacts with
  • Use Accpacspy to find debug this layer

  • Screens (UIs) are made up of “Active X controls” including:
      • Text boxes (AccpacFieldControl)
      • Lists/Grids (AccpacViewList / AccpacGrid)
      • Buttons
      • Finders (AccpacFinder)
      • etc.
Accpac SPY Tool
User Interface Controls
              Control                  Description
  AccpacDataSource         The Datasource sends information
                           to an attached View so that it can
                           be processed and saved in the
                           database.
  AccpacFieldEditControl   Text boxes that allow user input.
                           They send the input to an attached
                           Datasource

  AccpacViewList           A table that you can enter entries
                           into and provide information in
                           each cell. This information is sent
                           to an attached Datasource
AccpacFieldEditControl




 AccpacViewList          AccpacDataSource
                         (not visible)
Other Utilities
   • Sysinternals: http://technet.microsoft.com/en-US/sysinternals

   • File and Disk, Network and Process Utilities

   • Process Explorer
       • Find out what files, registry keys and other objects processes have
         open, which DLLs they have loaded, and more.


   • Process Monitor
       • Monitor file system, Registry, process, thread and DLL activity in real-
         time.

Más contenido relacionado

La actualidad más candente

SQL Server Upgrade and Consolidation - Methodology and Approach
SQL Server Upgrade and Consolidation - Methodology and ApproachSQL Server Upgrade and Consolidation - Methodology and Approach
SQL Server Upgrade and Consolidation - Methodology and ApproachIndra Dharmawan
 
SQL Server 2016 Everything built-in FULL deck
SQL Server 2016 Everything built-in FULL deckSQL Server 2016 Everything built-in FULL deck
SQL Server 2016 Everything built-in FULL deckHamid J. Fard
 
SQL Server 2014 New Features
SQL Server 2014 New FeaturesSQL Server 2014 New Features
SQL Server 2014 New FeaturesOnomi
 
AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)Jovan Popovic
 
Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Softchoice Corporation
 
Practical SharePoint 2013 Development Environment
Practical SharePoint 2013  Development EnvironmentPractical SharePoint 2013  Development Environment
Practical SharePoint 2013 Development EnvironmentNetwoven Inc.
 
Sql 2016 - What's New
Sql 2016 - What's NewSql 2016 - What's New
Sql 2016 - What's Newdpcobb
 
Running Oracle EBS in the cloud (UKOUG APPS16 edition)
Running Oracle EBS in the cloud (UKOUG APPS16 edition)Running Oracle EBS in the cloud (UKOUG APPS16 edition)
Running Oracle EBS in the cloud (UKOUG APPS16 edition)Andrejs Prokopjevs
 
AX2012 Technical Track - Infrastructure, Davy Vliegen
AX2012 Technical Track - Infrastructure, Davy VliegenAX2012 Technical Track - Infrastructure, Davy Vliegen
AX2012 Technical Track - Infrastructure, Davy Vliegendynamicscom
 
Microsoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckMicrosoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckGeorge Walters
 
Azure SQL Database Managed Instance - technical overview
Azure SQL Database Managed Instance - technical overviewAzure SQL Database Managed Instance - technical overview
Azure SQL Database Managed Instance - technical overviewGeorge Walters
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQLWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQLContinuent
 
Azure SQL Managed Instance - SqlBits 2019
Azure SQL Managed Instance - SqlBits 2019Azure SQL Managed Instance - SqlBits 2019
Azure SQL Managed Instance - SqlBits 2019Jovan Popovic
 
Optimizing MS Dynamics AX 2012 R3
Optimizing MS Dynamics AX 2012 R3Optimizing MS Dynamics AX 2012 R3
Optimizing MS Dynamics AX 2012 R3Juan Fabian
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceJavier Villegas
 
Maximize Dynamics AX System Performance with a Health Check
Maximize Dynamics AX System Performance with a Health CheckMaximize Dynamics AX System Performance with a Health Check
Maximize Dynamics AX System Performance with a Health CheckStoneridge Software
 
SQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DACSQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DACsqlserver.co.il
 

La actualidad más candente (20)

SQL Server Upgrade and Consolidation - Methodology and Approach
SQL Server Upgrade and Consolidation - Methodology and ApproachSQL Server Upgrade and Consolidation - Methodology and Approach
SQL Server Upgrade and Consolidation - Methodology and Approach
 
SQL Server 2016 Everything built-in FULL deck
SQL Server 2016 Everything built-in FULL deckSQL Server 2016 Everything built-in FULL deck
SQL Server 2016 Everything built-in FULL deck
 
SQL Server 2014 New Features
SQL Server 2014 New FeaturesSQL Server 2014 New Features
SQL Server 2014 New Features
 
AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)
 
Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016
 
Practical SharePoint 2013 Development Environment
Practical SharePoint 2013  Development EnvironmentPractical SharePoint 2013  Development Environment
Practical SharePoint 2013 Development Environment
 
SQL Server 2016 BI updates
SQL Server 2016 BI updatesSQL Server 2016 BI updates
SQL Server 2016 BI updates
 
Sql 2016 - What's New
Sql 2016 - What's NewSql 2016 - What's New
Sql 2016 - What's New
 
Running Oracle EBS in the cloud (UKOUG APPS16 edition)
Running Oracle EBS in the cloud (UKOUG APPS16 edition)Running Oracle EBS in the cloud (UKOUG APPS16 edition)
Running Oracle EBS in the cloud (UKOUG APPS16 edition)
 
AX2012 Technical Track - Infrastructure, Davy Vliegen
AX2012 Technical Track - Infrastructure, Davy VliegenAX2012 Technical Track - Infrastructure, Davy Vliegen
AX2012 Technical Track - Infrastructure, Davy Vliegen
 
Microsoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckMicrosoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deck
 
Azure SQL Database Managed Instance - technical overview
Azure SQL Database Managed Instance - technical overviewAzure SQL Database Managed Instance - technical overview
Azure SQL Database Managed Instance - technical overview
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQLWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
 
Azure SQL Managed Instance - SqlBits 2019
Azure SQL Managed Instance - SqlBits 2019Azure SQL Managed Instance - SqlBits 2019
Azure SQL Managed Instance - SqlBits 2019
 
Exploring sql server 2016
Exploring sql server 2016Exploring sql server 2016
Exploring sql server 2016
 
Optimizing MS Dynamics AX 2012 R3
Optimizing MS Dynamics AX 2012 R3Optimizing MS Dynamics AX 2012 R3
Optimizing MS Dynamics AX 2012 R3
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
 
Manageability Enhancements of SQL Server 2012
Manageability Enhancements of SQL Server 2012Manageability Enhancements of SQL Server 2012
Manageability Enhancements of SQL Server 2012
 
Maximize Dynamics AX System Performance with a Health Check
Maximize Dynamics AX System Performance with a Health CheckMaximize Dynamics AX System Performance with a Health Check
Maximize Dynamics AX System Performance with a Health Check
 
SQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DACSQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DAC
 

Destacado

Difference between sage erp 300 standard and sage erp 300 advanced
Difference between sage erp 300 standard and sage erp 300 advancedDifference between sage erp 300 standard and sage erp 300 advanced
Difference between sage erp 300 standard and sage erp 300 advancedStuart Braud
 
Sage 300 What's new?
Sage 300 What's new?Sage 300 What's new?
Sage 300 What's new?Mantralogix
 
Live Webinar: E2E Transition to Net@Work & Sage 300 ERP (Accpac) Tips & Tricks
Live Webinar: E2E Transition to Net@Work & Sage 300 ERP (Accpac) Tips & TricksLive Webinar: E2E Transition to Net@Work & Sage 300 ERP (Accpac) Tips & Tricks
Live Webinar: E2E Transition to Net@Work & Sage 300 ERP (Accpac) Tips & TricksNet at Work
 
Asyma E3 2012 - Sage 300 ERP 2012 - Emerging Trends - Jamie Kandola
Asyma E3 2012 - Sage 300 ERP 2012  - Emerging Trends - Jamie KandolaAsyma E3 2012 - Sage 300 ERP 2012  - Emerging Trends - Jamie Kandola
Asyma E3 2012 - Sage 300 ERP 2012 - Emerging Trends - Jamie Kandolaasyma
 
SEvoOverview_brochure April 2016
SEvoOverview_brochure April 2016SEvoOverview_brochure April 2016
SEvoOverview_brochure April 2016Elena Papayianni
 
Sage Accpac Roadmap January 2010
Sage Accpac Roadmap   January 2010Sage Accpac Roadmap   January 2010
Sage Accpac Roadmap January 2010athomsonsf
 
Measuring the ROI/Value of your ERP
Measuring the ROI/Value of your ERPMeasuring the ROI/Value of your ERP
Measuring the ROI/Value of your ERPSYSPRO
 
Sage ERP X3 Version 7 Overview
Sage ERP X3 Version 7 OverviewSage ERP X3 Version 7 Overview
Sage ERP X3 Version 7 OverviewTGO Consulting
 
NetSuite and Sage ERP X3 Solution Spotlight
NetSuite and Sage ERP X3 Solution SpotlightNetSuite and Sage ERP X3 Solution Spotlight
NetSuite and Sage ERP X3 Solution SpotlightBlytheco
 
Présentation Sage Erp X3
Présentation Sage Erp X3Présentation Sage Erp X3
Présentation Sage Erp X3Alexis Noal
 
Sage ERP X3 Technology & Architecture Review
Sage ERP X3 Technology & Architecture ReviewSage ERP X3 Technology & Architecture Review
Sage ERP X3 Technology & Architecture ReviewNet at Work
 
Procure-to-Pay Process Framework
Procure-to-Pay Process FrameworkProcure-to-Pay Process Framework
Procure-to-Pay Process FrameworkScottMadden, Inc.
 
Optimize the Employee Lifecycle
Optimize the Employee LifecycleOptimize the Employee Lifecycle
Optimize the Employee LifecycleDelphiaLLC
 
ERP Chapter 1 : Business functions and business processes
ERP Chapter 1 : Business functions and business processesERP Chapter 1 : Business functions and business processes
ERP Chapter 1 : Business functions and business processesRey-an Baricanosa
 

Destacado (19)

Difference between sage erp 300 standard and sage erp 300 advanced
Difference between sage erp 300 standard and sage erp 300 advancedDifference between sage erp 300 standard and sage erp 300 advanced
Difference between sage erp 300 standard and sage erp 300 advanced
 
Sage 300 What's new?
Sage 300 What's new?Sage 300 What's new?
Sage 300 What's new?
 
Live Webinar: E2E Transition to Net@Work & Sage 300 ERP (Accpac) Tips & Tricks
Live Webinar: E2E Transition to Net@Work & Sage 300 ERP (Accpac) Tips & TricksLive Webinar: E2E Transition to Net@Work & Sage 300 ERP (Accpac) Tips & Tricks
Live Webinar: E2E Transition to Net@Work & Sage 300 ERP (Accpac) Tips & Tricks
 
Asyma E3 2012 - Sage 300 ERP 2012 - Emerging Trends - Jamie Kandola
Asyma E3 2012 - Sage 300 ERP 2012  - Emerging Trends - Jamie KandolaAsyma E3 2012 - Sage 300 ERP 2012  - Emerging Trends - Jamie Kandola
Asyma E3 2012 - Sage 300 ERP 2012 - Emerging Trends - Jamie Kandola
 
Al 2012 Sage 300 ERP Roadmap
Al 2012 Sage 300 ERP RoadmapAl 2012 Sage 300 ERP Roadmap
Al 2012 Sage 300 ERP Roadmap
 
Sage 300 ERP (formerly Sage ERP Accpac) - Triad Software Services
Sage 300 ERP (formerly Sage ERP Accpac) - Triad Software ServicesSage 300 ERP (formerly Sage ERP Accpac) - Triad Software Services
Sage 300 ERP (formerly Sage ERP Accpac) - Triad Software Services
 
SEvoOverview_brochure April 2016
SEvoOverview_brochure April 2016SEvoOverview_brochure April 2016
SEvoOverview_brochure April 2016
 
Sage Accpac Roadmap January 2010
Sage Accpac Roadmap   January 2010Sage Accpac Roadmap   January 2010
Sage Accpac Roadmap January 2010
 
Measuring the ROI/Value of your ERP
Measuring the ROI/Value of your ERPMeasuring the ROI/Value of your ERP
Measuring the ROI/Value of your ERP
 
Sage ERP X3 Version 7 Overview
Sage ERP X3 Version 7 OverviewSage ERP X3 Version 7 Overview
Sage ERP X3 Version 7 Overview
 
Sage ERP X3, The Evolution Unleashed
Sage ERP X3, The Evolution UnleashedSage ERP X3, The Evolution Unleashed
Sage ERP X3, The Evolution Unleashed
 
NetSuite and Sage ERP X3 Solution Spotlight
NetSuite and Sage ERP X3 Solution SpotlightNetSuite and Sage ERP X3 Solution Spotlight
NetSuite and Sage ERP X3 Solution Spotlight
 
Présentation Sage Erp X3
Présentation Sage Erp X3Présentation Sage Erp X3
Présentation Sage Erp X3
 
ERP project
ERP projectERP project
ERP project
 
Sage ERP X3 Technology & Architecture Review
Sage ERP X3 Technology & Architecture ReviewSage ERP X3 Technology & Architecture Review
Sage ERP X3 Technology & Architecture Review
 
Procure-to-Pay Process Framework
Procure-to-Pay Process FrameworkProcure-to-Pay Process Framework
Procure-to-Pay Process Framework
 
Optimize the Employee Lifecycle
Optimize the Employee LifecycleOptimize the Employee Lifecycle
Optimize the Employee Lifecycle
 
Order to cash cycle
Order to cash cycleOrder to cash cycle
Order to cash cycle
 
ERP Chapter 1 : Business functions and business processes
ERP Chapter 1 : Business functions and business processesERP Chapter 1 : Business functions and business processes
ERP Chapter 1 : Business functions and business processes
 

Similar a Sage 300 ERP: Technical Tour of Diagnostic Tools

Access Data from XPages with the Relational Controls
Access Data from XPages with the Relational ControlsAccess Data from XPages with the Relational Controls
Access Data from XPages with the Relational ControlsTeamstudio
 
Rajnish singh(presentation on oracle )
Rajnish singh(presentation on  oracle )Rajnish singh(presentation on  oracle )
Rajnish singh(presentation on oracle )Rajput Rajnish
 
DataBase Management systems (IM).pptx
DataBase Management systems (IM).pptxDataBase Management systems (IM).pptx
DataBase Management systems (IM).pptxGooglePay16
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platformgiventocode
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsZohar Elkayam
 
Database Fundamental Concepts- Series 1 - Performance Analysis
Database Fundamental Concepts- Series 1 - Performance AnalysisDatabase Fundamental Concepts- Series 1 - Performance Analysis
Database Fundamental Concepts- Series 1 - Performance AnalysisDAGEOP LTD
 
Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.Serhii Kartashov
 
An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1Navneet Upneja
 
Efficient working with Databases in LabVIEW - Sam Sharp (MediaMongrels Ltd) -...
Efficient working with Databases in LabVIEW - Sam Sharp (MediaMongrels Ltd) -...Efficient working with Databases in LabVIEW - Sam Sharp (MediaMongrels Ltd) -...
Efficient working with Databases in LabVIEW - Sam Sharp (MediaMongrels Ltd) -...MediaMongrels Ltd
 
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...Databricks
 
Remote DBA Experts SQL Server 2008 New Features
Remote DBA Experts SQL Server 2008 New FeaturesRemote DBA Experts SQL Server 2008 New Features
Remote DBA Experts SQL Server 2008 New FeaturesRemote DBA Experts
 
Azure Synapse Analytics Overview (r2)
Azure Synapse Analytics Overview (r2)Azure Synapse Analytics Overview (r2)
Azure Synapse Analytics Overview (r2)James Serra
 
Data Handning with Sqlite for Android
Data Handning with Sqlite for AndroidData Handning with Sqlite for Android
Data Handning with Sqlite for AndroidJakir Hossain
 

Similar a Sage 300 ERP: Technical Tour of Diagnostic Tools (20)

Access Data from XPages with the Relational Controls
Access Data from XPages with the Relational ControlsAccess Data from XPages with the Relational Controls
Access Data from XPages with the Relational Controls
 
Rajnish singh(presentation on oracle )
Rajnish singh(presentation on  oracle )Rajnish singh(presentation on  oracle )
Rajnish singh(presentation on oracle )
 
DataBase Management systems (IM).pptx
DataBase Management systems (IM).pptxDataBase Management systems (IM).pptx
DataBase Management systems (IM).pptx
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platform
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
 
ow.ppt
ow.pptow.ppt
ow.ppt
 
ow.ppt
ow.pptow.ppt
ow.ppt
 
Ow
OwOw
Ow
 
Database Fundamental Concepts- Series 1 - Performance Analysis
Database Fundamental Concepts- Series 1 - Performance AnalysisDatabase Fundamental Concepts- Series 1 - Performance Analysis
Database Fundamental Concepts- Series 1 - Performance Analysis
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
 
Plantilla oracle
Plantilla oraclePlantilla oracle
Plantilla oracle
 
Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.
 
An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1
 
6232 b 04
6232 b 046232 b 04
6232 b 04
 
Efficient working with Databases in LabVIEW - Sam Sharp (MediaMongrels Ltd) -...
Efficient working with Databases in LabVIEW - Sam Sharp (MediaMongrels Ltd) -...Efficient working with Databases in LabVIEW - Sam Sharp (MediaMongrels Ltd) -...
Efficient working with Databases in LabVIEW - Sam Sharp (MediaMongrels Ltd) -...
 
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
 
Taming the shrew Power BI
Taming the shrew Power BITaming the shrew Power BI
Taming the shrew Power BI
 
Remote DBA Experts SQL Server 2008 New Features
Remote DBA Experts SQL Server 2008 New FeaturesRemote DBA Experts SQL Server 2008 New Features
Remote DBA Experts SQL Server 2008 New Features
 
Azure Synapse Analytics Overview (r2)
Azure Synapse Analytics Overview (r2)Azure Synapse Analytics Overview (r2)
Azure Synapse Analytics Overview (r2)
 
Data Handning with Sqlite for Android
Data Handning with Sqlite for AndroidData Handning with Sqlite for Android
Data Handning with Sqlite for Android
 

Último

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Último (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

Sage 300 ERP: Technical Tour of Diagnostic Tools

  • 1. Sage 300 ERP Technical Tour of Diagnostic Tools
  • 2. Introduction • Peter Singh Customer Support Specialist • This session will provide details on tools for Monitoring, Tuning, Diagnosing, Creating. Editing, Debugging, and Reporting for Sage 300 ERP databases. • Follow Sage 300 ERP Customer Support: @sage300erpcs • Sage 300 ERP Community: http://community.sageaccpac.com/ • Follow me on Twitter: <https://twitter.com/#!/sinpa01
  • 3. Agenda • Sage 300 ERP Architecture • Application Object Model & UI Info • System Diagnostic • Spy Tools • Other Utilities • Q&A
  • 4. Sage 300 ERP Architecture • Sage 300 ERP uses a “3-tiered layered architecture” • Meaning 3 distinct layers that interact with each other: • Screens for the user to interact with Sage 300 ERP User Interface • Business Logic to calculate values Views • Provides access to the underlying Data Database
  • 5. Sage 300 ERP Architecture • Database Layer • Sage 300 ERP just saves and retrieves data to/from the Database • Layer just abstracts (hides unnecessary details) • View layer uses this layer to talk to the database
  • 6. Sage 300 ERP Architecture • View Layer • A “View” is an specific term for the module of business logic that maps to a database table • Think of like a “black box” that gets input, processes it, and then outputs it input View output Cost = $10.00 (Processing) Tax = $1.20
  • 7. Application Object Model • What is the Application Object Model? • Is a complete comprehensive structure of data dictionary • This doesn’t tell you how the tables are related or how data flows from one table to another as you post various transactions • Where Can I find the Application Object Model? • Application Object Model can be found on Sage Portal • Knowledge Base #210-30254 • UI Info Utility • How can the Application Object Model Help You? • Provides information on the fields included in Views/Tables • Shows which Views are related
  • 9. Views Listed in AOM RotoIDs of Views RotoID is like Database The dll file for you can link to this the address for table this View this View View to share related the View maps to (OEAUDD.dll) information
  • 10. System Diagnostic • What is System Diagnostic? • Generates a log in the c:Windows folder • Log contains Information of the System • Operating System, Environment Variables • Sage 300 ERP Install and Previous Version • Crystal DLL etc. • How does it benefit you? • Compare workstation configurations • Information of Install
  • 11. DBSPY Tool • Log Window shows when a database link (connection) is created • Shows error when connecting to a database with engine specific error code • Shows operations of each specific link in separate window (if created successfully) • Enhanced logging: – For SQL Server or Oracle – A4W.INI – [A4WSQLS] – Logdetails=271232
  • 13. DBSPY Tool • Common functions: – OPEN-TABLE – SELECT – FETCH – Etc. • Return codes for functions could tell if there is a problem – DBS_NO_MORE_DATA • No more records to fetch, might not be a problem – DBS_NOT_FOUND • Cannot find a record requested, could indicate a problem
  • 14. Database Layer Functions • Common DBSPY functions: Function Description GET Retrieves a specified record based on its key value SELECT Sets a criteria used for FETCH calls FETCH Retrieves records based on a specified criteria INSERT Adds a record to the database UPDATE Saves the changes to an existing record
  • 15. RVSPY Tool Records all operations done to the application views: • AR Customers, IC Day End, etc. • Records 3rd Party Applications • Record is Read, Fields Value Retrieved, when updating happens • Output is nested if one view calls another • Can Include DBSPY output to show what database calls are made for a particular view call
  • 17. RVSPY Tool • Views are identified by View IDs – AP0015: APVEN • AP Vendors – First 2 characters are always the application prefix so you can determine if a view is Sage Accpac’s or a 3rd party application • Each function has a corresponding return code:
  • 18. RVSPY Tool • Common return codes for functions – 0 = success – 1 = Warning – 1020 = RECORD_NOT_FOUND – 1024 = RECORD_INVALID – 1026 = RECORD_CONFLICT (Record modified by another user) – 1041 = TABLE_NOT_FOUND – 1120 = KEY_INVALID
  • 19. View Layer Common Functions Function Description DB Function Read Gets the record specified by a key GET Browse Sets a criteria used for Fetch calls SELECT Fetch Retrieves records based on specified criteria FETCH Insert Inserts the current record INSERT Update Updates an existing record UPDATE Put Sets the value of a particular field Verify Verify this record follows data rules Compose Link other Views to this one Init Old way of clearing/creating records RecordClear Clears a record of all information RecordGenerate Creates a new record with default key values
  • 20. Accpac SPY Tool • Tracks activity of various components that make up a Sage Accpac ERP screen • This is layer that user sees and interacts with • Use Accpacspy to find debug this layer • Screens (UIs) are made up of “Active X controls” including: • Text boxes (AccpacFieldControl) • Lists/Grids (AccpacViewList / AccpacGrid) • Buttons • Finders (AccpacFinder) • etc.
  • 22. User Interface Controls Control Description AccpacDataSource The Datasource sends information to an attached View so that it can be processed and saved in the database. AccpacFieldEditControl Text boxes that allow user input. They send the input to an attached Datasource AccpacViewList A table that you can enter entries into and provide information in each cell. This information is sent to an attached Datasource
  • 23. AccpacFieldEditControl AccpacViewList AccpacDataSource (not visible)
  • 24. Other Utilities • Sysinternals: http://technet.microsoft.com/en-US/sysinternals • File and Disk, Network and Process Utilities • Process Explorer • Find out what files, registry keys and other objects processes have open, which DLLs they have loaded, and more. • Process Monitor • Monitor file system, Registry, process, thread and DLL activity in real- time.
  • 25. Questions: • Presenter Contact Information: – Peter Singh – Peter.Singh@sage.com • Follow us on Twitter: @Sage300ERPCS Thank you for your participation.