How to identify the bill-to-site location for a customer

Hi All,
How to identify the bill-to-site location for a customer.
I want to determine the language output of the AR invoice report based on the bill-to site address.
If the bill-to site is located in Sweden, the document should be in Swedish. If the bill-to site is located outside of Sweden, the document should be in English.
I have defined a query but not able to identify from which column I can identify the bill-site-location.
select --a_bill.org_id,party_name,account_number,a_bill.CUST_ACCT_SITE_ID
from
apps.hz_parties party
,apps.hz_party_sites party_site
,apps.hz_cust_accounts b
,apps.hz_cust_acct_sites_All a_bill,
apps.hz_locations loc,
apps.hz_cust_site_uses_all u_bill,
apps.ra_customer_trx_all trx
where party.party_id=party_site.party_id
AND a_bill.party_site_id = party_site.party_site_id
AND b.party_id = party.party_id
AND loc.location_id = party_site.location_id
AND u_bill.cust_acct_site_id = a_bill.cust_acct_site_id
AND trx.bill_to_customer_id = b.cust_account_id
AND trx.bill_to_site_use_id = u_bill.site_use_id
Thanks,
Joohi

Hi ,
Check this apps.hz_cust_site_uses_all here site_use_code will be there , you can find Bill_To Ship_to , from there you can find the site_use_id and location Id
Thanks
Shagul

Similar Messages

  • How to identify the bill is First bill, Final bill or Normal bill?

    Hi
    How to identify the bill is First bill, Final bill or Normal bill.
    If the bill is first bill how we can identify this is by acquisition or change of tenancy.
    If the bill is final bill how we can identify this is by change of tenancy or loss.
    Please provide the tablets to get the above information.
    Thanks & Regards,
    Sree
    Edited by: Sree on Oct 13, 2009 11:23 AM

    Sree,
    Please check the field ERCH-ABRVORG (billing transaction).  It shows you what kind of bill has been created (e.g., 03 = Final Billing for Move-Out). If the begin of billing period matches to the move-in date it is the first bill created for that particular contract.
    I hope this helps.
    Kind regards,
    Fritz

  • How to identify the Stanadard Extractor  will support for Real time Data

    How to identify the Stanadard Extractor  will support for Real time Data  Acquisation . Enabled

    Hi
    In the ROOSOURCE table you can find the extract structures, go through all the fields of the extractor and if you find all of your equired fields exist ok else try to enhance for teh needed fields and go with user exit to populate the data for that fields'

  • How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    Dear Friends,
    I am absolutely agree with your answer .
    But my question is,
    Lets say.....
    One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
    So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
    Hope you all understood my requirement .
    Thanks & Regards,
    Aditya

  • HR - How to identify the list of infotype populated for a pernr.

    Hi,
    When we go to pa30 tcode, and input a pernr and press enter, we can see the list of infotype populated for the particular pernr with a "tick" symbol.  I would like to know, how SAP identify the same.  Is there any table in which these information is stored.
    Please do let me know the detail asap.  This is urgent to me.
    Regards
    Gopalakrishnan S

    Hi,
    You can run a report named "RPLINFC0" to get list of infoypes which are used for a PERNR.
    I think its enough for you.
    Regards,
    Purnima

  • How to set the default file transfer location for ...

    With the latest update from skype for Windows Desktop Skype version 6.22.81.104. I am unable to find the settings for Default file transfer location, Let me know how can i manage those settings.
    Solved!
    Go to Solution.

    http://community.skype.com/t5/Windows-desktop-client/Got-a-problem-when-download-some-files-from-Sky...

  • How to Identify the Network Topology being used for a running ForeFront TMG Stand Alone array?

    Hello Experts,
    My client has decided to move their datacenter  from one location to other including the ForeFront TMG servers which are being used as Reverse Proxy and TMG Gateway  in DMZ environment.
    I need to know the network topology used for this configuration so that I could chose the same topology when creating new TMG environment at new datacenter. Here are some details : 
    1. There are 2 TMG servers configured in a DMZ Workgroup in Stand Alone array.
    2. Both servers have 3 NIC attached to them. (one has all public IPs configured, another one has internal IP address and the third one has Management IP which is used to connect the server via RDP).
    3. There are more than 50 websites published via this standalone array.
    I am very new to Forefront TMG technology and need to know the Topology used to create such environment.
    Thanks 
    Lalit

    Hi,
    According to your description, you can use the 3-leg perimeter network template and choose which network adapter connects to the LAN, which network adapter connects to the external  network and which network adapter connects to the DMZ.
    Did you set up TCP/IP settings for the three NICs? If not, please refer to the link below:
    Recommended Network Adapter Configuration for Forefront TMG Enterprise Edition Servers
    More information:
    Microsoft Forefront TMG – How to use TMG network templates (Note:
    Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.)
    Best regards,
    Susie

  • How to identify the project in CMOD used for a particular data source

    Hi
      I had a Business Content Data source which is enhanced with ZZ fields and user exit is written in CMOD.
      How can i find in which project used to write the code for that particular data source.....
    When i check CMOD i can find nearly 10 to 20 different projects
    Thanks

    Hi,
    One simple way is goto CMOD and give project names with Z* or Y*. First findout the naming convensions following in  your project and see.
    Then gibe projects one by one and select COMPONENTS option and click on Display, if you find the following Function Exits means it is our DataSource project
    EXIT_SAPLRSAP_001
    EXIT_SAPLRSAP_002
    EXIT_SAPLRSAP_003
    EXIT_SAPLRSAP_004
    Thanks
    Reddy

  • How to identify the right Install Disc Version for a specific mac model???

    Hello
    i hope someone here can help me here...
    I have 12 mac mini's and about 20 Packs of the original OSX 10.4.x CD'/DVD's (the grey ones).
    How can i find out witch CD (and AHT) is the right one for witch mac mini model? They all have the line 'mac mini' but the are different Versions of OS and AHT and every time when i try this i get the wrong one for a specific model.
    I have been looking for more detailed informations but can't find anything!?
    Any Idea?
    Why Apple does not provide a table with all Model Numbers and e.g. the fitting AHT Versions?
    Heeeelp pleeeeease - i am going crazy here...
    Thank's !

    Hello iKing
    Apple keeps that info close to its chest, because the whole idea of the grey disks is to limit their currency as potential upgrade disks in the secondhand market.
    So rather than post here in this user's forum, instead contact Apple and explain your problem and provide the serial numbers of your Mac minis and Apple should be able to tell you the corresponding version numbers of the relevant disks.
    And after, I'd suggest use a texta/soft marker pen on the CD/DVD's to pair them with their hardware.
    A spelling error was edited.

  • How to identify the maximum data loads done for a particular day?

    Hi all,
    There is huge volume of data been loaded on a last monday, and then data was deleted from the cubes on the same day. And hence i needs to see which are all the cubes which was loaded wtih lot of records for a particular day,
    i happened to look at rsmo, i am unable to see the ods nor the cube data loads,
    were do i seet it?
    Thanks

    See if the table RSSELDONE helps. This will give you the recent data load details. Based on those loads , you can search the targets.
    And also check table TBTCO  which will give the latest job details. You will have to analyze the same jobs to know what loads were done . Give a selection for date.

  • How and when the realDelete method gets called for a custom adapter?

    Hi,
    I am a newbie in sun identity manager and is in the process of writing a custom adapter for documentum resource.
    While I am successful in creating the resource,then provisioning the resource to an user(i.e creating an account of the user on documentum ) updating the user through idm I am not being able to deprovision the resource.
    Actually in the trace I am not seeing the realDelete method getting called anywhere,but I am sure if it gets called it would do its designated job bcos as a standalone code it's working.
    Does this mean I am not properly doing deprovisioning in sun-idm?
    What method I am employing is in the assignment list of the user,i am putting the resource from assigned to unassigned side(i.e right to left side) just as in case of provisioning I have put it from left to right.
    Is it the standard way of deprovisioning or am I missing something here?
    Any sort of help would be highly appreciated.
    Thanks
    anjan

    You need to read that manual with more caution. It has all info you need.
    1. Table modification info stays in shared pool and flushed into dictionary by Oracle automatically. You can explicity do it by calling dbms_stats.flush_database_monitoring_info.
    2. dba_tab_modifications view = How many DML are applied to target table?
    dba_tab_statistics.stale_stats = Is statistics stale?
    3. When you call dbms_stats.gather... familiy, Oracle flushed the stale info to disk. You gnerally don't need to care about that.
    4. Statistics is considered to be stale, when the change is over 10% of current rows.
    (As of 11g, this value can be customized per objects. Cool feature)
    create table t_stat(id int);
    insert into t_stat select rownum from all_objects where rownum <= 100;
    commit;
    exec dbms_stats.gather_table_stats(user, 'T_STAT');
    select * from sys.dba_tab_modifications where table_name = 'T_STAT';
    No row selected
    select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
    NO
    insert into t_stat select rownum from all_objects where rownum <= 20;
    select * from sys.dba_tab_modifications where table_name = 'T_STAT';
    No rows selected <-- Oops
    select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
    NO  <-- Oops
    exec dbms_stats.flush_database_monitoring_info;
    select * from sys.dba_tab_modifications where table_name = 'T_STAT';
    TABLE_OWNER     TABLE_NAME     PARTITION_NAME     SUBPARTITION_NAME     INSERTS     UPDATES     DELETES     TIMESTAMP     TRUNCATED     DROP_SEGMENTS
    UKJA     T_STAT               20     0     0     2008-01-18 PM 11:30:19     NO     0
    select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
    YES

  • Serious Issue - CRM 2007 issue - How to identify the Log in CRM

    Hi Experts,
    How to identify the Billing Account Deletion log. Some billing accounts has been deleted from BUT000 table. We have to find out -who has deleted and when ???
    Please help us to identify the log. I think in SAP log should be maintained somewhere in CRM.
    Thanks & Regards,
    Amit Nanda
    9999795569

    hi,  I remeber the there is a function name like  CRMXXDocumentXXlock  which is be called in standard program to maintain order.
    I can't login a crm server, can't offer you the accurate name, you can do a search in system.

  • How can identify the default currency for a customer?

    How can identify the default currency for a customer?
    I know that this is being determined when you create a sales order for a particular customer, for example, so I could break this process open and find out what it uses. But I thought it worth asking in this forum first.
    Blue

    Hi Gary,
    As per my understanding of your question I am replying , If you are looking some thing else then I request you to please elaborate your query.
    If you see the BP sales area data in transaction BP, In billing tab you maintain the currency for a customer which is default currency when you create a sales order.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash

  • How to identify the installed Weblogic Server and JDK are 32bit or 64bit?

    Hi everyone,
    I have a question ~
    Both Weblogic Server and JAVA JDK are installed on the server already, but I only know the Weblogic Server is 10.3.4.0 and JAVA JDK version is 1.6.0_25.
    I know the 64bit Weblogic Server installation file is a wlsXXXX_generic.jar package and 64bit JAVA JDK needed also.
    But, since the Weblogic installed already, there are no such installation files on the Linux Server now.
    I have tried the "java -version" for java version and check the Weblogic version from Weblogic console.
    How to identify the installed Weblogic Server and JDK are 32bit or 64bit with Linux command? Or is there any way to check it?

    What you can try to do is use WLST (or an MBean browser, such as JConsole or JRockit Mission Control) and connect to the adminserver.
    For example when using WLST:
    # set the environment by using setWLSEnv.sh (located in the ${WL_HOME}/server/bin directory).
    # start WLST by using: java weblogic.WLST
    # connect to the adminserver
    connect('adminusername','adminpassword');
    # change to the serverruntime environment
    serverRuntime();
    # show the attributes
    ls();
    # Here an attribute is shown called WebLogicVersion that shows the version of WebLogic
    -r--   WeblogicVersion                              WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638
    # Note that this does not show if is 32 bits or 64 bits to retrieve this information you have obtain the JVM version
    # change the directory
    cd('JVMRuntime/AdminServer');
    # show the attributes
    ls();
    -r--   Version                                      R28.0.1-21-133393-1.6.0_20-20100512-2126-linux-x86_64
    # when you have something like x86 at the you are running a 32 bit version, if you have something like x86_64 you are running a 64 bits versionAs mentioned above you can also retrieve this information by using a MBean browser.

  • How to identify the batch job

    Hi guys,
    we have a batch job for
    1. creating invoice
    2. and printing invoices.
    How do i identify the background job being used for the above two.
    REgards,
    Anand

    How do i identify the background job being used for the above two.
    1. creating invoice
    In t.code VF02/VF03, go to the header level. Here you can see the created by field. This carries background billing job user name (for example SDBATCH).
    2. and printing invoices.
    In VF02/VF03, go to menu Goto->header->outupt. Highlight the output and click on the further data button. Here you can see created by at the botton(for example batch billing). By this way, you can identify, these are created by background  jobs.
    Regards,

Maybe you are looking for

  • Transport layer and transport package

    I have a fundamental query on transport package and layer. Objects are classified in packages depending on the project and put in $TMP or test package else they are local ? Only objects belonging to a transport package can be transported , others are

  • Cannot Edit The Report

    Hi All, Please help me, I created an interactive report and made some modifications. THE PROBLEM IS that I cannot edit the records. http://apex.oracle.com/pls/apex/f?p=49631:1 user: dev pwd: dev Thanks in advance.

  • IPhone 5 paint chipping off

    I have had my iPhone 5 for a week and a day and the black paint is coming off already! I am 30 years old and take care of my stuff. I have never put it in one of my pockets while there is something else in them. Basicly I have treated this phone like

  • Using iPad to view eBeam in the classroom

    I work with Visually Impaired children and we were wondering if it is possible to use an iPad with eBeam software to just view what the teacher is displaying.  We dont want the pupil able to affect the teachers display by touching their iPad - but ma

  • Anti-spam Forefront for exchange

    Hello, I am having an issue with the anti-spam. I have a 2010 exchange and forefront for exchange version 11.0.713.0. We have been just using filter lists to identify spam and then send them to a junk-mail box. I was looking through he Forefront sett