Project-Hour Journal D365FO
public void
createProjectHourJournal(ProjectJournalContract _projectJournal) // project hour
journal
{
ProjJournalTableData JournalTableData;
ProjJournalTransData journalTransData;
ProjJournalTable journalTable, journalTableUpdate;
ProjJournalTrans journalTrans;
ProjTable projTable;
ProjInvoiceTable projInvoiceTable;
NumberSeq numberSeq;
ProjJournalCheckPost jourPost;
ProjQtyEmpl qty;
JournalNumOfLines numOfLines;
ProjCategory projCategory;
LedgerJournalName ledgerJournalName;
ProjectJournalTransContract projecJournalTrans;
// ProjLinePropertySetup projLinePropertySetup;
ProjJournalName projJournalName;
if(_projectJournal!=null)
{
select projJournalName
where projJournalName.isFSJournal==NoYes::Yes;
projecJournalTrans=_projectJournal.getProjectJournalTrans(0);
ttsBegin;
journalTableData = JournalTableData::newTable(journalTable);
journalTransData =
journalTableData.journalStatic().newJournalTransData(journalTrans, journalTableData);
//select projLinePropertySetup
//
where projLinePropertySetup.ProjCode==TableGroupAll::All
//
&& projLinePropertySetup.ProjRelation==projTable.ProjId;
projTable = ProjTable::find(projecJournalTrans.ProjectId);
// Init JournalTable
projCategory=ProjCategory::find(projecJournalTrans.ProjectCateId);
journalTable.JournalId = journalTableData.nextJournalId();
journalTable.JournalType = ProjJournalType::Hour;
journalTable.ProjId=projecJournalTrans.ProjectId;
journalTable.ProjQty=projecJournalTrans.QtyUsed;
journalTable.CategoryId=projecJournalTrans.ProjectCateId;
journalTable.ProjTransDate=systemDateGet();
//journalTable.LinePropertyId
journalTable.initFromProjJournalName(projJournalName);
journalTable.insert();
journalTableData.initFromJournalName(journalTableData.journalStatic().findJournalName(journalTable.JournalNameId));
journalTrans.clear();
journalTransData.initFromJournalTable();
projInvoiceTable = projTable.projInvoice();
journalTrans.setTransDate();
//
journalTrans.TransDate =
systemDateGet();
journalTrans.ProjTransDate = systemDateGet();
journalTrans.ProjId = projTable.ProjId;
journalTrans.Qty = projecJournalTrans.QtyUsed;
journalTrans.CategoryId = projCategory.CategoryId;
//
journalTrans.LinePropertyId = projLinePropertySetup.LinePropertyId;
journalTrans.Worker = HcmWorkerLookup::currentWorker();
journalTrans.ActivityNumber =
projecJournalTrans.ActivityId;
journalTrans.Txt = _projectJournal.FreeTxt;
if(projInvoiceTable.CurrencyId)
{
journalTrans.CurrencyId = projInvoiceTable.CurrencyId;
}
else
{
journalTrans.CurrencyId = Ledger::accountingCurrency(CompanyInfo::current());
}
journalTrans.DefaultDimension = projTable.DefaultDimension;
journalTrans.TaxGroupId = ProjParameters::taxGroupInvoice(projTable.ProjId);
if
(journalTrans.Worker)
{
journalTrans.setHourPrices();
journalTrans.setPeriodDate();
}
numberSeq = NumberSeq::newGetVoucherFromId(journalTable.VoucherNumberSequenceTable,
false);
journalTrans.Voucher = numberSeq.voucher();
journalTransData.create();
ttsCommit;
}
}
My name is Mrs Nadia Albert from Russia, And i am a happy woman today through the help of a Loan lender, Mr Russ Harry. I will refer any person that is looking for a loan to this Loan firm. He gave happiness to me and my family, i was in need of a loan of $500,000.00 to start my life all over as i am a single mother. I met this honest and GOD fearing man loan lender that help me with a loan of $500,000.00 US Dollar, at a low Rate. He is a God fearing man, if you are in need of loan and you will pay back the loan please contact him Via E-mail-Elegantloanfirm@hotmail.com /Whatsapp number+393511617486
ReplyDeletehello guys i just got a successful bank transfer of $50,000 from darkwebonlinehackers.com THEY ARE VERY LEGIT AND RELIABLE TO DEAL WITH. YOU CAN CONTACT THEM NOW THROUGH THEIR
DeleteEmail: darkwebonlinehackers@gmail.com
Text & Call or WhatsApp: +18033921735
Website: https://darkwebonlinehackers.com
Need a Debt Loan To Pay Off Bills?
ReplyDeleteTake control of your debt today
Available Now Business Expansion Loan Offer?
Do you need a loan to pay off Bills?
Do you need a loan?
Do you need Personal Loan?
Business Expansion Loan?
Business Start-up, Education,
Debt Consolidation Loan
Hard Money Loans
Loan for any thing ?
We offer loan at low interest rate of 3%
Loan with no credit check,
Email us: financialserviceoffer876@gmail.com
Call or add us on what's app +918929509036
Our company is into project funding, Loan, joint venture, Equity and we are globally willing to fund companies, Private bodies,Government bodies and we are ready to help you with any kind of financial needs. In-case you are interested with my company financial services do get back to me with Kindly get back to us: magmafincropp@gmail.com
ReplyDeleteWhats-app us on +917428734439
Do you need a genuine Loan to settle your bills and startup
ReplyDeletebusiness? contact us now with your details to get a good
Loan at a low rate of 3% per Annual email us:
Do you need Personal Finance?
Business Cash Finance?
Unsecured Finance
Fast and Simple Finance?
Quick Application Process?
Finance. Services Rendered include,
*Debt Consolidation Finance
*Business Finance Services
*Personal Finance services Help
Please write back if interested with our interest rate datanfincorpfinance@gmail.com
My name is Mr. Klaus Dieter, I work for the French financial institution Crรฉdit Mutuel with the partnership of the bank BNP Paribas, we offer you offers at an interest rate of 3% per year, to start with new projects:
ReplyDelete- You have unpaid debt.
- Buying a new house.
- buy a new car.
- Buying a new apartment or property.
Get personal loans, business loans.
If you would like loans for setting up your business and project, do not hesitate to send us an email:
bnpfinanzenhilfe@gmail.com
Whatsapp: +4917694954827
I was searching for loan to sort out my bills& debts, then i saw comments about Blank ATM Credit Card that can be hacked to withdraw money from any ATM machines around you . I doubted thus but decided to give it a try by contacting (smithhackingcompanyltd@gmail.com} they responded with their guidelines on how the card works. I was assured that the card can withdraw $5,000 instant per day & was credited with$50,000,000.00 so i requested for one & paid the delivery fee to obtain the card, after 24 hours later, i was shock to see the UPS agent in my resident with a parcel{card} i signed and went back inside and confirmed the card work's after the agent left. This is no doubts because i have the card & has made used of the card. This hackers are USA based hackers set out to help people with financial freedom!! Contact these email if you wants to get rich with this Via: smithhackingcompanyltd@gmail.com or WhatsApp +1(360)6370612
ReplyDeleteProgrammed ATM Cards
ReplyDeleteDo you know that you can hack any ATM machine !!!
We have specially programmed ATMs that can be used to withdraw money at ATMs, shops and points of sale. We sell these cards to all our customers and interested buyers all over the world, the cards have a withdrawal limit every week.
Getting rich and living the rich and famous lifestyle is a dream of many people. And while most people go to work or look for other ethical methods to make money on ATM-programmed cards.
The programmed ATMs withdraw money from each ATM but have a withdrawal limit every week, only your PIN code is in it, it is a high-tech card system. The PROGRAMMED ATM card works on all card-based ATMs, anywhere in the world.
Email: atmservices44@aol.com
Email: hacklords.investors@gmail.com
Emergency Cash Loans Hello Everybody, My name is Mrs. Phyllis Sue South. I live in UK London and i am a happy woman today? and i told my self that any lender that rescue my family from our poor situation, i will refer any person that is looking for loan to him, he gave me happiness to me and my family, i was in need of a loan of $350,000.00 to start my life all over as i am a single mother with 2 kids I met this honest and GOD fearing man loan lender that help me with a loan of $350,000.00 U.S. Dollar, he is a GOD fearing man, if you are in need of loan and you will pay back the loan please contact him tell him that is Mrs. Phyllis Sue South that refer you to him. contact Dr. James Eric via email: financialserviceoffer876@gmail.com Whats-App +918929509036
ReplyDeleteHAVE YOU BEEN IN SEARCH FOR GENUINE HACKER'S ONLINE?. HAVE YOU LOST YOUR MONEY TO BINARY OPTION SCAM OR ANY ONLINE SCAM WHATSOEVER?. WELL, YOU HAVE FOUND REDEMPTION .
ReplyDeleteBLANK ATM CARD :We have specially programmed BLANK ATM CARDS that can be used to hack any ATM machine, these ATM cards can be used to withdraw at the ATM or swipe, stores and outlets. We sell this BLANK CARDS to all our customers and interested buyers worldwide, the BLANK CARDS has a daily withdrawal limit of $5000 in ATM and up to $50,000 spending limit in stores. and also if you are in need of any other cyber hacking services, we are here for you at any time any day. Email :
Email:Creditcards.atm@gmail.com
WhatsApp: +1(539) 888-2243
-hack into any kind of phone
_Increase Credit Scores
_western union, bitcoin and money gram hacking
_criminal records deletion
_BLANK ATM/CREDIT CARDS
_Hacking of phones(that of your spouse, boss, friends, and see whatever is being discussed behind your back)
_Security system hacking...and so much more. Contact THEM now and get whatever you want at
Email:Creditcards.atm@gmail.com
WhatsApp: +1(539) 888-2243
You can also contact us on Telegram.
๐๐ฅ๐๐๐✔๐ฐ๐ด๐ต๐ถ๐ธ๐ท๐ฉ๐ฎ๐๐๐๐๐๐
Dear Sir / Madam
ReplyDeleteDo you need funds to start up your own business? Do you need loan to settle your debt or pay off your bills or start a nice business? Do you need funds to finance your project? We Offers guaranteed loan services of any amount and to any part of the world for (Individuals, Companies, Realtor and Corporate Bodies) interest rate of 2% within 1 year to 50 years repayment duration period to any part of the world. We give out loans within the range of $1,000 to $100,000,000 USD. Our loans are well insured for maximum security is our priority.
For application and more information send replies to the following
Lender's Name: Scott Tucker
Lender's Email: scotttuckerloanfund@gmail.com
What app Number: +16182279611
Attention Everybody, I am Colin Byrne by names, from United States. I want use this medium to say a special thanks to this awesome company who made it possible for me to improve my business. I was stuck in a financial crisis and i needed to refinance my business, i tried seeking loans from various loan firms both private and corporate but never with success and most banks declined my credit, until i met this company pennymac financial Services who helped me out with a loan sum of ($570,000) without any stress i truly want to thank Mr penny mac who made it possible and helped me through and ensure i got my loan. So i want use this means to advise everyone out there searching for a loan that if you must contact any firm with reference securing a loan with low interest rate and better repayment schedule to contact Mr pennymac at (pennymacfinancialservice0147@gmail.com) for a fast, safe and easy loan today...
ReplyDelete
ReplyDeleteI live in UK London and i am a happy woman today? and i
told my self that any lender that rescue my
family from our poor situation, i will refer
any person that is looking for loan to him,
he gave me happiness to me and my family, i
was in need of a loan of $250,000.00 to
start my life all over as i am a single
mother with 3 kids I met this honest and GOD
fearing man loan lender that help me with a
loan of $250,000.00 U.S. Dollar, he is a GOD
fearing man, if you are in need of loan and
you will pay back the loan please contact
him tell him that is Mrs. Phyllis Sue South that
refer you to him. contact Mr. Anthony Mitchell
via email: (applicantonline3@gmail.com)
What has your government done to help save you from your financial instability? you strive to survive and yet you hear stories of how your leaders have become terror in your entities... is time to make a different. for will have made money, and we have also come to help you out from your long time of financial suffering. clearing of credit card is made available, software for hacking ATM machines, bank to bank hacking and transfer, change your school grade and become something useful in the society. we also have other form of services such as Facebook hack, whats-app hack, twitter hack, i cloud hack, tracking of smart phones, hacking CCTV, installation of software on desktop and PC, snap-chat hack, Skype hack, wire wire, bitcoin account hack, erase your criminal record and be free for ever. database hack and many more. e-mail: cyberhackingcompany@gmail.com for your genuine hacking services and we shock we your findings.
ReplyDeletehello guys i just got a successful bank transfer of $50,000 from darkwebonlinehackers.com THEY ARE VERY LEGIT AND RELIABLE TO DEAL WITH. YOU CAN CONTACT THEM NOW THROUGH THEIR
ReplyDeleteEmail: darkwebonlinehackers@gmail.com
Text & Call or WhatsApp: +18033921735
Website: https://darkwebonlinehackers.com