Comments
Hi,
I'm not sure, but I think this can help: This function will convert (even translated)Text and numbers into a option or enum value and will give you the right OptionNo.
var
ValidationManagement: Codeunit "Config. Validate Management";
begin
Result := ValidationManagement.GetOptionNo(NewValueText, FldRef);
end;
Our internal controls stipulate that all purchase orders, regardless of how they're created, must go through workflow approval. Just because MRP has suggested a purchase, or someone has created a manual planned PO, it doesn't mean that should bypass workflow - there is a risk of committing the business to spend without appropriate authorisation.
There should at least be a parameter to determine if a business requires approval of planned orders or not.