Ok When I use this Code It echo's my Item but will not place it. The Variable isn't working Past the first usage?
any suggestions?
Issue Resolved
any suggestions?
Code:
function main()
{
variable int xvar=1
Declare Harvest string local
Harvest:Set[${SettingXML[./EQ2Broker/EQ2Broker.xml].Set[Harvest].Key[${xvar}]}]
echo ${Harvest}
Me.Inventory[${Harvest}]:AddToConsignment[${Me.Inventory[${Harvest}].Quantity},3,${Me.Vending[3]}.Consignment[${Harvest}].SerialNumber}]
}
Issue Resolved
Last edited: