-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GP Added Serial/Lot information to Historical Snapshot for Sales and …
…Inventory transactions (#26422) This change enhances the GP migration to include serial and lot detail to the historical snapshot. Fixes [AB#534934](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/534934) --------- Co-authored-by: jaymckinney <[email protected]>
- Loading branch information
1 parent
38cfe27
commit 65f76c1
Showing
14 changed files
with
885 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
Apps/W1/DynamicsGPHistoricalData/app/Permissions/d365FullAccessExt.permissionsetext.al
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
namespace Microsoft.DataMigration.GP.HistoricalData; | ||
|
||
using System.Security.AccessControl; | ||
|
||
permissionsetextension 40901 "D365 Full Access Ext." extends "D365 FULL ACCESS" | ||
{ | ||
Permissions = tabledata "Hist. Gen. Journal Line" = RIMD, | ||
tabledata "Hist. G/L Account" = RIMD, | ||
tabledata "Hist. Sales Trx. Header" = RIMD, | ||
tabledata "Hist. Sales Trx. Line" = RIMD, | ||
tabledata "Hist. Receivables Document" = RIMD, | ||
tabledata "Hist. Payables Document" = RIMD, | ||
tabledata "Hist. Inventory Trx. Header" = RIMD, | ||
tabledata "Hist. Inventory Trx. Line" = RIMD, | ||
tabledata "Hist. Purchase Recv. Header" = RIMD, | ||
tabledata "Hist. Purchase Recv. Line" = RIMD, | ||
tabledata "Hist. Migration Step Status" = RIMD, | ||
tabledata "Hist. Migration Current Status" = RIMD, | ||
tabledata "Hist. Payables Apply" = RIMD, | ||
tabledata "Hist. Receivables Apply" = RIMD, | ||
tabledata "Hist. Invt. Trx. SerialLot" = RIMD, | ||
tabledata "Hist. Recv. Trx. SerialLot" = RIMD; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
Apps/W1/DynamicsGPHistoricalData/app/src/Enums/HistInventoryQtyType.Enum.al
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace Microsoft.DataMigration.GP.HistoricalData; | ||
|
||
enum 40908 "Hist. Inventory Qty. Type" | ||
{ | ||
value(0; Unknown) { Caption = 'Unknown'; } | ||
value(1; "On Hand") { Caption = 'On Hand'; } | ||
value(2; Returned) { Caption = 'Returned'; } | ||
value(3; "In Use") { Caption = 'In Use'; } | ||
value(4; "In Service") { Caption = 'In Service'; } | ||
value(5; Damaged) { Caption = 'Damaged'; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
Apps/W1/DynamicsGPHistoricalData/app/src/Pages/HistInvtTrxSerialLot.Page.al
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
namespace Microsoft.DataMigration.GP.HistoricalData; | ||
|
||
page 41029 "Hist. Invt. Trx. SerialLot" | ||
{ | ||
Caption = 'Historical Inventory Transaction Serial/Lot Detail'; | ||
PageType = Card; | ||
ApplicationArea = All; | ||
UsageCategory = None; | ||
Editable = false; | ||
DeleteAllowed = false; | ||
InsertAllowed = false; | ||
ModifyAllowed = false; | ||
SourceTable = "Hist. Invt. Trx. SerialLot"; | ||
DataCaptionExpression = DataCaptionExpressionTxt; | ||
|
||
layout | ||
{ | ||
area(content) | ||
{ | ||
group(General) | ||
{ | ||
Caption = 'General'; | ||
|
||
field("Serial/Lot Number"; Rec."Serial/Lot Number") | ||
{ | ||
ToolTip = 'Specifies the value of the Serial/Lot Number field.'; | ||
} | ||
field("Serial/Lot Qty."; Rec."Serial/Lot Qty.") | ||
{ | ||
ToolTip = 'Specifies the value of the Serial/Lot Qty. field.'; | ||
} | ||
field("Item No."; Rec."Item No.") | ||
{ | ||
ToolTip = 'Specifies the value of the Item No. field.'; | ||
} | ||
field("Document No."; Rec."Document No.") | ||
{ | ||
ToolTip = 'Specifies the value of the Document No. field.'; | ||
} | ||
field("Document Type"; Rec."Document Type") | ||
{ | ||
ToolTip = 'Specifies the value of the Document Type field.'; | ||
} | ||
field("Line Sequence Number"; Rec."Line Sequence Number") | ||
{ | ||
ToolTip = 'Specifies the value of the Line Sequence Number field.'; | ||
} | ||
field("Serial/Lot Seq. Number"; Rec."Serial/Lot Seq. Number") | ||
{ | ||
ToolTip = 'Specifies the value of the Serial/Lot Seq. Number field.'; | ||
} | ||
field("From Bin"; Rec."From Bin") | ||
{ | ||
ToolTip = 'Specifies the value of the From Bin field.'; | ||
} | ||
field("To Bin"; Rec."To Bin") | ||
{ | ||
ToolTip = 'Specifies the value of the To Bin field.'; | ||
} | ||
field("Manufacture Date"; Rec."Manufacture Date") | ||
{ | ||
ToolTip = 'Specifies the value of the Manufacture Date field.'; | ||
} | ||
field("Expiration Date"; Rec."Expiration Date") | ||
{ | ||
ToolTip = 'Specifies the value of the Expiration Date field.'; | ||
} | ||
field("Audit Code"; Rec."Audit Code") | ||
{ | ||
ToolTip = 'Specifies the value of the Audit Code field.'; | ||
} | ||
} | ||
} | ||
} | ||
|
||
trigger OnAfterGetCurrRecord() | ||
begin | ||
DataCaptionExpressionTxt := Rec."Item No." + ' - ' + Rec."Serial/Lot Number"; | ||
end; | ||
|
||
var | ||
DataCaptionExpressionTxt: Text; | ||
} |
Oops, something went wrong.