{"title":"Codeunit 2678 Sales Alloc. Acc. Mgt., procedures","url":"https://jonas-paprotka.de/ref/codeunit/2678-sales-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":2678,"name":"Sales Alloc. Acc. Mgt.","app":"Base Application","versions":"23-29","url":"https://jonas-paprotka.de/ref/codeunit/2678-sales-alloc-acc-mgt/","json":"https://jonas-paprotka.de/ref/codeunit/2678-sales-alloc-acc-mgt.json"},"aspect":"procedures","total":6,"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 Sales Line, var Record Allocation Line)","named":"(var SalesLine: Record \"Sales 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 SalesLine: Record \"Sales Line\"; var AllocationLine: Record \"Allocation Line\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateLinesFromAllocationAccountLine","sig":"(var Record Sales Line)","named":"(var AllocationAccountSalesLine: Record \"Sales Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var AllocationAccountSalesLine: Record \"Sales 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 Sales Line)","named":"(var SalesLine: Record \"Sales Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":24,"named":"(var SalesLine: Record \"Sales Line\")","returns":"","kind":"procedure","access":"internal","obsolete":null},{"from":25,"to":29,"named":"(var SalesLine: Record \"Sales Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]}]}