Hi,
static void AlfasithGetProductAttributes(Args _args)
{
inventTable InventTable;
EcoResProductAttributeValue ecoResProductAttributeValue;
EcoResAttribute ecoResAttribute;
EcoResValue ecoResValue;
EcoResTextValue ecoResTextValue;
InventTable = InventTable::find('1604');
while select EcoResProductAttributeValue where EcoResProductAttributeValue.Product == InventTable.Product
{
select ecoResValue where ecoResValue.RecId == ecoResProductAttributeValue.Value;
select ecoResTextValue where ecoResTextValue.RecId == ecoResProductAttributeValue.Value;
info(strFmt("%1 - %2 - %3", InventTable.ItemId, ecoResAttribute.Name, ecoResValue.value()));
}
}
Regards,
static void AlfasithGetProductAttributes(Args _args)
{
inventTable InventTable;
EcoResProductAttributeValue ecoResProductAttributeValue;
EcoResAttribute ecoResAttribute;
EcoResValue ecoResValue;
EcoResTextValue ecoResTextValue;
InventTable = InventTable::find('1604');
while select EcoResProductAttributeValue where EcoResProductAttributeValue.Product == InventTable.Product
{
select ecoResValue where ecoResValue.RecId == ecoResProductAttributeValue.Value;
select ecoResTextValue where ecoResTextValue.RecId == ecoResProductAttributeValue.Value;
info(strFmt("%1 - %2 - %3", InventTable.ItemId, ecoResAttribute.Name, ecoResValue.value()));
}
}
Regards,
No comments:
Post a Comment