Skip to Content
0

Can you specify costing codes for each account in a journal entry?

Mar 06 at 08:16 PM

21

avatar image

A journal entry created by SAP Business One automatically (i.e. a journal entry from an invoice).

You see, our client wants a validation so that if SAP Business One detects that an account from a soon-to-be-created journal entry without costing code, then an error would rise and tell the user he/she has to specify the costing code (somewhere in the business object that he's creating). By design, SAP Business one only writes the costing code for certain accounts in the journal entry but the client wants a costing code in (basically) each line from the JE (which makes things even more complicated).

My understanding is that the journal entry creation is encapsulated in the whole "business object creation" processes and we can't read/update it until it's created.

An ex co-worker used the Transaction Notification, but it is only able to check if *the document* has costing codes specified, not if the JE to be created has costing codes per line. My workaround would be to update (via SDK) the recently created JE and assign the costing code per line, but I am wondering if I'm killing a fly with a cannon... or even worse, that I'm shooting myself (or the client) in the foot while trying to kill a fly.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Hector Ivan Corea Sanabria Mar 08 at 08:40 PM
0

I opened a ticket with SAP and, from what I understood, you can't do what I want to do via native behaviour.

I'm gonna develop the Add-On as mentioned before: "update (via SDK) the recently created JE and assign the costing code per line"

Share
10 |10000 characters needed characters left characters exceeded