|
Posted by Akber Alwani on February 5, 2008, 11:49 pm
Please log in for more thread options hi Danny, I have noted ur email address, and sending you the customization
guide, this will help you in detail for every aspect of RMS and you will
really like it.
Remember rate me once you get.
"Danny" wrote:
> Akber
>
> I would like to know more about the following fields in the QRP file:
>
> ProcedureCall = << would some internal RMS procedure - what are they????>>
> PreQuery1 = ??
> PreQuery2 = ??
> TablesQueried =
>
> What do they do... I want to create my own QRP reports -
>
> Danny
>
> > hi Jlg,
> > you can do so by customizing the existing report of item movement. follow
> > this
> > 1. open the Items - Item Movement Report.qrp under C:Program
> > FilesMicrosoft Retail Management SystemStore OperationsReports folder
> > or
> > whereever you installed the RMS
> > 2. Update the preQuery2 view procedure by below:
> > REATE VIEW ViewItemMovement AS
> > SELECT Department.Name as DepartmentName,
> > Category.Name as CategoryName,
> > Supplier.SupplierName as SupplierName,
> > Item.ItemLookupCode AS ItemLookupCode,
> > Item.Description AS ItemDescription,
> > Item.LastSold as LastSold,
> > Item.LastReceived as LastReceived,
> > Item.Cost as Cost,
> > Item.Quantity as OnHand,
> > InventoryTransferLog.Type AS Type,
> > 0 as QuantitySold,
> > ISNULL (InventoryTransferLog.Quantity, 0) AS Quantity,
> > 0 as PriceSold,
> > 0 as CostSold,
> > InventoryTransferLog.DateTransferred AS DateTransferred,
> > 1 AS Moved,
> > CASE InventoryTransferlog.Type WHEN 2 THEN
> > InventoryTransferLog.ReferenceID ELSE NULL END AS TransactionNumber
> >
> > FROM InventoryTransferLog
> > LEFT JOIN Item ON InventoryTransferLog.ItemID = Item.ID
> > LEFT JOIN Department ON Item.DepartmentID = Department.ID
> > LEFT JOIN Category ON Item.CategoryID = Category.ID
> > LEFT JOIN Supplier ON Item.SupplierID = Supplier.ID
> >
> > UNION ALL
> >
> > SELECT Department.Name as DepartmentName,
> > Category.Name as CategoryName,
> > Supplier.SupplierName as SupplierName,
> > Item.ItemLookupCode AS ItemLookupCode,
> > Item.Description AS ItemDescription,
> > Item.LastSold AS LastSold,
> > Item.LastReceived as LastReceived,
> > Item.Cost AS Cost,
> > Item.Quantity as OnHand,
> > 99 AS Type,
> > ISNULL (TransactionEntry.Quantity, 0) AS QuantitySold,
> > 0 as QuantityTransferred,
> > ISNULL (TransactionEntry.Price, 0) as PriceSold,
> > ISNULL (TransactionEntry.Cost, 0) as CostSold,
> > [Transaction].Time AS DateTransferred,
> > CASE WHEN [Transaction].Time IS NULL THEN 0 ELSE 1 END AS
> > Moved,
> > [Transaction].TransactionNumber AS TransactionNumber
> >
> > FROM Item
> > LEFT JOIN TransactionEntry ON TransactionEntry.ItemID = Item.ID
> > LEFT JOIN Department ON Item.DepartmentID = Department.ID LEFT
> > JOIN Category ON Item.CategoryID = Category.ID
> > LEFT JOIN [Transaction] ON TransactionEntry.TransactionNumber
> > =
> > [Transaction].TransactionNumber
> > LEFT JOIN Supplier ON Item.SupplierID = Supplier.ID
> >
> > //-- see above i have add Item.Quantity field and name it as on hand --//
> > 3. Go down and update the Groupby clause as:
> >
> > GroupBy = "ViewItemMovement.ItemLookupCode, ViewItemMovement.LastSold,
> > ViewItemMovement.LastReceived,
> > ViewItemMovement.Cost,ViewItemMovement.onHand,ViewItemMovement.SupplierName,
> > ViewItemMovement.DepartmentName, ViewItemMovement.CategoryName,
> > ViewItemMovement.ItemDescription"
> > 4. Go down to whole code and add this:
> > Begin Column
> > FieldName = "ViewItemMovementonHand"
> > DrillDownFieldName = ""
> > DrillDownReportName = ""
> > Title = "On Hand"
> > VBDataType = vbDouble
> > Formula = "SUM(ViewItemMovement.OnHand)"
> > ColHidden = False
> > ColNotDisplayable = False
> > FilterDisabled = False
> > ColWidth = 1800
> > GroupMethod = groupmethodSum
> > ColFormat = ""
> > End Column
> >
> > 5. save the report and run it , now it will show the qty on hand.
> > Once work please rate me.
> >
> >
> > "jlg" wrote:
> >
> >> i use item movement as for buying info- qty on hand seems not included in
> >> the
> >> allowed fields. this would be very helpfull
> >>
> >> ----------------
> >> This post is a suggestion for Microsoft, and Microsoft responds to the
> >> suggestions with the most votes. To vote for this suggestion, click the
> >> "I
> >> Agree" button in the message pane. If you do not see the button, follow
> >> this
> >> link to open the suggestion in the Microsoft Web-based Newsreader and
> >> then
> >> click "I Agree" in the message pane.
> >>
> >>
http://www.microsoft.com/Businesssolutions/Community/NewsGroups/dgbrowser/en-us/default.mspx?mid=149897da-339c-4c22-b194-2af4f7a7329f&dg=microsoft.public.pos
>
>
>
|