TestOpenStatus Purchase Line BC14

SteveKnottSteveKnott Posts: 43Member
Hi,

Looking for ideas to disable the OpenStatus check for Purchase docs that are released when the currency factor is changed.

Subscribing to the TestOpenStatus event fires during the "Line Discount" validation in "ValidateLineDiscountPercent" after curency factor change... but at that point, none of the amounts have changed yet.. so difficult to pick up if it was an edit of the Discount amount field or a currency. I dont see a way to get PurchaseHeader before update ? Any ideas ?

Steve

Answers

  • SanderDkSanderDk Posts: 320Member
    Have about to subscripe to: OnBeforeTestStatusOpen
    and change the option StatusCheckSuspended := true on PurchaseLine?
    For help, do not use PM, but use forum instead, perhaps other people have the same question, or better answers.
  • SteveKnottSteveKnott Posts: 43Member
    Hi SanderDK,

    i am subscribed to that event.. but nothing has yet changed on the purchase line... I want to check that it was only the currency factor... not other fields ?
Sign In or Register to comment.