Remaning Dues OF Party
hi,
i have three tables PARTY_DETAILS,BILL_DETAILS,PARTY_PAYMENT_DETAILS
CREATE TABLE "PARTY_DETAILS"
( "S_NO" NUMBER,
"PARTY_NAME" VARCHAR2(4000),
"ADDRESS" VARCHAR2(4000),
"MOB1_NO" VARCHAR2(30),
CONSTRAINT "PARTY_DETAILS_CON" PRIMARY KEY ("S_NO") ENABLE
CREATE TABLE "BILL_DETAILS"
( "S_NO" NUMBER,
"BILL_NO" NUMBER,
"BILL_DATE" DATE,
"PARTY_NAME" VARCHAR2(4000),
"TOTAL_AMOUNT" NUMBER,
CONSTRAINT "BILL_DETAILS_CON" PRIMARY KEY ("S_NO") ENABLE
CREATE TABLE "PARTY_PAYMENT_DETAILS"
( "S_NO" NUMBER,
"PARTY_NAME" VARCHAR2(4000),
"TOTAL_AMOUNT" NUMBER,
"PAYMENT_DATE" DATE,
CONSTRAINT "PARTY_PAYMENT_DETAILS_CON" PRIMARY KEY ("S_NO") ENABLE
I have party personal information in to PARTY_DETAILS Table.
There are multiple bills with Total Amount corresponding to Party Name In BILL_DETAILS.
i have receive bill payment from party in to PARTY_PAYMENT_DETAILS Table .
Now i want to generate a Party Dues Report .
Rs
Eg.if there are 5 bills corresponding to a Party Say A and all Bills Total Amount are 20,000 Rs. In BILL_DETAILS .
Party A paid only 12,000 Rs. Into PARTY_PAYMENT_DETAILS Table
Now Here i want to generate Report PARTY DUES Details with Following Field Details
PARTY_NAME,
MOB1_NO,
TOTAL_AMOUNT (bill amount)
TOTAL_AMOUNT (paid amount)
BALNCE_AMOUNT
Thanks
Manoj Kauhsik
with bills as (
select p.PARTY_NAME, p.MOB1_NO, sum(nvl(b.TOTAL_AMOUNT,0)) bill_amount
from PARTY_DETAILS p, BILL_DETAILS b
where p.PARTY_NAME=b.PARTY_NAME(+)
group by p.PARTY_NAME, p.MOB1_NO
payments as (
select p.PARTY_NAME,sum(nvl(pd.TOTAL_AMOUNT,0)) paid_amount
from PARTY_DETAILS p, PARTY_PAYMENT_DETAILS pd
where p.PARTY_NAME=pd.PARTY_NAME(+)
group by p.PARTY_NAME
Select b.party_name, b.mob1_no, BILL_AMOUNT, PAID_AMOUNT, BILL_AMOUNT-PAID_AMOUNT balance_amount
from bills b, payments p
where b.PARTY_NAME=p.PARTY_NAME
PARTY_NAME MOB1_NO BILL_AMOUNT PAID_AMOUNT BALANCE_AMOUNT
Arniks Plastic Pvt Ltd 9718996996 2584 46210 -43626
Kumar Plastics Services 9968407869 1750 21000 -19250
Sunil Plastic Pvt Ltd 9990165996 12 51200 -51188
Krishna Plastic Ltd 9718994995 3220 0 3220
Manpower Pvt Ltd - 2686,4 0 2686,4
Shama Plastic Ltd 9968456123 0 20000 -20000Some results sound a little strange (more paid that bill amount) but seems to be correct.
Max
[My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/07/creare-documenti-office-da-plsql/]
Similar Messages
-
I have an iphone 5 with all authentic accessories.
The problem is, my phone was kind of showing some issues. Sort of malfunctioning on the screen. The screen eventually not responding while charging with the original charger and cable.
I bought an "aftermarket" charger. Same authentic cable was used during the operation. The phone were being used and it seems the problem on the phone was gone.
I test the authentic charger on my girl's 4s together with its authentic cable too. Surprisingly, no issues was seen during the operation.You will need to check with your supplier. A genuine HP cartridge would show proper ink levels, reman or third party cartridges may not.
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
Excluding Additional Charges Paid from Party Dues
Hello
There is a requirement where a special charge has been paid during invoicing. this has to be added in invoice or GRN. The amount will not be in the party's account due but should be included in item valuation as cost.
To explain in detail -
A/P Invoice amount Rs 100 (payable by the vendor)
plus inter-state Entry Tax of Rs 10 - This party wiill not pay. (But this has be considered in Item Valuation)
How to incorporate this scenario. If it is added as Freight then it is adding with total bill amount and becoming payable by party.
Thanks and Regards
IndrajitHi Indrajit,
Have you tried Landed Cost function?
Thanks,
Gordon -
Third party Partial Delivery by vendor
Dear Experts,
During third party process, if the vendor does partial delivery to the customer i.e. 50 instead of 100. now my question is can we process the remaning 50. if yes how?
Regards...Hi,
Process
VA01 - Create sales order(Qty 100 ) >> ME52N - PR generated after save of OR >> ME21N - Convert PR in to PO >> Then vendor will ship goods to customer(qty 50 ) >> MIRO - Invoice receipt from vendor for qty 50 >> VF01 - then invoice issue to customer for qty 50
Now again vendor will ship remaining qty 50 and will send you invoice then enter that vendor invoice and again create final invoice to customer.
Kapil -
Logical GR in Third Party Process
Hi Friends
There is logical GR involved in third party process. What if we do not want to trigger it?very useful thraed for your Qn-
[stock not updating after doing MIGO (gr) for third party sales |stock not updating after doing MIGO (gr) for third party sales;
BR
Raj -
HP AiO remote doesn't recognize 3rd party toner as compatible in LaserJet M1217nfw MFP
Hi,
I have a HP Envy 17 running Windows 8.1, a MacBook Air, an iPhone and a HP LaserJet M1217nfw MFP. I recently replaced the toner with a 3rd party replacement cartridge and while the printer does give me a "supply memory error" I am still able to print just fine from the Mac and my phone. I am unable however to print from my Envy. The HP All-in-One Remote app in Windows 8 gives me an "incompatible cartridge" message and says there are no solutions availble. Is there a work-around to this?
I am not very good at Windows 8....
ThanksHi Thaddeus,
Although the printer may resoponse to some commands, a supply memory error is an error state about the used cartridge.
Due the error message on the screen the HP AIO Remote recognize the cartridge as incompatible, that cannot be bypassed
with any settings, resolving the issue which cause the error message is the only key to resolve a such.
If the HP AiO Remote fails to print in such condition the only solution is to fully resolve the condition by following the steps listed in my previous post.
Regards,
Shlomi
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
3rd Party AIFF loops tempo changes from loop library and Logic session
Hi there,
Hope somebody out there can help me out!
I've recently purchased some 3rd party loops, some in AIFF and some in WAV (Which I have converted to AIFF using the Apple Loops Utility), and i have been able to get these into the logic Loop library successfully.....Or so I thought!
The problem I am having is that when previewing one of my loops it's often double the speed that the set tempo, and this will happen to ALL of my loops. But when I drag one into my session, Logic asks if it should copy over the automation data with it, click yes, and it plays fine in the arrange window. And funnily enough, all of my loops in the library start playing at the correct tempo!
Once this has all happened, i've tried quitting logic, and re-opening....but the issue just happens again....
Has anyone else had this problem, or have any idea as to what the issue may be??
Any help would be greatly appreciated!!
- AaronHi there,
Hope somebody out there can help me out!
I've recently purchased some 3rd party loops, some in AIFF and some in WAV (Which I have converted to AIFF using the Apple Loops Utility), and i have been able to get these into the logic Loop library successfully.....Or so I thought!
The problem I am having is that when previewing one of my loops it's often double the speed that the set tempo, and this will happen to ALL of my loops. But when I drag one into my session, Logic asks if it should copy over the automation data with it, click yes, and it plays fine in the arrange window. And funnily enough, all of my loops in the library start playing at the correct tempo!
Once this has all happened, i've tried quitting logic, and re-opening....but the issue just happens again....
Has anyone else had this problem, or have any idea as to what the issue may be??
Any help would be greatly appreciated!!
- Aaron -
How can I use a 3rd party XML parser such as xerces with OC4J ?
Hi all tech experts,
I am using Oracle Application Server 10g Release 2 (10.1.2) and i have
installed Portal and Wireless and OracleAS Infrastructure on the same
computer.
i tried all the solutions on this thread
Use of Xerces Parser in out application with Oracle App Server 9.0.4
but still fighting.
I have also posted this query on OTN on following thread
How can I use a 3rd party XML parser such as xerces with OC4J?
but no reply....
Please help me on this issue.
Since OC4J is preconfigured to use the Oracle XML parser which is xmlparserv2.jar.
i have read the following article which states that
OC4J is preconfigured to use the Oracle XML parser. The Oracle XML parser is fully JAXP 1.1 compatible and will serve the needs of applications which require JAXP functionality. This approach does not require the download, installation, and configuration of additional XML parsers.
The Oracle XML parser (xmlparserv2.jar) is configured to load as a system level library of OC4J through it's inclusion as an entry in the Class-Path entry of the oc4j.jar Manifest.mf file. This results in the Oracle XML parser being used for all common deployment and packaging situations. You are not permitted to modify the Manifest.mf file of oc4j.jar.
It must be noted that configuring OC4J to run with any additional XML parser or JDBC library is not a supported configuration. We do know customers who have managed to successfully replace the system level XML parser and the Oracle JDBC drivers that ship with the product, but we do not support this type of configuration due to the possibility of unexpected system behavior and system errors that might occur from replacing the tested and certified libraries.
If you absolutely must use an additional XML parser such as xerces, then you have to start OC4J such that the xerces.jar file is loaded at a level above the OC4J system classpath. This can be accomplished using the -Xbootclasspath flag of the JRE.
i have also run the following command
java -Xbootclasspath/a:d:\xerces\xerces.jar -jar oc4j.jar
but no success.
How could i utilize my jar's like xerces.jar and xalan.jar for parsing instead of OC4J in-built parser ?
All reply will be highly appreciated.
Thnx in advance to all.
Neeraj Sidhaye
try_catch_finally @ Y !Hi Neeraj Sidhaye,
I am trying to deploy a sample xform application to the Oracle Application Server (10.1.3). However, I encountered the class loader issue that is similar to your stuation. I tried all the three solutions but the application is still use the Oracle xml paser class. I am wondering if you have any insight about this?
Thanks for your help.
Xingsheng Qian
iPass Inc.
Here is the error message I got.
Message:
java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
Stack Trace:
org.chiba.xml.xforms.exception.XFormsException: java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
at org.chiba.xml.xforms.Container.dispatch(Unknown Source)
at org.chiba.xml.xforms.Container.dispatch(Unknown Source)
at org.chiba.xml.xforms.Container.initModels(Unknown Source)
at org.chiba.xml.xforms.Container.init(Unknown Source)
at org.chiba.xml.xforms.ChibaBean.init(Unknown Source)
at org.chiba.adapter.servlet.ServletAdapter.init(ServletAdapter.java:153)
at org.chiba.adapter.servlet.ChibaServlet.doGet(ChibaServlet.java:303)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
at org.chiba.xml.xforms.Instance.iterateModelItems(Unknown Source)
at org.chiba.xml.xforms.Bind.initializeModelItems(Unknown Source)
at org.chiba.xml.xforms.Bind.init(Unknown Source)
at org.chiba.xml.xforms.Initializer.initializeBindElements(Unknown Source)
at org.chiba.xml.xforms.Model.modelConstruct(Unknown Source)
at org.chiba.xml.xforms.Model.performDefault(Unknown Source)
at org.chiba.xml.xforms.XFormsDocument.performDefault(Unknown Source)
at org.chiba.xml.xforms.XFormsDocument.dispatchEvent(Unknown Source)
at org.apache.xerces.dom.NodeImpl.dispatchEvent(Unknown Source)
... 18 more -
How can I use a microphone with a wireless speaker system for announcing at a party?
I am trying to use my computer (which is already wirelessly hooked up to my speakers) as a make shift pa system. Is there a way to hook up a microphone to my computer to use it to do a little announcing at a party?
NI-DAQ is not supposed to detect your GPIB and NI-488 software will not detect your daq board. When you installed MAX, was this from a LabVIEW driver install CD that also put a new version of NI-DAQ on your pc. Open MAX and check your currently installed versions of NI-DAQ and NI-488. They should both be listed. If you have a new version of NI-DAQ than 6.1, you can uninstall the newer version and install 6.1.
-
IPhone 4 with Facetime. How can I see the other party instead of myself?
Several scenarios; same result:
1. Normal call comes in from another party using an iPhone 4 (like mine).
a. I answer and press Facetime.
b. She presses Facetime.
Result: I see myself. She sees herself
2. I call her from my Contacts list by pressing the FaceTime button.
a. Her phone rings and rings (as I hear it, not her).
b. She never receives an indication that I am trying to FaceTime her.
Result: Failure to connect.
3. She calls me from her Contacts list, same way, 3 times.
a. My phone does not register her attempts.
Result: Failure to connect.
4. I turn on my WiFi setting, as I am at home using the iPhone. I call her.
a. She answers, presses FaceTime.
b. I press FaceTime.
Result: I see myself. She sees herself.
Note: She was not connected to WiFi at the time. Was this the mysterious key to our lack of success?
By what settings and methods can we get to see each other? (She lives across the country... I'd love to see her.)A FaceTime call can be done when both devices are connected to an available wi-fi network only.
This will change with iOS 6 to be released this fall which will include the option to FaceTime when connected via 3G, not just wi-fi. -
Airplay no longer working with 3rd party after upgrading to Maverick.
I updated my MacBook Pro this week and I have noticed that the airplay icon is no longer showing up in iTunes to connect to my Denon Amplifier. The interesting thing is that my old iPad 1 that I have that is still running 5.1.1 can connect and play to the receiver just fine.
Was there an update to the airplay software that would affect 3rd party devices? I was not able to find any new updates for my receiver.I woke up this morning with the same problem (all was fine last night). Only way to get all my mailbox folders back was to use Time Machine while in Mail, choosing the backup file from previous night and selecting EACH MAILBOX to restore (23 for me). All appears okay so far today (except some of my accessories in the menu bar are gone).
I sure hope an update comes SOON. In anticipation of Mavericks and the new MAIL I switched from Outlook 2011 3 weeks ago transfering 17,000+ files and would hate to back -
Credit Memo process in 3rd party order
Hello All,
Once 3rd party invoice is completed process as follows: (standard process)
sale order --> Purchase Requisition --> Purchase Order --> Goods Receipt --> Invoice Verification --> Customer Invoice.
When you post the customer invoice to accounting, in general system will update
1.Net Value 2. COGS (Cost of goods sold) 3. Sales Qty.
Now the scenario is when the vendor cancel his original invoice and reissue the invoice (due to change in price / change in stock item and so on..),
We have to cancel the customer invoice and issue credit memo invoice (without any reference) for the customer.
But the problem here is.. when we post the credit invoice to accounting, COGS will not be updated (currently they are adjusting COGS value manually).
How can we map this scenario ? while creating credit memo invoice we should consider some reference so that COGS should be updated.Hello Suresh,
THERE ARE TWO SCENARIOS HERE.
Scenario is when the vendor cancel his original invoice and reissue the invoice (due to change in price / change in stock item and so on..),We have to cancel the customer invoice and issue credit memo invoice (without any reference) for the customer.
> IF THE VENDOR GRANTS YOU A CREDIT MEMO ON THE QUANTITY OR VALUE BASIS, YOU CAN DIRECTLY PASS ON THIS TO CUSTOMER BY RAISING CREDIT MEMO (THIRD PARTY CREDIT MEMO IS G2S), THIS WORKS WITH ITEM CATEGORY 'TASG' (THIRD PARTY CREDIT MEMO ITEM). THE SALES RELEVANT INDICATOR ' F' IS SET IN CUSTOMISING FOR SALES FOR THIS ITEM CATEGORY. THIS MEANS THAT THE COST IS NOT CREATED.
--->IF THE VENDOR CALCULATES ADDITIONAL COSTS FOR YOU ONCE THE THIRD PARTY BUSINESS TRANSACTIONS HAVE ALREADY BEEN BILLED. THE COSTS FROM THE INVOICE RECEIPT ARE THEN CORRECTED IN THE CUSTOMER BILLING DOCUMENT WHICH HAVE ALREADY BEEN CREATED. SUBSEQUENT DEBITS FROM THE INVOICE RECEIPTS ARE COPIED TO PROFITABILITY ANALYSIS AS A DIFFERENCE AMOUNT. THIS MEANS THAT THE COST IS UPDATED HERE ALSO. IN ACCRUED PROFITABILITY ANALYSIS, THE COSTS ARE NOT COPIED FROM THE INVOICE RECEIPT, BUT FROM THE CUSTOMER BILLING DOCUMENT.
EXAMPLE:In the context of a third-party business transaction, you create a sales order for over 100 pieces.
A purchase requisition and a purchase order are generated. Ten pieces are delivered to the customer, and a billing document is then sent to the customer when the 10 pieces are delivered. The vendor sets a subsequent debit of 100 USD for shipping costs in the invoice. The cost is nowupdated in the billing document created, and in the profitability analysis (in this case, it is raised
by 100 USD). -
How to change sold to party in sales order
Hi
We have the below requirment of changing sold to party after creation of sales order...
Below is the scenario
Once sales order is created,purchase requisition is created autamatically and purchase order is created with reference to the purchase requisition..So when Goods receipt is done,the respective stock is getting reserved for that sales order...
We wanted to change the sold to party option.
After creation of purchase order,sold to party option in sales order is display only..
Can u tell us how to make it changeable...
Regards
SudhaHi,
Why don't you try to make the Partner Function for Sold to Party as Modifible (Don't select Non Modifible) for the Sales Order Header in partner determination determintaion setting in customizing.
You have to check with the partner determination procedure assigned to your sales order type and check accordingly.
Reward points if it helps.
Regards,
Harsh -
Hi..
Please send me configuration steps of Free Goods in Third Party..
Thanks in Advance
ShriniwasFree goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
This is the Limitation of setting up free goods
Cheers -
Automatic po creation third party order
Hello Gurus,
In case of automatic po creation from third party order we have attach purchase organization and vendor to sales organization. This restrict only one vendor against sales organization.
Is any BADI available which we can use which to change vedor dynamically ?
Best Regards,
VasantDear Vasant,
For automatic PO at the time of GR following are the prerequisites:
1) In Customizing
a) Auto PO generation must be activated in Mov. Type 101 & 161
b) the plant for which GR is entered must be assigned to standard Pur. Org.
c) Default Document type for PO must be specified in GR ( MB 01)
2) Application - Front end side
a) material must be valuated material
b) Purchasing Info record must exist for vendor , material & standard Pur Org.
c) Conditions in Info Records must be valid.
d) Applicable for stock items & not consumable items
e) you cannot enter any movement in GR block stock
f) Material Master & vendor master records must.
If you ensure all above settings then it is possible to have auto PO during GR.
Please try,
Vivek
Maybe you are looking for
-
Impact on SharePoint if we rename AD Domain.
Hi all.. I was researching a lot these days on steps needed to rename Active Directory Domain from ABC.com to ABCD.com, and the impact it will have on SharePoint Farm. Could someone please help me with the approach needed (from SharePoint Perspecti
-
PO Item Price Change - Thru MASS MAINTENANCE
Hi All Is it possible to change the PO item price thru MASS Maintenance Thanks ARAS
-
Can we now install mSATA SSDs in our US X230s without voiding the warranty?
So it had been discussed before on this forum that installing a mSATA device on an X230 was a warranty voiding action (the part was listed as CSU instead of FSU). And we in the USA had no option to have one installed at all. Now on Lenovo's site whe
-
Ever since I went to Flashplatyer 16, I can't get my Captivate files to run properly - I have imported PPT files and SCORMed them and when you run the presentations, each slide "flashes" instead of running smoothly - I have spent the last 2 days tryi
-
Hi, I really need help here. What has happened is the hard drive that my images are on is dying. I can't even copy the images off of it onto a new hard drive. That doesn't really concern me that much because I'm able to copy the images off of a back