Error in PL/SQL for Calculated Item

I have calculated items on a page, one called :P7_AMOUNT_GRANT which has the code below:
DECLARE
     v_amount_grant     varchar2(30);
BEGIN
     SELECT APPROVED_COST * (PERCENT_GRANT / 100)     
INTO v_amount_grant
     FROM HIG_GRANTS
     WHERE ID = :P7_ID;
RETURN TO_CHAR(v_amount_grant, 'FML999G999G999G999G990D00');
END;
This code above works perfectly
and another item which is called :P7_GRANT_PAYABLE which has the source code below, this is not working, as I am getting a number to character error. Can anyone help?
I did have this working, but accidently overtyped the code, and lost the working pl/sql.
DECLARE
v_getval varchar2(30);
v_reg_fee varchar2(30);
BEGIN
SELECT LESS_REG_FEE
INTO v_reg_fee
FROM HIG_GRANTS
WHERE ID = :P7_ID;
IF v_reg_fee is null THEN
v_getval := TO_NUMBER(:P7_AMOUNT_GRANT);
ELSE
v_getval := TO_NUMBER(:P7_AMOUNT_GRANT) - TO_NUMBER(:P7_LESS_REG_FEE);
END IF;
RETURN TO_CHAR(v_getval, 'FML999G999G999G999G990D00');
END;
I know it will no doubt be a silly little thing, but it is driving me crazy!
Thanks

DECLARE
v_getval varchar2(30);
v_reg_fee varchar2(30);
BEGIN
SELECT LESS_REG_FEE
INTO v_reg_fee
FROM HIG_GRANTS
WHERE ID = :P7_ID;
IF v_reg_fee is null THENBelow, you're trying to assign a number to your varchar2 variable, which won't work. You need a number variable to hold the := to_number() assignment.
v_getval := TO_NUMBER(:P7_AMOUNT_GRANT);
ELSE
v_getval := TO_NUMBER(:P7_AMOUNT_GRANT) -
TO_NUMBER(:P7_LESS_REG_FEE);
ND IF;
RETURN TO_CHAR(v_getval,
'FML999G999G999G999G990D00');
END;
I know it will no doubt be a silly little thing, but
it is driving me crazy!
ThanksEarl

Similar Messages

  • Error  :  Purchase Order  Response for Service items Different

    Hi ,
    We are getting Error  :  Purchase Order  Response for Service items Different  , when creating the PO in SRM 5.0.  what must be the reason ?
    Thanks & Regards,

    Problem solved

  • Goods Issue error - batches not defined for delivery item

    Hi,
    We are getting a Goods Issue error  u201CThe batches are not defined for delivery item 000010u201D.   We are only getting this error for a material that is being shipped against a particular third party sales scheduling agreement.  We went live in 2007 and we had no issues, but when we had to create a new Sched Agreement this year, for third party sales, we started to get this error.  However, if we re-activate the old scheduling agreement we do not get the error.  We have a batch job that executes the following steps:
    1.     VL06IG (collective goods receipt)
    2.     VL10 (collective delivery)
    3.     VL06O (collective GI)
    We have compared the 2 scheduling agreements and see no difference.  We are assuming it has something to do with how the scheduling agreement was setup, but are not sure.  Any suggestions on how to correct this problem would be much appreciated.
    Thanks in advance,
    Helen

    Dear Murali,
    The material has not changed at all.  I'm not sure what you mean by maintaining batches while receipt of the material.
    If I re-open the old scheduling agreement, we do not get the error message.  However, as soon as we use the new SD scheduling agreement, we get the error.  We are using the same material master on both scheduling agreements.
    Thanks,
    Helen

  • Error in WEB IC FOR WORK ITEM "Choose an assignment reason"

    We are getting an error in WEB IC where user is trying to resubmit the work item by giving the resubmission date, re submission reason , Status, and sub status
    but when users are trying to save  it they are getting an error i.e. "Choose an assignment reason" and they are not able to complete the process
    I know there is config for maintaining "Define Reasons for Assignment of Work Items" in SPRO under work items, but this config is not applicable since we are not assigning work item to a new unit and/or a new collection specialist, or removing any assignment.  we are just re submitting the work items
    Any help on this will be highly appreciated.

    Hi,
    Just a thought - on a couple of my previous projects we had some custom CRM Fron-end validation between Work Item Sub Status and either re-assignment reason and/or Closing result code.
    Perhaps check with your Development support team to ensure no such cross-validation exists upon saving.
    Regards,
    Ivor Martin

  • ORA-00933 - Error in PL/SQL for Form with report.

    Hello,
    I am getting this error :
    failed to parse SQL query:
    ORA-00933: SQL command not properly ended
    and my PL/SQL function body returning SQL is as follows:
    Declare
    q varchar2(32767);
    w varchar2(4000);
    v_total varchar2(10);
    Begin
    v_total:='TOTAL' ;
    q:=' SELECT ASR_DB_CLIENT.CLIENT_NAME, ';
    q:=q||' ASR_DB_OIS.ACCT_NAME, ';
    q:=q||' ASR_DB_OIS.ACCT_NBR, ';
    q:=q||' ASR_DB_OIS.INCEPT_DT, ';
    q:=q||' asr_db_prod.MKT_CODE, ';
    q:=q||' asr_db_prod.asst_clss, ';
    q:=q||' ASR_DB_OIS.PROD_CODE, ';
    q:=q||' ASR_DB_OIS.GROUP_CODE, ';
    q:=q||' ASR_DB_PLAN.TAX_STAT, ';
    q:=q||' asr_db_clnt_type.clnt_type_name, ';
    q:=q||' asr_db_plan_type.plan_type_name, ';
    q:=q||' ASR_DB_OIS.ACCT_type, ';
    q:=q||' ASR_DB_PLAN.CNTRY_CODE, ';
    q:=q||' ASR_DB_OIS.DISCRET_FLAG, ';
    q:=q||' ASR_DB_OIS.ASST_BAL ';
    q:=q||' FROM ASR_DB_OIS, ASR_DB_PLAN, ASR_DB_CLIENT, ASR_DB_PROD, ';
    q:=q||' asr_db_plan_type, ';
    q:=q||' asr_db_Clnt_type ';
    q:=q||' WHERE';
    q:=q||' ASR_DB_OIS.PLAN_ID = ASR_DB_PLAN.PLAN_ID and ';
    q:=q||' ASR_DB_OIS.as_of_dt = ASR_DB_PLAN.as_of_dt and ';
    q:=q||' ASR_DB_PLAN.CLIENT_ID = ASR_DB_CLIENT.CLIENT_ID and ';
    q:=q||' ASR_DB_OIS.as_of_dt = ASR_DB_CLIENT.as_of_dt and ';
    q:=q||' asr_db_ois.prod_code = asr_db_prod.prod_code and ';
    q:=q||' ASR_DB_PLAN.plan_type_code = ASR_DB_PLAN_type.plan_type_code and ';
    q:=q||' ASR_DB_Client.clnt_type_code = ASR_DB_clnt_type.clnt_type_code and ';
    q:=q||' ASR_DB_OIS.AS_OF_DT = :p99_asofdate ';
    IF :P2_ROLLUPSLEEVE = 'RU'
    THEN
    q :=q||' and ASR_DB_OIS.PARENT_OIS_ID is null ';
    Else
    q :=q||' and ASR_DB_OIS.ACCT_TYPE like "%"'||v_total||'"%" ';
    q :=q||' and ASR_DB_OIS.PARENT_OIS_ID is not null ';
    END IF;
    return q;
    end;
    Why this is failing ?
    Is "%"'||v_total||'"%" '; incorrect ?
    P2_ROLLUPSLEEVE is a radio button.
    Please advise....
    Thanks,
    HM

    And
    Also, I get the following error when I try few other things like
    q :=q||' and ASR_DB_OIS.ACCT_TYPE = '||v_total||' ';
    or
    q :=q||' and ASR_DB_OIS.ACCT_TYPE = "||v_total||" ';
    failed to parse SQL query:
    ORA-00904: "TOTAL": invalid identifier
    And
    ORA-06550: line 43, column 41: PLS-00103: Encountered the symbol "TOTAL" when expecting one of the following: * & = - + ; < / > at in is mod remainder not rem <> or != or ~= >= <= <> and or like LIKE2_ LIKE4_ LIKEC_ between || member SUBMULTISET_ The symbol "* was inserted before "TOTAL" to continue.
    When I try
    q :=q||' and ASR_DB_OIS.ACCT_TYPE = "'TOTAL'" ';
    Any helpful tips will be much appreciated.
    Thanks,
    HM

  • I get a download error in iTunes store for purchased items since update.  It will not download the items waiting.  How can this be fixed?

    Since latest update, I get a download error message for 25 songs that are waiting to download.  It says to "tap and try again" but still does not download.  How can I get them downloaded?  They are showing in my iTunes on PC but not on phone.

    The problem is with facebook, go to settings / facebook / your user name and delete your account, the do a hard reset (home+power for some seconds).
    dont need to delete the facebook app! just delete your integrate account from settings
    cheers!

  • Decode SQL for Form ITEM

    I have an Form where i need to use REad Only Check box Item. The print on Read only Check box is so light. So I want to USE check box work space images instead.
    <code>
    SELECT Checked,
    decode(checked,
    'Y', '<img src= "#WORKSPACE_IMAGES#checked.JPG" height = "15" width = "15">',
    'N', '<img src= "#WORKSPACE_IMAGES#unchecked.JPG" height = "15" width = "15">',
    null,'<img src= "#WORKSPACE_IMAGES#unchecked.JPG" height = "15" width = "15">' ) checked
    FROM csrpt where CID = :P5_CID;
    </code>
    I am trying to use something like that but it is not showing up... any suggestions in this Regard will be helpful ..
    Thank you
    Lucy

    Firstly, use CASE rather than DECODE, it's far easier to read!
    Have you inspected the form element with firebug or similar?

  • No control line for line item - error while posting bd to accounting

    Hi all,
    Billing document showing err "no control line for line item" while posting to accounting doc.Sales document is complete no in completion logs.
    Previous errr: g/l missing for line item" in order incompletion after maintaining company code for customer, then refresh the g/l missing for line item is no more logs and showing the error "no control line for line item" while posting bd to accts.
    Please help
    Regards
    anush

    Hello Anush,
    if the company data of the payer was not created when the sales order has been created, then the system could not create the correct records in table VBREVK. Once the company data has been maintained the VBREVK records could be corrected by re-saving the sales, but only if no billing document exists.
    In your case you already created the billing document.
    Please try these step:
    1. reverse billing document
    2. run VA02 add a blank char to PO number, save
    3. create new billing document
    Best regards,
    Ivano.

  • Calculated items to be created on rows as well as on columns of a pivot tab

    Hello Experts,
    My Report has 3 columns . First is Hierarchy(parent-child) column, second is Fiscal Month and third a measure. I have multiple groups and calculated items added in selection pane for the Hierarchy column.
    I created a pivot table using above 3 columns where in rows bucket I have hierarchy column,in columns bucket I have Fiscal Month and in the measures bucket I have the measure.
    Now when I try to create a calculated item on Fiscal Month like $-1-$-2, I get the following error.
    Error Codes: OAMP2OPY:U5V5TIAH
    DXE expression interpreter error. Invalid "alias" attribute value. Source name: . XML: <sawxd:expr xmlns:sawxd="com.siebel.analytics.web/expressiondxe/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawq="com.siebel.analytics.web/querydxe/v1.1" xsi:type="sawq:field" alias="s_2"/>
    To add, the report works fine when I remove the calculated items based on Hierarcial column.
    Please help to resolve this issue and identify the root cause.
    Thanks and regards.
    Edited by: 900085 on Sep 1, 2012 4:38 AM

    This is a bug with Oracle now. Find the details below.
    Bug 14580738 : ERROR : OAMP2OPY:U5V5TIAH WHEN ADD CALCULATED ITEM IN 2 SECTIONS AND USE $ SIGIN

  • GetItemData integration api: unable to read data for custom item

    Hello,
    I am trying to retrieve the data of an custom item via the getItemData api but i am gett the error message
    "Not implemented for this item type"
    I checked the api documentation, the list of supported item types include custom methods.
    Is there any thing that i need to maintain for the custom method so that i can read the data stored by it using the getItemData api.
    or is it simply not possible to read custom item data.
    Thanks for the help,
    Regards,
    Saurav

    Hi Ruediger,
    Thanks for the reply.
    To test the getItemData API i have implemented the hello world custom method example (java script).
    I created an item using the UI and edidted the content.
    when i try to read the saved data using the api i am getting the message
    encountered an error:
    Server returned HTTP response code: 400 for URL: https://streamwork.com/v1/items/5EXAbr-TgVCJV1qgL8-g1W/item_data?
    <?xml version="1.0" encoding="UTF-8"?>
    <error>
      <http_status>400 Bad Request</http_status>
      <message>Not implemented for this item type.</message>
    </error>
    When i try to read the data of a text item using the same API I am getting the correct response
    <text_item>
       <text_content><p>Hello testing</p></text_content>
    </text_item>
    So i was wondering how i can implement the getItemData for my custom method.
    Thanks and regards,
    Saurav.

  • Excel, PowerView error in SharePoint 2013: "An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source."

    I've installed SQL Server 2012 SP1 + SP server 2012 + SSRS and PowerPivot add-in.
    I also configured excel services correctly. Everything works fine but the powerview doesn't work!
    While I open an excel workbook consist of a PowerView report an error occurs: "An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions
    to access the data source."
    error detail: 
    <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">An
    error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
    xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the
    data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'EntityDataSource'.</Message><MoreInformation><Source></Source><Message>For more information about this error navigate
    to the report server on the local server machine, or enable remote errors</Message></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
    Please help me to solve this issue. I don't know if uploading the excel workbook is enough or maybe It needed to connect to another data source.
    I Appreciate in advance.

    Hi Ali.y,
    Based on the current error message, the error can be related to the
    Claims to Windows Token Service (C2WTS) and is an expected error under certain conditions. To verify the issue, please check the aspects below:
         1. The C2WTS Windows service and C2WTS SharePoint service are both running.
         2. Check the SQL Server Browser service is running on the machine that has the PowerPivot instance of SSAS.
         3. Check the domain. You're signing into SharePoint with a user account in some domain (call it Domain A).  When Domain A is equal to Domain B which SharePoint server itself is located (they're the same domain), or Domain
    A trusts Domain B.
    In addition, the error may be caused by Kerberos authentication issue due to missing SPN. In order to make the Kerberos authentication work, you need to configure the Analysis Services to run under a domain account, and register the SPNs for the Analysis
    Services server.
    To create the SPN for the Analysis Services server that is running under a domain account, run the following commands at a command prompt:
    • Setspn.exe -S MSOLAPSvc.3/Fully_Qualified_domainName OLAP_Service_Startup_Account
    Note: Fully_Qualified_domainName is a placeholder for the FQDN.
    • Setspn.exe -S MSOLAPSvc.3/serverHostName OLAP_Service_Startup_Account
    For more information, please see:
    How to configure SQL Reporting Services 2012 in SharePoint Server 2010 / 2013 for Kerberos authentication
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • An error occurred while loading the model for the item or data source 'EntityDataSource'.

    Hi Team,
    We are trying to configure the Power View in SharePoint 2013. We did the entire configuration by following below steps. When we open the excel workbook (2013) containing
    Power View sheet (using excel web services) deployed in SharePoint Document library, we get the below error.
    “An error occurred while loading the model for the item or data source
    'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source.”
    Steps followed for configuring Power View in SharePoint Server 2013 (Single Machine setup):
    Installed SharePoint Server 2013 Enterprise edition
    Did not configure it at this time
    Installed SQL Server 2012 with default instance installation (selected every features)
    Later installed SP1 for SQL Server 2012
    After that installed Analysis Server in SharePoint mode (SQL Server PowerPivot for SharePoint)
    Again installed another Analysis Server and selected the tabular mode of data model
    Then ran the configuration wizard of Share point 2013 for farm configuration (only for central admin creation)
    Later we ran the PowerPivot for SharePoint 2013 (spPowerpivot.msi)
    Then using the Power Pivot Configuration tool for 2013 and completed all the steps and configured the excel service and registered the above two analysis service instances. 
    Questions/Doubts are:
    Is our steps followed as mentioned above is correct for configuring Power View in SharePoint Server 2013 Enterprise edition?
    Is the SQL Server 2012 Enterprise edition with SP1 installed is sufficient to view Power View sheets in SharePoint 2013 or we need to use the SQL Server 2012 SP1
    CTP3 software for Power View feature as mentioned in the below link.
    http://technet.microsoft.com/en-us/library/jj219634.aspx
    but we don’t have an option to download CTP3 software now from Microsoft site
    Or do we need to install
    Microsoft SQL Server 2012 With Power View For Multidimensional Models
    CTP
    http://www.microsoft.com/en-sg/download/details.aspx?id=35822
    Few blogs says that SQL Server 2012 instance should have been installed with SP1 at one go (not seperately).
    http://www.microsoft.com/en-in/download/details.aspx?id=35575
    Error detail :
    <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message
    xmlns="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access
    the data source.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3000.0</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3000.0</ProductVersion><ProductLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
    xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3000.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access
    the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3000.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'EntityDataSource'.</Message><MoreInformation><Source>Microsoft.AnalysisServices.SPClient</Source><Message>We
    cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source></Source><Message>We cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source>Microsoft.Office.Excel.Server.WebServices</Source><Message>We
    cannot locate a server to load the workbook Data Model.</Message></MoreInformation></MoreInformation></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices"
    /></detail>
    Please help me in  configuring Power View for SharePoint 2013.
    Thanks in advance.
    Pavan Kumar

    I'll bet that I know the answer to this one - and you probably won't like it ;)
    Here's the telling portion of that error:  "We cannot locate a server to load the workbook Data Model."
    This error is thrown in two scenarios; the first, when you haven't registered an analysis server.  The second appears to be the issue you're having:
    PowerPivot requires SQL Server 2012 SP1.  Microsoft issued a release of SQL Server 2012 SP1 that really wasn't SP1...
    Check the version of SQL that you are running.  It should be version 11.0.3000 or greater.  If it's not, you have the wrong "SP1" installed.  The correct one is
    here.
    Here's the bad news- you can't simply redeploy the correct one... because the installer already thinks that SP1 is installed.  You'll have to backup (or detach and copy) your databases, then re-install SQL with the correct SP1, then restore or reattach
    the databases.  Once you've done that, PowerPivot and PowerView will work properly.
    I sincerely hope this resolves your issues - we wasted TWO WEEKS of our time with this problem!

  • Re:Error while updating Warehouse List for the items in DTW..!!!

    Dear SAP Members,
    We have transferred the items through DTW but while updating the warehouse list for the items.i got a error message like this:
    No.     Status                  Key               Reason
    1         Updatefailed       ItemCode       cannot find this object in B1-application defined or object defined error65171
    How to resolve this issue.It shows error for 600 records.It is very dfficult to enter manually.Help me on this issue.
    With Regards,
    Revathy

    Hi Revathy,
    I suggest you use SQL Server Management Studio. I am not sure which DTW template you are using. All templatesl map to certain tables in B1. You should perfform a select on that table in SQL Management Studio.
    It seems like the column that connects DTW Template in excel to the column in B1 Table do not match. Usually you may have incremental numbers in starting sequence in DTW Template, however, it is different in B1. You may need to copy the numbers over to DTW Template.
    If you want to do it automatically, you can achieve it through mapping or you could write your own little program that takes data from B1 tables and replace the one in Excel in that column.
    If it is one time effort you may just map them manually.
    I hope I am making sense to you.
    If you want us to try it out, give the name of the template, the content in the template may be few lines.

  • Error in net price calculation, item 000010 (Please correct)

    Hi
    Can you tell me error and correction for the same ? It occurs during creation of Std.PO. whom RM1000 prcing procedure is assigned.
    Error in net price calculation, item 000010 (Please correct)
         Message no. 06213
    Diagnosis
         Possible causes:
         o   The net price is negative.
             Check the prices and conditions entered.
         o   An error has occurred during currency translation.
             Check whether the foreign currency is defined in the system.
         o   The unit of measure of an item is not allowed.
             Check the units of measure entered.
         o   An internal error has occurred during the price determination
             process.
             A mandatory condition type is not defined in the system. Please
    In the analysis under item details condition tab I got message 301 as Acess 0002 12 is missing.
    Acess seq. 0002 is assigned to condition type PB00.

    I know this thread is very old but I had the same issue and found the solution.
    Enter the SubTotal in the pricing scheme for condition P101 (in my Case 9 - Copy values to KOMP-BRTWR (gross value)).
    Than it works for my case.
    Hope this helps.

  • Error in Viewing Draft Invoice for Service Item Type

    Hi
    I am facing an error in viewing draft service invoice.
    I am saving a document (PO/ Invoice)  as draft.
    When i am trying to view from document draft list by double-clicking it. the Visual Studio Just-in-Time debugger opens up stating SAP Business One.exe encounterd an problem and by clicking NO button the SAP closes.
    Note: The Invoice is created for Service Items, it is working perfect with Item.
    This is urgent - any help
    I am using 2005 B PL 05 with SQL 2005 on Win 2003 SP1
    Indrajit

    Do you have any Addon's.
    As you seek answers here please post a support message to SAP Support
    https://websmp205.sap-ag.de/sbo-message-old

Maybe you are looking for

  • Hyperlinks to PDF files with Excel XP will not open on Acrobat

    Hi all; I am having an issue with Acrobat Reader X. I am using Windows 7 x64 Pro, with Acrobat Reader X, and MS Office XP and try as I might, I cannot create an Hyperlink to a PDF document.  Excel says that "there is no program registered to open thi

  • Pass a list of items as a parameter.

    Can I pass a list of items as a parmeter?  For example, I would like to send a list of three states, then use that parameter in my record selection to select all customers in any of the three states. I am using CR Developer 2008, Full version, 12.0.0

  • Physical Standby DB - failover setup

    Can you please help me with the following questions: 1. XELUSP1 is Production database, XELUSS1 is physical standby database for XELUSP1. During XELUSP1 crash, we brought up XELUSS1 as primary database manually. Post XELUSP1 is back to primary, Can w

  • Loading images from a JAR

    Hi, My class is currently stored in a subdirectory of my JAR file, and in the directory with the class is a "textures" directory, containing all of my images. When I run my class from the directory before I zip it up to be a JAR, it works fine. But,

  • Fumbling in the dark... again...

    Hello! I am curious of what the experts have yo say about my thought - please light up my knowledge - i just want to know.. and already now don´t hesitate i Love DW. 1/  I have just checked DW5 and the live view - a nice idea that is superb indeed -