Page 1 of 1

SalesOrder business object usage query

PostPosted: Mon Jul 27, 2020 9:22 am
by Mark Shipman
Hi,

Env: Jiwa 7.2.1; MS-SQL 2019; VS2019

We have a need to store a unique identifier from a 3rd party system and I'm trying to determine whether I should use the OrderNo or Reference property for this purpose.

Where will I find documentation that exposes the purpose of the two properties?

I checked the class's metadata (F12 in VS) and even had a DotPeek at the source, but still none the wiser.

Any assistance, links etc. will be appreciated,

Re: SalesOrder business object usage query  Topic is solved

PostPosted: Mon Jul 27, 2020 10:31 am
by DannyC
Mark,

The sales order OrderNo property is generally used to record the customers order reference(order number, purchase order) and appears in a few grids around Jiwa and some searches.
The Reference however is not used in any particular logic so might be an appropriate field to record the unique identifier.

The other alternative is to save it to a custom field. The advantage with the Reference is that it's right there on the sales order header without clicking anywhere else. With a custom field, a user needs to click on the custom tab to see that value. As well as the minor techie complexity in writing and reading to the custom field. Just a few extra lines of code really.