Thank you in advance for taking the time to help review my problem.
My client is using a multi-book feature, so there will be Book Specific Journals. However, when I use a script to create a Book Specific Journal, it always creates a general Journal instead of a Book Specific Journal.
But after checking the original documentation, theoretically, they are the same type of document, the difference lies in whether a ledger is specified.
Does anyone know how to make this distinction when creating and successfully create a Book Specific Journal?"
In addition, I saw a field called 'isBookSpecific' in the 2016 Records Browser, but this field is no longer present in the latest 2024 Records Browser.
I'm wondering if there is a field that can indicate whether the Journal is a Book Specific Journal?"
var newJournal = record.create({ type: record.Type.JOURNAL_ENTRY });
newJournal.setValue({ fieldId: 'accountingbook', value: '1'});
newJournal.setValue({ fieldId: 'isBookSpecific', value: true });
. . .
var journalId = newJournal.save();