Skip to content

KVSMEDWPEPermissionManagement#

Procedures#

Check(Code[10], Code[20], Code[10], Code[20], Option, Option, Code[50]) : Boolean#

procedure Check(locationCodePar: Code[10]; binCodePar: Code[20]; receivingLocationCodePar: Code[10]; receivingBinCodePar: Code[20]; postingTypePar: Option; documentTypePar: Option; userIDPar: Code[50]): Boolean

CheckLocation(Code[10], Code[20], Option, Code[50]) : Boolean#

procedure CheckLocation(locationCodePar: Code[10]; binCodePar: Code[20]; postingTypePar: Option; userIDPar: Code[50]): Boolean

FillPermissionLocations(Record Location, Code[50]) :#

procedure FillPermissionLocations(var locationVar: Record "Location" temporary; userIDPar: Code[50]): 

LookupLocation(Code[10], Boolean, Code[50], Option, Option, Option, Boolean, Boolean, Boolean, Code[10], Boolean) : Boolean#

procedure LookupLocation(var locationCodeVar: Code[10]; isReceivingPar: Boolean; userIDPar: Code[50]; postingTypePar: Option; documentTypePar: Option; postingType2Par: Option; usePostingType2Par: Boolean; useAsInTransitPar: Boolean; useFilterUseAsInTransitPar: Boolean; combinedLocationCodePar: Code[10]; useFilterCombinedLocationPar: Boolean): Boolean

AddLocationForRole(Record Location, Code[20], Option, Option, Boolean) :#

procedure AddLocationForRole(var tempLocationVar: Record "Location" temporary; roleIDPar: Code[20]; postingTypePar: Option; postingType2Par: Option; usePostingType2Par: Boolean): 

CheckLocationPermissionSalesPost(Record Sales Header) :#

procedure CheckLocationPermissionSalesPost(var SalesHeader: Record "Sales Header"): 

CheckLocationPermissionReleasePurchDoc(Record Purchase Header) :#

[EventSubscriber('Codeunit', '415', 'OnBeforeReleasePurchaseDoc', '', true, false)]
procedure CheckLocationPermissionReleasePurchDoc(var PurchaseHeader: Record "Purchase Header"): 

CheckLocationPermissionReleaseTransferDoc(Record Transfer Header) :#

procedure CheckLocationPermissionReleaseTransferDoc(transferHeaderPar: Record "Transfer Header"): 

RunOnBeforeReleaseSalesDoc(Record Sales Header, Boolean) :#

[EventSubscriber('Codeunit', '414', 'OnBeforeReleaseSalesDoc', '', true, false)]
procedure RunOnBeforeReleaseSalesDoc(var SalesHeader: Record "Sales Header"; PreviewMode: Boolean): 

RunOnBeforeReleasePurchDoc(Record Purchase Header, Boolean) :#

[EventSubscriber('Codeunit', '415', 'OnBeforeReleasePurchaseDoc', '', true, false)]
procedure RunOnBeforeReleasePurchDoc(var PurchaseHeader: Record "Purchase Header"; PreviewMode: Boolean):