query 50112 GetCustomerWithOrder
{
QueryType = API;
APIPublisher = 'QueryV1';
APIGroup = 'QueryGroup';
EntityName = 'Item';
EntitySetName = 'Items';
elements
{
dataitem(ItemDetails; Item)
{
column(ItemNo; "No.")
{
}
column(Name; Description)
{
}
column(Inventory; Inventory)
{
}
column(Picture; Picture)
{
}
column(Base_Unit_Price; "Unit Price")
{
}
dataitem(Pricelist; "Sales Price")
{
DataItemLink = "Item No." = ItemDetails."No.";
SqlJoinType = LeftOuterJoin;
column(Unit_Price; "Unit Price")
{
}
dataitem(pictures; "Picture Entity")
{
DataItemLink = Id = ItemDetails.Picture;
SqlJoinType = LeftOuterJoin;
column(PictureContent; Content)
{
}
}
}
}
}
var
myInt: Integer;
trigger OnBeforeOpen()
begin
end;
}