Find Jobs
Hire Freelancers

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

$10-1000 USD

Ditutup
Disiarkan lebih dari 5 tahun yang lalu

$10-1000 USD

Dibayar semasa penghantaran
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
ID Projek: 17465530

Tentang projek

14 cadangan
Projek jarak jauh
Aktif 6 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
14 pekerja bebas membida secara purata $566 USD untuk pekerjaan ini
Avatar Pengguna
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 dalam 4 hari
4.9 (71 ulasan)
5.4
5.4
Avatar Pengguna
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 dalam 2 hari
5.0 (31 ulasan)
5.1
5.1
Avatar Pengguna
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 dalam 10 hari
5.0 (9 ulasan)
4.8
4.8
Avatar Pengguna
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 dalam 40 hari
5.0 (3 ulasan)
4.5
4.5
Avatar Pengguna
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 dalam 7 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera EGYPT
Egypt
0.0
0
Ahli sejak Jul 21, 2015

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.