saumya
18th May 2009, 10:56
Can any body tell me standard function to calculate item cost price by date.
which is based on table ticpr300.
Thanks in advance

Hitesh Shah
19th May 2009, 08:03
If u want to calculate cost price then thro program then a function using afs on ticpr2210m00 can give u the result .

If u want to find a cost price for a date , then simple query on a function with sql query on ticpr300 can give u the result . Not aware of any std function for the same.

sameer.don
23rd May 2009, 07:05
you can try followwing function form dll ticprdll1101


ticpr.dll1101.determine.operation.costs
(
domain tccpcc i.cpcc, |cost price component
domain tckowc i.kowc, |kind of workcentre
domain tccprj i.cprj, |project
domain tckopr i.kopr, |kind of project
domain tcoprc i.oprc, |operation
domain tctano i.tano, |task
domain tcsuno i.suno, |for subcontracting
domain tcabhe i.subr, |for subcontracting
double i.manhr, |man hours
double i.machhr, |machine hours
domain tiqep1 i.quan, |quantity
domain tidate i.date, |currency date
domain tcmcs.st20 i.doma, |domain for rounding
ref double o.wgcs, |wage costs
ref double o.mccs, |machine costs
ref double o.ohcs, |overhead costs
ref double o.sccs, |subcontracting costs
ref domain tccpcp o.cpcw, |cost pr comp wage costs
ref domain tccpcp o.cpcm, |cost pr comp mach costs
ref domain tccpcp o.cpco, |cost pr comp overh csts
ref domain tccpcp o.cpcs, |cost pr comp subc costs
ref domain tccmsc o.cmsc
)