Grid field appear/disappear based on other field status

Hi Experts,

Hope all doing good!

I am little bit confused with above attached requirement. Please someone help me to resolve this.

Hope someone will help me.

Advance in thanks and Regards,

AXDeveloper

Can you please explain what you need from us?

Hi Martin,

Thanks for your response.

In form grid, if the journal status is open, posted on field should be disappear from grid,

if the journal status is posted, posted on field should be appear in grid.

Feasibility is there or not? to do these things?

Sure, it’s easy. Override modified() method of the Show control. There you’ll place your logic.

Then get a reference to the datasource field. If the datasource is LedgerJournalTable and the field is PostedDateTime, do this:

FormDataObject postedTimeField = LedgerJournalTable_ds.object(fieldNum(LedgerJournalTable, PostedDateTime));

Then call visible() method of postedTimeField. Set it to true if the value of Show control is Posted and to false if not.

Hi Martin,

Thanks for your answer. it’s worked for me.

Regards,

AXDeveloper