{"id":2376,"date":"2022-07-11T17:57:16","date_gmt":"2022-07-11T12:57:16","guid":{"rendered":"https:\/\/omar-iqbal.com\/?p=2376"},"modified":"2023-11-23T19:06:44","modified_gmt":"2023-11-23T14:06:44","slug":"posting-a-product-receipt-with-item-registration-through-x-code","status":"publish","type":"post","link":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/","title":{"rendered":"Posting a Product Receipt with Item Registration through X++ code"},"content":{"rendered":"\n<p>In this article we are looking into receiving and registering of purchase order using X++ code in Finance &amp; Operations.<\/p>\n\n\n\n<p>In order to register and receive the purchase order we will be creating a separate class in this demonstration to do both these processes. Please follow below steps in order to do so.<\/p>\n\n\n\n<p>Create a class named as <strong>PurchRegistrationReceiving<\/strong> and add the below variables to this class.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    PurchFormLetterParmData          purchFormLetterParmData;\n    PurchParmTable                   purchParmTable;\n    PurchParmLine                    purchParmLine;\n    PurchParmUpdate                  purchParmUpdate;\n    PurchTable                       purchTable;\n    PurchFormLetter                  purchFormLetter;\n    TransDate                        packingSlipDate;\n    PackingSlipId                    packingSlipId;<\/code><\/pre>\n\n\n\n<p>Create a new method named as <strong>newFromParameters<\/strong> in this class to construct the object of this new class by providing <strong>PurchTable<\/strong> record, <strong>Packing slip ID<\/strong> and <strong>Date<\/strong> to this method.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static PurchRegistrationReceiving newFromParameters(PurchTable _purchTable,\n                                                 PackingSlipID _packingSlipID,\n                                                 TransDate _packingSlipDate)\n{\n    PurchRegistrationReceiving purchRegReceiving = new PurchRegistrationReceiving();\n\n    purchRegReceiving.PurchTable      = _purchTable;\n    purchRegReceiving.packingSlipId   = _packingSlipID;\n    purchRegReceiving.packingSlipDate = _packingSlipDate;\n\n    return purchRegReceiving;\n}<\/code><\/pre>\n\n\n\n<p>Create a new method named as <strong>insertParmTableData<\/strong> in this class, in this method we will insert data from PurchTable to PurchParmTable.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>private void insertParmTableData()\n{\n    purchFormLetterParmData =\n    PurchFormletterParmData::newData(DocumentStatus::PackingSlip,  \n                                     VersioningUpdateType::Initial);\n    purchFormLetterParmData.parmOnlyCreateParmUpdate(true);\n    purchFormLetterParmData.createData(false);\n    purchParmUpdate = purchFormLetterParmData.parmParmUpdate();\n\n    purchParmTable.clear();\n    purchParmTable.TransDate                = SystemDateGet();\n    purchParmTable.Ordering                 = DocumentStatus::PackingSlip;\n    purchParmTable.ParmJobStatus            = ParmJobStatus::Waiting;\n    purchParmTable.Num                      = packingSlipId;\n    purchParmTable.PurchId                  = purchTable.PurchId;\n    purchParmTable.PurchName                = purchTable.PurchName;\n    purchParmTable.DeliveryName             = purchTable.DeliveryName;\n    purchParmTable.DeliveryPostalAddress    = purchTable.DeliveryPostalAddress;\n    purchParmTable.OrderAccount             = purchTable.OrderAccount;\n    purchParmTable.CurrencyCode             = purchTable.CurrencyCode;\n    purchParmTable.InvoiceAccount           = purchTable.InvoiceAccount;\n    purchParmTable.ParmId                   = purchParmUpdate.ParmId;\n    purchParmTable.insert();\n}<\/code><\/pre>\n\n\n\n<p>Create a new method named as <strong>registerInventory<\/strong> in this class, in this method we will register the inventory quantity by batch number by passing on the <strong>PurchParmLine<\/strong> record and <strong>InventDim<\/strong> record.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">private void registerInventory(PurchParmLine _purchParmline, InventDim _inventDim)\n    {\n        InventTransWMS_Register inventTransWMS_register; \n        TmpInventTransWMS       tmpInventTransWMS;        \n        InventDim               inventBatchCheck;\n        InventTrans             inventTranslocal;\n        InventDim               inventDimlocal;\n\n        inventTranslocal = InventTrans::findTransId(_purchParmline.InventTransId, true);\n\n        inventDimlocal   = inventTranslocal.inventDim();\n \n        inventDimlocal.inventBatchId    = _inventDim.inventBatchId;\n        inventDimlocal.InventLocationId = _inventDim.InventLocationId;\n        inventDimlocal.InventSiteId     = _inventDim.inventSiteId;\n        inventDimlocal                  = InventDim::findOrCreate(inventDimlocal);\n        inventTransWMS_register         = inventTransWMS_register::newStandard(tmpInventTransWMS);\n\n        inventTranslocal.inventDimId    = inventDimlocal.inventDimId;\n    \n        tmpInventTransWMS.clear();\n        tmpInventTransWMS.initFromInventTrans(inventTranslocal);\n        tmpInventTransWMS.ItemId    = inventTranslocal.ItemId;\n        tmpInventTransWMS.InventQty = _purchParmline.ReceiveNow;\n        tmpInventTransWMS.insert();\n\n        inventTransWMS_register.writeTmpInventTransWMS(tmpInventTransWMS,\n                                                       inventTranslocal,\n                                                       inventDimlocal);\n       \n        inventTransWMS_register.updateInvent(inventTranslocal);\n    }\n<\/pre>\n\n\n\n<p>Create a new method named as <strong>insertParmLineData<\/strong> in this class, in this method we will insert data from PurchLine to PurchParmLine and also registers the inventory using <strong>registerInventory<\/strong> method.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">private void insertParmLineData(container _purchLineRecIds, container _inventBatchIds, container _qtys)\n    {\n        PurchLine purchLine;\n        InventDim inventDim;\n        int       i;\n\n        for (i = 1; i &lt;= conLen(_inventBatchIds); i++)\n        {\n            purchLine.clear();\n\n            purchLine = PurchLine::findRecId(conPeek(_purchLineRecIds, i));\n\n            purchParmLine.InitFromPurchLine(purchLine);\n\n            inventDim = purchLine.inventDim();\n\n            purchParmLine.ReceiveNow  = decRound(conPeek(_qtys, i), 2);\n            purchParmLine.InventDimId = inventDim.inventDimId;\n            purchParmLine.ParmId      = purchParmTable.ParmId;\n            purchParmLine.TableRefId  = purchParmTable.TableRefId;\n            purchParmLine.setQty(DocumentStatus::PackingSlip, false, true);\n            purchParmLine.setLineAmount();\n            purchParmLine.insert();\n            inventDim.inventBatchId   = conPeek(_inventBatchIds, i);\n \n            inventDim = inventDim::findOrCreate(inventDim);\n\n            this.registerInventory(purchParmLine, inventDim);\n        }\n    }\n<\/pre>\n\n\n\n<p>Create a new method named as <strong>processProductReceipt<\/strong> in this class, in this method we will post the product receipt.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public void processProductReceipt()\n    {\n        purchFormLetter = PurchFormLetter::construct(DocumentStatus::PackingSlip);\n        purchFormLetter.transDate(DateTimeUtil::getSystemDate(DateTimeUtil::getUserPreferredTimeZone()));\n        purchFormLetter.proforma(false);\n        purchFormLetter.specQty(PurchUpdate::All);\n        purchFormLetter.purchTable(purchTable);\n        purchFormLetter.parmParmTableNum(purchParmTable.ParmId);\n        purchFormLetter.parmId(purchParmTable.ParmId);\n        purchFormLetter.purchParmUpdate(purchFormLetterParmData.parmParmUpdate());\n        purchFormLetter.run();\n    }\n<\/pre>\n\n\n\n<p>Create a new method named as <strong>run<\/strong> in this class, in this method we will call all the methods to perform the registration and receiving processes.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public void run(container _purchLineRecIds, container _inventBatchIds, container _qtys)\n{\n    this.insertParmTableData();\n    this.insertParmLineData(_purchLineRecIds, _inventBatchIds, _qtys);\n    this.processProductReceipt();\n}<\/code><\/pre>\n\n\n\n<p>Now we will create a Runnable class in order to test this class.<\/p>\n\n\n\n<p>Create new runnable class named as <strong>TestProductReceipt<\/strong> to test the above class.<\/p>\n\n\n\n<p>In the <strong>main<\/strong> method of runnable class add the code given below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static void main(Args _args)\n{\n    PurchTable    purchTable;\n    PurchLine     purchLine;\n    TransDate     packingSlipDate;\n    PackingSlipId packingSlipId;\n    container     lineNums;\n    container     purchLineRecIds;\n    container     inventBatchIds;\n    container     qtys;\n    int           i;\n\n\n    purchTable      = PurchTable::find('000039');\n    packingSlipDate = DateTimeUtil::date(DateTimeUtil::utcNow());\n    packingSlipId   = 'PK0001';\n\n    lineNums       = &#91;1, 1, 1]; \/\/ purch line numbers\n    inventBatchIds = &#91;'Batch001', 'Batch002', 'Batch003']; \/\/batch numbers to register\n    qtys           = &#91;30, 50, 20]; \/\/ quantity to register\n\n    for (i = 1; i &lt;= conLen(lineNums); i++)\n    {\n        purchLine = PurchLine::find(purchTable.PurchId, conPeek(lineNums, i));\n        purchLineRecIds = conIns(purchLineRecIds, conLen(purchLineRecIds) + 1, purchLine.RecId);\n    }\n\n    PurchRegistrationReceiving purchRec = PurchRegistrationReceiving::newFromParameters(purchTable, packingSlipId, packingSlipDate);\n    purchRec.run(purchLineRecIds, inventBatchIds, qtys);\n}<\/code><\/pre>\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","protected":false},"excerpt":{"rendered":"In this article we are looking into receiving and registering of purchase order using X++ code in Finance&hellip;\n","protected":false},"author":1,"featured_media":2392,"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,30],"tags":[21,20,33,38,40,39,31],"class_list":{"0":"post-2376","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-finance-operations","8":"category-x","9":"tag-finance-operations","10":"tag-finops","11":"tag-microsoft-dynamics-ax","12":"tag-product-receipt","13":"tag-purchase-order-product-receipt","14":"tag-registeration","15":"tag-x","16":"cs-entry","17":"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>Posting a Product Receipt with Item Registration through 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\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Posting a Product Receipt with Item Registration through X++ code - Omar Iqbal&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"In this article we are looking into receiving and registering of purchase order using X++ code in Finance&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-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-11T12:57:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-23T14:06:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/po_productreceipt.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\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/\"},\"author\":{\"name\":\"omar_iqbal\",\"@id\":\"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4\"},\"headline\":\"Posting a Product Receipt with Item Registration through X++ code\",\"datePublished\":\"2022-07-11T12:57:16+00:00\",\"dateModified\":\"2023-11-23T14:06:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/\"},\"wordCount\":285,\"image\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/po_productreceipt.jpg\",\"keywords\":[\"Finance &amp; Operations\",\"FinOps\",\"Microsoft Dynamics AX\",\"product receipt\",\"purchase order product receipt\",\"registeration\",\"X++\"],\"articleSection\":[\"Finance &amp; Operations\",\"X++\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/\",\"url\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/\",\"name\":\"Posting a Product Receipt with Item Registration through X++ code - Omar Iqbal&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/omar-iqbal.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/po_productreceipt.jpg\",\"datePublished\":\"2022-07-11T12:57:16+00:00\",\"dateModified\":\"2023-11-23T14:06:44+00:00\",\"author\":{\"@id\":\"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4\"},\"breadcrumb\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#primaryimage\",\"url\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/po_productreceipt.jpg\",\"contentUrl\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/po_productreceipt.jpg\",\"width\":518,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-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\":\"Posting a Product Receipt with Item Registration through 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":"Posting a Product Receipt with Item Registration through 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\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/","og_locale":"en_US","og_type":"article","og_title":"Posting a Product Receipt with Item Registration through X++ code - Omar Iqbal&#039;s Blog","og_description":"In this article we are looking into receiving and registering of purchase order using X++ code in Finance&hellip;","og_url":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/","og_site_name":"Omar Iqbal&#039;s Blog","article_author":"https:\/\/www.facebook.com\/umerk26","article_published_time":"2022-07-11T12:57:16+00:00","article_modified_time":"2023-11-23T14:06:44+00:00","og_image":[{"width":518,"height":500,"url":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/po_productreceipt.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\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#article","isPartOf":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/"},"author":{"name":"omar_iqbal","@id":"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4"},"headline":"Posting a Product Receipt with Item Registration through X++ code","datePublished":"2022-07-11T12:57:16+00:00","dateModified":"2023-11-23T14:06:44+00:00","mainEntityOfPage":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/"},"wordCount":285,"image":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#primaryimage"},"thumbnailUrl":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/po_productreceipt.jpg","keywords":["Finance &amp; Operations","FinOps","Microsoft Dynamics AX","product receipt","purchase order product receipt","registeration","X++"],"articleSection":["Finance &amp; Operations","X++"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/","url":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/","name":"Posting a Product Receipt with Item Registration through X++ code - Omar Iqbal&#039;s Blog","isPartOf":{"@id":"https:\/\/omar-iqbal.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#primaryimage"},"image":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#primaryimage"},"thumbnailUrl":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/po_productreceipt.jpg","datePublished":"2022-07-11T12:57:16+00:00","dateModified":"2023-11-23T14:06:44+00:00","author":{"@id":"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4"},"breadcrumb":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-x-code\/#primaryimage","url":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/po_productreceipt.jpg","contentUrl":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/07\/po_productreceipt.jpg","width":518,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/07\/11\/posting-a-product-receipt-with-item-registration-through-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":"Posting a Product Receipt with Item Registration through 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\/2376","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=2376"}],"version-history":[{"count":14,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/posts\/2376\/revisions"}],"predecessor-version":[{"id":2391,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/posts\/2376\/revisions\/2391"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/media\/2392"}],"wp:attachment":[{"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/media?parent=2376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/categories?post=2376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/tags?post=2376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}