m1gs
m1gs

Reputation: 197

How to determine if it is an invoice journal or payment journal?

I am required to extract posted payment journals and I've used LedgerJournalTable. However, I've seen that invoice journal and payment journal are both in that table. Is there any way or is there a unique field that can distinguished if a journal is an invoice or payment?

Upvotes: 0

Views: 395

Answers (1)

Jan B. Kjeldsen
Jan B. Kjeldsen

Reputation: 18051

The field LedgerJournalTable.JournalType backed by the base enum LedgerJournalType (with more than 40 values) can be used to distinguish the journal type.

Upvotes: 1

Related Questions