What's the "line-num"-field in Quotes?

Hi

I'm stuck on the line-num field in the Quote interface.

Can it be fetched using the api or is it calculated on the spot.

I found it in the metadata under the name "line_num"(modules.Products.views.quote-data-group-list.meta.panels[0].fields[0]):

{
"name": "line_num",
"label": null,
"widthClass": "cell-xsmall",
"css_class": "line_num tcenter",
"type": "line-num",
"readonly": true
}

I cannot find anything in the documentation about its type or the field itself.

Kind Regards

Parents
  • Hi hats

    I work for Xpertdoc and it's about our integration for Sugar. I want to recreate all the details of a quote in a document using the API. Too bad that it doesn't seem to be possible.

    Thank you for the quick response.

    Kind regards

  • Hi Jan Aelbrecht,

    Upon checking, I also found that there is a "position" parameter available in the line item response which is similar to an array index. You can add +1 to it and use it as a line number.

    Position = 1 is returned for the 2nd item.

    Let us know if this helps.

    Regards.

  • Hi hats

    Yes, I found the postion field before, but that also includes the note positions, which I use for the sorting. The shown number ignores the position of notes.

    Kind regards

Reply Children
No Data