journalLineType (property)
This property specifies whether the line is a Credit or Debit line.
Syntax
- (int)journalLineType:(int)journalLineIndex; - (void)setJournalLineType:(int)journalLineIndex:(int)newJournalLineType;
/* Possible Values */
JLT_DEBIT(0),
JLT_CREDIT(1)
public func journalLineType(journalLineIndex: Int32) throws -> JournalentryJournalLineTypes
public func setJournalLineType(journalLineIndex: Int32, newJournalLineType: JournalentryJournalLineTypes) throws -> Void
public enum JournalentryJournalLineTypes : Int32 { case jltDebit = 0 case jltCredit = 1 }
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.