Codeunit 70491956 EOS CWS Comb. Calc. Mgmt.
Codeunit 70491956 EOS CWS Comb. Calc. Mgmt.
Methods
GetCombCriteriaCodeForDocGroupingEntry
procedure GetCombCriteriaCodeForDocGroupingEntry(DocGroupingEntry: Record "EOS CWS Doc. Grouping Entry"; var CombCriteria: Record "EOS CWS Combination Criteria")
Parameters / Return Value
DocGroupingEntry
Record "EOS CWS Doc. Grouping Entry"
CombCriteria
Record "EOS CWS Combination Criteria"
FindDocGroupingEntryCombinationCode
procedure FindDocGroupingEntryCombinationCode(DocGroupingEntry: Record "EOS CWS Doc. Grouping Entry"; var CombinationCode: Code[10]; CalledByFieldNo: Integer)
Parameters / Return Value
DocGroupingEntry
Record "EOS CWS Doc. Grouping Entry"
CombinationCode
Code[10]
CalledByFieldNo
Integer
CombCriteriaSetupExists
procedure CombCriteriaSetupExists(DocGroupingEntry: Record "EOS CWS Doc. Grouping Entry"; ShowAll: Boolean): Boolean
Parameters / Return Value
DocGroupingEntry
Record "EOS CWS Doc. Grouping Entry"
ShowAll
Boolean
Returns
Boolean
FindCombCriteriaSetup
procedure FindCombCriteriaSetup(var ToCombCriteriaSetup: Record "EOS CWS Comb. Criteria Setup"; CombType: Option; LocationCode: Code[20]; SourceDocumentType: Enum "EOS CWS Source Document"; DestinationNo: Code[20]; ShowAll: Boolean)
Parameters / Return Value
ToCombCriteriaSetup
Record "EOS CWS Comb. Criteria Setup"
CombType
Option
LocationCode
Code[20]
SourceDocumentType
Enum "EOS CWS Source Document"
DestinationNo
Code[20]
ShowAll
Boolean
CalcBestCriteria
procedure CalcBestCriteria(var CombCriteriaSetup: Record "EOS CWS Comb. Criteria Setup")
Parameters / Return Value
- CombCriteriaSetup
Record "EOS CWS Comb. Criteria Setup"
Events
OnBeforeFindCombinationCode
local procedure OnBeforeFindCombinationCode(DocGroupingEntry: Record "EOS CWS Doc. Grouping Entry"; var CombinationCode: Code[10]; CalledByFieldNo: Integer; var IsHandled: Boolean)
This event is raised before calculate combination code. You can use to return your custom code.
Parameters / Return Value
DocGroupingEntry
Record "EOS CWS Doc. Grouping Entry"
Document Grouping Entry
CombinationCode
Code[10]
Your custom code
CalledByFieldNo
Integer
IsHandled
Boolean
Set true to use your custom value
OnAfterFindCombinationCode
local procedure OnAfterFindCombinationCode(DocGroupingEntry: Record "EOS CWS Doc. Grouping Entry"; var CombCriteriaSetup: Record "EOS CWS Comb. Criteria Setup"; CalledByFieldNo: Integer)
This event is raised after combination criteria setup calculation.
Parameters / Return Value
DocGroupingEntry
Record "EOS CWS Doc. Grouping Entry"
Document Grouping Entry
CombCriteriaSetup
Record "EOS CWS Comb. Criteria Setup"
Combination Criteria Setup
CalledByFieldNo
Integer
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.