KVSPSAJobQuotePostingCheckMgt
Procedures
IsPostingInJobStatusQuoteActivated() : Boolean
Summary: Checks if posting in Quote Status is activated. If it is activated the Return Value will be true, otherwise false
procedure IsPostingInJobStatusQuoteActivated(): Boolean
Returns:
IsPostingInJobStatusQuoteActivated(Code[20]) : Boolean
Summary: Checks if posting in Quote Status is activated. If it is activated the Return Value will be true, otherwise false
procedure IsPostingInJobStatusQuoteActivated(JobNo: Code[20]): Boolean
Parameters:
JobNo:
Returns:
IsPostingInJobStatusQuoteActivated(Code[20], Code[20]) : Boolean
Summary: Checks if posting in Quote Status is activated. If it is activated the Return Value will be true, otherwise false
procedure IsPostingInJobStatusQuoteActivated(JobNo: Code[20]; JobTemplateCode: Code[20]): Boolean
Parameters:
JobNo:JobTemplateCode:
Returns:
PostingInQuoteSetupMustBeActive(Code[20], Code[20]) :
Summary: PostingInQuoteSetupMustBeActive Checks if the Setup is active for Posting in Quotes. If not an error will be raised.
procedure PostingInQuoteSetupMustBeActive(JobNo: Code[20]; JobTemplateCode: Code[20]):
Parameters:
JobNo:JobTemplateCode:
Events
KVSPSAOnBeforeIsPostingInJobStatusQuoteActivated(Code[20], Code[20], Boolean, Boolean) :
Summary: KVSPSAOnBeforeCheckIfStatusInQuoteNotAllowed allows to change the return value, for example, if you have a setup based on job. If the check is based on a template, the job no. will be empty and the job Template code will be given. If you have a case without job or template, both fields will be empty. In this case, set IsHandled to true and the result to the value you want to use.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeIsPostingInJobStatusQuoteActivated(JobNo: Code[20]; JobTemplateNo: Code[20]; var IsHandled: Boolean; var Result: Boolean):
Parameters:
JobNo:JobTemplateNo:IsHandled:Result:
KVSPSAOnBeforePostingInQuoteSetupMustBeActive(Code[20], Code[20], Boolean) :
Summary: KVSPSAOnBeforePostingInQuoteSetupMustBeActive allows to implement your own change, if you have based the posting allowance on the project or the template
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforePostingInQuoteSetupMustBeActive(JobNo: Code[20]; JobTemplateCode: Code[20]; var IsHandled: Boolean):
Parameters:
JobNo:JobTemplateCode:IsHandled: