Ok - I give up, can somebody please help me adding the condition onto this syntax to only print Inventorysay < 2 units on hand. Below is the standard syntax:
I have tried quite a few variances on the end like (after the first colon): :C.Inventory < 2 :{0}|{1}|{2}:::$3>0:}
Ok considering this works and produces records it must be something in Emre’s mind again… {REPORT CONSUMPTION DETAILS:C.Name.desc,C.Unit,C.Inventory,C.InStock,C.Added,C.Removed,C.Consumption:C.Consumption>0}
Clearly I have no idea
Here is another attempt at the longer format but cannot get the syntax right before the last colon! {REPORT CONSUMPTION DETAILS:C.Name,C.Warehouse,C.Inventory.asc:: {0} | {1} | {2} :::}
[EDIT]
No takers?
Ummm @emre is it possible to use other filters on the {REPORT CONSUMPTION DETAILS:x} Tag?
[EDIT2:]
Ok I have changed the name of this thread in case posters to give a better idea about my question. Happy to have a YES or NO (not supported) as I will design another idea.
I never use inventory just wondering how
{REPORT INVENTORY} vs {REPORT CONSUMPTION DETAILS} output like.
Could you post the output? Maybe you should use REPORT INVENTORY instead.
Hey @sukasem
Thanks for coming in - I thought I was placed on ignore lol…
I can you the exact difference as I been working on this for quite a few hours.
{REPORT INVENTORY} - Is a hardcoded report it accepts very little input except for 2 parameters.
{REPORT INVENTORY:inventory item:warehouse} - produced 1 figure a stock level. {REPORT INVENTORY:9325862000250 Sun Screen:Proshop Inventory}returns-1
{REPORT INVENTORY} - no parameters returns a stock list with Inventory Levels
Yea, nup - this tag is definitely hardcode so no parameters can be used. Its the Consumption Tag that is required BUT I think there may be a problem with that tag as like all TAGS (or many) they are constrained to Work Period!
Therefore - No sales - No Report - means No Inventory Item!
See above @sukasem the last bit is the consumption Tag Filter for Consumption greater than “0”. A reference to a field so since we can do that I thought I could make reference to C.Inventory or C.InStock?
I think @emre I would like you to look at this and tell me is it a error or BY design. I not sure why C.Inventory cannot be referenced unless it is returned as a CHAR or something. Also unsure why C.InStock did not move.
Please can you verify the above, and image below - thanks.
In stock is from your end of day records calculations it updates after end work period and if you make any changes to end of day.
All report tags are hard coded but we get parameters etc to use with them. They simplify the SQL for you but there are times you may need to simply use SQL
You should use report inventory tag and parameter for the items use expression in the parameter. I’ll give example in minute.
Hey @Jesse - looks like the ‘A’ team have been busy.
Did you have a change to look at this TAG as using C.Instock which is my current solution would only work AFTER a End of Day report is done. These reports are not likely to be done every day so a better solution will be needed.