{"title":"Codeunit 5830 Calc. Availability Overview, procedures","url":"https://jonas-paprotka.de/ref/codeunit/5830-calc-availability-overview/procedures/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":5830,"name":"Calc. Availability Overview","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/5830-calc-availability-overview/","json":"https://jonas-paprotka.de/ref/codeunit/5830-calc-availability-overview.json"},"aspect":"procedures","total":8,"rows":[{"name":"CalculateItem","sig":"(var Record Availability Calc. Overview)","named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CalculateDate","sig":"(var Record Availability Calc. Overview)","named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"EntriesExist","sig":"(var Record Availability Calc. Overview)","named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"SetParam","sig":"(Option, Code[20])","named":"(NewDemandType: Option; NewDemandNo: Code[20])","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by SetParameters() with enum","tag":"25.0"},"range":"17-27","first":17,"last":27,"obsoleteSince":25,"spans":[{"from":17,"to":24,"named":"(NewDemandType: Option; NewDemandNo: Code[20])","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":25,"to":27,"named":"(NewDemandType: Option; NewDemandNo: Code[20])","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by SetParameters() with enum","tag":"25.0"}}]},{"name":"InsertEntry","sig":"(var Record Availability Calc. Overview, Integer, Date, Code[10], Code[10], Decimal, Decimal, Integer, Integer, Code[20], Text[100], Option)","named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\"; NewType: Integer; NewDate: Date; NewLocation: Code[10]; NewVariantCode: Code[10]; NewQuantityBase: Decimal; NewReservQtyBase: Decimal; NewSourceType: Integer; NewSourceOrderStatus: Integer; NewSourceID: Code[20]; NewDescription: Text[100]; NewDemandType: Option)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by InsertAvailabilityEntry()","tag":"25.0"},"range":"21-27","first":21,"last":27,"obsoleteSince":25,"spans":[{"from":21,"to":24,"named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\"; NewType: Integer; NewDate: Date; NewLocation: Code[10]; NewVariantCode: Code[10]; NewQuantityBase: Decimal; NewReservQtyBase: Decimal; NewSourceType: Integer; NewSourceOrderStatus: Integer; NewSourceID: Code[20]; NewDescription: Text[100]; NewDemandType: Option)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":25,"to":27,"named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\"; NewType: Integer; NewDate: Date; NewLocation: Code[10]; NewVariantCode: Code[10]; NewQuantityBase: Decimal; NewReservQtyBase: Decimal; NewSourceType: Integer; NewSourceOrderStatus: Integer; NewSourceID: Code[20]; NewDescription: Text[100]; NewDemandType: Option)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by InsertAvailabilityEntry()","tag":"25.0"}}]},{"name":"InsertAvailabilityEntry","sig":"(var Record Availability Calc. Overview, Integer, Date, Code[10], Code[10])","named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\"; NewType: Integer; NewDate: Date; NewLocation: Code[10]; NewVariantCode: Code[10])","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\"; NewType: Integer; NewDate: Date; NewLocation: Code[10]; NewVariantCode: Code[10])","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"InsertAvailabilityEntry","sig":"(var Record Availability Calc. Overview, Integer, Date, Code[10], Code[10], Decimal, Decimal, Integer, Integer, Code[20], Text[100], Enum Demand Order Source Type)","named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\"; NewType: Integer; NewDate: Date; NewLocation: Code[10]; NewVariantCode: Code[10]; NewQuantityBase: Decimal; NewReservQtyBase: Decimal; NewSourceType: Integer; NewSourceOrderStatus: Integer; NewSourceID: Code[20]; NewDescription: Text[100]; NewDemandType: Enum \"Demand Order Source Type\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var AvailabilityCalcOverview: Record \"Availability Calc. Overview\"; NewType: Integer; NewDate: Date; NewLocation: Code[10]; NewVariantCode: Code[10]; NewQuantityBase: Decimal; NewReservQtyBase: Decimal; NewSourceType: Integer; NewSourceOrderStatus: Integer; NewSourceID: Code[20]; NewDescription: Text[100]; NewDemandType: Enum \"Demand Order Source Type\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"SetParameters","sig":"(Enum Demand Order Source Type, Code[20])","named":"(NewDemandType: Enum \"Demand Order Source Type\"; NewDemandNo: Code[20])","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(NewDemandType: Enum \"Demand Order Source Type\"; NewDemandNo: Code[20])","returns":"","kind":"procedure","access":"public","obsolete":null}]}]}