I'm using the CommitCRM low level API, and a Python wrapper/abstraction layer I've written around it, in order to create a software suite to integrate CommitCRM with our point of sale, and other software packages we use.
I'm working on migrating charges from CommitCRM to our point of sale, and when I query the quantity field (FLDSLPQUANTITY) of a charge that is of the labor type, the query is successful, but the returned value is '0.00', with a status code of 1.
I can clearly see in CommitCRM that the quantity for several labor charges is set above zero, and I've saved the ticket after modifying the charges. I can close and reopen CommitCRM, and the charges remain attached to the ticket, with positive, non-zero values. However, querying that field through the API always returns zero as a value.
Also, the same ticket has a charge for a product/part, and the quantity for that charge is correct.
Any idea what I'm doing wrong here?
I'm working on migrating charges from CommitCRM to our point of sale, and when I query the quantity field (FLDSLPQUANTITY) of a charge that is of the labor type, the query is successful, but the returned value is '0.00', with a status code of 1.
I can clearly see in CommitCRM that the quantity for several labor charges is set above zero, and I've saved the ticket after modifying the charges. I can close and reopen CommitCRM, and the charges remain attached to the ticket, with positive, non-zero values. However, querying that field through the API always returns zero as a value.
Also, the same ticket has a charge for a product/part, and the quantity for that charge is correct.
Any idea what I'm doing wrong here?
Comment