JournalLineType Property
This property specifies whether the line is a Credit or Debit line.
Syntax
ANSI (Cross Platform) int GetJournalLineType(int iJournalLineIndex);
int SetJournalLineType(int iJournalLineIndex, int iJournalLineType); Unicode (Windows) INT GetJournalLineType(INT iJournalLineIndex);
INT SetJournalLineType(INT iJournalLineIndex, INT iJournalLineType);
Possible Values
JLT_DEBIT(0),
JLT_CREDIT(1)
- (int)journalLineType:(int)journalLineIndex; - (void)setJournalLineType:(int)journalLineIndex:(int)newJournalLineType;
Possible Values
JLT_DEBIT(0),
JLT_CREDIT(1)
#define PID_JOURNALENTRY_JOURNALLINETYPE 12 INQB_EXTERNAL void* INQB_CALL InQB_JournalEntry_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_JournalEntry_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); INQB_EXTERNAL int INQB_CALL InQB_JournalEntry_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
This property specifies whether the line is a Credit or Debit line. Possible values are:
0 (ltDebit - default) | A debit line. |
1 (ltCredit) | A credit line. |
The JournalLineIndex parameter specifies the index of the item in the array. The size of the array is controlled by the JournalLineCount property.
This property is not available at design time.
Data Type
Integer