Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8989

Generating the Journal Entry for AR Invoice using SDK or link UDF to Price List

$
0
0

Hi,

 

I am having SAP B1 9.1 and using India localization.

 

My requirement is that the user will enter the Item Price inclusive of VAT in AR Invoice, and system should reverse calculate the VAT amount, and make correct accounting posting. Please note that the Gross Price field in AR Invoice is a Read Only field in India localization.

 

Example, if the user enters Item Price as Rs. 100 inclusive of 5.5% VAT, then the basic price should be 94.79 and VAT should be 5.21. I can achieve the VAT calculation by changing the Tax Code Formula, but the Journal Entry will show Rs. 100 posted to Sales GL and Rs. 5.21 posted to VAT GL, which is wrong.

 

Actually, the Journal Entry should post Rs. 94.79 to Sales GL, and Rs. 5.21 to VAT GL.

 

Note:

If I try to add a UDF where the user can input the price inclusive of tax, and then link the Unit Price field to this UDF using an FMS for reverse calculation, then the problem is that the UDF will not automatically pick the price from the price list. I may have to replicate the entire Price List logic to populate the UDF automatically, which may be a cumbersome task.

 

So I am looking for one of 2 solutions:

 

1. I enter the Price inclusive of VAT in the Price List and use zero tax in AR Invoice. Now I need to control the Journal Entry posting so that the entire amount is not posted to Sales GL. I want to post the tax amount to the Tax GL. How can I control the Journal Entry using SDK? I need to bifurcate the amount between Sales GL and Tax GL; otherwise the Profit figure will be wrong in the Profit and Loss Statement, and the Liabilities figure will also be wrong in the Balance Sheet.

 

OR

 

2. How can I link my UDF to pick the price as per the Price List rules, using SDK?

 

Any one of the above solutions will meet my requirement.

 

Please advise.


Viewing all articles
Browse latest Browse all 8989

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>