© 2015-2024. MindStreamAnalytics.com

Blog:

Vistas de tabla: habilitación de la reescritura

En un blog anterior describí los pasos para recuperar datos en un Panel usando una Vista de tabla y un componente de Hoja de cálculo. ¿Qué sucede si necesita volver a escribir datos en una tabla relacional (incluso podría escribir volver al cubo, sin embargo, ese será el tema de otro blog) ¿usando una vista de tabla y un componente de hoja de cálculo? La vista de tabla en este ejemplo se llama "TableView_Demo" y se basa en una vista personalizada. tabla relacional llamada “XFC_TableView_Demo” y tiene 2 columnas de datos, Cuenta y Monto. Los datos terminados de la Vista de tabla en el componente Hoja de cálculo del Panel se verán como en la siguiente captura de pantalla. Tenga en cuenta que en este ejemplo no paso ningún parámetro.

vista de tabla onestream

Ya creé un componente de hoja de cálculo y le agregué la vista de tabla. Observe que en este ejemplo estoy ocultando la cinta de la hoja de cálculo y la barra de fórmulas.

panel de la aplicación onestream regla comercial de vista de tabla onestream

Agregué un botón al Panel que guarda la hoja de cálculo y la actualiza. La acción de guardar llama a la sección SpreadsheetFunctionType.SaveTableView de la regla comercial de hoja de cálculo y busca el nombre de la vista de tabla que se guarda.

componentes onestream

Estos son los pasos para habilitar la reescritura usando una vista de tabla.

  • 1. El primer paso está en su código anterior, donde configura la Vista de tabla que se muestra en su componente de hoja de cálculo, debe configurar la propiedad "CanModifyData" del objeto Vista de tabla a “Verdadero”. Si no realiza este paso, no podrá habilitar la reescritura. onestream crea código de vista de tabla
  • 2. Además, agregué 2 líneas de código a la creación de la Vista de tabla que agregan líneas en blanco a la vista de tabla y las formatean en azul claro. Estas son las líneas donde un usuario puede agregar datos adicionales a la tabla. ver y posteriormente guardar los datos en la tabla relacional. objeto de vista de tabla onestream
  • 3. Luego agrego la siguiente sección de código a la sección SpreadsheetFunctionType.SaveTableView de la regla comercial de hoja de cálculo. Esta sección se llama cuando se guarda el componente de hoja de cálculo. Aviso que he usado el nombre de mi Vista de tabla que se encuentra en el componente Hoja de cálculo del Panel. demostración de vista de tabla onestream
  • 4. Configuré las variables que contendrán las columnas de Tableview y los valores en esas columnas y filas. guardado de demostración de vista de tabla onestream
  • 5. Cree una conexión a la base de datos de la aplicación. onestream crea conexión de base de datos
  • 6. Ahora recorra cada fila en la Vista de tabla. Evalúe el nombre de la columna, cargando el valor de la columna y la fila en la variable de cadena y la columna en la variable de columna. La variable de columna se utiliza para evaluar si la celda está sucia o no, una característica de la Vista de tabla. Si la celda está sucia (tiene datos actualizados), al utilizar una instrucción SQL, los valores se vuelven a escribir en la aplicación relacional personalizada. Mesa. fila de vista de tabla onestream onestream sql para escribir tabla

Tenga en cuenta que no existe ninguna lógica de manejo de errores en este ejemplo. Sin embargo, durante este paso, puede evaluar los valores en la vista de tabla usando código y realizar diferentes acciones según los valores. Tú incluso podría dividir los valores de retorno de la vista de tabla y escribirlos nuevamente en diferentes tablas relacionales, incluso diferentes de las que recuperó originalmente. Para un cliente lo configuré para no solo volver a escribir en una tabla relacional sino también escribir datos en el cubo. La única limitación aquí es tu imaginación.

Aquí está el código final completo.

onestream habilitar reescritura

Partner SpotLight

OneStream aligns to your business needs and changes more quickly and easily than any other product by offering one platform and one model for all financial CPM solutions. OneStream employs Guided Workflows, validations and flexible mapping to deliver data quality confidence for all collections and analysis while reducing risk throughout the entire auditable financial process.

OneStream Profile

Our Company

MindStream Analytics' senior staff was there at the birth of Business Intelligence. We have been part of building Business Intelligence nationally from its humble niche product status to the ubiquitous analytic tool that it is today. MindStream consultants are well versed in reporting and information management and are ready to help you leverage the power of multiple tier-1vendors. From Oracle Hyperion to IBM Cognos, we can help you select and integrate the right tools for you to better understand your information. MindStream Analytics has experience across a wide variety of industries: Business Services, Consumer Products, Energy, Financial Services, Healthcare, Manufacturing, Transportation , and Telecommunication. We have the depth and breadth of experience to help you deliver actionable information to users.

Whether you need an enterprise wide Oracle BI Enterprise Edition (OBIEE) rollout, an Oracle BI Apps rollout, or an IBM Cognos ReportNet rollout, MindStream Analytics is here to help you succeed.

Case Studies

Accumen

Thanks to the intervention of MindStream Analytics, Accumen's Finance department can now model their business with a new, more organized structure that isn't conventionally available in NetSuite.

Acme Brick

Acme Brick turned to MindStream Analytics for help implementing OneStream to replace their outdated TM1 solution.

Alterra

Alterra sought the expertise of MindStream to address the challenges they faced in their Capital Planning process.

ATCO Group

Energy conglomerate ATCO operates worldwide in utilities, power generation, and related services.

Avalon

Working with MindStream Analytics, Avalon Healthcare Solutions adopts NetSuite Planning and Budgeting to accelerate budgeting and forecasting processes.

Bayer Health Care

Bayer Healthcare implemented Hyperion Planning and Workforce Planning in 10 weeks to dramatically streamline their Income Statement budget and Workforce Planning process..

BluEarth

MindStream Analytics' partnership with BluEarth Renewables epitomizes the power of technology and collaboration.

Celgene

An Oracle Hyperion Planning Upgrade provides multi-national organization Hyperion Application optimization and stabilization.

Cleaver Brooks

OneStream XF was chosen as the platform that would transform Cleaver-Brooks' Finance processes.

CoorsTek

The collaboration between CoorsTek and MindStream resulted in significant improvements in CoorsTek's financial consolidation and reporting processes.

Elite Body Sculpture

MindStream Analytics' collaboration with Elite Body Sculpture encapsulates the transformative potential of targeted tech solutions in streamlining administrative processes.

Enlyte

Enlyte, a merger of Mitchell, Genex, and Coventry, faced challenges with disparate financial solutions and the need for combined reporting.

Flanders

MindStream Analytics collaborated with Flanders to implement OneStream Consolidation and Reporting solution.

Foley Products

Foley Products was facing a significant challenge with its Excel-based actual management reporting system.

Harte Hanks

The collaboration between MindStream Analytics and Harte Hanks culminated in a highly customized, user-friendly NetSuite implementation.

Interface

Interface used a complex, manual, excel-based FP&A process for monthly review, and the summary data was loaded in OneStream.

Kymera International

Thanks to Mindstream Analytics' assistance, Kymera was able to load all of their data into OneStream and validate it successfully.

MacLean Fogg

MacLean-Fogg partnered with MindStream, a leading implementor specializing in modernizing and optimizing enterprise systems.

MEPPI

MindStream's expertise and experience were sought to conduct a vendor selection initiative focusing on MEPPI's F2023 planning process.

OUAI

MindStream Analytics and OUAI's collaboration showcases the transformative power of strategic technological intervention.

Plaskolite

By migrating to OneStream, Plaskolite has achieved a material reduction in consolidation time and overall Financial Close cycle, eliminated the hours spent compiling and verifying data in Excel, streamlined its Planning, Budgeting and Forecasting model and delivered flexible and timely reporting that enables more strategic analysis of their financial data.

Redwire

Understanding the nuances of Redwire's challenges, MindStream Analytics devised a holistic approach to overcome them. The implementation of NetSuite was just the beginning.

Simon

Simon's existing corporate Hyperion Financial Management (HFM) production application was consolidating at a rate of seven hours, a performance issue causing great headache to corporate Accounting.

Source Code

The successful transition to OneStream revolutionized Source Code's financial reporting.

Subway

Subway collaborated with MindStream Analytics for the NetSuite Analytics Warehouse implementation.

UPenn

MindStream Consulting and AppCare team members are proud be working side by side with UPenn university in accomplishing this implementation and along with continuing our AppCare services after go-live.

USG

USG was an Oracle Hyperion customer realizing that it needed more specialized support for its various Oracle Hyperion applications.

Vantiv

Dividing a hyperion planning application, expanding the hyperion footprint to forecast on the business? Customer categories.

Versant Health

Versant Health engaged MindStream to help resolve the challenges they were experiencing with their consolidation, close, and financial reporting processes.

Virginia Spaceport Authority

The MindStream team implemented the Standard + Workforce NetSuite Planning & Budgeting.

WeWork

MindStream Analytics determined that the best solution was to implement Oracle Essbase Cloud as part of the Oracle Analytics Cloud (OAC) platform-as-a-service

WindStream

Innovative use of essbase to streamline and connect hyperion financial management for enhanced financial analysis.

XY Planning

MindStream Analytics, well-versed in addressing such challenges, presented a comprehensive Netsuite solution for XY Planning.

Related Links