{"id":2460,"date":"2022-07-12T21:50:47","date_gmt":"2022-07-12T16:50:47","guid":{"rendered":"https:\/\/omar-iqbal.com\/?p=2460"},"modified":"2023-11-23T19:06:43","modified_gmt":"2023-11-23T14:06:43","slug":"create-and-post-inventory-ownership-change-journal-using-x-code","status":"publish","type":"post","link":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/","title":{"rendered":"Create and post inventory ownership change journal using X++ code"},"content":{"rendered":"\n<p>In this article we will see how we can create inventory ownership change journal using X++ code in Microsoft Dynamics Finance &amp; Operations.<\/p>\n\n\n\n<p>We will create a new class named as <strong>InventJournalHelper<\/strong> and in this class we will add some methods and using those method we will create and post inventory ownership change journal.<\/p>\n\n\n\n<p>Create a new method named as <strong>getInventJournalName<\/strong> in this class to get the invent journal name.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">private InventJournalName getInventJournalName(RefRecId _inventJournalNameRecId = 0)\n    {\n        InventJournalName inventJournalName;\n\n        select firstonly inventJournalName\n            where inventJournalName.RecId == _inventJournalNameRecId;\n\n        return inventJournalName;\n    }\n<\/pre>\n\n\n\n<p>Create a new method named as <strong>getNextLineNumber<\/strong> in this class to get the next line number for inventory ownership change journal.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">private LineNumber getNextLineNumber(InventJournalId _inventJournalId)\n    {\n        InventJournalTrans   inventJournalLine;\n        LineNumber           lineNumber = 0;\n\n        select maxof(LineNum) from inventJournalLine \n           where inventJournalLine.JournalId == _inventJournalId;\n\n        lineNumber = inventJournalLine.LineNum;\n\n        return lineNumber+1;\n    }\n<\/pre>\n\n\n\n<h4 id=\"creation-of-inventory-ownership-change-journal-header\" class=\"wp-block-heading\">Creation of Inventory ownership change journal header<\/h4>\n\n\n\n<p>Create a new method named as <strong>createInventJournalHeader<\/strong> in this class to create the <strong>InventJournalTable<\/strong> record.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public InventJournalTable createInventJournalHeader(RefRecId _inventJournalNameRecId = 0)\n    {\n        InventJournalTable  inventJournalHeader;\n        InventJournalName   inventJournalName;\n\n        inventJournalName = this.getInventJournalName(_inventJournalNameRecId);\n\n        try\n        {\n            ttsbegin;\n            \/\/Header Creation\n            inventJournalHeader.JournalNameId = inventJournalName.JournalNameId;\n            inventJournalHeader.initFromInventJournalName(inventJournalName);\n\n            inventJournalHeader.JournalId   = NumberSeq::newGetNum(InventParameters::numRefInventJournalId()).num();\n            inventJournalHeader.Description = inventJournalName.Description;\n            inventJournalHeader.JournalType = InventJournalType::OwnershipChange;\n\n            if (inventJournalHeader.validateWrite())\n            {\n                inventJournalHeader.insert();\n            }\n            ttscommit;\n        }\n        catch\n        {\n            System.Exception netExcepn = CLRInterop::getLastException();\n            Info(strFmt('%1', netExcepn.Message));\n        }\n\n        return inventJournalHeader;\n    }\n<\/pre>\n\n\n\n<h4 id=\"creation-of-inventory-ownership-change-journal-line\" class=\"wp-block-heading\">Creation of Inventory ownership change journal line<\/h4>\n\n\n\n<p>Create a new method named as <strong>initFromHeader<\/strong> in this class to create the <strong>InventJournalTrans<\/strong> record by passing the <strong>InventJournalTable<\/strong> record, <strong>Item Id<\/strong>, <strong>Quantity<\/strong>, <strong>Warehouse<\/strong>, <strong>Site<\/strong>, <strong>Location<\/strong>, <strong>From Owner<\/strong>, <strong>To Owner<\/strong>, <strong>Financial Dimension<\/strong>, <strong>Batch number<\/strong> as parameters.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public InventJournalTrans initFromHeader(\n        InventJournalTable  _inventJournalHeader,\n        ItemId _itemId,\n        InventQtyJournal _inventQtyJournal,\n        InventLocationId _inventLocationId,\n        InventSiteId _inventSiteId,\n        WMSLocationId _wMSLocationId,\n        InventOwnerId _inventOwnerIdIssue,\n        InventOwnerId _inventOwnerIdReceipt,\n        InventSiteLinkedDimensionValueSet _dimensionValueSet,\n        InventBatchId _inventBatchId = '')\n    {\n        InventJournalTrans  inventJournalLine;\n        InventDim\t        inventDimIssue;\n        InventDim\t        inventDimReceipt;\n        InventJournalTable  inventJournalHeader = _inventJournalHeader;\n        try\n        {\n            \/\/Line Creation\n            inventJournalLine.initValue();\n            inventJournalLine.initFromInventJournalTable(_inventJournalHeader);\n\n            inventJournalLine.LineNum           = this.getNextLineNumber(_inventJournalHeader.JournalId);\n            inventJournalLine.TransDate         = DateTimeUtil::getSystemDate(DateTimeUtil::getUserPreferredTimeZone());\n            inventJournalLine.ItemId            = _itemId;\n            inventJournalLine.modifiedField(fieldNum(InventJournalTrans, ItemId));\n\n            inventJournalLine.Qty               = _inventQtyJournal;\n            inventJournalLine.modifiedField(fieldNum(InventJournalTrans, Qty));\n\n            inventJournalLine.DefaultDimension     = _dimensionValueSet;\n\n            inventDimIssue.InventSiteId           = _inventSiteId;\n            inventDimIssue.InventLocationId       = _inventLocationId;\n            inventDimIssue.InventOwnerId_RU       = _inventOwnerIdIssue;\n            inventDimIssue.wMSLocationId          = _wMSLocationId;\n            inventDimIssue.inventBatchId          = _inventBatchId;\n            inventDimIssue = InventDim::findOrCreate(inventDimIssue);\n\n            inventDimReceipt.data(inventDimIssue);\n            inventDimReceipt.InventOwnerId_RU   = _inventOwnerIdReceipt;\n            inventDimReceipt = InventDim::findOrCreate(inventDimReceipt);\n\n            inventJournalLine.InventDimId       = inventDimIssue.InventDimId;\n            inventJournalLine.ToInventDimId     = inventDimReceipt.InventDimId;\n\n            if (inventJournalLine.validateWrite())\n            {\n                inventJournalLine.insert();\n            }\n\n            if (inventJournalLine.RecId != 0)\n            {\n                InventJournalTable::initTotal(inventJournalHeader);\n                inventJournalHeader.update();\n            }\n        }\n        catch\n        {\n            System.Exception netExcepn = CLRInterop::getLastException();\n            Info(strFmt('%1', netExcepn.Message));\n        }\n\n        return inventJournalLine;\n    }\n<\/pre>\n\n\n\n<h4 id=\"posting-of-inventory-ownership-change-journal\" class=\"wp-block-heading\">Posting of Inventory ownership change journal<\/h4>\n\n\n\n<p>For posting a inventory ownership change journal we will create another method named as <strong>postInventJournal<\/strong>, this takes <strong>InventJournalTable<\/strong> record as parameter.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public void postInventJournal(InventJournalTable  _inventJournalHeader)\n    {\n        try\n        {\n            JournalCheckPost journalCheckPost;\n            PurchParameters purchParameters;\n\n            purchParameters = PurchParameters::find();\n\n            \/\/Post record\n            journalCheckPost = InventJournalCheckPost::newPostJournal(_inventJournalHeader);\n            \n            journalCheckPost.runOperation();\n        }\n        catch\n        {\n            System.Exception netExcepn = CLRInterop::getLastException();\n            Info(strFmt('%1', netExcepn.Message));\n        }\n    }\n<\/pre>\n\n\n\n<p>For looking over the functional process of Creation of inventory ownership change journal see the article below.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-omar-iqbal-039-s-blog wp-block-embed-omar-iqbal-039-s-blog\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"aB0T7UG3nB\"><a href=\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/inventory-consignment-ownership-process-in-microsoft-dynamics-finance-operations\/\">Inventory consignment\u00a0ownership process in Microsoft Dynamics Finance &#038; Operations<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Inventory consignment\u00a0ownership process in Microsoft Dynamics Finance &#038; Operations&#8221; &#8212; Omar Iqbal&#039;s Blog\" src=\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/inventory-consignment-ownership-process-in-microsoft-dynamics-finance-operations\/embed\/#?secret=QQtGs4S5IU#?secret=aB0T7UG3nB\" data-secret=\"aB0T7UG3nB\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Thank you for reading this article hope you find it useful.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.linkedin.com\/in\/omar-iqbal-here\/\" target=\"_blank\" rel=\"noreferrer noopener\">Omar Iqbal<\/a><\/p>\n\n\n\n<p>Technical Consultant<\/p>\n\n\n\n<p>References:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><a href=\"https:\/\/www.instructorbrandon.com\/optimizing-inventory-consignment-process-microsoft-dynamics-365-technical-part\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.instructorbrandon.com\/optimizing-inventory-consignment-process-microsoft-dynamics-365-technical-part\/<\/a><\/li><li><a href=\"https:\/\/community.dynamics.com\/365\/supply-chain-management\/f\/dynamics-365-supply-chain-management-forum\/425369\/post-product-receipt-of-consignment-replenishment-order-using-x\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/community.dynamics.com\/365\/supply-chain-management\/f\/dynamics-365-supply-chain-management-forum\/425369\/post-product-receipt-of-consignment-replenishment-order-using-x<\/a><\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"In this article we will see how we can create inventory ownership change journal using X++ code in&hellip;\n","protected":false},"author":1,"featured_media":2473,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[19,42,30],"tags":[21,20,44,49,33,50,31],"class_list":{"0":"post-2460","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-finance-operations","8":"category-microsoft-dynamics-ax","9":"category-x","10":"tag-finance-operations","11":"tag-finops","12":"tag-inventory-ownership-change","13":"tag-inventory-ownership-change-journal","14":"tag-microsoft-dynamics-ax","15":"tag-post-ownership-journal","16":"tag-x","17":"cs-entry","18":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create and post inventory ownership change journal using X++ code - Omar Iqbal&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create and post inventory ownership change journal using X++ code - Omar Iqbal&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"In this article we will see how we can create inventory ownership change journal using X++ code in&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Omar Iqbal&#039;s Blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/umerk26\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-12T16:50:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-23T14:06:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/Inventory_Ownership_change_xpp.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"518\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"omar_iqbal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/omarshykh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"omar_iqbal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/\"},\"author\":{\"name\":\"omar_iqbal\",\"@id\":\"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4\"},\"headline\":\"Create and post inventory ownership change journal using X++ code\",\"datePublished\":\"2022-07-12T16:50:47+00:00\",\"dateModified\":\"2023-11-23T14:06:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/\"},\"wordCount\":247,\"image\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/Inventory_Ownership_change_xpp.jpg\",\"keywords\":[\"Finance &amp; Operations\",\"FinOps\",\"inventory ownership change\",\"inventory ownership change journal\",\"Microsoft Dynamics AX\",\"post ownership journal\",\"X++\"],\"articleSection\":[\"Finance &amp; Operations\",\"Microsoft Dynamics AX\",\"X++\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/\",\"url\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/\",\"name\":\"Create and post inventory ownership change journal using X++ code - Omar Iqbal&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/omar-iqbal.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/Inventory_Ownership_change_xpp.jpg\",\"datePublished\":\"2022-07-12T16:50:47+00:00\",\"dateModified\":\"2023-11-23T14:06:43+00:00\",\"author\":{\"@id\":\"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4\"},\"breadcrumb\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#primaryimage\",\"url\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/Inventory_Ownership_change_xpp.jpg\",\"contentUrl\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/Inventory_Ownership_change_xpp.jpg\",\"width\":518,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/omar-iqbal.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Finance &amp; Operations\",\"item\":\"https:\/\/omar-iqbal.com\/index.php\/category\/finance-operations\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create and post inventory ownership change journal using X++ code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/omar-iqbal.com\/#website\",\"url\":\"https:\/\/omar-iqbal.com\/\",\"name\":\"Omar Iqbal&#039;s Blog\",\"description\":\"Associate Technical Consultant\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/omar-iqbal.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4\",\"name\":\"omar_iqbal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/omar-iqbal.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/77c8e6d449070e5f91d3609398694fed75736ca7b40f3b8b29a94259cb446d49?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/77c8e6d449070e5f91d3609398694fed75736ca7b40f3b8b29a94259cb446d49?s=96&d=mm&r=g\",\"caption\":\"omar_iqbal\"},\"sameAs\":[\"https:\/\/omar-iqbal.com\",\"https:\/\/www.facebook.com\/umerk26\",\"https:\/\/www.instagram.com\/omariqbal_here\/\",\"https:\/\/www.linkedin.com\/in\/omar-iqbal-here\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/omarshykh\"],\"url\":\"https:\/\/omar-iqbal.com\/index.php\/author\/omar_iqbal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create and post inventory ownership change journal using X++ code - Omar Iqbal&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/","og_locale":"en_US","og_type":"article","og_title":"Create and post inventory ownership change journal using X++ code - Omar Iqbal&#039;s Blog","og_description":"In this article we will see how we can create inventory ownership change journal using X++ code in&hellip;","og_url":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/","og_site_name":"Omar Iqbal&#039;s Blog","article_author":"https:\/\/www.facebook.com\/umerk26","article_published_time":"2022-07-12T16:50:47+00:00","article_modified_time":"2023-11-23T14:06:43+00:00","og_image":[{"width":518,"height":500,"url":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/Inventory_Ownership_change_xpp.jpg","type":"image\/jpeg"}],"author":"omar_iqbal","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/omarshykh","twitter_misc":{"Written by":"omar_iqbal","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#article","isPartOf":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/"},"author":{"name":"omar_iqbal","@id":"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4"},"headline":"Create and post inventory ownership change journal using X++ code","datePublished":"2022-07-12T16:50:47+00:00","dateModified":"2023-11-23T14:06:43+00:00","mainEntityOfPage":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/"},"wordCount":247,"image":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#primaryimage"},"thumbnailUrl":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/Inventory_Ownership_change_xpp.jpg","keywords":["Finance &amp; Operations","FinOps","inventory ownership change","inventory ownership change journal","Microsoft Dynamics AX","post ownership journal","X++"],"articleSection":["Finance &amp; Operations","Microsoft Dynamics AX","X++"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/","url":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/","name":"Create and post inventory ownership change journal using X++ code - Omar Iqbal&#039;s Blog","isPartOf":{"@id":"https:\/\/omar-iqbal.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#primaryimage"},"image":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#primaryimage"},"thumbnailUrl":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/Inventory_Ownership_change_xpp.jpg","datePublished":"2022-07-12T16:50:47+00:00","dateModified":"2023-11-23T14:06:43+00:00","author":{"@id":"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4"},"breadcrumb":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#primaryimage","url":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/Inventory_Ownership_change_xpp.jpg","contentUrl":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/Inventory_Ownership_change_xpp.jpg","width":518,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/12\/create-and-post-inventory-ownership-change-journal-using-x-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/omar-iqbal.com\/"},{"@type":"ListItem","position":2,"name":"Finance &amp; Operations","item":"https:\/\/omar-iqbal.com\/index.php\/category\/finance-operations\/"},{"@type":"ListItem","position":3,"name":"Create and post inventory ownership change journal using X++ code"}]},{"@type":"WebSite","@id":"https:\/\/omar-iqbal.com\/#website","url":"https:\/\/omar-iqbal.com\/","name":"Omar Iqbal&#039;s Blog","description":"Associate Technical Consultant","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/omar-iqbal.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4","name":"omar_iqbal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/omar-iqbal.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/77c8e6d449070e5f91d3609398694fed75736ca7b40f3b8b29a94259cb446d49?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/77c8e6d449070e5f91d3609398694fed75736ca7b40f3b8b29a94259cb446d49?s=96&d=mm&r=g","caption":"omar_iqbal"},"sameAs":["https:\/\/omar-iqbal.com","https:\/\/www.facebook.com\/umerk26","https:\/\/www.instagram.com\/omariqbal_here\/","https:\/\/www.linkedin.com\/in\/omar-iqbal-here\/","https:\/\/x.com\/https:\/\/twitter.com\/omarshykh"],"url":"https:\/\/omar-iqbal.com\/index.php\/author\/omar_iqbal\/"}]}},"_links":{"self":[{"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/posts\/2460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/comments?post=2460"}],"version-history":[{"count":12,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/posts\/2460\/revisions"}],"predecessor-version":[{"id":2482,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/posts\/2460\/revisions\/2482"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/media\/2473"}],"wp:attachment":[{"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/media?parent=2460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/categories?post=2460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/tags?post=2460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}