Record.CalcSums(Any [, Any,...]) Method
Version: Available or changed with runtime version 1.0.
Calculates the total of a column in a table. You specify which fields to calculate by using parameters.
Syntax
[Ok := ] Record.CalcSums(Field1: Any [, Field2: Any,...])
Parameters
Record
Type: Record
An instance of the Record data type.
Field1
Type: Any
[Optional] Field2
Type: Any
Return Value
[Optional] Ok
Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Remarks
If one of the fields specified is not a SumIndexField, the operation will be unsuccessful and a runtime error will occur.
See Also
Record Data Type
Get Started with AL
Developing Extensions
CALCSUM Method (FieldRef)
AL Database Methods and Performance on SQL Server
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour