HI Experts,
My aims is to create a Job planning line custom attribute that would represent the "progress %" of task execution. It's value is depending on physical completion of a task, manually filled by users.
if i have 100 meters of lane to install and only installed 20 meters, than I'm 20% done.
I've created using code three attribute to job planning lines (progress - base, always 100, Remaining Progress, Posted Progress, and i wish this value to be available in job journal but also in job ledger entries.
I created the same in job journal, updated by an event (onAfterJobPlanningLIneToJobJnl) (it is not possible to extend codeUnit)
For job ledger entry, after created the progress attribute for this table, i use an event, OnAfterJobLedgerInsert entry to update the value after posting the JobJnl Entry.
WIth this Progress% I will be able to forecast the real cost of a job and be able to invoice customer before job ends if necessary.
In my company, we are working in micro task (10 min to 2h), and a user can send 20 to 30 tasks a day in job journal. For this, I'm always afraid about performances issues by using event, but also, adding custom attributes that requires amount of setRange/SetFilter on job planning lines, job journal, and job ledger entries to be updated.
Is there any other and better way to get it working fine ?
Any deep documentation would be welcome.
Hicham