QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

ItemLinkToTxnId Property

A link to an existing SALESORDER transaction.

Syntax

ANSI (Cross Platform)
char* GetItemLinkToTxnId(int iItemIndex);
int SetItemLinkToTxnId(int iItemIndex, const char* lpszItemLinkToTxnId); Unicode (Windows) LPWSTR GetItemLinkToTxnId(INT iItemIndex);
INT SetItemLinkToTxnId(INT iItemIndex, LPCWSTR lpszItemLinkToTxnId);
- (NSString*)itemLinkToTxnId:(int)itemIndex;
- (void)setItemLinkToTxnId:(int)itemIndex:(NSString*)newItemLinkToTxnId;
#define PID_INVOICE_ITEMLINKTOTXNID 27

INQB_EXTERNAL void* INQB_CALL InQB_Invoice_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_Invoice_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
INQB_EXTERNAL int INQB_CALL InQB_Invoice_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

A link to an existing SalesOrder transaction.

The ItemLinkToTxnId property links this invoice line with a SalesOrder transaction. The ItemLinkToTxnLineId property links to a specific line item in that SalesOrder. Both of these properties must be present if you wish to link to a sales order line.

Note that if you set ItemLinkToTxnId and ItemLinkToTxnLineId in an invoice line, you may not set the ItemName or ItemId properties. ItemLinkToTxnId and ItemLinkToTxnLineId bring in all the item information you need. (You can however specify whatever ItemQuantity or ItemRate that you want, or any other item line element other than ItemName and ItemId).

You may use this property in conjunction with the Invoice class's LinkToTxnId property, as long as these do NOT link to the same transaction id.

The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ItemCount property.

This property is not available at design time.

Data Type

String

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 C++ Edition - Version 20.0 [Build 7941]