jsgoupil / quickbooks-sync

Sync Quickbooks Desktop
MIT License
87 stars 40 forks source link

Rate or RatePercent not being set on SalesOrderLineRet #75

Open anonmily opened 6 months ago

anonmily commented 6 months ago

I was trying to write some unit tests and needed to create a sample quickbooks sales order response. However, for some reason, the Rate and RatePercent aren't being set no matter what I do, strangely. After the initialization the rate is still null and the rate percent is also zero. I also tried setting it via a property afterwards (e.g. newVal.Rate = 100M) but even then the resulting object still has newVal.Rate=null.

E.g. the rate is set to 100 image

But then after setting it, the Rate parameter on the final object is null...? image

Locals view of newVal image