|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.iif.IIFRecord | +--planetj.iif.IIFDistribution
This is an IIF Distribution Object responsible for the income or expense a transaction. A Transaction may have many Distributions. The SPL lines are the distribution lines
TRNS CHECK 7/22/1998 Checking Tom Ferguson -36.15 SPL CHECK 7/22/1998 Professional Fees:Legal Fees Favor, Lynn:Sun Room 15.00 SPL CHECK 7/22/1998 Professional Fees:Documents Favor, Lynn:Sun Room 15.00 SPL CHECK 7/22/1998 Tax:Sales Tax Favor, Lynn:Sun Room 6.15 ENDTRN
An IIF file has a header line that explains to QuickBooks what information it is going to be seeing next. All header lines begin with an exclamation point. This file contains the header lines needed to import to the chart of accounts, vendor list, and a Bill Payment Credit Card transaction. Some columns may not have anything in them and that is fine, however, the headers and columns need to be there for QuickBooks to be able to import it correctly. Just leave them blank if you do not have anything that goes in that field.
Creation date: (2/13/2002 1:44:05 AM)
Field Summary | |
static String |
DISTRIBUTION_ID
|
static String |
DISTRIBUTION_START
|
Fields inherited from class planetj.iif.IIFRecord |
TYPE_ACCOUNT, TYPE_BUD, TYPE_CLASS, TYPE_CUSTOMER, TYPE_CUSTOMER_TYPE, TYPE_DISTRIBUTION, TYPE_EMPLOYEE, TYPE_END_TRANSACTION, TYPE_ITEM_DETAILS, TYPE_MEMO_DETAILS, TYPE_OTHER_NAMES, TYPE_PAYMENT_METHOD, TYPE_SHIPPING_METHOD, TYPE_TERMS, TYPE_TIMER_ACTIVITY, TYPE_TIMER_DATA, TYPE_TO_DO, TYPE_TRANSACTION, TYPE_VENDER, TYPE_VENDER_TYPE |
Fields inherited from interface planetj.iif.IIIF |
ACCOUNT, AMOUNT, CLASS, DATE, MEMO, NAME, TRANSACTION_TYPE |
Constructor Summary | |
IIFDistribution(String pTransactionType,
String pAccount,
float pAmount)
Constructor for IIFDistribution Creation date: (2/13/2002 2:39:41 AM) |
|
IIFDistribution(String pTransactionType,
String pAccount,
float pAmount,
int pDistributionId)
Constructor for IIFDistribution Creation date: (2/13/2002 2:39:41 AM) |
Method Summary | |
String |
getAccount()
Returns the account from which the amount of the distribution was taken from. |
float |
getAmount()
Returns the amount of the distribution |
String |
getCategory()
Returns the category/class from which the amount of the distribution was taken from. |
Date |
getDate()
Returns the date of the distribution. |
static StringBuffer |
getDistributionHeader()
Returns the Distribution Header info. |
int |
getDistributionId()
returns int pDistributionId, -1 if you don't have a distribution ID, else its the number that uniquely identifies the distribution line |
String |
getMemo()
Returns the distribution's memo, or null if none was set. |
String |
getName()
Returns who's involved in the distribution, such as the name of a store where expenses took place or customer, vendor, payee, or employee |
String |
getTransactionType()
Must be a valid Distribution Transaction Type according to iff format Creation date: (2/13/2002 2:37:51 AM) |
void |
setCategory(String pCategory)
Sets the category/class from which the amount of the distribution was taken from. |
void |
setDate(Date date)
Sets the date of the distribution. |
void |
setMemo(String memo)
Give the distribution a memo. |
void |
setName(String pName)
Sets who's involved in the distribution, such as the name of a store where expenses took place or the payee, vender, employee, or customer |
String |
toString()
Returns the complete IIF record corresponding to the Distribution. |
StringBuffer |
toStringBuffer()
Returns the complete IIF record corresponding to the Distribution. |
Methods inherited from class planetj.iif.IIFRecord |
encodeDate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String DISTRIBUTION_ID
public static final String DISTRIBUTION_START
Constructor Detail |
public IIFDistribution(String pTransactionType, String pAccount, float pAmount)
public IIFDistribution(String pTransactionType, String pAccount, float pAmount, int pDistributionId)
Method Detail |
public String getAccount()
public float getAmount()
public String getCategory()
public Date getDate()
public static StringBuffer getDistributionHeader()
public int getDistributionId()
public String getMemo()
null
if none was set.
public String getName()
public String getTransactionType()
public void setCategory(String pCategory)
public void setDate(Date date)
public void setMemo(String memo)
public void setName(String pName)
public String toString()
Creation date: (2/13/2002 3:12:25 PM)
toString
in class Object
public StringBuffer toStringBuffer()
This method saves a String Object creation over toString(). Please use this method if possible Creation date: (2/13/2002 3:12:53 PM)
toStringBuffer
in class IIFRecord
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |