Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

knockoff invoices

AhmedDec 27 2018 — edited Dec 27 2018

A request from my friend.

hi Experts,

I have the following data in oracle 11g, 6 invoices with total received amount from customer. want to create invoice wise outstanding query like running total balance.

RNO

INVNO

INVDATE

CUSTOMERCODE

INV_AMOUNT

REC_AMOUNT

1

115/11/201871100046050

2

216/11/2018714850
31016/11/201877000
41116/11/2018710200
51216/11/201873000

i need the following query, kindly guide.

RNO

INVNO

INVDATE

CUSTOMERCODE

INV_AMOUNT

REC_AMOUNT

BREAKUP

1

115/11/20187110004605011000

2

216/11/201871485014850
31016/11/2018770007000
41116/11/201871020010200
51216/11/2018730003000

Comments
Post Details
Added on Dec 27 2018
6 comments
494 views