editing or adding to sales order snaphot custom field  Topic is solved

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

Re: editing or adding to sales order snaphot custom field

Postby indikad » Fri Jan 27, 2017 2:45 pm

Thanks Mike.

I did not expect the line id to change.
Thanks for the help again.
indikad
Frequent Contributor
Frequent Contributor
 
Posts: 182
Joined: Thu Jun 18, 2009 1:14 pm
Topics Solved: 2

Re: editing or adding to sales order snaphot custom field

Postby Mike.Sheen » Fri Jan 27, 2017 8:51 pm

indikad wrote:Thanks Mike.

I did not expect the line id to change.
Thanks for the help again.


No worries - you'll probably need to come up with a different strategy for identifying the line other than the InvoiceLineID. You could write a query to get the InvoiceLineID within the the SelectedHistoryNo by looking at SO_Lines easy enough - just match on the LineNum - we don't allow lines to be added or removed after snapshot 1, so even though your setup currently passes the InvoiceLineID from snapshot 1, you can work out the InvoiceLineID of subsequent snapshots.

I hope that makes sense.

Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Previous

Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 1 guest