AutoApply Property
How the payment should be applied.
Syntax
ANSI (Cross Platform) int GetAutoApply();
int SetAutoApply(int iAutoApply); Unicode (Windows) INT GetAutoApply();
INT SetAutoApply(INT iAutoApply);
Possible Values
AA_NOT_SET(0),
AA_FUTURE_TRANSACTIONS(1),
AA_EXISTING_TRANSACTIONS(2),
AA_CUSTOM(3)
@property (nonatomic,readwrite,assign,getter=autoApply,setter=setAutoApply:) int autoApply; - (int)autoApply; - (void)setAutoApply:(int)newAutoApply;
Possible Values
AA_NOT_SET(0),
AA_FUTURE_TRANSACTIONS(1),
AA_EXISTING_TRANSACTIONS(2),
AA_CUSTOM(3)
#define PID_RECEIVEPAYMENT_AUTOAPPLY 17 INQB_EXTERNAL void* INQB_CALL InQB_ReceivePayment_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_ReceivePayment_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
How the payment should be applied. The following values are permitted:
aaCustom (3) | Manually specify how the payment should be applied. Use the AppliedTo property to specify each transaction this Receive Payment applies to. |
aaExistingTransactions (2) | Apply the payment to existing customer transactions (e.g., invoices). QuickBooks will automatically apply the payment to appropriate transactions, which will be reported in the AppliedToTransactions special field after Add is invoked. |
aaFutureTransactions (1) | Apply the payment to future transactions; i.e., set a credit for the customer. |
aaNotSet (0) | The default value. You must change the value of AutoApply before it is used in Add transactions. |
Data Type
Integer