LOCAL loShopInfo * Create object, pass the ID of the location we're currently at loShopInfo = CreateObject("shopinfoobj",goApp.iShopIID) * Which business object should be primary? * Business object responsible for v_invoice is currently primary REPLACE v_invoice.invoicenum WITH loShopInfo.GetNextInvoice()The GetNextInvoice() method of the loShopInfo object just grabs the current number, adds one, saves the new value and returns the new invoice #.