Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36990

Forum Post: Cannot write to SO_SalesOrderTaxSummary

$
0
0
The following code gives the message "Cannot add records to SO_SalesOrderTaxSummary." Why not? Set oSOSalesOrderTaxSummary = oScript.NewObject("SO_SalesOrderTaxSummary_bus", oSS) retVal = oSOSalesOrderTaxSummary.nSetKeyValue("SalesOrderNo$", "0000045") retVal = oSOSalesOrderTaxSummary.nSetKeyValue("ScheduleSeqNo$", "000001") retVal = oSOSalesOrderTaxSummary.nSetKeyValue("TaxCode$", "DEFAULT") retVal = oSOSalesOrderTaxSummary.nSetKey() MsgBox(oSOSalesOrderTaxSummary.sLastErrorMsg) retVal = oSOSalesOrderTaxSummary.nSetValue("SalesTaxAmt", 3.00) retVal = oSOSalesOrderTaxSummary.nWrite()

Viewing all articles
Browse latest Browse all 36990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>