KVSPSAGuarantee#
Fields#
| Name | Type | Note |
|---|---|---|
| No. | Code[20] | |
| Description | Text[100] | |
| External Guarantee No. | Text[100] | |
| Issuing Bank (Contact No.) | Code[20] | |
| Issuing Bank (Contact Name) | Text[100] | FlowField |
| Guarantee Status | Code[20] | |
| Guarantee Type | Code[20] | |
| Guarantee Type Description | Text[100] | FlowField |
| Guarantee Posting Group | Code[20] | |
| Start Date | Date | |
| End Date | Date | |
| Job No. | Code[20] | |
| Account Type | Enum Gen. Journal Account Type | |
| Account No. | Code[20] | |
| Account Name | Text[100] | |
| Contact No. | Code[20] | |
| Contact Name | Text[100] | FlowField |
| Amount (LCY) | Decimal | |
| Commission Amount (LCY) | Decimal | |
| Commission % | Decimal | |
| Purchase Document Type | Enum Purchase Document Type | |
| Purchase Document No. | Code[20] | |
| No. Series | Code[20] | |
| Guarantee Direction | Enum (KVSPSAGuaranteeDirection) | |
| Blocked | Enum (KVSPSAGuaranteeBlocked) | |
| Maintenance | Option | OptionMembers: ,In Progress,Maintenance Completed |
| StatusCheckingMandFields | Enum (KVSKBAStatusCheckingMandFields) | |
| Blocked By | Option | OptionMembers: ,Checking Mandatory Fields,User,Sanction Check,Mandat. Fields & Sanction Check,Sanction Check (Document) |
| Blocked (User) | Enum (KVSPSAGuaranteeBlocked) |
Procedures#
AssistEdit(Record KVSPSAGuarantee) : Boolean#
Summary: This procedure called when user use assist edit, It checks the setup and retrieves the next number from the No. Series.
procedure AssistEdit(OldGuarantee: Record "KVSPSAGuarantee"): Boolean
Parameters:
OldGuarantee: Record used to pass to the event.
Returns: Return result if it this procedure is run or not.
Events#
KVSPSAOnBeforeShowCheckMandatoryFieldsAction(Boolean, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAOnBeforeShowCheckMandatoryFieldsAction(var ShowAction: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSPSAGuarantee", 'KVSPSAOnBeforeShowCheckMandatoryFieldsAction', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeShowCheckMandatoryFieldsAction(var ShowAction: Boolean; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeStartAssistEdit(Record KVSPSAGuarantee, Record KVSPSAGuarantee, Boolean, Boolean, Codeunit No. Series) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeStartAssistEdit(var Guarantee: Record "KVSPSAGuarantee"; var OldGuarantee: Record "KVSPSAGuarantee"; var Result: Boolean; var IsHandled: Boolean; var NoSeries: Codeunit "No. Series"):
[EventSubscriber(ObjectType::Table, Table::"KVSPSAGuarantee", 'KVSPSAOnBeforeStartAssistEdit', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeStartAssistEdit(var Guarantee: Record "KVSPSAGuarantee"; var OldGuarantee: Record "KVSPSAGuarantee"; var Result: Boolean; var IsHandled: Boolean; var NoSeries: Codeunit "No. Series")
begin
end;
KVSPSAOnLookupStatusCheckMandatoryFields(Record KVSPSAGuarantee, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnLookupStatusCheckMandatoryFields(var Guarantee: Record "KVSPSAGuarantee"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSPSAGuarantee", 'KVSPSAOnLookupStatusCheckMandatoryFields', '', false, false)]
local procedure DoSomethingKVSPSAOnLookupStatusCheckMandatoryFields(var Guarantee: Record "KVSPSAGuarantee"; var IsHandled: Boolean)
begin
end;