|
Posted by josh on August 11, 2005, 6:37 pm
Please log in for more thread options i know about that one this is for something else in a vb6 dll file i am making
"Robert" wrote:
> Josh,
>
> If you are using the Custom POS Button to add the item set the Style =
> Internal Command and enter the text below into the Command:
> PerformAddItem 0, 4050, 1, 0, 0, 0, 0
>
> Parameters
> 1. ItemID
> Long value that contains the ID in the database of the item to add to the
> transaction. If you do not know the ID of the item in the database, set this
> value to zero and use the ItemLookupCode parameter to identify the item.
> This parameter overrides the ItemLookupCode parameter.
> 2. ItemLookupCode
> String that contains the Item Lookup Code of the item to add. This parameter
> is not used if the ItemID parameter is not zero.
> 3. Quantity
> Double value that contains the quantity of the item to add to the
> transaction. If this value is zero an entry for the item is added to the
> transaction with a quantity of zero; if the quantity of the item is zero
> when the transaction is tendered, the item will not be tendered. If this
> value is less than zero the item entry is treated as an item return.
> 4. OverridePrice
> Boolean value that specifies whether to override the price for the item.
> 5. Price
> Currency value that contains the new price to set to the item. This
> parameter is only used if the OverridePrice parameter is passed TRUE.
> 6. OverrideDescription
> Boolean value that specifies whether to override the description of the
> item.
> 7. Description
> String that contains the new description for the item. This parameter is
> only used if the OverrideDescription parameter is passed TRUE.
>
> Rob
>
> > can anyone help me with this line of code for adding a item with a qsrule
> >
> > Session.Transaction.Entries.Add(52, 4050, 1, 0, 0, 0, 0) =
> > TransactionEntry
> >
> > am getting a runtime error 5
> > invalid procedute call or argument
> >
> > thanks josh
> >
>
>
>
|