Codeunit 6232 E-Doc. MLLM Schema Helper

E-Document Core, Microsoft.eServices.EDocument.Processing.Import

Source AL, 367 lines

src/Apps/W1/EDocument/App/src/Processing/Import/StructureReceivedEDocument/EDocMLLMSchemaHelper.Codeunit.allines 12 to 27 of 367, Copyright (c) Microsoft Corporation. MIT

codeunit 6232 "E-Doc. MLLM Schema Helper"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    procedure GetDefaultSchema() Value: Text    var        DefaultSchemaFileLbl: Label 'AITools/ubl_example.json', Locked = true;        SchemaJson: JsonObject;    begin        SchemaJson := NavApp.GetResourceAsJson(DefaultSchemaFileLbl, TextEncoding::UTF8);        PrefillCustomerFromCompanyInfo(SchemaJson);        SchemaJson.WriteTo(Value);    end;

All 367 lines

Public procedures 3 in 29

GetDefaultSchema(): Textnew in 28
MapHeaderFromJson(HeaderObj: JsonObject; var TempHeader: Record "E-Document Purchase Header" temporary)new in 28
MapLinesFromJson(LinesArray: JsonArray; EDocEntryNo: Integer; var TempLine: Record "E-Document Purchase Line" temporary; CurrencyCode: Code[10])new in 28