Skip to content

KVSKBAReqWkshMakeOrder#

Procedures#

NextBlanketOrderNo(Record Requisition Line, Boolean) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This procedure is no longer supported, please use CheckBlanketOrderData', '24.1')]
procedure NextBlanketOrderNo(checkReqLinePar: Record "Requisition Line"; setPreviousValuesPar: Boolean): Boolean

CheckBlanketOrderData(Record Requisition Line) : Boolean#

Summary: his function returns yes, if Blanket Order No. or Blanket Order Line No. changed on Requisition Line

procedure CheckBlanketOrderData(RequisitionLine: Record "Requisition Line"): Boolean

Parameters:

  • RequisitionLine: Requisition Line for checking the blanket order data with previous

Returns: Boolean, true, if Blanket Order No. or Blanket Order Line No differs to previus

Events#

OnBeforeOnReqWkshMakeOrderOnBeforeCheckRunPrintPurchOrdersReqWkshMakeOrder(Codeunit Req. Wksh.-Make Order, Record Transfer Header, Record Purchase Header, Record Purchase Header, Boolean, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeOnReqWkshMakeOrderOnBeforeCheckRunPrintPurchOrdersReqWkshMakeOrder(var Sender: Codeunit "Req. Wksh.-Make Order"; var TransferHeader: Record "Transfer Header"; var PurchaseHeader: Record "Purchase Header"; var TempPurchaseHeader: Record "Purchase Header" temporary; var PrintPurchOrders: Boolean; var GlobalIsHandled: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAReqWkshMakeOrder", 'OnBeforeOnReqWkshMakeOrderOnBeforeCheckRunPrintPurchOrdersReqWkshMakeOrder', '', false, false)]
local procedure DoSomethingOnBeforeOnReqWkshMakeOrderOnBeforeCheckRunPrintPurchOrdersReqWkshMakeOrder(var Sender: Codeunit "Req. Wksh.-Make Order"; var TransferHeader: Record "Transfer Header"; var PurchaseHeader: Record "Purchase Header"; var TempPurchaseHeader: Record "Purchase Header" temporary; var PrintPurchOrders: Boolean; var GlobalIsHandled: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeCheckBlanketOrderData(Record Requisition Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckBlanketOrderData(RequisitionLine: Record "Requisition Line"; var BlanketOrderDataaredifferent: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAReqWkshMakeOrder", 'OnBeforeCheckBlanketOrderData', '', false, false)]
local procedure DoSomethingOnBeforeCheckBlanketOrderData(RequisitionLine: Record "Requisition Line"; var BlanketOrderDataaredifferent: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeSetPreviousBlanketOrderValues(Record Requisition Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetPreviousBlanketOrderValues(RequisitionLine: Record "Requisition Line"; OneOrderPerBlanketOrder: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAReqWkshMakeOrder", 'OnBeforeSetPreviousBlanketOrderValues', '', false, false)]
local procedure DoSomethingOnBeforeSetPreviousBlanketOrderValues(RequisitionLine: Record "Requisition Line"; OneOrderPerBlanketOrder: Boolean; var IsHandled: Boolean)
begin
end;