Craig
06/23/2021, 10:47 PMbbahrman
06/23/2021, 10:52 PMbbahrman
06/23/2021, 10:53 PMCraig
06/23/2021, 10:53 PMCraig
06/23/2021, 10:53 PMCraig
06/23/2021, 10:54 PMbbahrman
06/23/2021, 10:54 PMbbahrman
06/23/2021, 10:59 PMbbahrman
06/23/2021, 11:00 PMCraig
06/23/2021, 11:04 PMCraig
06/23/2021, 11:04 PMCraig
06/23/2021, 11:05 PMCraig
06/23/2021, 11:06 PMbbahrman
06/23/2021, 11:15 PMbbahrman
06/23/2021, 11:17 PMDavid B
06/23/2021, 11:27 PMfieldId:value very easy to read and maintainCraig
06/23/2021, 11:32 PMbattk
06/23/2021, 11:35 PMbattk
06/23/2021, 11:36 PMbattk
06/23/2021, 11:37 PMCraig
06/23/2021, 11:55 PMCraig
06/23/2021, 11:55 PMbattk
06/23/2021, 11:57 PMbattk
06/23/2021, 11:58 PMbattk
06/23/2021, 11:58 PMCraig
06/24/2021, 12:00 AMbbahrman
06/24/2021, 12:32 AMDavid B
06/24/2021, 1:50 AMcustcol_baseprice holds the item's base price at the time of order entry. This is populated by setting the item and then getting the price in the rate field.
As we don't know ahead of time what that price is (without doing a search), we use a getter to get it from getCurrentSublistValue(…)
price (aka "Price Level") is also calculated with a getter; "Base Price" (1) if item.unitprice is the same as the default rate, and "Custom" (-1) if otherwisestalbert
06/24/2021, 4:13 AMbbahrman
06/24/2021, 6:44 PMDavid B
06/24/2021, 9:06 PMError: The element type "cough" must be terminated by the matching end-tag "</cough>"David B
06/24/2021, 9:12 PMcustcol_baseprice is referenced twice, once when the field is set, then again by the price getter.
By using delete this.custcol_baseprice; and then returning a value, you remove the getter and replace it with the value; so getCurrentSublistValue(…) ends up only being called oncebbahrman
06/24/2021, 9:40 PM