Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Items Invoiced' absents when invoice is created. #10

Open
tebesfinwo opened this issue Aug 11, 2014 · 0 comments
Open

'Items Invoiced' absents when invoice is created. #10

tebesfinwo opened this issue Aug 11, 2014 · 0 comments

Comments

@tebesfinwo
Copy link

Hi,

I used the following method to create an invoice,

magento.salesOrderInvoice.create({
  orderIncrementId: val,
  itemsQty:         val,
  comment:          val,  /* optional */
  email:            val,  /* optional */
  includeComment:   val   /* optional */
}, callback);

I passed the following as its arguments to the method above,

{ orderIncrementId: 100000002,
  itemsQty: 
   [ { order_item_id: 7, qty: 1 },
     { order_item_id: 8, qty: 2 },
     { order_item_id: 9, qty: 10 },
     { order_item_id: 10, qty: 1 } ],
  comment: null,
  email: null,
  includeComment: null }

However , invoice was successfully created but there's no item which I listed in the arguments is added to invoice. In addition, I did not receive any error back from Magento.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant