I am trying to look through the records in the following business object with the code below. However it is failing at the MoveFirst call. This same logic has worked for other files IM_ItemCost, AR_Customer... is there an issue with this object or another way to do this. SO_SalesOrderTierDistribution_bus Set oTier = oSession.AsObject(oSession.GetObject("SO_SalesOrderTierDistribution_bus")) retVal = oTier.MoveFirst() ‘this is where it fails Do until cBool(oTier.Eof) retVal = oTier.GetValue("LotSerialNo$", SerialNoTier) msgbox SerialNoTier retVal = oTier.MoveNext() loop It looks like the same error is received when trying to loop though the SO_InvoiceTierDistributuion ERROR 40 - DIVIDE CHECK OR NUMERIC OVERFLOW PROGRAM: CI_COMMONTIERDISTRIBUTION.PVC STATEMENT: 1549 CLASS: SO_INVOICETIERDISTRIBUTION_BUS METHOD: SETCURRENTKEY Thanks in advance for an assistance. � �
↧