IFS Cloud: How to Extract Data Directly From a Table
ifs cloud extract data directly from table
Also searched as
- ifs cloud read database tables
- ifs cloud sql access oracle views
- ifs cloud export data to data warehouse
Short answer
In IFS Cloud you can read data from the Oracle database only if your hosting model gives you database access, and even then you should read the views, not the underlying _TAB tables, and never write to them. For most reporting, use OData projections, information sources or a managed data feed instead of direct SQL.
Applies to: IFS Cloud (and IFS Applications 10 lineage). Direct database access is generally unavailable on IFS Managed Cloud and possible on customer-hosted or on-prem installs.
How to extract IFS Cloud data safely
- 1Decide whether you truly need SQL. If the data is already exposed by a projection (OData), use that; it applies security and business logic for you.
- 2Find the entity in the application first: the page you see in Aurena maps to a logical unit (LU), which maps to a view named after the LU and a _TAB base table.
- 3Prefer the LU view (for example the CUSTOMER_ORDER_LINE view) over the CUSTOMER_ORDER_LINE_TAB table. Views translate stored codes into client values and include some derived columns.
- 4If you are customer-hosted, ask the DBA for a dedicated read-only schema or user with SELECT granted on the needed views, not on the application owner schema.
- 5Run extracts against a replica, standby or off-peak window; large scans on the production database slow online users.
- 6For incremental loads, pick a reliable change column (a rowversion or modified-date column on the table) and test that it changes on every update.
- 7For managed cloud, use projections or the vendor's supported data and analytics feed instead of asking for database credentials.
- 8Document every extract: source view, filters, schedule, owner. Re-test after each IFS update because view definitions can change.
Tables, views and why the difference matters
IFS stores business data in tables whose names end in _TAB, wrapped by views and by PL/SQL APIs (named with an _API suffix). Application logic, validation and security run through the APIs, so inserting or updating a _TAB directly can corrupt state that the application assumes is consistent.
Reading is far lower risk than writing, but views are still the better contract. Table structures can change between updates; the published projection or view is the thing IFS tries to keep stable.
Supported options in order of preference
First choice is the OData projections used by Aurena. They are versioned, secured by permission sets and suitable for integrations and BI tools that speak OData. Throttle page sizes and use filters; do not try to export millions of rows through a single call.
Second is information sources and the reporting tools shipped with IFS, which respect the same security. Third, for warehouse-scale needs, use a data and analytics feed that IFS offers for your edition, or a read replica and a read-only schema on customer-hosted systems.
-- Read-only extract from a view (customer-hosted only; schema name varies) SELECT order_no, line_no, catalog_no, buy_qty_due FROM customer_order_line WHERE rowversion > :last_extract_ts;
Governance and licensing
Direct database access can fall outside your support and licence terms, and it bypasses the row-level and field-level security you configured in IFS. Check your contract before building a pipeline on it.
If sensitive data (export-controlled drawings, personal data) is in the system, an extract can silently widen who can see it. Apply the same classification to the extract as to the source.
Try it here, free
IFS Cloud Projection OData URL Builder
Fill in host, realm, projection and entity set to generate the token request and a ready OData GET URL for IFS Cloud projections.
Common pitfalls
- !Writing to _TAB tables directly; it bypasses validation and can corrupt dependent state.
- !Reading the application owner schema with a shared admin account instead of a dedicated read-only user.
- !Building incremental loads on a column that is not updated by every code path.
- !Large full-table scans on the production database during working hours.
- !Forgetting that a managed cloud contract may forbid direct database access altogether.
How an ERP-grounded AI assistant handles this
Instead of extracting tables to a separate warehouse just to answer questions, a grounded assistant can query IFS through the supported interfaces with the user's own security, show the query it ran and return the answer. Netray deploys that layer on private models beside the IFS installation, read-only by default, so you avoid building and maintaining a shadow copy of the data for ad hoc needs.
Frequently asked questions
Can I connect Power BI or another BI tool directly to IFS Cloud tables?
On customer-hosted databases it is technically possible against views, but it bypasses IFS security and may affect support. On managed cloud it is generally not available. Use OData projections or a supported data feed for BI.
What is the difference between a _TAB table and a view in IFS?
The _TAB holds the stored data; the view of the same logical unit adds translated values and derived columns. The _API package is the supported way to change data. Read from views, write through the application.
How do I find which table holds a given field?
Identify the page, then the logical unit behind it (the client shows it in the field and page details), and look up that LU's view and table in the database dictionary. Customisations may add custom-field tables.
Is it safe to update an IFS table with SQL?
No. Updates should go through the application or its APIs so validation, history and dependent records stay consistent. Direct updates are a common cause of support incidents.
Related
IFS Cloud OData Projection API: Fixing 401 and 403 Errors
IFS Cloud exposes its data through OData v4 projections under /main/ifsapplications/projection/v1/, secured by OAuth2 tokens from IFS IAM. A 401 almost always means the token is missing, expired or issued by the wrong realm; a 403 means the identity is authenticated but its permission sets do not grant that projection or its entity actions.
How-toHow to Create a Custom Lobby Page in IFS Cloud
An IFS Cloud lobby page is a personal or shared dashboard built from elements such as lists, charts, gauges and shortcuts. Each data element reads from an information source, so the usual build path is to define or reuse an information source, add an element in the lobby designer, bind it, and then share the page with the right users.
AdvancedReporting in CloudSuite Industrial Multi-Tenant Without Direct SQL Access
When a multi-tenant CloudSuite Industrial tenant does not expose its SQL Server, replace direct queries with three supported patterns: IDO-based reports and the IDO REST service for operational reads, Infor reporting tools for standard documents, and data lake extracts for analytics and history. Choose by freshness and volume: REST for small, current reads, the data lake for large, historical or cross-system analysis.
Error fixIFS Cloud: Unable to Save, Internal Server Error and Quick Report Problems
In IFS Cloud a save failure or internal server error is almost always a server-side exception returned through the projection the page calls. Read the error detail, reproduce it in the browser network tab, then check the middleware and database logs for the real cause, which is typically a business rule, a missing permission, a bad customization or a stale cache. Quick Report problems are usually a missing permission grant or mismatched bind parameters.
How-toIFS Cloud Workflow Example, External File Templates, Update Analyzer and PO Status
Treat IFS Cloud configuration as a set of building blocks: workflows or business events to react to changes, external file templates to load or send flat files, an update analysis step to check what a release will touch in your customizations, and the supported database views for reading data such as purchase order status. This page shows how each fits together with a worked approval example.
How-toIFS Cloud Report Designer, Quick Reports and Crystal Reports: Which to Use
IFS Cloud has several reporting routes. Use Quick Reports for fast read-only lists of data, the report designer route for formatted operational documents such as order confirmations and pick lists, legacy Crystal-based layouts only where you already have them, and the analytical tools for dashboards. Report rules then control when and how a report is produced and sent.
AI for ERPAI for IFS Cloud Project Management: Cost, Schedule and Forecast Questions Answered
Private AI on IFS Cloud projects: ask about budget versus actual, activities, milestones, forecasts and project material in plain English, read-only.
AI for ERPAI for IFS Cloud in aerospace and defense manufacturing
Add AI to IFS Cloud for aerospace and defense: projections, Aurena UX, Lobby, and engineer-to-order data, deployed on-prem or in your private cloud.
Stuck on IFS Cloud?
Talk to engineers who work inside IFS Cloud every week, and who build private AI that answers these questions from your own ERP data.
Keep exploring
Free tools
- IFS Cloud Projection OData URL BuilderFill in host, realm, projection and entity set to generate the token request and a ready OData GET URL for IFS Cloud projections.
- IFS Applications 10 Private AI Layer Blueprint GeneratorGenerate an architecture plan for a private AI assistant on on-prem IFS Applications 10: Oracle read-only copy, logical unit views, IFS Connect and projections, local GPU model, permissions and audit.
- IFS Cloud Upgrade Test ChecklistA grouped test checklist for IFS release updates and upgrades covering environments, core processes, integrations, reports, security and sign-off.
ERP fixes and how-tos
- IFS Cloud Power BI Integration Using OData ProjectionsHow to connect IFS Cloud to Power BI using OData projections, which authentication to use, and how to avoid slow reports and overloading the ERP database.
- IFS Cloud Integration Options: Projections, Connect, Events and a MES ExampleCompare IFS Cloud integration options: projections and OData, IFS Connect, business events and workflows, with a worked MES integration example.
- IFS Cloud REST API Documentation: Projections, OData and How to Explore ThemWhere IFS Cloud API documentation lives, how projections and OData work, and how to explore endpoints in your own environment with metadata and filters.
Guides
- SyteLine IFS Framework Development GuideComplete guide to SyteLine IFS framework development. Form architecture, grid components, IDO binding, and IFS best practices for developers.
- SyteLine Data Views Optimization GuideOptimize SyteLine data views for peak performance. SQL tuning, index strategies, and view architecture for faster CloudSuite Industrial queries.
- How to Set Up Data Views for Reporting in SyteLineLearn how to create and optimize SQL data views in Infor SyteLine for reporting, providing pre-joined datasets for Crystal Reports, SSRS, and Power BI.
AI on your ERP
- IFS Field Service Management AI Integration: Private AI on IFS Cloud Service DataAI for IFS Field Service Management: service requests, work tasks, agreements and technician data via IFS Cloud APIs, joined to parts and finance. On-prem.
- AI for IFS Cloud in aerospace and defense manufacturingAdd AI to IFS Cloud for aerospace and defense: projections, Aurena UX, Lobby, and engineer-to-order data, deployed on-prem or in your private cloud.
Integrations
- How to use ChatGPT with IFS CloudHow to use ChatGPT with IFS Cloud: custom GPT actions over OData, exports versus live access, enterprise data controls, and when a private model is safer.
- How to connect Power BI to IFS CloudHow to connect Power BI to IFS Cloud: OData projections, a reporting database or warehouse, on-prem gateway, key dashboards and natural language Q&A on top.
Software
- IFS CloudIndependent guide to IFS Cloud, the ERP and enterprise asset and service platform: modules, integration options, limitations, alternatives and AI use cases.
- IFS Field Service ManagementIFS Field Service Management covers service orders, scheduling optimisation and mobile work within IFS Cloud. Modules, integrations, AI uses and alternatives.