A newer version of this documentation is available: View the Latest Version

CLI commands

The component provides additional CLI commands to generate order line items and find inconsistent orders for the extension.

Description
Command Description

pacemaker:line-items:search-inconsistent-orders

The component provides the following CLI command to find out more about what orders are still outdated or incompatible when the Line-Items-Extension is enabled.

  • All pipelines listed from the CLI command are also available for manual creation in the pipelines select menu

Command
bin/magento pacemaker:line-items:search-inconsistent-orders
Output
Display after activation of the line items configuration
100000001 100000002 100000003 100000004 100000005 100000006 100000007 100000008 100000009 100000010
100000011 100000012 100000013 100000014 100000015 100000016 100000017 100000018 100000019 100000020
100000021 100000022 100000023 100000024 100000025 100000026 100000027 100000028 100000029 100000030
100000031 100000032 100000033 100000034 100000035 100000036 100000037 100000038 100000039 100000040
100000041 100000042 100000043 100000044 100000045 100000046 100000047 100000048 100000049 100000050
100000051 100000052 100000053 100000054 100000055 100000056 100000057 100000058 100000059 100000060
100000061 100000062 100000063 100000064 100000065 100000066 100000067 100000068 100000069 100000070
100000071 100000072 100000073 100000074 100000075 100000076 100000077 100000078 100000079 100000080
000000001 000000002 000000003 000000004 000000005 000000006 000000007 000000008 000000010 000000011
000000012 000000013 000000014 000000015 000000016 000000017 000000029 000000030 2000000001 000000031
000000032 000000033 2000000002 2000000004 2000000054 2000000055 2000000062 2000000063

Order Line Items: Generierung

Description
Command Description

pacemaker:line-items:generate [INCREMENT_ID]

If Line-Items-Extension was activated later and you still need the information regarding the order items, the Order-Export offers the possibility to generate the Line-Items manually.

  • The increment ID of the order must get used as a parameter

  • The line items get stored in the pacemaker_order_line_item table

  • The line items are generated automatically for future orders or orders that have not already got exported

Command
bin/magento pacemaker:line-items:generate <<INCREMENT_ID>>
Output
Display after activation of the line items configuration
Following line items were created for order 000000013 (92)
  - Item ID: 173, SKU: product_dynamic_136, QTY: 1.0000, Number: XXXXXXXXX1
Sample
order line items extension sample pacemaker line items generation
Sample from the pacemaker_order_line_item table