Hi,
i hope that one of yours can help me, or can give a hint.
There are many Transactions with Trans. Sales Entries in the database.
The Statements are calculated.
At the Beginning of Posting, for example Line 2 of Statement Line, i get following Error.
The VAT Setup doesnt exist.
VAT Bus Group '', BLANK, VAT Prod. code = '' BLANK.
The Items are complete, the Customers are complete, the Store card hast Gen Bus Group and VAT Bus Group. ](*,)
Have anyone an idea :?: :idea:
LS Retail 4.0 - No PlusPOS, POS-Import 3-party-appl.
Thanks
voy
At least the info, in this database there are three companies, in two it works correct, without an error. Sames Objects ... ?
0
Answers
It looks like when the transaction were inserted the store was not setup.
You need to fix the transaction header table and populate the fields.
Usually these fields are blank if you are using sales tax.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
my the store card was setup with "Store VAT Bus. Post. Gr".
And all Trans. Header have an "VAT Bus. Rel. Grp.".
And all Items, where used while posting have gen.prod.grp. and vat prod.grp..
any other ideas ?
Voy
Is there a limit with quantity of trans. in one Statement ?
Turn on the debugger and see where the error stops. Post the code in here.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Here is my code, but it is default code of LS Retail 4.0.
The GenJnlLine REC have no VAT Gen Bus code and no VAT Prod Grp. Code! In the Posting Buffer in Codeunit 99001457 there ist no VAT Gen Bus code and no VAT Prod Grp., too. :?:
This error is only with one tender type !
Where is the mistake in my tender type (setup) :-ken
Voy
"VAT Bus. Posting Group"
"VAT Prod. Posting Group"
Please fix the GL account you should be set.
Go to the store card. find the store. click on store button and select tender type. click on posting tab and lookup into the gl account. Go to GL card and make sure it has the correct setup.
Also if you have a difference GL account No on tender type that it is setup correctly also.
If that's not the case. do turn on the debugger and it will stop at the same place. paste the Call Stack in here.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
i have checked the GL Accounts in the other companies. there were no Posting Type an no gen bus grp, and so on.
Then i searched for the point, if the Posting Buffer loses the data of VAT Bus Post. Grp and VAT Prod. Post. Grp.
It was in the trigger in cu statement post, where the tender type ist NOT Customer, then there is a validate of the GL Account. :-k
I cleared the Fields in the GL Account on the register Posting and the posting of the statement have no error. \:D/
Thanks for your help.
Voy
It sucks to look at code to figure out what is not setup.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n