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

Forum Post: BOI - unable to get value with nGetNextJournalNo and can't set key

$
0
0
I am writing a C# app to bring in Journal Entries.  I have two issues; I am getting no value for nGetNextJournalNo and I get an invalid key error when attempting to set the SourceJournal+EntryNo key, even though I am setting entryno to a string.  I have also tried hard-coding the key instead of trying to get the next number and still got an invalid error. gl_bus is GL_GeneralJournal_bus gl_svc is GL_SourceJournal_svc gl_bus.InvokeMethod("nSetKeyValue", "SourceJournal$", "AP"); gl_svc.InvokeMethod("nGetNextJournalNo", "AP", journalEntryNo); gl_bus.InvokeMethod("nSetKeyValue", "EntryNo$", journalEntryNo); gl_bus.InvokeMethod("nSetKey");

Viewing all articles
Browse latest Browse all 36990

Trending Articles



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