diff --git a/build/Packages.json b/build/Packages.json index e30813ae7c7..cc9c9982325 100644 --- a/build/Packages.json +++ b/build/Packages.json @@ -9,8 +9,8 @@ "_comment": "Used to fetch app baselines from BC artifacts" }, "BCPlatform": { - "Version": "29.0.54473.0", + "Version": "29.0", "Source": "BCPlatform", - "_comment": "The BC platform version, fetched from the platform CDN" + "_comment": "The BC platform major.minor selector; resolves to the latest matching version from the platform CDN" } } diff --git a/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedSalesCrMemo.PageExt.al.orig b/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedSalesCrMemo.PageExt.al.orig deleted file mode 100644 index 5ab5a43dfe2..00000000000 --- a/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedSalesCrMemo.PageExt.al.orig +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// ------------------------------------------------------------------------------------------------ -namespace Microsoft.Sales.History; - -using Microsoft.eServices.EDocument; - -pageextension 6145 "E-Doc. Posted Sales Cr. Memo" extends "Posted Sales Credit Memo" -{ - actions - { - addafter("&Cr. Memo") - { - group("E-Document") - { - action("OpenEDocument") - { - ApplicationArea = Basic, Suite; -<<<<<<< HEAD - Caption = 'Open'; - Image = Open; - ToolTip = 'Opens the E-Document card page.'; -======= - Caption = 'Open E-Document'; - Image = CopyDocument; - ToolTip = 'Opens the electronic document card.'; ->>>>>>> bbf73088ab83 (Add Create E-Document Action) - Enabled = EDocumentExists; - - trigger OnAction() - var - EDocument: Record "E-Document"; - begin - EDocument.OpenEDocument(Rec.RecordId); - end; - } - action(CreateEDocument) - { - ApplicationArea = Basic, Suite; - Caption = 'Create'; - Image = CreateDocument; - ToolTip = 'Creates an E-Document from the posted document and sends it via service.'; - Enabled = not EDocumentExists; - - trigger OnAction() - var - EDocumentProcessing: Codeunit "E-Document Processing"; - begin - if EDocumentProcessing.CreateEDocumentFromPostedDocumentPage(Rec, Enum::"E-Document Type"::"Sales Invoice") then - Message(EDocumentCreatedMsg); - end; - } - action(CreateAndSendEDocument) - { - ApplicationArea = Basic, Suite; - Caption = 'Create E-Document'; - Image = CreateDocument; - ToolTip = 'Creates an electronic document from the posted document and sends it via service.'; - Enabled = not EDocumentExists; - - trigger OnAction() - var - EDocumentProcessing: Codeunit "E-Document Processing"; - begin - if EDocumentProcessing.CreateEDocumentFromPostedDocumentPage(Rec, Enum::"E-Document Type"::"Sales Invoice") then - Message(EDocumentCreatedMsg); - end; - } - } - } - } - - var - EDocumentExists: Boolean; - EDocumentCreatedMsg: Label 'The e-document has been created.'; - - trigger OnAfterGetRecord() - var - EDocument: Record "E-Document"; - begin - EDocument.SetRange("Document Record ID", Rec.RecordId()); - EDocumentExists := not EDocument.IsEmpty(); - end; -} diff --git a/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedSalesInv.PageExt.al.orig b/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedSalesInv.PageExt.al.orig deleted file mode 100644 index 17a2229bb90..00000000000 --- a/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedSalesInv.PageExt.al.orig +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// ------------------------------------------------------------------------------------------------ -namespace Microsoft.Sales.History; - -using Microsoft.eServices.EDocument; -pageextension 6144 "E-Doc. Posted Sales Inv." extends "Posted Sales Invoice" -{ - actions - { - addafter("&Invoice") - { - group("E-Document") - { - action("OpenEDocument") - { - ApplicationArea = Basic, Suite; -<<<<<<< HEAD - Caption = 'Open'; - Image = Open; - ToolTip = 'Opens the E-Document card page.'; -======= - Caption = 'Open E-Document'; - Image = CopyDocument; - ToolTip = 'Opens the electronic document card.'; ->>>>>>> bbf73088ab83 (Add Create E-Document Action) - Enabled = EDocumentExists; - - trigger OnAction() - var - EDocument: Record "E-Document"; - begin - EDocument.OpenEDocument(Rec.RecorDId); - end; - } - action(CreateEDocument) - { - ApplicationArea = Basic, Suite; - Caption = 'Create'; - Image = CreateDocument; - ToolTip = 'Creates an E-Document from the posted document and sends it via service.'; - Enabled = not EDocumentExists; - - trigger OnAction() - var - EDocumentProcessing: Codeunit "E-Document Processing"; - begin - if EDocumentProcessing.CreateEDocumentFromPostedDocumentPage(Rec, Enum::"E-Document Type"::"Sales Invoice") then - Message(EDocumentCreatedMsg); - end; - } - action(CreateAndSendEDocument) - { - ApplicationArea = Basic, Suite; - Caption = 'Create E-Document'; - Image = CreateDocument; - ToolTip = 'Creates an electronic document from the posted document and sends it via service.'; - Enabled = not EDocumentExists; - - trigger OnAction() - var - EDocumentProcessing: Codeunit "E-Document Processing"; - begin - if EDocumentProcessing.CreateEDocumentFromPostedDocumentPage(Rec, Enum::"E-Document Type"::"Sales Invoice") then - Message(EDocumentCreatedMsg); - end; - } - } - } - } - - var - EDocumentExists: Boolean; - EDocumentCreatedMsg: Label 'The e-document has been created.'; - - trigger OnAfterGetRecord() - var - EDocument: Record "E-Document"; - begin - EDocument.SetRange("Document Record ID", Rec.RecordId()); - EDocumentExists := not EDocument.IsEmpty(); - end; - -} diff --git a/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedSalesShipment.PageExt.al.orig b/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedSalesShipment.PageExt.al.orig deleted file mode 100644 index 076140542b0..00000000000 --- a/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedSalesShipment.PageExt.al.orig +++ /dev/null @@ -1,71 +0,0 @@ -// ------------------------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// ------------------------------------------------------------------------------------------------ -namespace Microsoft.Sales.History; - -using Microsoft.eServices.EDocument; - -pageextension 6103 "E-Doc. Posted Sales Shipment" extends "Posted Sales Shipment" -{ - actions - { - addafter("&Shipment") - { - group("E-Document") - { - action(OpenEDocument) - { - ApplicationArea = Basic, Suite; - Caption = 'Open'; - Image = Open; - ToolTip = 'Opens the E-Document card page.'; - - trigger OnAction() - var - EDocument: Record "E-Document"; - begin - EDocument.OpenEDocument(Rec.RecordId); - end; - } -<<<<<<< HEAD - action(CreateEDocument) - { - ApplicationArea = Basic, Suite; - Caption = 'Create'; - Image = CreateDocument; - ToolTip = 'Creates an E-Document from the posted document and sends it via service.'; -======= - action(CreateAndSendEDocument) - { - ApplicationArea = Basic, Suite; - Caption = 'Create E-Document'; - Image = CreateDocument; - ToolTip = 'Creates an electronic document from the posted document and sends it via service.'; ->>>>>>> bbf73088ab83 (Add Create E-Document Action) - Enabled = not EDocumentExists; - - trigger OnAction() - var - EDocumentProcessing: Codeunit "E-Document Processing"; - begin - if EDocumentProcessing.CreateEDocumentFromPostedDocumentPage(Rec, Enum::"E-Document Type"::"Sales Invoice") then - Message(EDocumentCreatedMsg); - end; - } - } - } - } - - var - EDocumentExists: Boolean; - EDocumentCreatedMsg: Label 'The e-document has been created.'; - - trigger OnAfterGetRecord() - var - EDocument: Record "E-Document"; - begin - EDocument.SetRange("Document Record ID", Rec.RecordId()); - EDocumentExists := not EDocument.IsEmpty(); - end; -} \ No newline at end of file diff --git a/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedTransferShpmnt.PageExt.al.orig b/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedTransferShpmnt.PageExt.al.orig deleted file mode 100644 index 33e43279837..00000000000 --- a/src/Apps/W1/EDocument/App/src/Extensions/EDocPostedTransferShpmnt.PageExt.al.orig +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// ------------------------------------------------------------------------------------------------ -namespace Microsoft.Inventory.Transfer; - -using Microsoft.eServices.EDocument; - -pageextension 6106 "E-Doc. Posted Transfer Shpmnt." extends "Posted Transfer Shipment" -{ - actions - { - addafter("&Shipment") - { - group("E-Document") - { - Caption = 'E-Document'; - - action(OpenEDocument) - { - ApplicationArea = Basic, Suite; -<<<<<<< HEAD - Caption = 'Open'; - Image = Open; -======= - Caption = 'Open E-Document'; - Image = CopyDocument; ->>>>>>> bbf73088ab83 (Add Create E-Document Action) - ToolTip = 'Opens electronic document card.'; - Enabled = EDocumentExists; - - trigger OnAction() - var - EDocument: Record "E-Document"; - begin - EDocument.OpenEDocument(Rec.RecordId); - end; - } -<<<<<<< HEAD - action(CreateEDocument) - { - ApplicationArea = Basic, Suite; - Caption = 'Create'; - Image = CreateDocument; - ToolTip = 'Creates an E-Document from the posted document and sends it via service.'; -======= - action(CreateAndSendEDocument) - { - ApplicationArea = Basic, Suite; - Caption = 'Create E-Document'; - Image = CreateDocument; - ToolTip = 'Creates an electronic document from the posted document and sends it via service.'; ->>>>>>> bbf73088ab83 (Add Create E-Document Action) - Enabled = not EDocumentExists; - - trigger OnAction() - var - EDocumentProcessing: Codeunit "E-Document Processing"; - begin - if EDocumentProcessing.CreateEDocumentFromPostedDocumentPage(Rec, Enum::"E-Document Type"::"Sales Invoice") then - Message(EDocumentCreatedMsg); - end; - } - } - } - } - - var - EDocumentExists: Boolean; - EDocumentCreatedMsg: Label 'The e-document has been created.'; - - trigger OnAfterGetRecord() - var - EDocument: Record "E-Document"; - begin - EDocument.SetRange("Document Record ID", Rec.RecordId()); - EDocumentExists := not EDocument.IsEmpty(); - end; - -} \ No newline at end of file