KVSPSAREFlatManagement
Procedures
CheckFlatAlreadyAssignedToJob(Record KVSPSAREFlat) :
procedure CheckFlatAlreadyAssignedToJob(Flat: Record "KVSPSAREFlat"):
CheckFlatHasAdvanceChain(Record KVSPSAREFlat, Record KVSPSA Job Budget Line) : Boolean
Summary: Check if the flat has an advance chain.
procedure CheckFlatHasAdvanceChain(Flat: Record "KVSPSAREFlat"; var KVSPSAJobBudgetLine: Record "KVSPSA Job Budget Line"): Boolean
Parameters:
Flat:KVSPSAJobBudgetLine:
Returns:
CheckFlatHasAdvanceChainAdditionalSale(Record KVSPSAREFlat, Record KVSPSA Job Budget Line) : Boolean
Summary: Check if the flat has an advance chain for additional sales.
procedure CheckFlatHasAdvanceChainAdditionalSale(Flat: Record "KVSPSAREFlat"; var KVSPSAJobBudgetLine: Record "KVSPSA Job Budget Line"): Boolean
Parameters:
Flat:KVSPSAJobBudgetLine:
Returns:
CheckFlatIsReserved(Code[20]) : Boolean
Summary: Check if the flat is reserved or not.
procedure CheckFlatIsReserved(FlatNo: Code[20]): Boolean
Parameters:
FlatNo:
Returns:
CheckFlatIsSold(Code[20]) : Boolean
Summary: Check if the flat is sold or not.
procedure CheckFlatIsSold(FlatNo: Code[20]): Boolean
Parameters:
FlatNo:
Returns:
JobBudgetLineForFlatAdditionalSaleExists(Record KVSPSA Job Budget Line, Code[20]) : Boolean
procedure JobBudgetLineForFlatAdditionalSaleExists(var KVSPSAJobBudgetLine: Record "KVSPSA Job Budget Line"; FlatNo: Code[20]): Boolean
JobBudgetLineForFlatAdditionalSaleExists(Code[20]) : Boolean
procedure JobBudgetLineForFlatAdditionalSaleExists(FlatNo: Code[20]): Boolean
JobBudgetLineForFlatExists(Record KVSPSA Job Budget Line, Code[20]) : Boolean
procedure JobBudgetLineForFlatExists(var KVSPSAJobBudgetLine: Record "KVSPSA Job Budget Line"; FlatNo: Code[20]): Boolean
JobBudgetLineForFlatExists(Code[20]) : Boolean
procedure JobBudgetLineForFlatExists(FlatNo: Code[20]): Boolean
JobBudgetLineForJobFlatExists(Record KVSPSAJobPSPLine, Record KVSPSAREJobFlat) : Boolean
procedure JobBudgetLineForJobFlatExists(KVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"; JobFlat: Record "KVSPSAREJobFlat"): Boolean
KVSPSAREOnBeforeCheckFlatIsSold(Code[20], Boolean, Boolean) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
Summary: Use this event if you want to add a sales status check for an flat.
[IntegrationEvent(false, false)]
[Obsolete('The event will be made local with 29.0', '28.2')]
procedure KVSPSAREOnBeforeCheckFlatIsSold(FlatNo: Code[20]; var IsSold: Boolean; var IsHandled: Boolean):
Parameters:
FlatNo: No. for the flat.IsSold: Should be set to true if the flat is sold.IsHandled: Should be set to true if the case was handled.
KVSPSAREOnBeforeCheckStateOfSales(Code[20], Boolean, Boolean) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
Summary: Use this event to allow or disallow the change of the unit price for a job flat, even if the status is sold.
[IntegrationEvent(false, false)]
[Obsolete('The event will be made local with 29.0', '28.2')]
procedure KVSPSAREOnBeforeCheckStateOfSales(JobNo: Code[20]; var ChangeUnitPriceAllowed: Boolean; var IsHandled: Boolean):
Parameters:
JobNo: Job, where the flat is located.ChangeUnitPriceAllowed: Should be set to true if the unit price must be changed.IsHandled: Should be set to true if the case was handled.
Events
KVSPSAREOnBeforeCheckFlatIsSold(Code[20], Boolean, Boolean) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
Summary: Use this event if you want to add a sales status check for an flat.
[IntegrationEvent(false, false)]
[Obsolete('The event will be made local with 29.0', '28.2')]
procedure KVSPSAREOnBeforeCheckFlatIsSold(FlatNo: Code[20]; var IsSold: Boolean; var IsHandled: Boolean):
Parameters:
FlatNo: No. for the flat.IsSold: Should be set to true if the flat is sold.IsHandled: Should be set to true if the case was handled.
KVSPSAREOnBeforeCheckSendNotificationForJQE(Boolean) :
Summary: Use this event to disable notification for missing job queue entry
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnBeforeCheckSendNotificationForJQE(var IsHandled: Boolean):
Parameters:
IsHandled: Should be set to true if the case was handled.
KVSPSAREOnBeforeCheckStateOfSales(Code[20], Boolean, Boolean) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
Summary: Use this event to allow or disallow the change of the unit price for a job flat, even if the status is sold.
[IntegrationEvent(false, false)]
[Obsolete('The event will be made local with 29.0', '28.2')]
procedure KVSPSAREOnBeforeCheckStateOfSales(JobNo: Code[20]; var ChangeUnitPriceAllowed: Boolean; var IsHandled: Boolean):
Parameters:
JobNo: Job, where the flat is located.ChangeUnitPriceAllowed: Should be set to true if the unit price must be changed.IsHandled: Should be set to true if the case was handled.