SalesOrder business object usage query  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

SalesOrder business object usage query

Postby Mark Shipman » Mon Jul 27, 2020 9:22 am

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,
Mark Shipman
Software Developer
Mark Shipman
Occasional Contributor
Occasional Contributor
 
Posts: 21
Joined: Mon Mar 02, 2020 1:44 pm
Location: Auckland, New Zealand

Re: SalesOrder business object usage query  Topic is solved

Postby DannyC » Mon Jul 27, 2020 10:31 am

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.
User avatar
DannyC
Senpai
Senpai
 
Posts: 718
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 31


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 5 guests