KVSPSASalesLinesWBSPrepare#
Procedures#
SetSalesHeader(Record Sales Header) :#
Summary: SetSalesHeader has to be called before the page can be opened. Only Document Types Quote and Orders are allowed.
procedure SetSalesHeader(var SalesHeader: Record "Sales Header"):
Parameters:
SalesHeader
: Record Sales Header with Document Types Quote or order
Events#
KVSPSAOnBeforeSetJobnoInAllLines(Record Sales Header, Code[20], Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetJobnoInAllLines(SourceSalesHeader: Record "Sales Header"; JobNo: Code[20]; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Page, Page::"KVSPSASalesLinesWBSPrepare", 'KVSPSAOnBeforeSetJobnoInAllLines', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetJobnoInAllLines(SourceSalesHeader: Record "Sales Header"; JobNo: Code[20]; var IsHandled: Boolean)
begin
end;
KVSPSAOnSetJobnoInAllLinesOnAfterSetFilters(Record KVSPSASalesLineWBSPrepare, Record Sales Header, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnSetJobnoInAllLinesOnAfterSetFilters(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesHeader: Record "Sales Header"; JobNo: Code[20]):
[EventSubscriber(ObjectType::Page, Page::"KVSPSASalesLinesWBSPrepare", 'KVSPSAOnSetJobnoInAllLinesOnAfterSetFilters', '', false, false)]
local procedure DoSomethingKVSPSAOnSetJobnoInAllLinesOnAfterSetFilters(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesHeader: Record "Sales Header"; JobNo: Code[20])
begin
end;
KVSPSAOnSetJobnoInAllLinesOnAfterSetTransferAndJobNo(Record KVSPSASalesLineWBSPrepare, Record Sales Header, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnSetJobnoInAllLinesOnAfterSetTransferAndJobNo(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesHeader: Record "Sales Header"; JobNo: Code[20]):
[EventSubscriber(ObjectType::Page, Page::"KVSPSASalesLinesWBSPrepare", 'KVSPSAOnSetJobnoInAllLinesOnAfterSetTransferAndJobNo', '', false, false)]
local procedure DoSomethingKVSPSAOnSetJobnoInAllLinesOnAfterSetTransferAndJobNo(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesHeader: Record "Sales Header"; JobNo: Code[20])
begin
end;
Protected Variables#
GlobalSourceSalesHeader#
Type: Record Sales Header
GlobalCreateJobPrices#
Type: Boolean
GlobalPhaseEditable#
Type: Boolean
GlobalStepEditable#
Type: Boolean
GlobalTaskEditable#
Type: Boolean
GlobalWorkPackageMandatory#
Type: Boolean
GlobalJobNo#
Type: Code[20]
GlobalLineStyle#
Type: Text