{"title":"Codeunit 500 Enum Assignment Management, procedures","url":"https://jonas-paprotka.de/ref/codeunit/500-enum-assignment-management/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":500,"name":"Enum Assignment Management","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/500-enum-assignment-management/","json":"https://jonas-paprotka.de/ref/codeunit/500-enum-assignment-management.json"},"aspect":"procedures","total":9,"rows":[{"name":"GetSalesApprovalDocumentType","sig":"(Enum Sales Document Type)","named":"(SalesDocumentType: Enum \"Sales Document Type\")","returns":"Enum Approval Document Type","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(SalesDocumentType: Enum \"Sales Document Type\")","returns":"Enum Approval Document Type","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetSalesIncomingDocumentType","sig":"(Enum Sales Document Type)","named":"(SalesDocumentType: Enum \"Sales Document Type\")","returns":"Enum Incoming Document Type","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(SalesDocumentType: Enum \"Sales Document Type\")","returns":"Enum Incoming Document Type","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetPurchApprovalDocumentType","sig":"(Enum Purchase Document Type)","named":"(PurchDocumentType: Enum \"Purchase Document Type\")","returns":"Enum Approval Document Type","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(PurchDocumentType: Enum \"Purchase Document Type\")","returns":"Enum Approval Document Type","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetPurchIncomingDocumentType","sig":"(Enum Purchase Document Type)","named":"(PurchDocumentType: Enum \"Purchase Document Type\")","returns":"Enum Incoming Document Type","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(PurchDocumentType: Enum \"Purchase Document Type\")","returns":"Enum Incoming Document Type","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetSalesLineTypeFromPurchLineType","sig":"(Enum Purchase Line Type)","named":"(PurchLineType: Enum \"Purchase Line Type\")","returns":"Enum Sales Line Type","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(PurchLineType: Enum \"Purchase Line Type\")","returns":"Enum Sales Line Type","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetPurchLineTypeFromSalesLineType","sig":"(Enum Sales Line Type)","named":"(SalesLineType: Enum \"Sales Line Type\")","returns":"Enum Purchase Line Type","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(SalesLineType: Enum \"Sales Line Type\")","returns":"Enum Purchase Line Type","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetServiceIncomingDocumentType","sig":"(Enum Service Document Type)","named":"(ServiceDocumentType: Enum \"Service Document Type\")","returns":"Enum Incoming Document Type","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by sane procedure in codeunit ServDocExchangeMgt","tag":"25.0"},"range":"23-27","first":23,"last":27,"obsoleteSince":25,"spans":[{"from":23,"to":24,"named":"(ServiceDocumentType: Enum \"Service Document Type\")","returns":"Enum Incoming Document Type","kind":"procedure","access":"public","obsolete":null},{"from":25,"to":27,"named":"(ServiceDocumentType: Enum \"Service Document Type\")","returns":"Enum Incoming Document Type","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by sane procedure in codeunit ServDocExchangeMgt","tag":"25.0"}}]},{"name":"GetSalesDocumentTypeFromApproval","sig":"(Enum Approval Document Type)","named":"(ApprovalDocumentType: Enum \"Approval Document Type\")","returns":"Enum Sales Document Type","kind":"procedure","access":"public","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(ApprovalDocumentType: Enum \"Approval Document Type\")","returns":"Enum Sales Document Type","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetPurchDocumentTypeFromApproval","sig":"(Enum Approval Document Type)","named":"(ApprovalDocumentType: Enum \"Approval Document Type\")","returns":"Enum Purchase Document Type","kind":"procedure","access":"public","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(ApprovalDocumentType: Enum \"Approval Document Type\")","returns":"Enum Purchase Document Type","kind":"procedure","access":"public","obsolete":null}]}]}