Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inventory Details sequence number -Solved-
#2
I understand that you are saying:

- the order of the master-detail inventory module is correctly managed
- the sequence number (thus the order) of the inventory details records related to the inventory module record is updated and managed correctly
- the issue is that the GenDoc foreach loop is retrieving the inventory details record in database order and not sequence field order

so there is really no problem in the code, but in the limitation of GenDoc foreach loop to get the records in a given order.

(that is why you say "i think if it is even possible")

If the above is correct try adding the "sort" directive in the GenDoc foreach

{foreach InventoryDetails *sequence ASC*}

https://github.com/tsolucio/corebos/pull/710

Let me know how it goes
Joe
TSolucio
Reply


Messages In This Thread
RE: Inventory Details sequence number - joebordes - 06-19-2020, 09:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)