LedgerJournalTransVendInvoice Form AX 2012

Hi guys, I need your help.

I want to do something similar to the functionality to not allow editing journal lines if the journal is posted or is in a workflow.

I added a new field to the table LedgerJournalTable that tells me what process generated the journal. (Automatic Processes made ​​by me).

I wanna do is that when the user clicks on the journal lines button (JournalType: VendInvoiceRegister), if this newspaper was generated by one of my processes that do not allow at users editing journal lines except the currency.

How I can do this and where i can put the code?

Thanks a lot, please help me.

if this journal* was generated by one of my processes…

Nobody can help me?