Refresh mandatory fields on form (red line)Mark mandatory fields on form, if not filled with valid valueGo To Main Table form menu is not coming in reference field while creating transfer ordergotFocus and enter methods on Form field not being calledAdding InventTable fields to InventOnHandItem formUpdate a field with display methodRefresh the form after lines are receivedHow to refresh form when I open?Axapta 2012 - Ax Views and GETDATE()Cannot add field to the field group of the formDirPartyTable in form's datasource in AX

Is there a "right" way to interpret a novel, if not, how do we make sure our novel is interpreted correctly?

I multiply the source, you (probably) multiply the output!

What can we do about our 9-month-old putting fingers down his throat?

How can faith be maintained in a world of living gods?

More than three domains hosted on the same IP address

What is the difference between a translation and a Galilean transformation?

What is this sticking out of my wall?

How to say "In Japan, I want to ..."?

How can I finish my PhD?

When did computers stop checking memory on boot?

How should we understand "unobscured by flying friends" in this context?

How invisible hand adjusts stock prices if company is listed on multiple exchanges, under multiple currencies, and one of the currencies plunges?

Owner keeps cutting corners and poaching workers for his other company

Why would an AC motor heavily shake when driven with certain frequencies?

What is the difference between tl_to_str:V and tl_to_str:N?

The pirate treasure of Leatherback Atoll

How to descend a few exposed scrambling moves with minimal equipment?

Sloth and the Hindrances

UK citizen travelling to France at the end of November

Quick Shikaku Puzzle: Stars and Stripes

The meaning of "offing" in "an agreement in the offing"

Chandrayaan 2: Why is Vikram Lander's life limited to 14 Days?

How to capture c-lightining logs?

Aftermarket seats



Refresh mandatory fields on form (red line)


Mark mandatory fields on form, if not filled with valid valueGo To Main Table form menu is not coming in reference field while creating transfer ordergotFocus and enter methods on Form field not being calledAdding InventTable fields to InventOnHandItem formUpdate a field with display methodRefresh the form after lines are receivedHow to refresh form when I open?Axapta 2012 - Ax Views and GETDATE()Cannot add field to the field group of the formDirPartyTable in form's datasource in AX






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Is it possible to refresh form and set mandatory fields (marked with red line) based on other field modification? I tried refresh(), reread(), but red line is not appears. Red line appears only when I clicked on this field.
This is form LedgerJournalTransDimension.










share|improve this question


























  • Can you show your code or provide more details?

    – Aliaksandr Maksimau
    Mar 28 at 7:38











  • What version of Dynamics do you use?

    – FH-Inway
    Mar 28 at 15:44






  • 1





    Try formRun.redraw() after whatever refreshes you're doing.

    – Alex Kwitny
    Mar 28 at 15:53












  • Thanks, but formRun.redraw() doesn't help. Maybe I should clear cache on this form? How to clear cache on form? I tried SysGlobalObjectCache::clearAllCaches(), but doesn't help too.

    – kinga94
    Apr 2 at 13:19


















0















Is it possible to refresh form and set mandatory fields (marked with red line) based on other field modification? I tried refresh(), reread(), but red line is not appears. Red line appears only when I clicked on this field.
This is form LedgerJournalTransDimension.










share|improve this question


























  • Can you show your code or provide more details?

    – Aliaksandr Maksimau
    Mar 28 at 7:38











  • What version of Dynamics do you use?

    – FH-Inway
    Mar 28 at 15:44






  • 1





    Try formRun.redraw() after whatever refreshes you're doing.

    – Alex Kwitny
    Mar 28 at 15:53












  • Thanks, but formRun.redraw() doesn't help. Maybe I should clear cache on this form? How to clear cache on form? I tried SysGlobalObjectCache::clearAllCaches(), but doesn't help too.

    – kinga94
    Apr 2 at 13:19














0












0








0








Is it possible to refresh form and set mandatory fields (marked with red line) based on other field modification? I tried refresh(), reread(), but red line is not appears. Red line appears only when I clicked on this field.
This is form LedgerJournalTransDimension.










share|improve this question
















Is it possible to refresh form and set mandatory fields (marked with red line) based on other field modification? I tried refresh(), reread(), but red line is not appears. Red line appears only when I clicked on this field.
This is form LedgerJournalTransDimension.







axapta microsoft-dynamics x++






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 7:35







kinga94

















asked Mar 28 at 7:30









kinga94kinga94

1302 silver badges15 bronze badges




1302 silver badges15 bronze badges















  • Can you show your code or provide more details?

    – Aliaksandr Maksimau
    Mar 28 at 7:38











  • What version of Dynamics do you use?

    – FH-Inway
    Mar 28 at 15:44






  • 1





    Try formRun.redraw() after whatever refreshes you're doing.

    – Alex Kwitny
    Mar 28 at 15:53












  • Thanks, but formRun.redraw() doesn't help. Maybe I should clear cache on this form? How to clear cache on form? I tried SysGlobalObjectCache::clearAllCaches(), but doesn't help too.

    – kinga94
    Apr 2 at 13:19


















  • Can you show your code or provide more details?

    – Aliaksandr Maksimau
    Mar 28 at 7:38











  • What version of Dynamics do you use?

    – FH-Inway
    Mar 28 at 15:44






  • 1





    Try formRun.redraw() after whatever refreshes you're doing.

    – Alex Kwitny
    Mar 28 at 15:53












  • Thanks, but formRun.redraw() doesn't help. Maybe I should clear cache on this form? How to clear cache on form? I tried SysGlobalObjectCache::clearAllCaches(), but doesn't help too.

    – kinga94
    Apr 2 at 13:19

















Can you show your code or provide more details?

– Aliaksandr Maksimau
Mar 28 at 7:38





Can you show your code or provide more details?

– Aliaksandr Maksimau
Mar 28 at 7:38













What version of Dynamics do you use?

– FH-Inway
Mar 28 at 15:44





What version of Dynamics do you use?

– FH-Inway
Mar 28 at 15:44




1




1





Try formRun.redraw() after whatever refreshes you're doing.

– Alex Kwitny
Mar 28 at 15:53






Try formRun.redraw() after whatever refreshes you're doing.

– Alex Kwitny
Mar 28 at 15:53














Thanks, but formRun.redraw() doesn't help. Maybe I should clear cache on this form? How to clear cache on form? I tried SysGlobalObjectCache::clearAllCaches(), but doesn't help too.

– kinga94
Apr 2 at 13:19






Thanks, but formRun.redraw() doesn't help. Maybe I should clear cache on this form? How to clear cache on form? I tried SysGlobalObjectCache::clearAllCaches(), but doesn't help too.

– kinga94
Apr 2 at 13:19













1 Answer
1






active

oldest

votes


















1
















element.redraw() after super() in modified() control method is solution






share|improve this answer

























  • element is the active instance of formRun...same thing

    – Alex Kwitny
    Apr 3 at 19:31










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55392232%2frefresh-mandatory-fields-on-form-red-line%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1
















element.redraw() after super() in modified() control method is solution






share|improve this answer

























  • element is the active instance of formRun...same thing

    – Alex Kwitny
    Apr 3 at 19:31















1
















element.redraw() after super() in modified() control method is solution






share|improve this answer

























  • element is the active instance of formRun...same thing

    – Alex Kwitny
    Apr 3 at 19:31













1














1










1









element.redraw() after super() in modified() control method is solution






share|improve this answer













element.redraw() after super() in modified() control method is solution







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 3 at 10:47









kinga94kinga94

1302 silver badges15 bronze badges




1302 silver badges15 bronze badges















  • element is the active instance of formRun...same thing

    – Alex Kwitny
    Apr 3 at 19:31

















  • element is the active instance of formRun...same thing

    – Alex Kwitny
    Apr 3 at 19:31
















element is the active instance of formRun...same thing

– Alex Kwitny
Apr 3 at 19:31





element is the active instance of formRun...same thing

– Alex Kwitny
Apr 3 at 19:31








Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.




















draft saved

draft discarded















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55392232%2frefresh-mandatory-fields-on-form-red-line%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript