Error : CLI0111E Numeric value out of range

Hello:
While extracting data through generic datasources, extraction fails in the source system with the following error message.
Database error text........: "CLI0111E Numeric value out of range.
SQLSTATE=22003 row=1 col=12"
Any idea what does this mean?
Thanks

Hello:
While extracting data through generic datasources, extraction fails in the source system with the following error message.
Database error text........: "CLI0111E Numeric value out of range.
SQLSTATE=22003 row=1 col=12"
Any idea what does this mean?
Thanks

Similar Messages

  • JMS Queue XML numeric value out of range

    Hi
    I have an interface that process the root element of the JMS message.
    It is failing on the step Load JMS to XML. The error states: numeric value out of range.
    I've analysed the message and determined the exact data item which is 11 digits long.
    The JMS model only accomodates for numeric(10,0). I tried changing it, but still get the error.
    Any idea what I need to do so that this step will process that data without error?
    Cheers
    PS ODI 11.1.1.6

    Hi All,  I have one scenario to read the source file . The file delimiter is '|' . The no of pipeline for each line is 17. So if a line containing more than 17 , send an error email. For this first i am printing tota pipeline in ecah line to afile called pipelinecount.txt . Then i will read this file and send each value to while loop /for loop , where it will get > 17 , it will exit the process and send an email.  But here in script i am getting error at while line. Could anyone help.   #! /bin/kshset -x SOURCE_DIR=/vp01/SrcFilessed 's/[^|]//g' /vp01/SrcFiles/Test.txt | awk '{ print length }'> /vp01/SrcFiles/pipelinecount.txtcd $SOURCE_DIRwhile line in `cat pipelinecount.txt`; do if [ $line -eq 17 ];thenecho "No issue in pipeline"exit 0;fiif [ $line -gt 17 ];thenecho "No of pipelines exceeded the expected. Please verify the source file." | mailx -s "WKFS Load: Failed" [email protected]

  • Numeric value out of range

    Hello, I am getting error of "Numeric value out of range".I've tried increasing Decimal value  as well tried chnaginf Intefr to BIGINT.Workflow usd to run fine and all of a sudden it start throwing an error.I've attached session log file.I am using Pushdown optimization and database is netezza. Any help highly appericiated. Regard, Ram

    Hi All,  I have one scenario to read the source file . The file delimiter is '|' . The no of pipeline for each line is 17. So if a line containing more than 17 , send an error email. For this first i am printing tota pipeline in ecah line to afile called pipelinecount.txt . Then i will read this file and send each value to while loop /for loop , where it will get > 17 , it will exit the process and send an email.  But here in script i am getting error at while line. Could anyone help.   #! /bin/kshset -x SOURCE_DIR=/vp01/SrcFilessed 's/[^|]//g' /vp01/SrcFiles/Test.txt | awk '{ print length }'> /vp01/SrcFiles/pipelinecount.txtcd $SOURCE_DIRwhile line in `cat pipelinecount.txt`; do if [ $line -eq 17 ];thenecho "No issue in pipeline"exit 0;fiif [ $line -gt 17 ];thenecho "No of pipelines exceeded the expected. Please verify the source file." | mailx -s "WKFS Load: Failed" [email protected]

  • Bcp import error numeric value out of range

    lo, I have table with columns of type int. I export this table by using bcp:
    bcp dbo.int_table out file.dat -q -CRAW -T -S localhost -E . 
    Now I want to import it to table with columns of type bigint. I use bcp command:
    bcp dbo.bigint_table in file.dat -q -CRAW -T -S localhost -E 
    I get error:
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    i was trying import table by using format file created based on bigint_table by command:
    bcp dbo.bigint_table in file.dat -f format_file_bigint.xml -q -CRAW -T -S localhost -E
    but i also gets the same errors. 
    Can I use format file when during export was used -CRAW option???? 

    int table:
    CREATE TABLE [INT_TABLE](
        [ID] [int] IDENTITY(1,1) NOT NULL,
        [COL1] [int] NOT NULL,
        [COL2] [datetime] NOT NULL,
        [COL3] [datetime] NOT NULL,
        [COL4] [datetime] NOT NULL,
        [COL5] [datetime] NOT NULL,
        [COL6] [bit] NOT NULL,
        [COL7] [bit] NOT NULL,
        [COL8] [numeric(15,2)] NOT NULL,
        [COL7] [numeric(15,2)] NOT NULL,
        [COL8] [numeric(15,2)] NOT NULL,
        [COL9] [int] NOT NULL,
        [COL10] [int] NOT NULL,
        [COL11] [datetime] NULL
    big int table:
    CREATE TABLE [BIGINT_TABLE](
        [ID] [int] IDENTITY(1,1) NOT NULL,
        [COL1] [int] NOT NULL,
        [COL2] [datetime] NOT NULL,
        [COL3] [datetime] NOT NULL,
        [COL4] [datetime] NOT NULL,
        [COL5] [datetime] NOT NULL,
        [COL6] [bit] NOT NULL,
        [COL7] [bit] NOT NULL,
        [COL8] [numeric(15,2)] NOT NULL,
        [COL7] [numeric(15,2)] NOT NULL,
        [COL8] [numeric(15,2)] NOT NULL,
        [COL9] [bigint] NOT NULL,
        [COL10] [bigint] NOT NULL,
        [COL11] [datetime] NULL
    The int table was exported by bcp command:
    bcp int_table out 'c:\int_table.dat' -q -N -T -C RAW -S localhost
    and i try import it by command:
    bcp bigint_table in 'c:\int_table.dat' -T -C RAW -q -S localhost -E
    then i get this errors:
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0

  • Numeric Value Out Of Range Error in Callable Statement

    I keep getting an error whenever I try and pass in a value greater than 9000 into my stored procedure. The procedure call looks like this:
    sSelect = "execute sp_storedproc ?, ?, ?, ?, ?, ?, ?";
    CallableStatement call = objConn.prepareCall(sSelect);
    call.setString(1, "TEST"); //DB TYPE = VARCHAR
    call.setInt(2, 4); // DB TYPE = INTEGER
    //*******************PROBLEM LINE***************************
    call.setFloat(3,(float) 9001); //DB TYPE = MONEY
    call.setInt(4, 25 ); // DB TYPE = INTEGER
    call.setFloat(5,(float) 0); // DB TYPE = MONEY
    // output parameters
    call.setDouble(6, 0);
    call.setDouble(7, 0);
    call.registerOutParameter(6, Types.DOUBLE);
    call.registerOutParameter(7, Types.DOUBLE);
    // execute stored procedure
    call.execute();
    // retrieve value
    val1= call.getDouble(6);
    val2= call.getDouble(7);
    I keep getting a "[Microsoft][ODBC SQL Server Driver]Numeric value out of range." error.
    I'm using MS SQL server 2000. The error only occurs when I pass in values > 9000. Since there's no direct mapping between java data types and SQL MONEY data type, I've tried passing every possible type into the procedure with the same result (e.g. float, long, double, int, BigDecimal). If anyone has come across this problem and knows a solution please help!!
    Thanks.

    knows a solution please help!!Modify the stored proc so it takes a varchar. In the stored proc convert the string to the correct type. In java use setString() to pass in the value.

  • Numeric value out of range (null) - Inserting a double

    Allright,
    I can't figure this out to save my life.. I am refusing to put my code up because I am trying to insert into a DB Table with 140 some fields, so I will explain as best I can.. I am trying to insert a double into my DB.. I have been getting a numeric value out of range error on insertion. Just to see if it was a db problem, I shortened my query to 4 fields and two of them being the doubles for insertion. They inserted fine. So needless to say, i presumed that my insert statement for the 140 fields query was off. I double checked it and everything seems to be in order. I still get the error. I can assure that everything matches up.. my SQL string looks like this :
    SQL = "INSERT INTO TABLE 1 (VAL1, VAL2, VAL3 ... VAL146) VALUES (?, ?, ? .... ?);
    and my preparedStmt :
    ps = con.prepareStatement(SQL);
    ps.setInt(1, val1);
    ps.setInt(2, val2);
    ps.setString(3, val3);
    ps.setDouble146, val146);
    ps.executeUpdate();
    Please help me solve this..
    Ed

    The name of the table is FAC.
    Here is the query:
    INSERT INTO FAC (FAC_SK, KEY, ACTIVITY, BE_NUMBER,CATEGORY, CC, CLASS_LVL, CONDITION, COORD_BASIS, COORD_DATUM, COORD_DERIV,DOMAIN_LVL, EVAL, GRAPHIC_CC, GRAPHIC_ED_NUM, GRAPHIC_SCALE, GRAPHIC_SERIES,LAST_CHG_USERID, MIDB_TIMESTAMP, OPER_STATUS, OSUFFIX, PROD_LVL_CAP,PROD_LVL_REQ, RECORD_STATUS, RES_PROD, COORD, DATETIME_CREATED,DATETIME_LAST_CHG, FAC_NAME, GRAPHIC_AGENCY, GRAPHIC_ED_DATE,GRAPHIC_SHEET, REVIEW_DATE, ACCESS, AFFILIATION, AIR_DEF_AREA,ALLEGIANCE, BE, CAPACITY, CAPACITY_EVAL, CAPACITY_MAX, CAPACITY_UM,CLASS_RATING, CMD_CNTL_COMM, CODEWORD, CONDITION_AVAIL, CONTROL_MARK,COORD_DERIV_ACC, COORD_DERIV_ACC_UM, COORD_ROA, COORD_ROA_CONF_LVL,COORD_ROA_UM, CPFL, CRITICAL_INDUSTRY, DECLASS_ON, DEGREE_INTEREST,ELEVATION, LAT, LON, ELEVATION_ACC, ELEVATION_CONF_LVL, ELEVATION_DATUM,ELEVATION_DERIV, ELEVATION_DERIV_ACC, ELEVATION_DERIV_ACC_UM, ELEVATION_MSL,ELEVATION_MSL_ACC, ELEVATION_MSL_CONF_LVL, ELEVATION_MSL_DERIV, ELEVATION_MSL_DERIV_ACC,ELEVATION_MSL_DERIV_ACC_UM, ELEVATION_MSL_UM, ELEVATION_UM, FOREIGN_TECH_CC,FOREIGN_TECH_PERCENT, FPA, FUNCT_PRIMARY, FUNCT_SECONDARY, GEOIDAL_MSL_SEPARATION,GEOIDAL_MSL_SEPARATION_UM, ILAT, ILON, INTEGRATION, LINE_QTY, MED_DIAGNOSTICS,MED_MASS_CASUALTY, MIL_AREA, MIL_GRID_SYS, MODERNIZATION, MSN_PRIMARY, MSN_PRIMARY_SPECIALTY,MSN_SECONDARY, MSN_SECONDARY_SPECIALTY, OPEN_STG_COVERED, OPEN_STG_FILLED, OPEN_STG_TOTAL,OPEN_STG_UM, OUTPUT, OUTPUT_EVAL, OUTPUT_MAX, OUTPUT_RATE, OUTPUT_UM, PERIODICITY, PIN,POL_SUBDIV, POP_AREA, POP_AREA_PROXIMITY, POWER_DISTRICT, POWER_DISTRICT_SUB, POWER_SOURCE,RECUP_INTRVL, RECUP_INTRVL_MAX, RECUP_INTRVL_UM, RECUP_LOSS_IMPACT, RECUP_REPAIR_PRIORITY,RELATIVE_RANKING, RELEASE_MARK, ROLE_LVL, ROLE_TYPE, SCALE, TDI, TGT_RESTR, TURN_AROUND_TIME,WAC, WATERBODY, ADDRESS_NAME, CAPACITY_DATE, CAPACITY_EVAL_DATE, COORD_DATETIME,DATETIME_BEGIN, DATETIME_END, DATETIME_FIRST_INFO, DATETIME_LAST_INFO, DECLASS_ON_DATE,LOC_NAME, MAX_DEMO_USE, MIL_GRID, OUTPUT_DATE, OUTPUT_EVAL_DATE, PLACE_NAME, POSTAL_CODE,SCENARIO_SET, STREET_NAME, STREET_NUM, SYMBOL_CODE, UTM) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
    The query works fine if I have no value for the two doubles : LAT and LON..
    If I have a value for them, the thing gives me an error:
    Numeric value out of range (null)
    If you see anything wrong with that query.. Let me know..
    Takizzle

  • BCP-Numeric Value out of Range

    I'm exporting out a number of tables via BCP for our Cognos group to report on.  Almost all tables can export and import successfully.  I'm using the following command to export out:
    SET OUTPUT=K:\BCP_FIN_Test
    SET ERRORLOG=K:\BCP_FIN_Test\BCP_Error_Log
    SET TIMINGS=K:\BCP_FIN_Test\BCP_Timings
    bcp "SELECT TOP 100 * FROM FS84RPT.dbo.PS_VOUCHER Inner Join FS84RPT.[dbo].[PS_VCHR_ACCTG_LINE] on PS_VOUCHER.VOUCHER_ID= PS_VCHR_ACCTG_LINE.VOUCHER_ID and PS_VOUCHER.BUSINESS_UNIT = PS_VCHR_ACCTG_LINE.BUSINESS_UNIT WHERE PS_VCHR_ACCTG_LINE.FISCAL_YEAR
    = '2014' and PS_VCHR_ACCTG_LINE.ACCOUNTING_PERIOD BETWEEN '9' AND '11' " queryout %OUTPUT%\PS_VOUCHER.txt -e %ERRORLOG%\PS_VOUCHER.err -o %TIMINGS%\PS_VOUCHER.txt -T -N
    The Query returns data fine in a SQL editor.  We have tried exporting/importing both with Native and Character settings.
    Below is the errors on import:
    Here is the table structure:
    Column/Type/Computer/Length
    BUSINESS_UNIT char no 5
    VOUCHER_ID char no 8
    VOUCHER_LINE_NUM int no 4
    TOTAL_DISTRIBS int no 4
    MAX_DISTRIB_LINE int no 4
    BUSINESS_UNIT_PO char no 5
    PO_ID char no 10
    LINE_NBR int no 4
    SCHED_NBR smallint no 2
    DESCR char no 30
    DESCR254_MIXED char no 254
    MERCHANDISE_AMT decimal no 13
    MERCH_AMT_BSE decimal no 13
    ITM_SETID char no 5
    INV_ITEM_ID char no 18
    QTY_VCHR decimal no 9
    STATISTIC_AMOUNT decimal no 9
    UNIT_OF_MEASURE char no 3
    UNIT_PRICE decimal no 9
    FRGHT_PRORATE_FLG char no 1
    DSCNT_APPL_FLG char no 1
    ERROR_FLAG char no 1
    PROCESS_INSTANCE decimal no 9
    WTHD_SW char no 1
    TAX_CD_VAT char no 8
    VAT_RECOVERY_PCT decimal no 5
    FINAL_REF_IND char no 1
    BUSINESS_UNIT_RECV char no 5
    RECEIVER_ID char no 10
    RECV_LN_NBR int no 4
    RECV_SHIP_SEQ_NBR smallint no 2
    MATCH_LINE_OPT char no 1
    DISTRIB_MTHD_FLG char no 1
    VCHR_AMT_FORCE_FLG char no 1
    AMT_ONLY_FLG char no 1
    TXN_CURRENCY_CD char no 3
    BASE_CURRENCY char no 3
    CURRENCY_CD char no 3
    VAT_TXN_TYPE_CD char no 4
    ECTRANSID char no 15
    ECQUEUEINSTANCE int no 4
    ECTRANSINOUTSW char no 1
    SHIPTO_ID char no 10
    SUT_BASE_ID char no 10
    TAX_CD_SUT char no 8
    ULTIMATE_USE_CD char no 8
    SUT_EXCPTN_TYPE char no 1
    SUT_EXCPTN_CERTIF char no 20
    SUT_APPLICABILITY char no 1
    WTHD_SETID char no 5
    WTHD_CD char no 5
    NATURE_OF_TXN1 char no 1
    NATURE_OF_TXN2 char no 1
    VAT_APPLICABILITY char no 1
    VAT_USE_ID char no 6
    VAT_ENTITY char no 20
    BUSINESS_UNIT_RTV char no 5
    RTV_ID char no 10
    RTV_LN_NBR int no 4
    FISCAL_REGIME char no 2
    GEO_CODE char no 11
    MATCH_LINE_STATUS char no 1
    CNTRCT_ID char no 25
    CNTRCT_LINE_NBR int no 4
    RELEASE_NBR int no 4
    BUS_UNIT_RELATED char no 5
    VOUCHER_ID_RELATED char no 8
    VENDOR_ID char no 10
    SPEEDCHART_KEY char no 10
    RECEIPT_DT PSDATE no 8
    INSPECT_DT PSDATE no 8
    VAT_LN_ENT_AMT decimal no 13
    VAT_LN_ENT_AMT_BSE decimal no 13
    VAT_MBASIS_AMT decimal no 13
    VAT_MBASIS_AMT_BSE decimal no 13
    USER_VCHR_CHAR1 char no 1
    USER_VCHR_CHAR2 char no 1
    USER_VCHR_DEC decimal no 13
    USER_VCHR_DATE PSDATE no 8
    USER_VCHR_NUM1 smallint no 2
    VNDR_LOC char no 10
    USER_LINE_CHAR1 char no 1
    USER_SCHED_CHAR1 char no 1
    Appreciate replies.

    Thanks for your replies.  I don't know what the import statement being used as that was done by another user.  However I did run a similar query to export, which brought about a different error when trying to import.
    Here are the details:
    BCP Export Statement:
    bcp "SELECT PS_VOUCHER.* FROM FS84RPT.dbo.PS_VOUCHER as PS_VOUCHER Inner Join FS84RPT.dbo.PS_VCHR_ACCTG_LINE as PS_VCHR_ACCTG_LINE on PS_VOUCHER.VOUCHER_ID= PS_VCHR_ACCTG_LINE.VOUCHER_ID and PS_VOUCHER.BUSINESS_UNIT = PS_VCHR_ACCTG_LINE.BUSINESS_UNIT WHERE
    (FISCAL_YEAR = (SELECT MAX(OPEN_YEAR_TO) FROM FS84RPT.dbo.PS_FIN_OPEN_PERIOD where [BUSINESS_UNIT] < '00200' AND [LEDGER_GROUP] = 'ACTUALS' AND TRANSACTION_TYPE = 'DEF' AND PSFT_PRODUCT = 'GL')) OR (FISCAL_YEAR = (SELECT MAX(OPEN_YEAR_TO) -1 FROM FS84RPT.dbo.PS_FIN_OPEN_PERIOD
    where [BUSINESS_UNIT] < '00200' AND [LEDGER_GROUP] = 'ACTUALS' AND TRANSACTION_TYPE = 'DEF' AND PSFT_PRODUCT = 'GL') AND ACCOUNTING_PERIOD > (SELECT MAX([OPEN_PERIOD_TO]) - 3 FROM FS84RPT.dbo.PS_FIN_OPEN_PERIOD where [BUSINESS_UNIT] < '00200' AND
    [LEDGER_GROUP] = 'ACTUALS' AND TRANSACTION_TYPE = 'DEF' AND PSFT_PRODUCT = 'GL')) " queryout %OUTPUT%\PS_VOUCHER.txt -o %ERRORLOG%\PS_VOUCHER.err -o %TIMINGS%\PS_VOUCHER.txt -T -c
    Create Table Scripts (for both tables):
    PS_VOUCHER SOURCE TABLE (FROM RPT)
    USE [FS84RPT]
    GO
    /****** Object:  Table [dbo].[PS_VOUCHER]    Script Date: 04/18/2015 10:27:46 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[PS_VOUCHER](
     [BUSINESS_UNIT] [char](5) NOT NULL,
     [VOUCHER_ID] [char](8) NOT NULL,
     [VOUCHER_STYLE] [char](4) NOT NULL,
     [INVOICE_ID] [char](30) NOT NULL,
     [ERS_INV_SEQ] [smallint] NOT NULL,
     [INVOICE_DT] [dbo].[PSDATE] NULL,
     [VENDOR_SETID] [char](5) NOT NULL,
     [VENDOR_ID] [char](10) NOT NULL,
     [VNDR_LOC] [char](10) NOT NULL,
     [ADDRESS_SEQ_NUM] [smallint] NOT NULL,
     [GRP_AP_ID] [char](10) NOT NULL,
     [ORIGIN] [char](3) NOT NULL,
     [OPRID] [char](30) NOT NULL,
     [VCHR_TTL_LINES] [int] NOT NULL,
     [CLOSE_STATUS] [char](1) NOT NULL,
     [ENTRY_STATUS] [char](1) NOT NULL,
     [ACCOUNTING_DT] [dbo].[PSDATE] NULL,
     [POST_VOUCHER] [char](1) NOT NULL,
     [POST_STATUS_AP] [char](1) NOT NULL,
     [PROCESS_INSTANCE] [decimal](10, 0) NOT NULL,
     [BUSINESS_UNIT_GL] [char](5) NOT NULL,
     [PROCESS_MAN_CLOSE] [char](1) NOT NULL,
     [DST_CNTRL_ID] [char](10) NOT NULL,
     [DUP_INVOICE_STATUS] [char](1) NOT NULL,
     [VOUCHER_ID_RELATED] [char](8) NOT NULL,
     [GROSS_AMT] [decimal](26, 3) NOT NULL,
     [GROSS_AMT_BSE] [decimal](26, 3) NOT NULL,
     [TXN_CURRENCY_CD] [char](3) NOT NULL,
     [RT_TYPE] [char](5) NOT NULL,
     [RATE_MULT] [decimal](15, 8) NOT NULL,
     [RATE_DIV] [decimal](15, 8) NOT NULL,
     [BASE_CURRENCY] [char](3) NOT NULL,
     [DSCNT_AMT] [decimal](26, 3) NOT NULL,
     [DSCNT_AMT_BSE] [decimal](26, 3) NOT NULL,
     [DSCNT_PRORATE_FLG] [char](1) NOT NULL,
     [TAX_EXEMPT] [char](1) NOT NULL,
     [USETAX_AMT] [decimal](26, 3) NOT NULL,
     [USETAX_AMT_BSE] [decimal](26, 3) NOT NULL,
     [USETAX_PRORATE_FLG] [char](1) NOT NULL,
     [SALETX_AMT] [decimal](26, 3) NOT NULL,
     [SALETX_AMT_BSE] [decimal](26, 3) NOT NULL,
     [SALETX_PRORATE_FLG] [char](1) NOT NULL,
     [VAT_INV_AMT] [decimal](26, 3) NOT NULL,
     [VAT_INV_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_NONINV_AMT] [decimal](26, 3) NOT NULL,
     [VAT_NONINV_AMT_BSE] [decimal](26, 3) NOT NULL,
     [FREIGHT_AMT] [decimal](26, 3) NOT NULL,
     [FREIGHT_AMT_BSE] [decimal](26, 3) NOT NULL,
     [MISC_AMT] [decimal](26, 3) NOT NULL,
     [MISC_AMT_BSE] [decimal](26, 3) NOT NULL,
     [FRGHT_PRORATE_FLG] [char](1) NOT NULL,
     [DUE_DT] [dbo].[PSDATE] NULL,
     [DSCNT_DUE_DT] [dbo].[PSDATE] NULL,
     [PYMNT_CNT_MAX] [int] NOT NULL,
     [PYMNT_CNT_TOTAL] [int] NOT NULL,
     [PYMNT_TERMS_CD] [char](5) NOT NULL,
     [ENTERED_DT] [dbo].[PSDATE] NULL,
     [LAST_UPDATE_DT] [dbo].[PSDATE] NULL,
     [TIME_EDIT] [dbo].[PSTIME] NULL,
     [VCHR_TEMPLATE_ID] [char](10) NOT NULL,
     [VCHR_TMPLTE_DESCR] [char](30) NOT NULL,
     [WTHD_ADJUST_FLG] [char](1) NOT NULL,
     [WTHD_FISCAL_YR] [smallint] NOT NULL,
     [POST_STATUS_WTHD] [char](1) NOT NULL,
     [ERROR_FLAG] [char](1) NOT NULL,
     [VAT_BASIS_AMT] [decimal](26, 3) NOT NULL,
     [VAT_BASIS_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_CALC_AMT] [decimal](26, 3) NOT NULL,
     [VAT_ENTRD_AMT] [decimal](26, 3) NOT NULL,
     [VAT_RCVRY_AMT] [decimal](26, 3) NOT NULL,
     [VAT_RCVRY_AMT_BSE] [decimal](26, 3) NOT NULL,
     [MATCH_ACTION] [char](1) NOT NULL,
     [MATCH_STATUS_VCHR] [char](1) NOT NULL,
     [BCM_HDR_STATUS] [char](1) NOT NULL,
     [BCM_TRAN_TYPE] [char](2) NOT NULL,
     [MERCHANDISE_AMT] [decimal](26, 3) NOT NULL,
     [MERCH_AMT_BSE] [decimal](26, 3) NOT NULL,
     [IN_PROCESS_FLG] [char](1) NOT NULL,
     [MANUAL_CLOSE_DT] [dbo].[PSDATE] NULL,
     [CNTRCT_ID] [char](25) NOT NULL,
     [REMIT_ADDR_SEQ_NUM] [smallint] NOT NULL,
     [CUR_RT_SOURCE] [char](1) NOT NULL,
     [DSCNT_AMT_FLG] [char](1) NOT NULL,
     [DUE_DT_FLG] [char](1) NOT NULL,
     [VCHR_APPRVL_FLG] [char](1) NOT NULL,
     [BUSPROCNAME] [char](30) NOT NULL,
     [APPR_RULE_SET] [char](30) NOT NULL,
     [APPR_CHECK_FLG] [char](1) NOT NULL,
     [APPR_STATUS] [char](1) NOT NULL,
     [APPR_INSTANCE] [int] NOT NULL,
     [OPRID_LAST_UPDT] [char](30) NOT NULL,
     [VAT_DCLRTN_POINT] [char](1) NOT NULL,
     [VAT_CALC_TYPE] [char](1) NOT NULL,
     [VAT_ENTITY] [char](20) NOT NULL,
     [VAT_TXN_TYPE_CD] [char](4) NOT NULL,
     [TAX_CD_VAT] [char](8) NOT NULL,
     [VAT_RCRD_INPT_FLG] [char](1) NOT NULL,
     [VAT_RCRD_OUTPT_FLG] [char](1) NOT NULL,
     [VAT_RECOVERY_PCT] [decimal](5, 2) NOT NULL,
     [VAT_CALC_GROSS_NET] [char](1) NOT NULL,
     [VAT_RECALC_FLG] [char](1) NOT NULL,
     [VAT_CALC_FRGHT_FLG] [char](1) NOT NULL,
     [VAT_NRCVR_PRO_FLG] [char](1) NOT NULL,
     [VAT_NRCVR_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_NRCVR_AMT] [decimal](26, 3) NOT NULL,
     [VAT_CALC_AMT_BSE] [decimal](26, 3) NOT NULL,
     [ECTRANSID] [char](15) NOT NULL,
     [ECQUEUEINSTANCE] [int] NOT NULL,
     [ECTRANSINOUTSW] [char](1) NOT NULL,
     [VAT_RGSTRN_SELLER] [char](12) NOT NULL,
     [MISC_PRORATE_FLG] [char](1) NOT NULL,
     [COUNTRY_VAT_BILLFR] [char](3) NOT NULL,
     [COUNTRY_VAT_BILLTO] [char](3) NOT NULL,
     [COUNTRY_SHIP_TO] [char](3) NOT NULL,
     [COUNTRY_VAT_RPTG] [char](3) NOT NULL,
     [VAT_DCMNT_ID] [int] NOT NULL,
     [SALETX_CALC_AMT] [decimal](26, 3) NOT NULL,
     [SALETX_CLC_AMT_BSE] [decimal](26, 3) NOT NULL,
     [DOC_TYPE] [char](8) NOT NULL,
     [DOC_SEQ_DATE] [dbo].[PSDATE] NULL,
     [DOC_SEQ_NBR] [char](12) NOT NULL,
     [DOC_SEQ_STATUS] [char](1) NOT NULL,
     [VOUCHER_TYPE] [char](1) NOT NULL,
     [VNDR_TMPLTE_FLG] [char](1) NOT NULL,
     [VAT_TREATMENT_PUR] [char](3) NOT NULL,
     [VAT_EXCPTN_TYPE] [char](1) NOT NULL,
     [VAT_EXCPTN_CERTIF] [char](20) NOT NULL,
     [COUNTRY_SHIP_FROM] [char](3) NOT NULL,
     [VAT_USE_ID] [char](6) NOT NULL,
     [VAT_REBATE_AMT] [decimal](26, 3) NOT NULL,
     [VAT_REBATE_AMT_BSE] [decimal](26, 3) NOT NULL,
     [IST_TXN_FLG] [char](1) NOT NULL,
     [LC_ID] [char](12) NOT NULL,
     [REVALUE_FLAG] [char](1) NOT NULL,
     [BUDGET_HDR_STATUS] [char](1) NOT NULL,
     [BUDGET_MISC_STATUS] [char](1) NOT NULL,
     [KK_TRAN_OVER_FLAG] [char](1) NOT NULL,
     [KK_TRAN_OVER_OPRID] [char](30) NOT NULL,
     [KK_TRAN_OVER_DTTM] [dbo].[PSDATETIME] NULL,
     [PREPAID_REF] [char](10) NOT NULL,
     [PREPAID_AUTO_APPLY] [char](1) NOT NULL,
     [SBI_DOC_OPT] [char](1) NOT NULL,
     [BUSINESS_UNIT_PO] [char](5) NOT NULL,
     [RECV_ONLY_MTCH_FLG] [char](1) NOT NULL,
     [PO_ID] [char](10) NOT NULL,
     [ERS_TAX_TYPE] [char](1) NOT NULL,
     [ERS_TYPE] [char](1) NOT NULL,
     [INV_RECPT_DT] [dbo].[PSDATE] NULL,
     [PACKSLIP_NO] [char](22) NOT NULL,
     [RECEIPT_DT] [dbo].[PSDATE] NULL,
     [SHIP_DATE] [dbo].[PSDATE] NULL,
     [PAY_TRM_BSE_DT_OPT] [char](1) NOT NULL,
     [TERMS_BASIS_DT] [dbo].[PSDATE] NULL,
     [UNMTCH_PAY_FLG] [char](1) NOT NULL,
     [UNMTCH_PAY_STATUS] [char](1) NOT NULL,
     [VCHR_SRC] [char](4) NOT NULL,
     [VCHR_SYSGEN_FLG] [char](1) NOT NULL,
     [MEMO_AMT] [decimal](26, 3) NOT NULL,
     [MEMO_AMT_BSE] [decimal](26, 3) NOT NULL,
     [PAY_AMT] [decimal](26, 3) NOT NULL,
     [PAY_AMT_BASE] [decimal](26, 3) NOT NULL,
     [SBI_FLG] [char](1) NOT NULL,
     [SBI_IN_PROCESS_FLG] [char](1) NOT NULL,
     [SBI_NUM] [char](40) NOT NULL,
     [SBI_PROCESS_ID] [decimal](10, 0) NOT NULL,
     [DELETE_DT] [dbo].[PSDATE] NULL,
     [CURRENCY_RPTG] [char](3) NOT NULL,
     [VAT_RPTG_CURR_FLG] [char](1) NOT NULL,
     [RATE_MULT_VAT] [decimal](15, 8) NOT NULL,
     [RATE_DIV_VAT] [decimal](15, 8) NOT NULL,
     [VAT_INV_AMT_RPTG] [decimal](26, 3) NOT NULL,
     [VAT_TRANS_AMT_RPTG] [decimal](26, 3) NOT NULL,
     [VAT_DCLRTN_DT] [dbo].[PSDATE] NULL,
     [VAT_DCLRTN_DT_SRC] [char](1) NOT NULL,
     [VAT_CALC_MISC_FLG] [char](1) NOT NULL,
     [LC_EXTRCT_STATUS] [char](1) NOT NULL,
     [EIN_FEDERAL] [char](9) NOT NULL,
     [EIN_STATE_LOCAL] [char](20) NOT NULL,
     [TAX_GRP] [char](4) NOT NULL,
     [TAX_PYMNT_TYPE] [char](5) NOT NULL,
     [VAT_ADVPAY_FLG] [char](1) NOT NULL,
     [VAT_ROUND_RULE] [char](1) NOT NULL,
     [VAT_TRANS_AMT] [decimal](26, 3) NOT NULL,
     [VAT_TRANS_AMT_BSE] [decimal](26, 3) NOT NULL,
     [WTHD_PREPAY_OPT] [char](1) NOT NULL,
     [VAT_CF_ANLSYS_TYPE] [char](1) NOT NULL,
     [VAT_NRCVR_CHRG_CD] [char](10) NOT NULL,
     [VAT_RPTG_CURR_CTRL] [char](1) NOT NULL,
     [IMAGE_REF_ID] [char](12) NOT NULL,
     [IMAGE_DATE] [dbo].[PSDATE] NULL,
     [PAY_SCHEDULE_TYPE] [char](3) NOT NULL,
     [VCHR_POADJ_OPT] [char](1) NOT NULL,
     [VCHR_MTCH_ADJ_OPT] [char](1) NOT NULL,
     [INTERUNIT_ERR_FLG] [char](1) NOT NULL,
     [VCHR_BAL_ERR_FLG] [char](1) NOT NULL,
     [INSPECT_DT] [dbo].[PSDATE] NULL,
     [DATE_CALC_BASIS] [char](1) NOT NULL,
     [BASIS_DATE] [dbo].[PSDATE] NULL,
     [PO_RECPT_DT] [dbo].[PSDATE] NULL,
     [MTCH_LEVEL_STATUS] [char](1) NOT NULL,
     [MTCH_LEVEL_OPT] [char](1) NOT NULL,
     [MATCH_OVERRIDE] [char](1) NOT NULL,
     [INVOICE_RCPT_DT] [dbo].[PSDATE] NULL,
     [USER_VCHR_CHAR1] [char](1) NOT NULL,
     [USER_VCHR_CHAR2] [char](1) NOT NULL,
     [USER_VCHR_DEC] [decimal](26, 3) NOT NULL,
     [USER_VCHR_DATE] [dbo].[PSDATE] NULL,
     [USER_VCHR_NUM1] [smallint] NOT NULL,
     [DESCR254_MIXED] [char](254) NOT NULL,
     [DOC_TOL_HDR_STATUS] [char](1) NOT NULL,
     [USER_HDR_CHAR1] [char](1) NOT NULL,
     [VNDR_AFFILIATE] [char](5) NOT NULL
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    PS_VCHR_ACCTG_LINE SOURCE TABLE (RPT)
    USE [FS84RPT]
    GO
    /****** Object:  Table [dbo].[PS_VCHR_ACCTG_LINE]    Script Date: 04/18/2015 10:30:16 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[PS_VCHR_ACCTG_LINE](
     [BUSINESS_UNIT] [char](5) NOT NULL,
     [VOUCHER_ID] [char](8) NOT NULL,
     [UNPOST_SEQ] [smallint] NOT NULL,
     [APPL_JRNL_ID] [char](10) NOT NULL,
     [POSTING_PROCESS] [char](4) NOT NULL,
     [PYMNT_CNT] [int] NOT NULL,
     [VOUCHER_LINE_NUM] [int] NOT NULL,
     [DISTRIB_LINE_NUM] [int] NOT NULL,
     [DST_ACCT_TYPE] [char](4) NOT NULL,
     [CF_BAL_LINE_NUM] [decimal](10, 0) NOT NULL,
     [LEDGER] [char](10) NOT NULL,
     [TAX_AUTHORITY_CD] [char](3) NOT NULL,
     [ACCOUNT] [char](10) NOT NULL,
     [ALTACCT] [char](10) NOT NULL,
     [DEPTID] [char](10) NOT NULL,
     [STATISTICS_CODE] [char](3) NOT NULL,
     [FOREIGN_AMOUNT] [decimal](26, 3) NOT NULL,
     [FOREIGN_CURRENCY] [char](3) NOT NULL,
     [RT_TYPE] [char](5) NOT NULL,
     [RATE_MULT] [decimal](15, 8) NOT NULL,
     [RATE_DIV] [decimal](15, 8) NOT NULL,
     [MONETARY_AMOUNT] [decimal](26, 3) NOT NULL,
     [QTY_VCHR] [decimal](15, 4) NOT NULL,
     [STATISTIC_AMOUNT] [decimal](15, 2) NOT NULL,
     [JRNL_LN_REF] [char](10) NOT NULL,
     [DESCR] [char](30) NOT NULL,
     [MERCHANDISE_AMT] [decimal](26, 3) NOT NULL,
     [MERCH_AMT_BSE] [decimal](26, 3) NOT NULL,
     [DSCNT_AMT_BSE] [decimal](26, 3) NOT NULL,
     [SALETX_AMT_BSE] [decimal](26, 3) NOT NULL,
     [USETAX_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_INV_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_NONINV_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_RCVRY_AMT_BSE] [decimal](26, 3) NOT NULL,
     [FREIGHT_AMT_BSE] [decimal](26, 3) NOT NULL,
     [CHART_EDIT_STATUS] [char](1) NOT NULL,
     [ACCOUNTING_DT] [dbo].[PSDATE] NULL,
     [ACCOUNTING_PERIOD] [smallint] NOT NULL,
     [FISCAL_YEAR] [smallint] NOT NULL,
     [BUSINESS_UNIT_GL] [char](5) NOT NULL,
     [JOURNAL_ID] [char](10) NOT NULL,
     [JOURNAL_DATE] [dbo].[PSDATE] NULL,
     [JOURNAL_LINE] [int] NOT NULL,
     [MOVEMENT_FLAG] [char](1) NOT NULL,
     [GL_DISTRIB_STATUS] [char](1) NOT NULL,
     [PROCESS_INSTANCE] [decimal](10, 0) NOT NULL,
     [ERROR_FLAG] [char](1) NOT NULL,
     [FINAL_REF_IND] [char](1) NOT NULL,
     [REFERENCE_NUMBER] [char](10) NOT NULL,
     [REF_CLOSED] [char](1) NOT NULL,
     [REF_DIST_LINE] [int] NOT NULL,
     [REF_LINE_NUMBER] [int] NOT NULL,
     [BUSINESS_UNIT_PO] [char](5) NOT NULL,
     [PO_ID] [char](10) NOT NULL,
     [LINE_NBR] [int] NOT NULL,
     [SCHED_NBR] [smallint] NOT NULL,
     [PO_DIST_LINE_NUM] [int] NOT NULL,
     [BCM_LINE_STATUS] [char](2) NOT NULL,
     [BCM_POST_AMOUNT] [decimal](26, 3) NOT NULL,
     [BCM_POST_AMT_TOT] [decimal](26, 3) NOT NULL,
     [BUSINESS_UNIT_PC] [char](5) NOT NULL,
     [ACTIVITY_ID] [char](15) NOT NULL,
     [ANALYSIS_TYPE] [char](3) NOT NULL,
     [RESOURCE_TYPE] [char](5) NOT NULL,
     [RESOURCE_CATEGORY] [char](5) NOT NULL,
     [RESOURCE_SUB_CAT] [char](5) NOT NULL,
     [PC_DISTRIB_STATUS] [char](1) NOT NULL,
     [CURRENCY_CD] [char](3) NOT NULL,
     [ASSET_FLG] [char](1) NOT NULL,
     [BUSINESS_UNIT_AM] [char](5) NOT NULL,
     [ASSET_ID] [char](12) NOT NULL,
     [PROFILE_ID] [char](10) NOT NULL,
     [COST_TYPE] [char](1) NOT NULL,
     [AM_DISTRIB_STATUS] [char](1) NOT NULL,
     [VAT_DISTRIB_STATUS] [char](1) NOT NULL,
     [BUSINESS_UNIT_RECV] [char](5) NOT NULL,
     [RECEIVER_ID] [char](10) NOT NULL,
     [RECV_LN_NBR] [int] NOT NULL,
     [RECV_SHIP_SEQ_NBR] [smallint] NOT NULL,
     [RECV_DIST_LINE_NUM] [int] NOT NULL,
     [LEDGER_GROUP] [char](10) NOT NULL,
     [VAT_TXN_TYPE_CD] [char](4) NOT NULL,
     [FREIGHT_AMT] [decimal](26, 3) NOT NULL,
     [SALETX_AMT] [decimal](26, 3) NOT NULL,
     [USETAX_AMT] [decimal](26, 3) NOT NULL,
     [VAT_INV_AMT] [decimal](26, 3) NOT NULL,
     [VAT_NONINV_AMT] [decimal](26, 3) NOT NULL,
     [DSCNT_AMT] [decimal](26, 3) NOT NULL,
     [VAT_RECOVERY_PCT] [decimal](5, 2) NOT NULL,
     [VAT_BASIS_AMT] [decimal](26, 3) NOT NULL,
     [VAT_BASIS_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_CALC_AMT] [decimal](26, 3) NOT NULL,
     [VAT_CALC_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_RCVRY_AMT] [decimal](26, 3) NOT NULL,
     [VAT_DSCNT_ADJ] [decimal](26, 3) NOT NULL,
     [VAT_DSCNT_ADJ_BSE] [decimal](26, 3) NOT NULL,
     [VAT_DSCNT_RCVRY] [decimal](26, 3) NOT NULL,
     [VAT_DSCNT_RCVR_BSE] [decimal](26, 3) NOT NULL,
     [TAX_CD_VAT] [char](8) NOT NULL,
     [TAX_CD_VAT_PCT] [decimal](7, 4) NOT NULL,
     [VAT_DCLRTN_DT] [dbo].[PSDATE] NULL,
     [OPERATING_UNIT] [char](8) NOT NULL,
     [PRODUCT] [char](6) NOT NULL,
     [FUND_CODE] [char](5) NOT NULL,
     [CLASS_FLD] [char](5) NOT NULL,
     [PROGRAM_CODE] [char](5) NOT NULL,
     [BUDGET_REF] [char](8) NOT NULL,
     [AFFILIATE] [char](5) NOT NULL,
     [AFFILIATE_INTRA1] [char](10) NOT NULL,
     [AFFILIATE_INTRA2] [char](10) NOT NULL,
     [CHARTFIELD1] [char](10) NOT NULL,
     [CHARTFIELD2] [char](10) NOT NULL,
     [CHARTFIELD3] [char](10) NOT NULL,
     [PROJECT_ID] [char](15) NOT NULL,
     [VAT_APPLICABILITY] [char](1) NOT NULL,
     [VAT_REBATE_PCT] [decimal](5, 2) NOT NULL,
     [VAT_REBATE_AMT] [decimal](26, 3) NOT NULL,
     [VAT_REBATE_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_USE_ID] [char](6) NOT NULL,
     [VAT_ENTITY] [char](20) NOT NULL,
     [SHIPTO_ID] [char](10) NOT NULL,
     [SUT_BASE_ID] [char](10) NOT NULL,
     [TAX_CD_SUT] [char](8) NOT NULL,
     [TAX_CD_SUT_PCT] [decimal](5, 2) NOT NULL,
     [SUT_APPLICABILITY] [char](1) NOT NULL,
     [DOC_TYPE] [char](8) NOT NULL,
     [DOC_SEQ_DATE] [dbo].[PSDATE] NULL,
     [DOC_SEQ_NBR] [char](12) NOT NULL,
     [DOC_SEQ_STATUS] [char](1) NOT NULL,
     [POSTING_DATE] [dbo].[PSDATE] NULL,
     [IST_DISTRIB_STATUS] [char](1) NOT NULL,
     [PRIMARY_LEDGER] [char](1) NOT NULL,
     [BUDGET_HDR_STATUS] [char](1) NOT NULL,
     [BUDGET_LINE_STATUS] [char](1) NOT NULL,
     [CLOSE_STATUS] [char](1) NOT NULL,
     [BUDGET_DT] [dbo].[PSDATE] NULL,
     [KK_TRAN_OVER_FLAG] [char](1) NOT NULL,
     [KK_TRAN_OVER_OPRID] [char](30) NOT NULL,
     [KK_TRAN_OVER_DTTM] [dbo].[PSDATETIME] NULL,
     [VAT_TRANS_AMT] [decimal](26, 3) NOT NULL,
     [VAT_TRANS_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_TRANS_AMT_RPTG] [decimal](26, 3) NOT NULL,
     [CURRENCY_RPTG] [char](3) NOT NULL,
     [VAT_INV_AMT_RPTG] [decimal](26, 3) NOT NULL,
     [IU_ANCHOR_FLG] [char](1) NOT NULL,
     [IU_SYS_TRAN_CD] [char](8) NOT NULL,
     [IU_TRAN_CD] [char](8) NOT NULL,
     [ENTRY_EVENT] [char](10) NOT NULL,
     [EE_PROC_STATUS] [char](1) NOT NULL,
     [VAT_LN_ENT_AMT] [decimal](26, 3) NOT NULL,
     [VAT_LN_ENT_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_MBASIS_AMT] [decimal](26, 3) NOT NULL,
     [VAT_MBASIS_AMT_BSE] [decimal](26, 3) NOT NULL,
     [VAT_MTRANS_AMT] [decimal](26, 3) NOT NULL,
     [VAT_MTRANS_AMT_BSE] [decimal](26, 3) NOT NULL
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    Destination Table in next Reply as it wouldn't fit here...
    Note I could bcp out/in this table without the query attached selecting 100,000 fine.  Appreciate your time and suggestions.

  • CRAXDDRT PrintOutEx method throes 'value out of range' error

    Hi,
    I am using CRAXDDRT.dll for Crystal reports 10 to print a report to a file in afp format.
    The following is the scenario:
    We have to print out the Tax forms of all the accounts. These forms are printed through an AFP printer. We generate the AFP file and push it to the printer for printing. We create the files each containg10000 accounts. So, we create multiple afp files going in a loop in our code, breaking our files to contain 10000 accounts. For writing the report to a file we use the PrintOutEx method of CRAXDDRT.dll which also takes StartPage number and StopPage numbers as parameters. But when either of the parameters exceeds 32000(int) the method fails with a 'value out of range' error. Do we have any hot fix so that the PrintOutEx method accepts StartPageNum and StopPageNum values more than 32000.
    Public crReport As CRAXDDRT.ReportClass
    crReport.PrintOutEx(False, piCopiesToPrinter, True, 33000, 38000, sPortName)
    Thanks.

    CR 10 has been out of patch support since december of 07. See the following for more details:
    Business Objects Product Lifecycles [original link is broken]
    There is no equivalent API to PrintOutEx in the Crystal Reports SDK for .NET. Thus I understand why you need to use the RDC. However, my suggestion of changing your reference to craxDrt.dll as opposed to craxDDrt.dll still stands due to the two reasons I gave in my previous post (licensing and stability).
    I would also consider Don's suggestion re. the 32K limit:
    "Only work around I can think of is to limit the number of pages for your print jobs to 32K and then create multiple print jobs to select the same limit. Using Record Selection formula to set the limit, as for the actual page numbers being printed you will likely have to limit them also to 32k, the field may not be able to hold any page numbers higher than 32k."
    Finally, another suggestion worth investigating is to see if CR XI release 2 with the latest Service Pack has the same issue. CR XI r2 eval can be downloaded from here:
    http://www.businessobjects.com/products/reporting/crystalreports/eval.asp
    The latest Service Pack can be downloaded from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
    Ludek

  • Error in RunLogicAgainstSelection:Subscript out of range

    Dear experts,
    I'm writing a cross application *RUNALLOCATION from application InvCost.
    While validating the logic I ot this error saying
    "error in RunLogicAgainstSelection: Subscript out of range" and here's the code
    *RUNALLOCATION
    *FACTOR=1/TOTAL
    *APP               WHAT=FINANCE;          WHERE=INVCOST;          TOTAL=<<<
    *DIM TIME          WHAT=%TIME_SET%;     WHERE=<<<;          TOTAL=<<<
    *DIM DATASRC          WHAT=TEMP;          WHERE=INPUT;          TOTAL=INPUT
    *DIM LOB          WHAT=00000;          WHERE=;               TOTAL=
    *DIM COSTCENTER          WHAT=122;          WHERE=;               TOTAL=
    *DIM MACCT          WHAT=5601;          WHERE=;               TOTAL=
    *DIM FACTORY          WHAT=0000F;          WHERE=[L_f]="7";     TOTAL=EACH([L_f]="7")
    *DIM INTFAC          WHAT=;               WHERE=NONINTFAC;     TOTAL=EACH(BASE(ALLINTFAC))
    *DIM INVACCT          WHAT=;               WHERE=FUC_L;          TOTAL=FFACTOR
    *DIM PARNO          WHAT=;               WHERE=NONPARTNO;     TOTAL=EACH([INVTYPE]="L")
    *DIM SACCT          WHAT=00;          WHERE=;               TOTAL=
    *DIM CATEGORY          WHAT=ACTUAL;          WHERE=<<<;          TOTAL=<<<
    *DIM RPTCURRENCY     WHAT=LC;          WHERE=<<<;          TOTAL=<<<
    *ENDALLOCATION
    From WHAT there's only one value and devid by TOTAL then put into all base members of WHERE.
    Factory part is a little tricky cause I'm not sure if it'll give me only base members for the given condition.
    Any helpful comments are welcome. Thanks a million...
    ,Jim Hsu

    Hi Jim,
    I think you need to use the "USING" clause, as in this simple example. This is where you define the allocation driver.
    *RUN_ALLOCATION
    *FACTOR USING/TOTAL
    *DIM Product What=NoProduct; Where=[ProductLevel]="5"; USING=<<<; TOTAL=<<<
    *DIM Account What=MarketingExpense; Where=<<<; Using=Revenue; Total=<<<
    *ENDALLOCATION

  • Image Manager : upload image - error message String index out of range

    Hello,
    i'm facing an issue with the upload functionality of 'Image Manager'.
    When i upload a file, systematicaly an error message pops up :
    "error message String index out of range : - XXX"
    Where XXX is a value as large as the size of the file.
    I have the feeling that the problem may come from the installation of VC.
    Did someone encountered this issue ?
    Thank you

    Hi,
    Plz check the below link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do
    Govindu

  • NI MAX throughput error and Camera attribute out of range

    I recently purchased a Point Grey Grasshopper3 camera, it seems to work fine in the Fly Cap software point grey provides, but I get an error in NI MAX when I try to do a simple grab (shown below). This error shows up every time I try to grab an image the first time after opening NI MAX, even though throughput is set to the max. Then I change the throughput max under device control to any number around the max of 125000000, and the camera works fine for MAX. It will grab images as much as I need. Then I save the camera, exit MAX, open MAX again, it shows my saved settings, I go to grab images and I get the error again. So I change the range to whatever number and it works again in the same session in MAX. 
    I did have a point grey Zebra2 working fine, and was using it in my LabVIEW program with IMAQdx to acquire images. When I try to use grasshopper3, LabVIEW returns an error of camera attribute out of range from the camera configuration VI. The VI's I am using to test the camera is just open camera, configure acquisition, start acquisition, get image, unconfigure acquisition, and close camera from IMAQdx. I did twice open MAX, change throughput, save camera, close MAX without grabbing an image, and then was able to acquire images in LabVIEW on the first run. Then I would run the VI again and it would return the error for camera attribute out of range. I have changed the packet size, resolution, and frame rate of the camera with out noticing a difference in the errors. 
    Since I am able to stream images from the camera in point greys fly capture, and in MAX after toggling the throughput setting, it leads me to believe there is some sort of MAX/LabVIEW error preventing me from capturing the images.
    Any ideas? Has anyone else had this issue with MAX and LV? 
    Solved!
    Go to Solution.
    Attachments:
    MAX error.png ‏17 KB

    It looks like Point Grey cameras have shown this error before based on out of date firmware. See this link for one such instance. I would monitor the camera file (*.icd) located in the IMAQdx data folder in Public Documents to see if the actual value is being overwritten after the camera configuration is saved in MAX. There is a chance that the GigE .XML file that is transferred from the camera is overwriting these values to the unacceptable value. See this link for a KB regarding this error, which leads me to believe this may be the issue.
    Karl G.
    Applications Engineer
    ni.com/support

  • Config copy via snmp - value out of range

    Hi,
    I have problem with configuration file copy via snmp on cisco AP 1121. I use this mib CISCO-CONFIG-COPY-MIB.
    I use this oid's and i get error ".1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)""
    snmpset -v1 -c <rwcommunity> <ap_ip> .1.3.6.1.4.1.9.9.96.1.1.1.1.2.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.3.333 i 4
    .1.3.6.1.4.1.9.9.96.1.1.1.1.4.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333 inetaddress "<tftp_server_ip>"
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)
    Any Ideas? Thanks for help.

    Hi,
    I have problem with configuration file copy via snmp on cisco AP 1121. I use this mib CISCO-CONFIG-COPY-MIB.
    I use this oid's and i get error ".1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)""
    snmpset -v1 -c <rwcommunity> <ap_ip> .1.3.6.1.4.1.9.9.96.1.1.1.1.2.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.3.333 i 4
    .1.3.6.1.4.1.9.9.96.1.1.1.1.4.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333 inetaddress "<tftp_server_ip>"
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)
    Any Ideas? Thanks for help.

  • Receiving Error "A Number Is Out of Range" in Acrobat 8.1.2 and 7.0

    I create mapbooks for the county I work at using ESRI's ArcMap ArcEditor. Once the book is done I convert it to PDF so that officers, fire fighters, etc. can open it on their laptops. Recently I started receiving the error "A Number is Out of Range" when I finish combining the PDF files into a binder. The error persists anytime I change pages and I have to click OK several times before it goes away. This becomes a problem for emergency management when their trying to search a road, plus it is also very annoying. Does anyone know how to get around this? It didn't use to do this. I thought maybe it was the fonts I was using, so I changed most of them to Arial and Times New Roman, yet it still persists, but seems slightly better. I cannot find anything on Adobes website about A Number is Out of Range. Also, I am using Acrobat Professional 8.1.2 and have also tried Professional 7.0. I'm running Windows XP. I have also tried reverting back to old versions of ArcMap and also the mapbook software MapLogic, but nothing helps. Any help would greatly be appreciated.

    I'm getting this error also, and I don't think it's a font issue. Here's my situation.
    I created a 144-page manual in Adobe FrameMaker 8.0 using the same template and fonts that I have used in several other large manuals. I saved the manual as a PDF using Acrobat 3D 8.0, and is get the mind-numbingly vague error "A number is out of range." I didn't get this error in previous versions of this manual, nor do I get this error with the other manuals on which I am currently working. I had inserted some EPS technical drawings, so I opened all of them in Illustrator CS3 and Created Outlines for any text that appeared in the illustrations.
    After two days of replacing all of the fonts, optomizing PDFs, and distilling, distilling, and distilling again, I was not able to get rid of this message using Acrobat. I finally pulled out my MacBook Pro, opened the PDF manual using Preview, saved the PDF under a different name (no need to apply a Quartz filter), and (abracadabra!) the vague error message is gone!
    Fonts may be one cause of the annoyingly vague "A number is out of range" error, but they are not the only one. And with such informative error messages as that, I doubt I'll ever know what is really wrong with my PDF.
    Cheers!
    Michael Opsteegh

  • FPM Error: An internal error occured: String index out of range -4

    Hi All,
    I have imported the SSA BP to my EP (7.0), however, when I tried to create a custom FPM view & FPM Application for my custom WD application....the system will just prompt the error message "An internal error occured: String index out of range -4".
    Can anyone advise what could be the problem? and how to resolve it?
    Thanks in advance!
    Best Regards,
    SY

    Hi,
    You are trying to call the index of the String whose length is 4., but in the code you may have called from 1 to 4.. which should be 0 to 3.
    If you can show the stack trace of the exception, we can pinpoint the code / line.
    Just check the WD code..!!
    Thanks,
    Raags

  • MP Error: StringIndexOutOfBoundsException: String index out of range: -1

    Hi All,
    We are using PI 7.1 EHP1, Where in we would like to see the capabilty of User-Module for Conversion of IDoc Messages Between Flat and XML Formats. Gone thru the blog (/people/sap.user72/blog/2005/07/04/get-into-the-zone - Part 2) and maintained the necessary NWA configurations and maintained the necessary module parameters (SAPRelease, SourceJRA, TargetDestination) in Sender File Adapter.
    Now the file is not been picked by file adapter upon checking the Comm Channel Monitoring below error:
    MP: exception caught with cause java.lang.StringIndexOutOfBoundsException: String index out of range -1
    Any help would be highly appreciated.
    Thanks in advance

    Hi Ramani,
    I hope you must have found a solution on this, if not then kindly consider changing your source files, as this error corresponds to only one thing: i.e. DATA Issue. You need to correct the data which you providing to the module for conversion.
    I faced this problem and corrected it by just correcting my test file.
    Regards,
    Nipun Shedhani

Maybe you are looking for

  • Calling with package "Unlimited world 1 month" got...

    Hello there, I called with package "Unlimited world 1 month" into the land-line in Germany got interrupted regularly. How can I solve this problem? Thank you in advance. Spring

  • Using Numbers as a timeline program?

    I am writing stories as a hobby and have so many characters and events now with my 3th book that I start to forget what happened when and who was born at what date. I looked for a timeline program on the web but could not find anything that is specia

  • Difference between Seeburger FTP and OFTP adapters

    hi, Can anybody tell me the difference between Seeburger FTP and OFTP adapters? On what basis should one make a business decision as to which adapter to go for? Kindly help urgently. Regards, Loveena

  • Question on upgrade of SAP_BASIS & ABA component on Application component

    We have been recommended to upgrade SP21 for component SAP_BASIS (13) and SAP_ABA (12)  to resolve HR ALE issues where correction is available in SP21. We are in SRM6.0 SP03. My question is do we have to go for SRM6.0 support pack upgrade too which i

  • Editing in QuickTime distorts image

    Dear QuickTime users, I am trying to cut out sections of video from previously exported from FCP 6 .mov files. I am using QuickTime 7 as a fast solution to cut out sections to shorten the videos as I need just excerpts. As a result, the ending of eac