Skip to Content

Is it possible to modify the code behind SAP B1 forms?

Oct 18, 2017 at 08:33 AM


avatar image

Dear all,

I've a problem with a VAT report in SAP Business One 9.2.

The starting form is the following (sorry for the Italian, I don't know if a similar form exists also in other languages, anyway the final question is general and does not depend by the specific form).

By selecting dates, the form produces a summary of the VAT Debits and Credits and the related Balance. The January monthly report is the following.

The Monthly Balance is reported in the next month report. But when I repeat the query for the month of February the problem occurs: the January Monthly Balance is twice the correct value.

It happens because we erroneously registered January Credit and Debit VAT twice and then we cancelled the duplicated registrations. The cancellation is correctly taken into account in the January report. Instead, in February the January Monthly Balance takes into account only the Credits of the Credit VAT and the Debits of the Debit VAT. Therefore the cancellation is not taken into account.

So the question is: is it possible to modify the code behind the starting form in order to calculate the January Monthly Balance as the sum of the Balance of the Credit VAT minus the Balance of the Debit VAT?

Many thanks

immagine.png (32.8 kB)
immagine2.png (71.0 kB)
immagine3.png (71.2 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Oct 18, 2017 at 08:39 AM


Unfortunately, you cannot modify the code behind the System Forms. You can try to customize it however in a certain way only and cannot change the actual functionality.

Kind regards,


SAP SME Support

10 |10000 characters needed characters left characters exceeded