Modelo de Datos Softland Modulo de Contabilidad

Muchos profesionales necesitan el Modelo de Datos Softland. Por otro lado, hay necesidades tales como reportería o integración con Softland. Este modelo está escasamente documentado en la web. Lo que a continuación mostramos es un pequeño modelo de las tablas fundamentales del Modulo Contabilidad y Presupuesto de Softland.

Modelo de Datos Softland Contabilidad y Presupuestos

Modelo de Datos Softland
Modelo de Datos Softland

Explicación del Modelo

El modelo de Comprobante es el típico patrón de documento Master-Detail, donde la Tabla cabecera (CWCPBTE) identifica al documento y la tabla CWMOVIM expresa el detalle del documento.  La tabla de detalle CWMOVIM recibe foreign key de tablas maestras que califican la naturaleza del detalle, como son CWPCTAS (Cuenta Contable) y CWTCCOS (Centro de Costos). El modelo muestra relaciones opcionales que son obligatorias para ciertos tipos de cuentas presentes en la tabla CWMOVIM. Estas relaciones son CWMOVIM --- CWTAUXI, donde la tabla CWTAUXI contiene las personas naturales o jurídicas que son necesarias identificar por la naturaleza del movimiento. Por ejemplo, una venta, necesariamente debe identificar la cuenta de CLIENTES, y es necesario identificar quien es el Cliente, el cual se encuentra en el Auxiliar. Hay otras tablas involucradas en el modelo de Softland, pero que no trataremos en este artículo de divulgación básico.

Oracle 18C express Edition. Como conectarse a la PDB xepdb1 y desbloquear usuario HR

1. Se abre una consola de comandos Windows
2. Se ejecuta :

C:\Users\fmanriquezo> sqlplus / as sysdba
Con esto se entra a la consola con el usuario SYS que es el superadmin de la base de datos
sysdba es el rol de administracion de la base de datos
3.- El comando SHOW CON_NAME muestra el contenedor al cual estoy conectado
SQL> show con_name

Sample Page

This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:

Hi there! I’m a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin’ caught in the rain.)

…or something like this:

The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.

As a new WordPress user, you should go to your dashboard to delete this page and create new pages for your content. Have fun!

HOW TO: Analyzing and Interpreting AWR Report


Today I wanted to share with you my personal approach for how to get into the details on AWR Report and where to see and where should be our attention. Keep in mind just two main focuses : the Application and the Database instance

1) Application: Most of the times you should go directly to review how was the SQL statements Performance. That is MANDATORY and the result of your analysis will be the classic TOP 10 SQL with the worst performance. That should be called : Oracle Application’s Performance Tuning .

2) Instance: read once, twice or three times the AWR looking for issues. What kind of issues or metrics ?

For example here I have  a Conclusion and Workaround for one database instance issue regarding performance :

1) Tuning recommendations for PROD-ACME  database instance:

AWR Report – How to get it through EM

We need a database user/pwd


But we can generate it using SQLPLUS as well :

AWR Snapshot Reports
Oracle provides reports that you can run to analyze the data in the AWR. These reports are much like the statspack reports prior to Oracle Database 10g. There are two reports: awrrpt.sql and awrrpti.sql, which are available in the directory $ORACLE_HOME/ rdbms/ admin.
The output of these reports is essentially the same, except that awrrpti.sql script allows you to define a specific instance to report on. The reports are much like the statspack reports of old, in that you define a beginning and ending snapshot ID, and the output filename of the report. Additionally, you can opt to produce the report in either text format or HTML format.

[oaPROD usa.com01 PROD] $ sqlplus ‘/as sysdba’
SQL> @awrrpt.sql

Current Instance   DB Id    DB Name      Inst Num Instance

HOWTO: Checking options installed within the Database/Oracle Home

1)From Oracle Universal Installer: In OUI select installed products and click on list and expand, you will see a list of options installed in database.

You have to use OUI to check whether Oracle Secure Enterprise Search is installed or not.

TIP: Start Oracle Universal Installer from your system prompt (UNIX) with the following command:


2)From v$option:

SQL> set pages 100

SQL> select * from v$option;

PARAMETER                                                        VALUE

—————————————————————- —–

Partitioning                                                     TRUE

Objects                                                          TRUE

Real Application Clusters                                        FALSE

Advanced replication                                             TRUE

Bit-mapped indexes                                               TRUE

Connection multiplexing                                          TRUE

Connection pooling                                               TRUE

Database queuing                                                 TRUE

Incremental backup and recovery                                  TRUE

Instead-of triggers                                              TRUE

Parallel backup and recovery                                     TRUE

Parallel execution                                               TRUE

Parallel load                                                    TRUE

Point-in-time tablespace recovery                                TRUE

Fine-grained access control                                      TRUE

Proxy authentication/authorization                               TRUE

Forms in socket mode

Algun cliente alguna vez debe haber sufrido de un extraño issue con  los forms y se preguntara si vale la pena cambiarlos a ‘socket’ mode, y él se estará preguntando (con toda razón):

A.      When the forms are changed to socket mode:

1.      Will this affect the EBS application in anyway (will it be slow than now)

2.      Do we need to perform any change on our or the workstation’s side ?


Please look at the Note in Metalink 310976.1. It seems that the Java Console in JInitiator tells you at the beginning which mode you are using.

Verifying the Forms Client Connection to the Forms Server

Once the Applet has initialized and started, it connects to the Forms Listener, using the serverPort, serverHost and connectMode parameters displayed in the Java console.  Steps to verify this are:

HOWTO : Getting User Responsability on EBS 11i using a Database user (BOLINF or APPS)

Find below the SQL statement to generate an extract with active users together with their active responsibilities.

The statement extracts all the active assignments of responsibilities by using the FND_USER_RESP_GROUPS table which combines DIRECT and INDIRECT responsibilities.

If you need only the DIRECT responsibilities than you also have the option to use the seeded view FND_USER_RESP_GROUPS_DIRECT. If you need only the INDIRECT responsibilities (added by roles – like Application Diagnostics and others) than use the seeded view FND_USER_RESP_GROUPS_INDIRECT.

As always adjust the SQL to cover your needs.

FND_USER fuser
AND fuser.USER_ID = furg.USER_ID
AND (to_char(fuser.END_DATE) is null
OR fuser.END_DATE > sysdate)
AND (to_char(furg.END_DATE) is null
OR furg.END_DATE > sysdate)
, fuser.USER_NAME;

1 2 3 4 5