Page 1 of 1

Unit of Measure for a Sales Order

PostPosted: Wed Apr 18, 2018 11:11 am
by SBarnes
Is there a way to set the unit of measure for each sales order line when adding a sales order through the Web API?

Re: Unit of Measure for a Sales Order  Topic is solved

PostPosted: Wed Apr 18, 2018 11:48 am
by Mike.Sheen
Well, that's rather embarrassing - we don't have Unit Of Measure in the sales order line DTO, so there is no way currently to set or get the Unit Of Measure for a sales order line.

I've added improvement DEV-6576 to add this in 07.01.01.

Mike

Re: Unit of Measure for a Sales Order

PostPosted: Wed Apr 18, 2018 12:17 pm
by SBarnes
Thanks Mike,

The only work around I can think of for the time being would be to use one of the user defined strings to carry the UOM RecID through and then have a plugin that would in the before save of the order set the unit of measure appropriately.

Re: Unit of Measure for a Sales Order

PostPosted: Wed Apr 18, 2018 12:36 pm
by Mike.Sheen
SBarnes wrote:Thanks Mike,

The only work around I can think of for the time being would be to use one of the user defined strings to carry the UOM RecID through and then have a plugin that would in the before save of the order set the unit of measure appropriately.


Yep - that would work - a rather novel work-around!