PL_DOC
Hello,
I'm looking for software that can automatically generate documentation for PL SQL Package (something like javadoc).
I found PLDOC (http://pldoc.sourceforge.net/maven-site/) but it can only parse package specifications.
Does anyone know something else that can parse both spec and boy of packages ?
Just for my understanding (and perhaps others as well):
Are you trying to 'reverse engineer' documentation?
As in: Getting (more or less) a functional or technical design by getting descriptive comments out of PL/SQL code?
That doesn't exist, afaik.
You could write your own code, for example, scanning dba_source and filter out all commented stuff, but one would still need to check what comment makes sense...
It should the other way around: first you design, document and after that you start writing code.
For the record: I'm not familiar with the Javadoc's API, so it would be nice if you could add a brief description of what it does.
Perhaps I'm missing a point here...
Similar Messages
-
Hello,
Here I'm doing two JOIN queries.
I need help with inserting 2nd query into 1st.
in the final result I would like to see all the transaction that are 'PP' w customer_name and the rest of the transactions that are not 'PP' i would like to see them as 'N/A' for customer_name
Thank-you for your HELP!
1ST QUERY
SELECT
b.pl_ent,
e.pl_sa,
c.pl_cc,
d.pl_acc,
b. EN_ENTITY_LNG,
e. SA_SUB_LNG,
c. COST_CTR_LNG,
d. ACCT_ACC_LNG ,
f. FISCAL_MONTH,
f. FISCAL_YEAR_LNG,
d. ACCT_TYPE,
SUM(a.gl_amt)
FROM
F_ACCT_TRX_HIST_STG1 a,
D_ENTITY_STG2 b,
D_COSTCTR_STG2 c,
D_ACCTS_STG2 d,
D_SUBACCTS_STG2 e,
D_PERIOD_STG1 f
WHERE
a.PP_ENT = b.EN_ENT AND
c.CC_CSTCTR= UPPER (a.PP_CC) AND
d.acct_acc = a.pl_acc AND
e.sa_sub = a.pl_sa AND
a.pl_eff_dt = f.calendar_date
GROUP BY b.EN_ENT,
e.sa_sub,
c.cc_cstctr,
d.acct_acc,
b. EN_ENTITY_LNG,
e. SA_SUB_LNG,
c. COST_CTR_LNG,
d. ACCT_ACC_LNG ,
f. FISCAL_MONTH,
f. FISCAL_YEAR_LNG,
d. ACCT_TYPE
2ND QUERY
SELECT a.pl_ent,
a.pl_sa,
a.pl_cc,
a.pl_acc,
b.customer_name,
SUM(a.gl_amt)
FROM F_ACCT_TRX_HIST_STG1 a,
D_CUSTOMER b,
f_sales_invoice c
WHERE a.pl_tr_type = 'PP' AND
a.pl_doc= c.inv_nbr AND
c.inv_cust_bill_to_nbr = b.cust_nbr
GROUP BY a.pl_ent,
a.pl_sa,
a.pl_cc,
a.pl_acc,
b.customer_nameI tried to write what i need (it's not working), maybe this will help to understand more clearly!!!!
Thank-you
SELECT *
FROM (SELECT
b.en_ent,
e.sa_sub,
c.cc_cstctr,
d.acct_acc,
g.cust_name,
b. EN_ENTITY_LNG,
e. SA_SUB_LNG,
c. COST_CTR_LNG,
d. ACCT_ACC_LNG ,
f. FISCAL_MONTH,
f. FISCAL_YEAR_LNG,
d. ACCT_TYPE,
SUM(a.gl_amt),
CASE WHEN gl_tr_type = 'SO'
THEN
a.gl_doc = h.inv_nbr AND h.inv_cust_bill_to_nbr = g.cust_nbr
END
CASE WHEN gl_tr_type = 'IC'
THEN
a.gl_doc = h.tr_trnbr AND h.tr_nbr = g.channel_code
END
FROM
F_ACCT_TRX_HIST_STG1 a,
D_ENTITY_STG2 b,
D_COSTCTR_STG2 c,
D_ACCTS_STG2 d,
D_SUBACCTS_STG2 e,
D_PERIOD_STG1 f,
FINMART.D_CUSTOMER g,
DSSMART.F_SALES_INVOICE h,
WHERE
a.GL_ENT = b.EN_ENT AND
c.CC_CSTCTR= UPPER (a.GL_CC) AND
d.acct_acc = a.gl_acc AND
e.sa_sub = a.gl_sa AND
a.gl_eff_dt = f.calendar_date
GROUP BY b.EN_ENT,
e.sa_sub,
c.cc_cstctr,
d.acct_acc,
b. EN_ENTITY_LNG,
e. SA_SUB_LNG,
c. COST_CTR_LNG,
d. ACCT_ACC_LNG ,
f. FISCAL_MONTH,
f. FISCAL_YEAR_LNG,
d. ACCT_TYPE
g.cust_name)
WHERE g.cust_name IS NULL THEN INSERT 'N/A'
Maybe you are looking for
-
Anyone connected an Apple ADC CRT to Powerbook DVI, how??
I have my older 17" Apple Studio Display ADC CRT which I would like to use at home for extra screen space with my Titanium Powerbook which has a DVI port. I bought the DVI to ADC adapter but have found out it ONLY works on the ADC LCDs and NOT CRTs.
-
"All Initialization Parameters" - Error
When I click "All Initialization Parameters" in "Administration" section of OEM this error apearses: oracle.sysman.emSDK.admObj.AdminObjectException: java.sql.SQLException: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP1 Could you
-
Inventory collection fails on LMS4.0 with ASA5510
Hello, We have added the ASA5510 and 5505 manually to LMS4.0. After doing an inventory discovery the result is it fails...so we can't continue doing anything with it in LMS. Has anybody of you been able to add the ASA to LMS4.0?? If yes any advise yo
-
Hi, I created a structure. It contains 1& 2 diamensional arrays. Now I want to pass values to these arrays. But at that time I got the following error. Error 2 Cannot implicitly convert type 'int' to 'int[]' publicstructtest [F
-
Combine different types of PR into one PO when Auto Po creation.
Hi gurus, We are using ECC 5.0 The case is there are two types of PR ( NB,MRP) and were assigned to the same source , a contract, in ME56. We want to realize that after ME59 there is one PO created that covers these two PR. According to o