KVSPSAJob Lib#
Procedures#
CheckDiffInvoicngCurrency(Code[20], Code[20]) :#
Summary: This procedure try to get billing customer and check if the currency of billing customer is different from project billing currency. If the currency is different, a message will be shown to the user.
procedure CheckDiffInvoicngCurrency(JobNo: Code[20]; CustomerNo: Code[20]):
Parameters:
JobNo
: Code used for get JobCustomerNo
: Code used for get Customer
CheckJobSellToCustomer(Code[20], Code[20]) :#
Summary: This procedure checks if the sell-to customer of the job is the same as the customer provided. If they are the same, an error is raised to prevent the user from selecting the same customer at both levels.
procedure CheckJobSellToCustomer(JobNo: Code[20]; CustomerNo: Code[20]):
Parameters:
JobNo
: Code used for get JobCustomerNo
: Code used for check condition
KVSPSAAddToMyJobs(Record Job) :#
Summary: This procedure checks job status, If job is not completed, it will either update an existing My Job or create a new My Job base on Job.
procedure KVSPSAAddToMyJobs(var Job: Record "Job"):
Parameters:
Job
: Record used for condition and assigning fields