{"title":"Codeunit 2679 Purchase Alloc. Acc. Mgt., procedures","url":"https://jonas-paprotka.de/ref/codeunit/2679-purchase-alloc-acc-mgt/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":2679,"name":"Purchase Alloc. Acc. Mgt.","app":"Base Application","versions":"23-29","url":"https://jonas-paprotka.de/ref/codeunit/2679-purchase-alloc-acc-mgt/","json":"https://jonas-paprotka.de/ref/codeunit/2679-purchase-alloc-acc-mgt.json"},"aspect":"procedures","total":7,"rows":[{"name":"GetOrGenerateAllocationLines","sig":"(var Record Allocation Line, var Guid)","named":"(var AllocationLine: Record \"Allocation Line\"; var ParentSystemId: Guid)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var AllocationLine: Record \"Allocation Line\"; var ParentSystemId: Guid)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetOrGenerateAllocationLines","sig":"(var Record Allocation Line, var Guid, var Decimal, var Date)","named":"(var AllocationLine: Record \"Allocation Line\"; var ParentSystemId: Guid; var AmountToAllocate: Decimal; var PostingDate: Date)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var AllocationLine: Record \"Allocation Line\"; var ParentSystemId: Guid; var AmountToAllocate: Decimal; var PostingDate: Date)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"LoadManualAllocationLines","sig":"(var Record Purchase Line, var Record Allocation Line)","named":"(var PurchaseLine: Record \"Purchase Line\"; var AllocationLine: Record \"Allocation Line\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var PurchaseLine: Record \"Purchase Line\"; var AllocationLine: Record \"Allocation Line\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateLinesFromAllocationAccountLine","sig":"(var Record Purchase Line)","named":"(var AllocationAccountPurchaseLine: Record \"Purchase Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var AllocationAccountPurchaseLine: Record \"Purchase Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"VerifyAllocationAccount","sig":"(var Record Allocation Account)","named":"(var AllocationAccount: Record \"Allocation Account\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var AllocationAccount: Record \"Allocation Account\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"VerifySelectedAllocationAccountNo","sig":"(var Record Purchase Line)","named":"(var PurchaseLine: Record \"Purchase Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":23,"named":"(var PurchaseLine: Record \"Purchase Line\")","returns":"","kind":"procedure","access":"internal","obsolete":null},{"from":24,"to":29,"named":"(var PurchaseLine: Record \"Purchase Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"TransferDimensionSetID","sig":"(var Record Purchase Line, var Record Allocation Line, Boolean)","named":"(var PurchaseLine: Record \"Purchase Line\"; var AllocationLine: Record \"Allocation Line\"; ModifiedByUser: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var PurchaseLine: Record \"Purchase Line\"; var AllocationLine: Record \"Allocation Line\"; ModifiedByUser: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null}]}]}