Codeunit 18008386 EOS011 Contributions Utilities
Gathers all functions used to handle generic needs
procedure GelLastContrLedgerEntryNo(): Integer
Integer
procedure AddNewRegisterEntry(EOS011ContrLedgerEntry: Record "EOS011 Contr. Ledger Entry"; isCorrection: Boolean): Integer
EOS011ContrLedgerEntry Record "EOS011 Contr. Ledger Entry"
isCorrection Boolean
Returns Integer
procedure LinkRegisterEntry(GenJournalLine: Record "Gen. Journal Line")
Record "Gen. Journal Line"
procedure GetVendorNoFromSalesperson(SalespersonPurchaserCode: Code[20]): Code[20]
SalespersonPurchaserCode Code[20]
Returns Code[20]
procedure UpdateFieldsOnSaleperson(var Rec: Record "Salesperson/Purchaser"; xRec: Record "Salesperson/Purchaser"; inFieldNo: Integer; Hidedialog: Boolean)
Rec Record "Salesperson/Purchaser"
xRec Record "Salesperson/Purchaser"
inFieldNo Integer
Hidedialog Boolean
procedure CreateAndPostGLFromContrEntries(var EOS011ContrLedgerEntry: Record "EOS011 Contr. Ledger Entry";Correction:Boolean;Hidedialog:Boolean)
EOS011ContrLedgerEntry Record "EOS011 Contr. Ledger Entry"
Correction Boolean
Hidedialog Boolean
procedure NewImportedEntry(var EOS011ContrLedgerEntry: Record "EOS011 Contr. Ledger Entry")
Record "EOS011 Contr. Ledger Entry"
procedure OpenContrFromPage(Document: Variant)
Variant
procedure GetWithhContrEntryForDocument(Document: Variant;var EOS011BaseAmount: Decimal; var EOS011AgentAmount: Decimal; var EOS011AgentPerc: Decimal;var EOS011CompanyAmount: Decimal; var EOS011CompanyPerc: Decimal; var EOS011IntegrationAmount: Decimal)
Document Variant
EOS011BaseAmount Decimal
EOS011AgentAmount Decimal
EOS011AgentPerc Decimal
EOS011CompanyAmount Decimal
EOS011CompanyPerc Decimal
EOS011IntegrationAmount Decimal
procedure CollectContrLedgerEntryFromVariant(var EOS011ContrLedgerEntry: Record "EOS011 Contr. Ledger Entry"; Document: Variant; ContrType: Integer)
EOS011ContrLedgerEntry Record "EOS011 Contr. Ledger Entry"
Document Variant
ContrType Integer
procedure GetQuarterStartingDate(Quarter: Integer; Year: Integer): Date
Quarter Integer
Year Integer
Returns Date
procedure GetQuarterEndingDate(Quarter: Integer; Year: Integer): Date
Quarter Integer
Year Integer
Returns Date
procedure GetFirstIntegrQuarter(VendorNo: Code[20]; Year: Integer): Integer
VendorNo Code[20]
Year Integer
Returns Integer
procedure GetQuarterNo(ReferenceDate: Date): Integer
ReferenceDate Date
Returns Integer
procedure GetContrBaseAmountFromContrEntries(VendorNo: Code[20]; StartingDate: Date; EndingDate: Date; FilterIntegrOption: Option; ContrType: Option) TotalBase: Decimal
VendorNo Code[20]
StartingDate Date
EndingDate Date
FilterIntegrOption Option
ContrType Option
Returns Decimal
procedure GetContrBaseAmountFromContrEntriesCM(VendorNo: Code[20]; StartingDate: Date; EndingDate: Date; FilterIntegrOption: Option; ContrType: Option) TotalBase: Decimal
VendorNo Code[20]
StartingDate Date
EndingDate Date
FilterIntegrOption Option
ContrType Option
Returns Decimal
procedure GetContrAmountFromContrEntries(VendorNo: Code[20]; StartingDate: Date; EndingDate: Date; FilterIntegrOption: Option; ContrType: Option) TotalBase: Decimal
VendorNo Code[20]
StartingDate Date
EndingDate Date
FilterIntegrOption Option
ContrType Option
Returns Decimal
procedure ExecuteCalcForThisSalesp(VendorNo: Code[20]; CalledFrom: Integer; RefDate: Date): Boolean
VendorNo Code[20]
CalledFrom Integer
RefDate Date
Returns Boolean
procedure GetAnnualAmounts(Vendor: Record Vendor; RefDate: Date;var ENASARCOAmount: Decimal;var ENASARCOAmountSalesp: Decimal;var ENASARCOAmountComp: Decimal;var FIRRAmount: Decimal)
Vendor Record "Vendor"
RefDate Date
ENASARCOAmount Decimal
ENASARCOAmountSalesp Decimal
ENASARCOAmountComp Decimal
FIRRAmount Decimal
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.