Difference between -1 and null in the targettype filed

Hi
Could anyone advise what is the difference between -1 and null in the targettype filed in marketing documents?
For example, in Sales Quotation - Rows (QUT1) table, I found for some open sales quotations, the field is null however the DB help file suggest the default value is -1 so I suppose it should be -1 for open documents.
Many thanks for your advisory.

Hi, Qian!
I investigated that "-1" value appears in targettype field in Sales Quotation Rows (QUT1 table) when you Dublicate a Sales Quotation document (Ctrl + D). And NULL value appears when you create a new document without dublicating.
In case you want to equal these 2 "empty"-values using T-SQL, you can use ISNULL(targettype, -1) function - this will give you -1 for both the "empty"-values
HTH!
Message was edited by: Aleksey Kuznetsov

Similar Messages

  • Difference between void and null?

    wht is da difference between void and null w.r.t java?

    corlettk wrote:
    Why do you care, unless you're implementing a java compiler or JVM?Wow, you sure do suck at helping out in a forum. Why even make this post? You're not helping the OP any, and you made yourself look like a tool.
    To the op:
    Null is java's version of a null value. Java's version is more strict then many other languages, and will not work in a boolean expression or anywhere code expects a real and not null value. It's simply null.
    Void is java's way of declaring no return type on a method. Methods that are void take no 'return' statement and if one is provided will cause a fatal error. The exception to this is using 'return' without a value, which returns control to the caller of the method.
    Observe:
    //this method returns an int
    public int return_int(){
        int value = 5;
        return value;
    //this method does not return an int
    public void return_nothing(){
        int another_value = 123;
        System.out.println("Here's the value: " + return_int());
    //this method does not return anything
    public void nothing_returned(){
        return_nothing();
        return;
        System.out.println("This line never gets printed; the method returned control already!");
    }

  • Difference between char and varchar, also the difference between varchar2

    Hi,
    Can anyone explain me the difference between char and varchar, and also the difference between varchar and varchar2...

    Varchar2 is variable width character data type, so if you define column with width 20 and insert only one character to tis column only, one character will be stored in database. Char is not variable width so when you define column with width 20 and insert one character to this column it will be right padded with 19 spaces to desired length, so you will store 20 characters in the dattabase (follow the example 1). Varchar data type from Oracle 9i is automaticlly promoted to varchar2 (follow example 2)
    Example 1:
    SQL> create table tchar(text1 char(10), text2 varchar2(10))
    2 /
    Table created.
    SQL> insert into tchar values('krystian','krystian')
    2 /
    1 row created.
    SQL> select text1, length(text1), text2, length(text2)
    2 from tchar
    3 /
    TEXT1 LENGTH(TEXT1) TEXT2 LENGTH(TEXT2)
    krystian 10 krystian 8
    Example 2:
    create table tvarchar(text varchar(10))
    SQL> select table_name,column_name,data_type
    2 from user_tab_columns
    3 where table_name = 'TVARCHAR'
    4 /
    TABLE_NAME COLUMN_NAME DATA_TYPE
    TVARCHAR TEXT VARCHAR2
    Best Regards
    Krystian Zieja / mob

  • What is the difference between SWF and F4V in the context of Streaming or progressive Download?

    Hello everybody,
    I am absolutely a beginner in working with Captivate and furthermore my technological know how is not that good.
    So, I have problems to understand if the export formats SWF and F4V are both capable to be published in the Internet as streaming video and as progressive Download? Well so, I do not really understand the difference between streaming and progessive download either?
    Furthermore I was asking myself if this issue depends on how I imported flash videos (there are these two options) in my Captivate project during the production phase?
    I would be very thankful for some helping information!
    Greetings,
    Mareike the beginner

    Welcome to our community
    I'm not certain I fully understand the differences myself, but will toss out what I believe to be true about the formats. Hopefully, if I'm incorrect in my bellief, someone with more definitive knowledge will chime in.
    It was explained to me a couple of years back and is my understanding that "streaming" only applies to a video based format such as F4V, FLV and it doesn't apply to SWF. With SWF, you may specify a preload value. So when the SWF transmits from the web server to the PC, a certain percentage has to be received before play begins. But that's not streaming. It's preloading.
    For streaming to occur, the web server establishes a communication channel between the server and the destination PC. This channel is monitored to see what speed is in use. Only enough information is then transmitted to be comfortable at that speed. If the speed improves during the connection, the server serves data at a faster rate. If the connection degrades, the information transmitted is also scaled back so as to accommodate the lower speed.
    With SWF, after it has all been downloaded, a savvy user is able to poke around in their temporary internet files and save the SWF for play later. With streaming, this isn't possible because as the stream is viewed, it evaporates from memory.
    Seriously hoping others will chime in here to confirm or deny this.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Difference between 0 and null

    Hello everyone.
    I have a requirement of distinguish zero values from null values. It seems the Visual Composer treats null values as zero values.
    I have the following query in BI:
    month..................ProcessA..................ProcessB................ProcessC
    01.2009...........................10..............................................................5
    02.2009.............................................................................................0
    03.2009............................3...............................................................1
    04.2009............................0...............................................................2
    I'm trying to represent this in a line chart in visual composer. The axis has the month, and I defined 3 dataseries, one for each Process (A, B and C).
    The issue here is that I don't have nothing in ProcessB, but the VC represents in the chart that dataserie has a line along the zero value. This is wrong. If don't have nothing in ProcessB, not even the value zero, this dataserie should not be represented (printed) in the chart.
    Does anyone have any idea how to contourn this?
    Thanks,
    Diogo.

    Hi Talia,
    I'm also working with that workaround although the system kind of behaves in a strange way sometimes...
    Here's what I did:
    Created another query with the accumulated values along the month but without displaying the month, like this:
    QueryB:
    ProcessA.........ProcessB...........ProcessC
    13...............................................8
    This query is like a pre-query. First the input is being sent to this pre-queryB that returns a table (not visible) and also the output of this pre-query does a *submit to the first (original) query.
    In the original query I use a dataserie with the following formula:
    NVAL(IF(ISNULL(#ID[ACC9LL]@ProcessB),'',@ProcessB_value))
    The "#ID[ACC9LL]@ProcessB" is the reference (first executed) of the pre-query (queryB) that has the accumulated value, i.e., if along all the months if exists or not any value. If it doesn't exists, returns nothing (''), else it returns the actual value (@ProcessB_value). Since it is an IF, it returns a text, I have to convert it to numeric value therefore I used NVAL() function.
    But this also doesn't refresh nicely with chart effects. I have to disabled the effects of the chart (interpolate, fold, slide) to work properly. Also, the scale of the Y axis is not being well adjusted (the auto-adjust option), does not work also fine if the first dataserie returned by the formula is the null value (''). So I also have to ensure that the first dataserie contains in fact anything (the returned value of the formula can't be null). If so (the first dataserie contains any value), this works fine.
    Also you can't return false. False will be treated as 0, and thus will do the all dataserie be treated as zero along the X axis, and that is not true. With '', this will force to don't display any line for that dataserie.
    Diogo.

  • Whats with the price difference between america and australia with the new macbook with retina display why are aussies paying so much more

    what is apple charging so much more for the same product when u convert 1999 us dollars to au dollar apple is over charging like $400

    Silly child ...
    I am not discussing individual policies, and only in the context of "cannot ciriticize Apple" ("over charging" in the original post.
    Now go away away, boy ... you bother me! 

  • What is the difference between https: and http: at the beginning of the web address? Does this effect security when looking onto bank accounts?

    New to foxfire, and not very computer savvy. When enter search for bank account noticed the the web address came up with a http: rather than an https: as it normally does when I search from safari on MAC, or even at my PC at work. Not sure what the difference is but if it is a security thing than foxfire is no good for my use.

    In Firefox 4 and later you no longer have the Status bar that showed the padlock in previous Firefox versions.<br />
    The padlock only shows that there is a secure connection and doesn't guarantee that you are connected to the right server.<br />
    So you might still be connected to the wrong server if you make a typo in the URL and someone has claimed that mistyped URL.<br />
    The functionality of the padlock has been replaced by the [[Site Identity Button]] on the left end of the location bar.<br />
    See also:
    * http://www.dria.org/wordpress/archives/2008/05/06/635/
    * https://support.mozilla.com/kb/Site+Identity+Button
    * http://www.mozilla.com/en-US/firefox/security/identity/
    You can use this extension to get a padlock on the location bar.
    *Padlock: https://addons.mozilla.org/firefox/addon/padlock-icon/

  • What Is The Difference Between Fidelity and Smoothness on the Blob Brush Tool?

    I can't seem to figure out which one to use to get the line I want, can anyone help?

    See the explanation here:
    https://helpx.adobe.com/illustrator/using/brushes.html#paintbrush_tool_options

  • What's the difference between Aurora and Beta?

    what's the difference between Aurora and Beta?

    The difference between Beta and Aurora is '''1'''. If you have to ask what Aurora is, you shouldn't use it.
    The current release version is Firefox 6.0, the Beta is 7.0, Aurora is 8.0, and Nightly is 9.0.
    When Firefox 7.0 is released in 4 weeks, 8.0 will be the Beta version, Aurora will be 9.0, and the cutting edge Nightly development version will be 10.0.

  • Differences between Monitor and Decrypt actions in Decryption Policies

    Hi Everybody,
    Currently I'm working in my first WSA (S170) implementation and some questions has popped up while I was configuring the Decryption policies. The main question here is:
    What are the differences between "monitor" and "decrypt" in the URL Filtering options. As I understand the "decrypt" action allows the WSA to decrypt the packet and treats it like a plain HTTP packet applying the Access Policies, malware inspection and so on. Then I do not really know what the Monitor option does, I'm assuming that it does not decrypt the packet and only checks the destination URL and to allow or not the connection.
    Thanks in advance for your collaboration.
    Jose M. Cortes H.

    If you set it for Decrypt, it always decrypts stuff in that category.
    If you set it to monitor, then other criteria in the policy are used for whether to decrypt or not, such as Web Reputation...
    Here's the flow, which I pulled from the online help:
    https://wsaip:port/help/wsa_help/index.html?Decryption_policies11.html#wp1208329

  • Regional Settings differences between 2008 and 2012

    Hi There,
    Can anyone explain why some of the regional setting details have changed with Win 2012?
    Example: Dutch (Belgium) - nl-BE
    The 'Digital Grouping Symbol' has changed from a DOT to a WHITESPACE.
    2008 - €1.000,00 whereas 2012 - €1 000,00
    If the settings are changed on the servers will they persist after OS updates etc?
    Rgds,
    Frank

    Hi Vivian,
    I see no reference in the KB article to modifications for the CET timezone nor any reference to the resolution of culture format info discrepancies.
    A further issue is that the active regional settings on our PRD servers will be set to United States and it would appear that any modification to the Belgium locales (i.e. nl-BE, fr-BE) are not persisted once you switch to United States as the
    active setting.
    The knock on effect of this is that for our PRD web-applications (which are active across many regions), we have to write code to override the OS information. .NET uses the OS info to populate its Culture information.
    Could you confirm if the differences between 2008 and 2012 are the result of a bug or are the changes planned? Based on communication with some of our customers in Belgium, they are of the opinion that the 2008 (and Win 2003) settings are per their expectations.
    I really do not what to have to handle these situations across our application landscape and am sure that other people with globalized applications will also hit problems.

  • Difference between getLocalName and getQName?

    I am just wondering what's the difference between getLocalName and getQName in the Attribute interface (XML)?
    Thank you!

    don't cross post.
    what do the javadocs tell you?
    %The API javadoc isn't very helpful, if just says that they return the local name and the qualified name. For more information look at this W3C Document. It defines a qualified name as a namespace prefix and a local part.

  • Difference between Cofiguration and Customzing

    Hi,
    What's the difference between Cofiguration and Customzing.
    BR
    Govind

    Hi,
    The difference between customizing and configuration is;
    CONFIGURATION: - We will configure the system to meet the needs of your business by using the existing data.
    CUSTOMIZING: - We will customize or adapt the system to your business requirements, which is the process of mapping SAP to your business process.
    Configuration Vs Customization: -
    When considering enterprise software of any type, it is important to understand the difference between configuration and customization. The crux of the difference is complexity. Configuration uses the inherent flexibility of the enterprise software to add fields, change field names, modify drop-down lists, or add buttons. Configurations are made using powerful built-in tool sets. Customization involves code changes to create functionality that is not available through configuration. Customization can be costly and can complicate future upgrades to the software because the code changes may not easily migrate to the new version. Wherever possible, governments should avoid customization by using configuration to meet their goals. Governments also should understand their vendor's particular terminology with regard to this issue since words like "modifications" or "extensions" often mean different things to different vendors.

  • HT201471 Sorry can you explain what is difference between cellular and cellular (MM)

    Sorry can you explain what is difference between cellular and cellular (MM)

    The MM or Millenium Media according to what I can find, refers to the CDMA variation of the Cellular iPad for Verizon Networks.
    The non MM version is for GSM carriers like AT&T.

  • Difference between SRM and SNC

    Hi all,
    i frequently get this question from many of my friends who work on SRM, as what is the difference between SRM and SNC.Because the supplier collaboration part of SNC resemles with few functionalities of SRM.
    What kind of industries go for SRM?
    What kind of industries go for SNC?
    Regards,
    Nandan

    Hi Nandan
    SRM and SNC have few functionalities common.
    SUS and Plan driven procurement. Like SNC Purchase Order Collaboration, these are direct procurement(Supplier known).
    Where SRM has other business process like Self Service Procurement, where in they can create quotations and then compare and select the best supplier(In direct Procurement)
    In SNC we do not support Service Orders, We only support Quantity Orders. Where SRM can support both.
    They have other Business process(SAP SRM Supplier Collaboration), where in the solutions and backend systems like SAP Supplier Relationship Management (SRM), SAP Product Lifecycle Management (PLM), Collaboration Folders (cFolders), and SAP Supply Chain Management (SCM), to provide collaborative planning, sourcing, procurement.
    Where SNC plays a material monitor here communicating between OEM & Supplier Org
    SRM support both quantity procurement and service procurement directly and indirectly.
    Where in SNC supports direct quantity procurement.
    It is the business need, upon which they select SNC or SRM.
    Best Regards
    Vinod

Maybe you are looking for

  • Photoshop Elements 10 - Error 400

    Please help.  When I try to sign onto Photoshop Elements 10, I get a 400 error that states "Photoshop.com services are currentlly unavailable.  Please try again later or check your network connections.  Error 400.  Does anyone know what the issue cou

  • OfficeJet 4622 can't print after i changed ink cartridges

    I can't print anything since i replaced the ink cartridges. I have cleaned the pin heads and alighned them. I have done the in level test with no issues. I have downloaded all the new drivers i needed and any updates. The print report doesnt print an

  • Connecting Sony DV (no Thunderbolt connection) camcord to 2013 Imac

    Connecting Sony DV (no Thunderbolt connection) camcord to 2013 Imac

  • Not turning off

    my i-pod doesn't turn off all the way... it just goes into a "sleep" mode. I was told when you turn it on you should see the apple logo.. but i dont, it just kinda flips back into life. does anyone know how to help me?

  • Blank duplicate emails in search

    When I do a search in iMail I get duplicate emails under the original, which have the same from, subject, date received details, but which have no mailbox and are entirely empty. I can't understand where these are coming from. They do not appear in m