I am currently creating quotes with REST API. Every thing works like a charm from creating QuoteHed to Creating Quote line, quantities, etc. Although, I can’t figure why the Quote Line Unit Price is not Updating. No error, no nothing. The Tracing Options is telling me to use GetDtlUnitPriceInfo_User.
I’ve tried the fields you’ve mentionned in my tests (should have mentionned it) and it did not work. I’ve also tried to look what the UI does in the Column_Changed with the dsp field and JustDecompile is giving a bunch of scrap.
The HttpRequestMessage is using a Post method. The Get method you see are reflection method of the current method. I’m using the same approach for all my methods. I have attached the Json object. You’ll notice there is alot of price fields set to 888.0.
I’ve just noticed there is an error returned by the server (500). The Epicor App server says nothing (in the event viewer).
When I execute my code entirely, all the fields your seeing above (from trace option) have the same values in the json (QuoteDtl) prior calling the update (FromREST.zip (5.8 KB)) .
I’ve also tried to execute all my code without the update, took the json from that point, went into Swagger and execute Update from there. Result is a response code 200 but nothing had being updated. As I said previously, maybe there is something going on in Column_Changed but I can’t see the decompiled code.
I’m kinda in the dark from here.
Do I have to serialize decimal as string? I mean my initial object has values as decimal. Do I have to change decimal as string prior to serialization?