Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Finance data model

78 views

Published on

Fiance module

Published in: Data & Analytics
  • Be the first to comment

  • Be the first to like this

Finance data model

  1. 1. Finance Module SubLedgerType Screen Sub Ledger Type SL Type Name Is AddressRequired Save Quit GL Master Screen GL Master GL Code Name B/S Type SubLedger Type Save Quit
  2. 2. SL Master SLMaster SL Code Name SubLedger Type Address Tax Detatil Bank Save Quit SQL Scripts -- GeneratedbyOracle SQL DeveloperDataModeler4.1.3.901 -- at: 2016-05-09 17:58:14 IST -- site: SQL Server2012 -- type: SQL Server2012 CREATE TABLE GL_Mst ( GL_Code INTEGER NOT NULL , GL_Name VARCHAR(255) ,
  3. 3. SLType INTEGER NOTNULL , BS_Type VARCHAR(100) , Status VARCHAR(1) , Entry VARCHAR(10) , Edate DATETIME , MODIFY VARCHAR(10) , Mdate DATETIME ) ON "default" GO ALTER TABLE GL_Mst ADD CONSTRAINTGL_Mst_PKPRIMARY KEY CLUSTERED (GL_Code) WITH ( ALLOW_PAGE_LOCKS= ON , ALLOW_ROW_LOCKS = ON ) ON "default" GO CREATE TABLE SLType_Mst ( SLType INTEGER NOT NULL , Name VARCHAR(255) , Status VARCHAR(1) ,
  4. 4. Adress_RequiredCHAR(1) , Entry VARCHAR(10) , Edate DATETIME , MODIFY VARCHAR(10) , Mdate DATETIME ) ON "default" GO ALTER TABLE SLType_MstADD CONSTRAINTSLType_Mst_PKPRIMARYKEY CLUSTERED ( SLType) WITH ( ALLOW_PAGE_LOCKS= ON , ALLOW_ROW_LOCKS = ON ) ON "default" GO CREATE TABLE SL_Address ( SL_Code INTEGER NOTNULL , Location VARCHAR(100) , Address_Type VARCHAR(100) , City VARCHAR(100) ,
  5. 5. State VARCHAR(100) , Country VARCHAR(100) , Contact_PersonVARCHAR(100) , Phone BIGINT, Mobile BIGINT, WebSite VARCHAR(100) , Fax BIGINT, "Primary"VARCHAR(1) , Status VARCHAR(1) ) ON "default" GO CREATE TABLE SL_Bank ( SL_Code INTEGER NOTNULL , Bank_Name VARCHAR(100) , IFSC_Code VARCHAR(20) , Swift_Code VARCHAR(20) , Account_HolderVARCHAR(100) , Account_No VARCHAR(50) , Status VARCHAR(1) )
  6. 6. ON "default" GO CREATE TABLE SL_Mst ( SL_Code INTEGER NOTNULL , Name VARCHAR(255) , SLType INTEGER NOTNULL , Entry VARCHAR(10) , Edate DATETIME , MODIFY VARCHAR(10) , Mdate DATETIME ) ON "default" GO ALTER TABLE SL_Mst ADD CONSTRAINTSL_Mst_PKPRIMARY KEY CLUSTERED (SL_Code) WITH ( ALLOW_PAGE_LOCKS= ON , ALLOW_ROW_LOCKS = ON ) ON "default" GO
  7. 7. CREATE TABLE SL_Tax ( SL_CODE INTEGER NOTNULL , TIN VARCHAR(12) , PAN VARCHAR(12) , GST VARCHAR(12) , ServiceTax_NoVARCHAR(50) , TAN VARCHAR(20) , Taxation VARCHAR(100) , Excise VARCHAR(100) , ECCNo VARCHAR(20) , Status VARCHAR(1) ) ON "default" GO ALTER TABLE GL_Mst ADD CONSTRAINTGL_Mst_SLType_Mst_FKFOREIGN KEY ( SLType ) REFERENCES SLType_Mst
  8. 8. ( SLType ) ON DELETE NOACTION ON UPDATE NO ACTION GO ALTER TABLE SL_Address ADD CONSTRAINTSL_Address_SL_Mst_FKFOREIGN KEY ( SL_Code ) REFERENCES SL_Mst ( SL_Code ) ON DELETE NOACTION ON UPDATE NO ACTION GO ALTER TABLE SL_Bank
  9. 9. ADD CONSTRAINTSL_Bank_SL_Mst_FKFOREIGN KEY ( SL_Code ) REFERENCES SL_Mst ( SL_Code ) ON DELETE NOACTION ON UPDATE NO ACTION GO ALTER TABLE SL_Mst ADD CONSTRAINTSL_Mst_SLType_Mst_FKFOREIGN KEY ( SLType ) REFERENCES SLType_Mst ( SLType ) ON DELETE
  10. 10. NOACTION ON UPDATE NO ACTION GO ALTER TABLE SL_Tax ADD CONSTRAINTSL_Tax_SL_Mst_FKFOREIGN KEY ( SL_CODE ) REFERENCES SL_Mst ( SL_Code ) ON DELETE NOACTION ON UPDATE NO ACTION GO -- Oracle SQL DeveloperDataModelerSummaryReport: -- -- CREATE TABLE 6 -- CREATE INDEX 0 -- ALTER TABLE 8
  11. 11. -- CREATE VIEW 0 -- ALTER VIEW 0 -- CREATE PACKAGE 0 -- CREATE PACKAGEBODY 0 -- CREATE PROCEDURE 0 -- CREATE FUNCTION 0 -- CREATE TRIGGER 0 -- ALTER TRIGGER 0 -- CREATE DATABASE 0 -- CREATE DEFAULT 0 -- CREATE INDEX ON VIEW 0 -- CREATE ROLLBACK SEGMENT 0 -- CREATE ROLE 0 -- CREATE RULE 0 -- CREATE SCHEMA 0 -- CREATE SEQUENCE 0 -- CREATE PARTITION FUNCTION 0 -- CREATE PARTITION SCHEME 0 -- -- DROP DATABASE 0 -- -- ERRORS 0 -- WARNINGS 0

×