Populating A/R Invoice Fields With Stored SQL Info

Hello All --
I have heard that one option of getting freight charges, tracking info, other shipping data into our A/R Invoice of SAP B1 is to create a look-up in A/R Invoice that can retrieve data saved in SQL by World Ship. 
Does doing something like this require the SDK package?  If not, would doing this violate any service warranty offered by SAP?
Please advise.
Thanks!!
Mike

Hi Mike,
You have asked this question a month ago.
As long as you follow SAP's tools like DTW, DI API or SDK, you will be covered without problem.
To be clear, I just copy the complete note text for you here:
SAP will not support any database, which is inconsistent, due to SQL-Queries, which modify datasets or the datastructure of the SAP Business One Database. This includes any update-, delete- or drop-statements executed via SQL-Server Tools or via the the query interface of SAP Business One.
This is stated in the support contract between SAP and the SAP Business Partner also.
"SAP will not provide support for any problem that arises because Partner or end customer has altered Software or SDK inappropriately " and "Nor will SAP provide any support services for problems that lie in Partner's or end customer's area of responsibility and result, for example, from inappropriate installation, unsatisfactory end-user training, lack of or incorrect business design, incorrect operation, or faulty hardware"
Where inconsistencies are found in a database as outlined above, SAP Business One Product Support will be unable to process the message further. In order to continue the support for this SAP Business One installation, it is expected to revert to a database backup where inappropriate changes have not been carried out.
Thanks,
Gordon

Similar Messages

  • Populating text field with pl/sql expression or function

    Hi all,
    I have a function which return an object.
    create or replace type emp2_oty is object (server_name varchar2(20),
    status varchar2(4),
    refresh_on date,
    dw_refresh date)
    create or replace type emp2_nt is table of emp2_oty
    create or replace function testserver12 return emp2_nt
    is
    v_emp2_nt emp2_nt:=emp2_nt();
    a number;
    b number;
    c number;
    begin
    for r_emp in (select * from testing)
    loop
    a := extract(DAY FROM r_emp.dw_refresh);
    c := extract(DAY FROM r_emp.refresh_on);
    b := extract(DAY FROM SYSDATE);
    if (a != b) or (c != b) or (r_emp.status != 'on') then
    v_emp2_nt.extend; v_emp2_nt(v_emp2_nt.last):=emp2_oty(r_emp.server_name,r_emp.status,r_emp.refresh_on,r_emp.dw_refresh);
    end if;
    end loop;
    return v_emp2_nt;
    end testserver12;
    The pl/sql code to get the return value displayed. It works very fine in sqlworkshop.
    declare
    v_temp_nt emp2_nt;
    i number := 1;
    begin
    v_temp_nt:= testserver12();
    for i in (v_temp_nt.first)..(v_temp_nt.last) loop
    dbms_output.put_line(v_temp_nt(i).server_name||' '||v_temp_nt(i).status||' '||v_temp_nt(i).refresh_on ||' '||v_temp_nt(i).dw_refresh);
    end loop;
    end;
    I want it to get display the output into the text field.
    Please could any one help me to achieve this.
    Thanks in advance
    bye
    Srikavi

    Pretty easy, add a CHR(10) (ASCII for carriage return) in the string concatenation.
    e.g.
       l_result:= l_result || (v_temp_nt(i).server_name || ' ' ||
                     v_temp_nt(i).status || ' ' ||
                     v_temp_nt(i).refresh_on ||' ' ||
                     v_temp_nt(i).dw_refresh) || CHR(10);Also why over complicate the whole process by using objects and types by simplifying the code and also improving readability and maintenance by replacing the PL/SQL function body with something similar to (the conditions have been negated and may have not been what you meant in the first place)
    DECLARE
       v_text_return VARCHAR2(2000);
       l_cur CURSOR IS
          SELECT t.server_name,
                 t.status,
                 t.refresh_on,
                 t.dw_refresh
          FROM   testing t
          WHERE  To_Char(t.refresh_on, 'DD') = To_Char(SYSDATE, 'DD')
          AND    To_Char(t.dw_refresh, 'DD') = To_Char(SYSDATE, 'DD')
          AND    Upper(t.status) = 'ON');
    BEGIN
       FOR r_emp in l_cur
       LOOP
          v_text_return := v_text_return || r_emp.server_name || ' ' ||
                             r_emp.status || ' ' ||
                             r_emp.refresh_on || ' ' ||
                             r_emp.dw_refresh || CHR(10);
       END LOOP;
       RETURN v_text_return;
    END;Hope this helps

  • How to combine a raw xml file stored in a table field withe other sql query in . xsq

    I created .xsql file like this:
    <xsql:query>
    select xml_file from my_table
    </xsql:query>
    xml_file is field in my_table,it stores raw xml files.
    the xml file in the result is in text format, not in xml format,how to convert the file into xml format in the result

    See the "document" demo that ships with the XSQL servlet for an example of how to do this.
    It lives in the ./demo/document subdirectory.

  • Populating Tabular Form Region Field With ITEM Data

    Hi,
    I have a date picker item, i want to be able to put that date in to all the rows in the field RENEWALDATE but ive tried to set that field to have the date item as default and it doesnt pick anything up. How can i do this?

    I sorted it in the end...I created a PLSQL process thats updates and sets the field RENEWAL to :P7_X, so when P7_X is submitted this process runs and updates all the rows displayed to populate the renewal date column with this value. I also intend on being able to select a particular trainer and populate all the rows with that one trainer user the same process.
    My situation is that certain staff have individual training sessions but some need to be in group sessions where by the trainer can update multiple people who say attended the Induction course on 12/04/2007, User selects the date and course presses retrieve and this brings back all staff on the course, the trainer can then pick his name, a renewal date and submit these, hence updating the field for every member of staff. Of course the update process is only assigned to a certain button and not on submit, so a trainer can amend a single individual out of the group and still submit the correct details. Pretty handy really

  • Adding multiple fields with ASP & SQL

    Hi there --
    I have a database that holds subscription info. Based on the time of payment and the length of subscription, I calculate an accrued monthly amount, assign that amount to a variable, and assign it to a month on a Web page.
    I want to tally up the totals for the columns that result. That means I'll need to add up several fields per record, and also add up all the records - like this:
    Customer 1: Field 1 + Field 2 + Field 3
    Customer 2: Field 1 + Field 2 + Field 3
    ... and so on - I want all those fields added together.
    I can get what looks like the last record's fields summed by using <% = (Field1) + (Field2) + (Field3) %> but it doesn't tally up all the records.
    It's possible to do, isn't it? Help?
    Thanks!

    Thank you!
    I am looping through the recordset. Can you tell me how I'd handle those variables? I can't quite get my head around it.
    Fields 1, 2 and 3 are already variables calculated from the values in the database, and they're getting output into that recordset loop...

  • Service Request - Default Owner field with Created By info

    Can anyone help me to default "Owner" field in "Service Request" record type with same info of the "Created By",
    Currently the owner field is provided with magnified glass option to select Owner and Save the Service Request.
    Thanks, Mahesh

    Mahesh,
    I am assuming that the login user is the creator of the record.
    In that case, use the 'Owned By Id' field in the SR object. Post default it to LoginId()
    Rgds,
    Amit

  • Setting fields defined in SQL updateable report with a process

    I have SQL statement defined in a SQL updateable report with hidden fields. I want to be able to update these hidden fields with values from other displayed fields on the page. How do I reference these hidden items - I have referencign them as :my_field but get and error telling me thats its underfined.

    But, the reason I am doing this is because I want to format the page with 6 columns in one <TD> cell with some extra text and formatting etc - I don't want 1 column per <TD>. Thats why I am using the APEX_ITEM.TEXT so I can format the 1 <TD> the way I want it (with 6 columns it there).
    In the short term can you tell me how to reference hidden fields please.
    I will create the case in apex.oracle.com in the next few days to make it clearer.
    P.S. see my previous post: SQL QUERY updateable report with APEX_ITEM fields to update hidden columns

  • SQL Expression field with parameter

    Hello,
    I am trying to create a SQL Expression Field that will give me the maximum status date of an employee before a certain date entered in parameter.
    ex: select max(status_date) from status where status_date < formula field or parameter
    Since I can not put a paramter or a formula field in a SQL Expression field, I might need a template or an example of something that works ?
    Thank's
    Steph
    Edited by: Stephanie Charest on Aug 4, 2008 7:59 PM

    Ok,
    The only way I found to get the maximum status date of an employee with the date entered in parameter was to litteraly put each employee ID, and Status Date in the Detail section.
    Then in the select expert create the parameter date.
    Then I created a running total field that counts the employees and resets on change of employee sorted by status date.
    Then I created a formula that gets all the first occurences of this running total field and if the running total field equals 1, a new formula field shows 1 and if not (2 and more), it shows 0.
    But I can't find the way to give me the total that I need for each group sections.
    It's ok if the SQL expression field does not work, but I need to find a way to get the max date.
    Thank's for your help for the SQL Expression field.
    Steph

  • Creating User Table, User Field ... with Script SQL in C#

    Hi every body,
    I wonder if we could create a user table, user field ... with script SQL in C#.
    Should I use the reference Microsoft.SqlServer.ScriptTask ??
    Thank you for your Help

    Haifa,
    I am not sure where your question is directed.  The forum that you have posted your question in is for questions related to the SAP Business One SDK.  Are you looking to create new user tables/fields in SAP Business One?  If so you can do this either through the SAP Business One SDK interface using Tools > User Defined Fields and/or Tools > User Defined tables.
    You can also create metadata objects in Business One programatically using the UserTablesMD and/or UserFields objects.
    SAP does not support direct SQL writes to the SAP Business One Db.
    HTH,
    Eddy

  • Populated the new field with historic data

    HI,
    I have a data for 2 years now I am enhancing the data source how can I populated the new field with historic data.Is it by
    1)deleting all the data in BW side and the doing an init then setting up a regular delta
    2)running a repair full request with selection condition.
    or is there any other option available? which is the best scenario to load these historic data?
    Regards,
    Ravi

    Hi,
    I think your datasource is already in production, and you want to data only from today onwards for enhanced fields, i.e. historical data is not required for enhanced fields..
    1.Fix ECC down time for 20 to 30 munities
    2. Keep all objects on Qty system in ECC and BW.
    3.Run Delta laods in BW for 2 to 3 times.So with this step you can clear SMQ1 and RSA7. Check the entries in RSA7, if it is ZERO then it is fine.
    4. Move DS from ECC Qty to ECC PROD .
    5. Replicate in BW.
    6. Move all BW objects from BW Qty to BW Prod.
    7. Delete Init load in InfoPackage level (Not in ODS/CUbe).
    8.Load Init without DataTransfer.
    9.Then Run Delta.
    10. Next day on wards deltas will come as usual.
    If you need Historical data also.
    1.Delete data in Cube.
    2.Fix Down Time and load Init then Delta.
    Check
    SAP Note 328181 - Changes to extraction structures inCustomizing Cockpit
    Thanks
    Reddy

  • Writing to a temp table in a stored procedure with dynamic sql

    Hi
    I am writing into a temp table with dynamic sql:
    select coloum_name into #temp_table from
    +
    @DestinationDBName+'.information_schema.tables
    and then I am trying to use #temp_table in the procedure:
    select coloum_name into #anotherTable from #temp_table
    but I am getting an error that #temp_table is not recognized.
    Can a temp table not be used in dynamic sql ?
    How can I overcome this problem ?

    Temp Table Can used easily in Dynamic Query in SQL Server and here is small Exmaple you can check it and do like it 
    CREATE PROC test
    AS
    BEGIN
    CREATE TABLE #T1 
    (ID  int , NAME Nvarchar(50))
    CREATE TABLE #T2 
    (ID  int , NAME Nvarchar(50))
    DECLARE @SQL NVARCHAR(MAX)='Insert into #T1 
    SELECT database_id , Name FROM Sys.Databases
    Insert into #T2 Select ID , Name from  #T1 '
    EXEC SP_ExecuteSQL @SQL
    SELECT * FROM #T2
    DROP TABLE #T1
    DROP TABLE #T2
    END
    Exec Test
    If you found My reply is helpful for you please vote me 
    thanks
    Mustafa EL-Masry
    Principle Database Administrator & DB Analyst
    SQL Server MCTS-MCITP
    M| +966 54 399 0968
    MostafaElmasry.Wordpress.Com

  • SQL Query, to know the list of Invoices associated with a sales order

    Hello All,
    Can any one let me know the query to know the list of all the invoices associated with a sales order.
    Please do the needful.
    Thanks,

    Hello All,
    Please let me know is this possible to have the list of Invoices for an associated Sales Order.
    Thanks,
    Abdul

  • Having issues with populating a Text Field with data from 2 other fields

    I have 3 fields Tools_1a_pri, Tools_1a_pri_other, Tools_1a_pri_txt.
    Tools_1a_pri is a drop down combo with a predefined list. One of the options is "Other".  When "Other" is selected, the text field Tools_1a_pri_other becomes visible for users to enter the name of the other tool.
    The Tools_1a_pri_txt is a text field with a calculation that shows either text stating that no tool has been selected or the Tools_1a_pri & or Tools_1a_pri_other.
    When I select one of the predefined tools, everything works.  When I select other, it appears that nothing has changed.  It requires that I click on another field before it populates.  This is confusing to the user.
    Tools_1a_pri   Validate code
    this.getField("Tools_1a_pri_Other").display = event.value=="Other" ? display.visible : display.hidden;
    Tools_1a_pri_txt  Calculation code
    //if nothing is selected, do the following
    if (getField("Tools_1a_pri").value.length < 2) {
    event.target.textColor = color.red
    event.value = "No primary tool identified";
    }else if (getField("Tools_1a_pri").value != "Other") {
    //otherwise do this if other is selected
    event.target.textColor = color.black
    event.value = getField("Tools_1a_pri").value;
    }else if (getField("Tools_1a_pri").value = "Other") {
    //otherwise do this if other is not selected
    event.target.textColor = color.black
    event.value = getField("Tools_1a_pri").value + " - " + getField("Tools_1a_pri_Other").value;

    You made the classic mistake of using the assignment operator in an if-statement instead of the comparison operator. Change this line:
    } else if (getField("Tools_1a_pri").value = "Other") {
    To this:
    } else if (getField("Tools_1a_pri").value == "Other") {

  • Popup not populating the originating field with selected results

    Customized setting browser.link.open_newwindow.restriction 0.
    Popups from searchable fields open in new tab BUT they do not populate originating field with results.
    "Diabetes" in search box get choices 250 2504 check choice Hit confirm and search box should have a number 250
    Worked in FF3 not 8.

    Tried that but not working.
    It works fine if I default the newwindow.restriction to 2.
    BUT I like the way the windows tab with 0 AND it used to work in FF3.
    Tried to find safe mode, but FF9 not listed in my programs (FF3 was).

  • Populating descriptive field with itresource name?

    Hi everyone,
    After my AD account is provisioned i need to update request description with resource name. but when i map the descriptive field it populateds descriptive field with key but not the resource name. How can we populate descriptive field with resource name?
    Thanks,
    doki

    ASAIK, you can not see the resource name in map descriptive field. But you can do a workaround like, create a hidden field(UD_ADCS_RESNAME) in AD Process Form and use pre-populate adapter to populate this field with your resource name.
    Now in Map Descriptive Field of AD Provisioning, select the field UD_ADCS_RESNAME under the Process Data. You will be done.

Maybe you are looking for

  • What's wrong with my Java?

    Hi all! While doing a little maintenance under AppleJack, I've noticed for the umpteenth time that a lot (and I mean a lot, like, dozens) of permissions related to Java were repaired. There are literally tons of them, each time I repair permission, w

  • Keep getting cut off while waiting for sales!!!!!!...

    This is so annoying. Twice now I have contacted live chat  re getting a youview box and they have connected me to sales where I have waited 8 mins and 5 mins before being cut off. do bt not want any business?? somebody please at bt sort yourselves ou

  • Automatic time zone error

    Out of the blue automatic time zone shows that I reside in Seoul-Korea when I'm actually in Jakarta-Indonesia. It messes up the date and time as a result. It works just fine before yesterday. Anybody knows what happen? The solution is quite I easy, I

  • 4 CPU server - add 5th for OS?

    Good day all. We had an issue today that cause a DB server (4 CPU SQL VM) to run at 100% CPU load.  I was able to get onto the RDP session but then it was too hard to navigate around due to slow response.  I was thinking of adding a 5th CPU and set t

  • Error 80070091

    I am using htc8s . I got a new sd card which is 16gb and I cant download any app from the store its giving me error 80070091 is the problem in my mobile or my sd card please help