on 09-08-2008 8:45 AM
Hi
In A/R Invoice I have 5 Items with differen Discount.
I need to know in Which Table and Field *Total Before Discount * is Stored
Regards
Srinivas
Adding 6% to all total before discounts sounds like a tax. Why not do you create a tax code and the solution will be easy.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hii,
It depends on which total before discount you mean. If you mean the total before the discount that is applied to the whole document then the field is [TotalSumSy] in INV1 table. But If by the total before discount you mean the price before discount is applied to each line item, then this a calculated field as pointed out by the seniors.
You may wish to check out the below thread.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Suda is correct. Total before discount is not stored anywhere in OINV but calculated through SUM(Linetotal) from INV1. If it is in FC, exchange rate will take document date rate as the base to calculate LC total.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sura,
Total Before Discount is a calculated field.
The formula you require is:
DocTotal + DiscSum - VatSum
I hope this answers your question.
Regards
Tanveer
Edited by: Tanveer Waseem on Sep 8, 2008 4:04 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sura,
SELECT T0.[DocNum],T0.[DiscSum] FROM [dbo].[OINV] T0 WHERE T0.[DocNum] ='[%0]'
Jeyakanthan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can check table OINV and INV1 regarding the field details.
Regards,
Jitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.