Skip to content

KVSPSACreatePurchaseDocFromPSP#

Procedures#

GetCreateJobPurchaseParameters(Record KVSPSACreateJobPurchParameters) :#

Summary: Get Definitions from Global ParameterTable

procedure GetCreateJobPurchaseParameters(var CreateJobPurchParameters: Record "KVSPSACreateJobPurchParameters"): 

GetDef(Code[20], Enum KVSPSAPurchDocTypeCreatePSP, Boolean, Code[10], Code[10]) :#

Obsolete

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

Summary: Get Definitions from global variables

[Obsolete('Use New Function GetCreateJobPurchaseParameters and the new Parameter Table', '23.2')]
procedure GetDef(var DefJobNo: Code[20]; var DefDocType: Enum "KVSPSAPurchDocTypeCreatePSP"; var DefJobAdress: Boolean; var ReqWhseTemplate: Code[10]; var ReqWhseName: Code[10]): 

GetShipToLocationAddress(Boolean) :#

Obsolete

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

Summary: Get value of variable GetShipToLocationAddress

[Obsolete('Use New Function GetCreateJobPurchaseParameters and the new Parameter Table', '23.2')]
procedure GetShipToLocationAddress(var ShipToLocationAddress: Boolean): 

Events#

OnAfterSetGlobalTypeFilter(Enum KVSPSAJobBudgetLineTypeFilter) :#

Summary: This Event is raised after the Type Filter was set by jobs setup

[IntegrationEvent(false, false)]
local procedure OnAfterSetGlobalTypeFilter(var JobBudgetLineTypeFilter: Enum "KVSPSAJobBudgetLineTypeFilter"): 
[EventSubscriber(ObjectType::Page, Page::"KVSPSACreatePurchaseDocFromPSP", 'OnAfterSetGlobalTypeFilter', '', false, false)]
local procedure DoSomethingOnAfterSetGlobalTypeFilter(var JobBudgetLineTypeFilter: Enum "KVSPSAJobBudgetLineTypeFilter")
begin
end;

Parameters:

  • JobBudgetLineTypeFilter:

Protected Variables#

GlobalCreateJobPurchParameters#

Type: Record (KVSPSACreateJobPurchParameters)