Find Jobs
Hire Freelancers

TSQL Calc Cost of goods Sold with the three method FIFO ,LIFO ,Avg

$10-1000 USD

Imefungwa
Imechapishwa over 5 years ago

$10-1000 USD

Kulipwa wakati wa kufikishwa
I Use Sql server 2012 I have ERP System and I need to calc FIFO,LIFO and Average cost in for the inventory Item I have 4 types of transaction 'IN' (Purchase) ,'OUT' Sale ,'INR' Returned Purchase , ''OUTR' for Sales return Database Structure - Items Table ( Has ItemID, And ItemID and Calculation Method ) -Transaction Table (has ItemID,Date,Qty,Price,TransactionCode) I need To calculate the Avg ,Fifo And Lifo after any Update or save in the Transaction table because all data depened on the Transaction Date , for example After Purchase ID ItemID Qty Price TransCode CurrentQty CurrentValue 1 1000 10 10 IN 10 100 2 1000 10 20 IN 20 300 If In FIFO 3 1000 6 0 Out 14 240 If In LIFO 3 1000 6 0 Out 14 180 If In Avg 3 1000 6 0 Out 14 210 the Problem Will happen If the Customer Need to Delete the Transaction With ID=1 then I must re Calc All Rows again depend to the change , and this need very fast TSQL Code
Kitambulisho cha mradi: 17465530

Kuhusu mradi

14 mapendekezo
Mradi wa mbali
Inatumika 6 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
14 wafanyakazi huru wana zabuni kwa wastani $566 USD kwa kazi hii
Picha ya Mtumiaji
Hi, I would like to write t sql code for getting the average value in case of fifo, lifo, avg Get in touch to discuss more. Available to start now. Regards, Manish
$200 USD ndani ya siku 4
4.9 (71 hakiki)
5.4
5.4
Picha ya Mtumiaji
Sir I have vast experience in databases and TSQL,u can view my profile and complete on time.I am a full time freelancer, working for more than 2 years now. Have clients from different parts of the world.
$783 USD ndani ya siku 2
5.0 (31 hakiki)
5.1
5.1
Picha ya Mtumiaji
Hi, I got invitation from you to bid on this project , please do let me know when you available so we could discuss in detail. thanks
$561 USD ndani ya siku 10
5.0 (9 hakiki)
4.8
4.8
Picha ya Mtumiaji
I have extensive experience as a Commercial Analyst including work on costings, which lead on to work as a Database Developer and DBA with most of my current work in database development. I would be pleased to do this work for you and would ensure it was done efficiently and carefully, with test examples written up as tSQLt tests to ensure the results were as expected. As well as attending to code I would if required / allowed advise on indexing of the relevent database tables (reduction in overall price if this is not required or allowed) I am currently very busy with some deadlines in August so would not be able to do the work until early September hence the long time period quoted.
$2,000 USD ndani ya siku 40
5.0 (3 hakiki)
4.5
4.5
Picha ya Mtumiaji
Hello Sir, I have read your problem. You need calculate your Avg, Fifo and Lifo after any entry update or insert. I can do it for you. I have work before this type of task in my office. If any Item Purchase then store will update by increase If sale then decrease stock
$166 USD ndani ya siku 7
0.0 (0 hakiki)
0.0
0.0

Kuhusu mteja

Bedera ya EGYPT
Egypt
0.0
0
Mwanachama tangu Jul 21, 2015

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.