Shipping Charges & Sold To Address

Hi,
I'm working on Commercial Invoice reporting. Release R12. I need to populate the shipping charges for the order and the Sold to Address. I have the Sold_to_Org_id from the Oe_Order_headers_All table. But Not sure how to link to the tables to get the address information.
Can any one tell me from where can I fetch these values?
Thanks
GM

Thank you for your reply. I have written the query already.
For Sold to
SELECT party.party_name,
hl.address1,hl.address2,
hl.address3,hl.address4,
hl.city|| decode( hl.city,null,null, decode(hl.state,null,null,', '||hl.state))
||decode(hl.province,null,null,', '|| hl.province)
||' '||hl.postal_code S_city_st_zip,
terr_to.territory_short_name
FROM hz_parties party ,
hz_cust_accounts cust_acct,
HZ_CUST_ACCT_SITES_ALL HZS,
hz_cust_site_uses_all hcsu,
hz_party_Sites hps,
hz_locations hl,
fnd_territories_TL terr_to
WHERE 1=1
AND cust_acct.party_id = party.party_id
AND cust_acct.cust_account_id = '1005'
AND HZS.Cust_Account_ID = cust_acct.CUST_ACCOUNT_ID
AND hcsu.cust_acct_Site_id = hzs.cust_Acct_site_id
AND hcsu.site_use_code = 'SOLD_TO'
AND hps.party_site_id = hzs.party_site_id
AND hl.location_id = hps.location_id
and hps.party_id = party.party_id
and hl.country = terr_to.territory_code
Shipping Charges
I'm taking from wsh_frieght_Costs
Thanks
GM

Similar Messages

  • Update Sold-to address

    Hello Friends,
    I have a small issue . I am using the function module SD_ORDER_CREATE to create a sales order .
    Now for the sold-to if I have a partner no it gets the correct address for the sold-to .
    If my ship-to and sold-to are MISC then the sold-to address defaults to the ship-to address.
    My requirement is to if both sold-to and ship-to are MISC then I need to put a unique address to sold-to and not the default ship-to .
    After creating the sales order using the above function module is there a way I can update my sold- to address immediately after the order is created.
    I did find this fm 'SD_SALESDOCUMENT_CHANGE'  . Is there a better way to do it OR how about BDC ?
    Please advise .
    Thanks,

    You can try FM : BAPI_SALESORDER_CHANGE
    If you need sample source code then do search like BAPI_SALESORDER_CHANGE in SDN Forum.
    Thanks
    Seshu

  • Shipping prints to multiple addresses

    I want to order prints of 24 of my photos from iphoto. How do I order a set sent to myself and a set sent to my sister and a set sent to my brother? We all have different addresses. The only way I seem to be able to do this is to do 3 different orders, uploading the entire 24 pictures each time. I suppose I will get 3 separate credit card bills also. Any easier way?
    iMac G$   Mac OS X (10.4.7)  

    Philip:
    Welcome to the Apple Discussions. Yes, the only way is to make 3 different orders and get 3 bills and get charged 3 shipping charges. I'm sure it would be more inexpensive to have all 3 sets delivered to your home and mail the others out your self.
    By the way, the order in which they will arrive will probably not the the order you had them in the album where you arranged them. Several have reported that. I'm guessing that's because they get the files and they are sorted alphanumerically by file name whereas the user may have them sorted either manually or by title and have renamed some of the titles. So you may have a time sorting out the three separate copies.
    Do you Twango?

  • DocTotal doesnt include shipping charges on reports and letters

    When I run reports like sales analysis, for some reason I only get the invoice total without shipping charges. Obviously in a month that can be a fair amount of revenue, that I cannot show on my reports. Related to this is also that for example on a dunning letter, the amount due and the actual balance field will show the invoice total without shipping charges. It does however show the correct amount (i.e the actual/real customers balance for that invoice) in the subtotal of open invoices on that letter. This is obviously confusing for the customer to get this letter.
    Can anyone please help me track down why this might be happening? I'm running B1 2007 A (8.00.177)

    I was afraid of that...However, I can deal with that internally, but on the documents like a customer statement, or aging report, or even the dunning, how can I get the "real" invoice total. It does absolutely no good to show the customer a invoice total, that isn't the invoice total. I poked around but since most of the data that are being pulled are variable numbers, I'm lost as to how to accomplish this.
    Thank you for answering though, that was much appreciated.
    Kerstin: But it is a source of revenue, I make money on my shipping. Yes, there is a cost associated with it, but I really cant wrap my head around how a field titled document total is not the document total. Dummy items would negate the integrated shipping features I'm using, and cause us to offer something like flat rate shipping which in my industry is just not always practical.

  • Shipping Charges and Country of Destination

    In a B2C environment is it possible to configure Webtools to calculate shipping charges dependant upon country of destination?
    I don't think so but I'd like to be proved wrong.

    Sorry, I've just seen that the same question was asked recently on 18th June 2009 - I suspect customisation is the only answer but it would be good to have this confirmed

  • How to account for Shipping charge not used during Purchase Process?

    A PO was created. PO had purchase item price, tax, freight with shipping and insurance.
    Goods received.
    PO invoiced for item pricetaxshipping.
    However, insurance was not paid for in Freight.
    Question is how can we return the amount back to Vendor?
    The Goods Received Document is open as shipping amount is still remains to be accounted for. What is a good for to account for this shipping charge if not returned to Customer.
    Thanks.

    Hi Gordon,
    I think it was my mistake.
    This is what is the conclusion like you suggested.
    Whenever Invoice is less than po, it automatically adjusts the Inventory of Finished Goods Account on credit side with the amount we paid less.
    Thanks. So no issues here.

  • Can I set a minimum shipping charge for each catalog?

    I'd like to set minimum shipping charges for each of my catalogs. Then have USPS or UPS kick in if it is more than the minimum shipping charge.  Is this possible at all?
    Josh

    Hi Josh,
    We don't have a feature for this exact requirement.  We do have min/max quantity within products however as an alternative perhaps. 
    I'm not sure if you can maybe use some JS to accomplish what you are after.  I'll leave this thread open to suggestions. 
    Kind regards,
    -Sidney

  • Ship to, sold to, invoice/credit number, invoice value

    Hi,
    Does anybody know the field name and the table of these items:
    ship to, sold to, invoice/credit number, invoice value
    Any help is welcome.
    thank you,
    Roger

    Hi Roger,
    You can get customer master data using table KNA1.
    You will get the Partner related information from table <b>VBPA</b>.
    The field <b>VBPA-PARVW</b>(Businee partner function) conatins all business partner functionn possible values. 
    SP - Sold-to party
    SH - Ship-to-party
    If you query with above values in VBPA, you will get respecive Sold-to-party/Ship-to-party customer value into VBPA-KUNNR.
    You will get the invoice number and invoice value through table VBRK.VBRK will contain header information about invoice and VBRP will contain line item details.
    Invoice number is <b>VBRK-VBELN</b>
    Invoice value is <b>VBRK-NETWR</b>
    Thanks,
    Vinay

  • Output required in following format " Sold-to: Address: GRIMES, IA 50111"

    Hi
    Sold-to: Address: GRIMES, IA 50111
    need help how to join 3 field information in one row
    city, region and pin.
    i am using
    Perform add_to_extract Using label_sold_address2 it_data-ort01.
    I need to add the following fields to sold_address2 - " it_data-regio it_data-pstlz.
    FORM add_to_extract  USING    p_label
                                                    p_value.
      CLEAR it_extract.
      it_extract-label = p_label.
      it_extract-value = p_value. "
      APPEND it_extract.
      CLEAR it_extract.
    ENDFORM.          
    can someone suggest a way to add it.

    use
    data : v_address(40).
    concatenate 'Sold-to: Address:' it_data-city ',' it_data-regio it_data-pstlz into v_address.
    write v_address.
    Thanks
    Mahesh

  • Why Are Shipping Charges Not Shown Under SHIPPING on Pacing Slip

    Why are the shipping charges included in total amount charged, but not under shipping on the Packing Slip?

    Why are the shipping charges included in total amount charged, but not under shipping on the Packing Slip?

  • Error: Ship to/Bill To Address is Invalid. Please review the Address Setup

    After Upgrading to 12.1.3, Orders are failing during Import/Scheduling with "Error: Ship to/Bill To Address is Invalid. Please review the Address Setup" whenever Tax Engine is called. And this is happening for only specific addresses (that are vaild). I will appreciate any experience/suggestion on this regard.
    Thanks,
    Dipanjan

    ---  Here's a skeleton structure of the PLSQL that you should use----
    l_location_rec          APPS.HZ_LOCATION_V2PUB.LOCATION_REC_TYPE;
    -----Use this to find a good address from existing TCA in Oracle, by passing only the zip code:
    SELECT hgi.identifier_value,hg.geography_element4_id
                       ,hg.geography_element1 country
                       ,hg.geography_element2 state
                       ,hg.geography_element3 county
                       ,hg.geography_element4 city
                       ,hg.geography_element5 postal_code
                 FROM apps.hz_geographies hg,apps.hz_geography_identifiers hgi
                WHERE hgi.geography_id  = hg.geography_element4_id
                  AND hg.geography_name = :pp_zip_code
                  AND hg.geography_type = 'POSTAL_CODE'
                  AND primary_flag='Y';
    -----The Update the Location
                 l_location_rec.CITY  := rec_get_geo_elements.city;
                 l_location_rec.COUNTY := rec_get_geo_elements.county;
                 l_location_rec.STATE := rec_get_geo_elements.state;
                   hz_location_v2pub.update_location (p_init_msg_list           => FND_API.G_TRUE,
                                           p_location_rec            => l_location_rec,
                                           p_object_version_number   => l_object_version_number,
                                           x_return_status           => l_return_status,
                                           x_msg_count               => l_msg_count,
                                           x_msg_data                => l_msg_data);

  • Re: Separate shipping charge for multiple ship to party

    Hi guys,
    We are using the total order value to calculate shipping charge that should be applied to the customer.
    0 - 25  -- $6
    26 - 50 --$10
    and so on
    So i am using a condition type ZSHH which groups all the conditions types on value basis and applies the right charge in the sales order.
    However when there are 2 ship to party in the sales order, then also it is adding the value of all the lin-items in the sales order and applying the shipping cost.
    What is desired that the condition type should calculate the total of the items to be shipped to every ship-to-party and apply different shipping charge for every Ship-to-party separately.
    I am not able to figure out how to do this?
    Do I need to write a different Structure Group Key Formula so as to acheive this functionality.
    Currently The condition type is assigned to the structure key - 1 (Overall Document)
    If yes ... kindly guide me .. what all things should I pass to the abaper so as to help him develop the structure key.
    Thanks in advace
    Vinit

    Does my question make sense ... as no one is replying ... I feel that I am asking some ridiculous or may be an obvious question.
    Can anybody guide me ?
    Thanks
    Vinit

  • Commerical inovice output ship-to/bill-to address issue

    Hi Guru,
    We are having a issue about the address on the output of commercial inovice for STO delivery.
    e.g.
    Plant A - Delivering plant
    Plant B - Receiving plant
    1. Create a STO - B purchasing 100 piece of material_1 from A.
    2. Then create a Delivery with reference to this STO;
    3. Use the customize program to print the commercial invoice.
    The issue is that we have 2 customer id for plant B.
    100001 is using the company's sales office address, work as a bill-to party.
    200001 is using our distribution center address, work as a ship-to party.
    The output will display bill-to address and ship-to address. but currently we have a issue that this output use 100001 as the bill-to and ship-to address.
    We want to use 200001 as the ship-to address. From the code, the output will pick the ship-to party's address on the delivery as the ship-to address.
    Anyone can tell me how to fix this issue?
    thanks

    Hi All,
    Happy New Year,
    We use ME27 to create the STO, there is only delivery plant and receiving plant filled in during creation.
    After that we can use ME22N to change the STO. but I can't find the ship-to party field in the STO.
    Following is some pics about the shipping information of STO, Please advise,
    1. Delivery Address Tab - Item:   // This address is correct, shows 200001's address.
    <a href="http://tu.6.cn/pic/show/id/2041312">[img]http://i3.6.cn/cvbnm/60/ff/ee/415b90544504575d425174f94c440b17.jpg[/img]</a>
    2. Shipping Tab in Item Level:
    <a href="http://tu.6.cn/pic/show/id/2041314">[img]http://i3.6.cn/cvbnm/c7/e3/69/6204cca510480f9c2c3b9b57a39a3ce9.jpg[/img]</a>
    3. Partner Functions in Header Level - Partner Tab
    <a href="http://tu.6.cn/pic/show/id/2041313">[img]http://i3.6.cn/cvbnm/3b/02/14/326a8f450dd3f696b8a01a964702ef5d.jpg[/img]</a>
    The Question here is:
    1. The delivery address in STO is correct, whether it will be copied to Delivery I created with reference to STO?
    2.  We didn't find the ship-to party in the STO. So the ship-to party of Delivery is not coming from STO How to determine the ship-to party in Delivery?
    Thank you very much for your help.
    Edited by: Rick Guan on Jan 6, 2009 2:39 AM

  • Verizon refuses to ship to a different address than our billing address?

    My girlfriend and I decided to go on a share plan.  She is on AT&T and I am on Verizon Wireless.  *I* persuaded *her* that we should choose VZW, since I've been on Verizon for almost a decade, and did not want to change.  Ever since then, Verizon's done everything it can to persuade us we made the wrong decision.  After spending hours on the phone and the website -- most recently nearly an hour and a half on the phone -- with nothing to show for it, I'm hoping someone here has a recommendation.
    First, Verizon refused to honor a loyalty discount I had been offered before.  Of course, it had expired -- apparently it's a *bad* thing that they've been getting free money from me for over a year while I've been eligible for an upgrade?  The rep I spoke with was very friendly, but said there was absolutely nothing she could do about it; the best she could do was offer me a slightly less-worse downgrade from my current unlimited data plan.  (Note that she only mentioned this after I had been on the phone with her for a long time.)
    Second, despite being pretty savvy about this sort of thing, neither of us could find a way to navigate the website such that we could bring her over from AT&T and upgrade my phone at the same time -- even though we *have* to do it at the same time for us to both get the contract price on our on new phones.
    FInally, the last straw: after spending over an hour on the phone -- both my girlfriend and I had to be there according to the rep we spoke with, since she was porting her number from AT&T -- the second rep we spoke with walked my girlfriend through the entire credit check, plan, phone order, etc., and got to *shipping*, when he then insisted the phone could *ONLY BE SHIPPED TO THE BILLING ADDRESS.*  We can't get FedEx shipments at home because WE WORK.  Our building has no secure place for packages.  The FedEx "depot" is far away and we don't have a car.  This is common in New York City.  Verizon has always shipped phones to my work address before.  She and I argued with him for as long as we could stand it, but he utterly refused.  After ten minutes or so more of this, he admitted that we could to go to a store; they could order it there and we could pick it up.  He couldn't ship the order we had just spent over an hour on to a store; we had to basically start over.
    As my girlfriend said, getting married will be simpler and faster than it has been for us to join our cell phone plans.
    Can it possibly be true that Verizon will no longer ship to a work address?!  What have other people done in this situation?  I am so incredibly frustrated, and the idea of now having to find a time when both of us can go to a store (we work in different boroughs, that'll be fun), after having spent hours on the phone and the website, makes me irrationally angry.  I am this close to giving up and joining my girlfriend on AT&T.

    Update: my girlfriend went to an official Verizon store because the sales rep on the phone had told her if she did that, the store could order the phone and she could pick it up there.  Turns out the sales rep was wrong.  Even if you order in the store, Verizon will ship it to your billing address.
    This is beyond ridiculous.  What "fraud" is Verizon protecting against by not allowing my girlfriend to pick up her phone *in person*, with *photo identification*?  Answer: none.  This is a policy for policy's sake, not for anyone's best interests; a side of Verizon I was familiar with, but which this time has caused so much aggravation (and wasted time) that it's about to be a deal-breaker.
    Has *anyone* else in this situation been able to talk to someone with sufficient authority to override this idiotic policy?  I'd rather not switch to AT&T, but my girlfriend is already sick to death of Verizon, and I don't blame her.  More to the point, we seem to have no reasonable way of getting her a Verizon iPhone.

  • HT1040 Multiple Prints in aperture---one shipping charge

    How do I reduce my shipping charges when ordering prints through aperture? I'd like to order prints of several photos, but I don't want to pay $1.99 shipping for each print. Is there a way of combining the prints into one order?

    You can select several photos at once and order prints for all of them in one single order. You can specify different sizes and quantities for each of the photos, like this:
    Regards
    Léonie

Maybe you are looking for

  • Repair Flickr tool in iPhoto 09

    Awhile back, I was getting frustrated with the Flickr upload tool in iPhoto 09 and deleted it by following the advice of someone in the forums. I think I deleted a .plist file or something like that, but honestly, I can't remember. Right now, there i

  • HGrid : Set the different images for each row.

    Hi, Please provide me the solution. My page is having an HGrid where one column is should display the image . but for this there few conditions I would be getting the name of the image from the database and also the description. i need to set the ima

  • Does photo stream pictures take space on my computer

    does photo stream pictures take space on my computer

  • Restart problem Nokia 5630 XM

    Hi everyone i have problem in my new Nokia 5630 when i Listen to music it make restart what i have to do ?

  • How could I reinstall itunes on mac OSX10.5.8

    I had troubles to update itunes on my mac OSX 10.5.8; so I removed itunes and its components from my computer and try to reinstall. Unfortunately I cannot find a itunes available for mac osx 10.5.8 could U help