Wednesday, February 20, 2013

Useful query :Relation between AR invoice and Sales Order

Query for to find out AR invoice and Sales Order Details


SELECT oha.order_number, 
               ola.line_number so_line_number,
               ola.ordered_item item_name,
              ola.ordered_quantity * ola.unit_selling_price LINE_AMOUNT,
              rcta.trx_number Transaction_number, rcta.trx_date,
              rctla.line_number TRX_line_number,
               rctla.unit_selling_price unit_selling_price
  FROM oe_order_headers_all oha,
              oe_order_lines_all ola,
               ra_customer_trx_all rcta,
               ra_customer_trx_lines_all rctla
 WHERE oha.header_id = ola.header_id
   AND rcta.customer_trx_id = rctla.customer_trx_id
   AND rctla.interface_line_attribute6 = TO_CHAR (ola.line_id)
   AND rctla.interface_line_attribute1 = TO_CHAR (oha.order_number)
   AND order_number = :p_order_number

26 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. One more useful website to learn tally....

    ReplyDelete
  3. Have one sales activity for every day, since you know you can finish that. Each activity will expand upon the one from the earlier day. sales automation

    ReplyDelete
  4. Thank you so much for this useful query..! appreciate it..!

    ReplyDelete
  5. I make no apology for this requirement. The most common issue I have seen in all my years as a counselor with the numerous people I have seen as clients dealing with relationships, has been inequality between couples. what to talk to a girl about

    ReplyDelete
  6. You should appreciate, doing what makes the other person be aware of the fact they are special is easily done, on condition that we do it https://relationadvisor.com/

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. יחסי ציבור לעסקים

    ReplyDelete
  9. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! The information that you have provided is very helpful. voyance telephone

    ReplyDelete
  10. Business to business selling is about readiness. With business to business sales aptitudes it is about arrangement your sales training.cold calling

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. Supervisors should utilize the results of the appraisals to direct focused on training that will support the general shortcomings of the general sales group.easy cold calling script

    ReplyDelete
  15. The more senior the sales executives, the more attention they should pay to the "strategic" and "statistical" aspects of the system and implementation of sales team strategies.social proof tools

    ReplyDelete
  16. When your website or blog goes live for the first time, it is exciting. That is until you realize no one but you and your. http://home2bis.com/sales-course/

    ReplyDelete
  17. The matter you we highlighted above is surely value able for anyone to workout. the concept of your article is very true and It will result in a positive way. קורס מכירות

    ReplyDelete
  18. They carry the ball (products and services) to existing and potential customers. The more time the sales team is in front of a customer, the greater the likelihood that a sales event (touchdown) will occur. B2B Mailing List

    ReplyDelete
  19. Increase face time of outside sales team with present and potential customers. Think of your business as a professional football team. cheap cbd products

    ReplyDelete
  20. There are lots of things that you will learn about yachts but yachts for sale you do not have to necessarily know all of them instead those important information only will do. You have to know the types of yachts for sale and the different responsibility of the owner.

    ReplyDelete
  21. Salesforce Training with Capital info Solutions - Know more about our Training Program Salesforce training in Chennai

    ReplyDelete
  22. Until as of late, portable web design was considered undeniably more pertinent to current buyers than it's responsive partner, this methodology sees designers utilizing advanced mobile phones as a beginning stage and updating the innovation logically, through to notebooks, PCs and past. Webdesignlab.be

    ReplyDelete
  23. Numerous CEOs and leader groups accept that the most ideal approach to manufacture associations with clients is with a sales group made distinctly out of direct workers.https://www.callcenterdeluxecalls.nl/

    ReplyDelete
  24. I have been working in site design improvement and positioning website market, before it was even called SEO Webdesign

    ReplyDelete
  25. ecollect that you are rivaling a great many different websites. Hypothetically, you could invest loads of energy on SEO and get to that pined for first page just to discover that clients don't locate your substance, items, or administrations engaging. Webdesign

    ReplyDelete