|
|
|
|
@ -29,6 +29,8 @@ export class WorklistMainService {
|
|
|
|
|
public static getMONotificationBody = "Services/ERP.svc/REST/GET_MO_NOTIFICATION_BODY";
|
|
|
|
|
public static getPRNotificationBody = "Services/ERP.svc/REST/GET_PR_NOTIFICATION_BODY";
|
|
|
|
|
public static getICNotificationBody = "Services/ERP.svc/REST/GET_ITEM_CREATION_NTF_BODY";
|
|
|
|
|
public static getBasicDetailNotificationBody = "Services/ERP.svc/REST/GET_BASIC_DET_NTF_BODY";
|
|
|
|
|
public static getAddressNotificationBody = "Services/ERP.svc/REST/GET_ADDRESS_NOTIFICATION_BODY";
|
|
|
|
|
public static getPOItemHistory = "Services/ERP.svc/REST/GET_PO_ITEM_HISTORY";
|
|
|
|
|
public static getMOItemHistory = "Services/ERP.svc/REST/GET_MO_ITEM_HISTORY";
|
|
|
|
|
public static getNotificationButtons = "Services/ERP.svc/REST/GET_NOTIFICATION_BUTTONS";
|
|
|
|
|
@ -107,7 +109,7 @@ export class WorklistMainService {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public getICNotificationBody(
|
|
|
|
|
public getBasicDetailNotificationBody(
|
|
|
|
|
WorkListBodyRequest: any,
|
|
|
|
|
onError?: any,
|
|
|
|
|
errorLabel?: string
|
|
|
|
|
@ -115,7 +117,22 @@ export class WorklistMainService {
|
|
|
|
|
const request = WorkListBodyRequest;
|
|
|
|
|
this.authService.authenticateRequest(request);
|
|
|
|
|
return this.api.post(
|
|
|
|
|
WorklistMainService.getICNotificationBody,
|
|
|
|
|
WorklistMainService.getBasicDetailNotificationBody,
|
|
|
|
|
request,
|
|
|
|
|
onError,
|
|
|
|
|
errorLabel
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public getAddressNotificationBody(
|
|
|
|
|
WorkListBodyRequest: any,
|
|
|
|
|
onError?: any,
|
|
|
|
|
errorLabel?: string
|
|
|
|
|
): Observable<PRNotificatonBodyResponse> {
|
|
|
|
|
const request = WorkListBodyRequest;
|
|
|
|
|
this.authService.authenticateRequest(request);
|
|
|
|
|
return this.api.post(
|
|
|
|
|
WorklistMainService.getAddressNotificationBody,
|
|
|
|
|
request,
|
|
|
|
|
onError,
|
|
|
|
|
errorLabel
|
|
|
|
|
@ -169,6 +186,21 @@ export class WorklistMainService {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public getICNotificationBody(
|
|
|
|
|
WorkListBodyRequest: any,
|
|
|
|
|
onError?: any,
|
|
|
|
|
errorLabel?: string
|
|
|
|
|
): Observable<PRNotificatonBodyResponse> {
|
|
|
|
|
const request = WorkListBodyRequest;
|
|
|
|
|
this.authService.authenticateRequest(request);
|
|
|
|
|
return this.api.post(
|
|
|
|
|
WorklistMainService.getICNotificationBody,
|
|
|
|
|
request,
|
|
|
|
|
onError,
|
|
|
|
|
errorLabel
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public getQutationAnalysis(
|
|
|
|
|
qutationAnalysis: any,
|
|
|
|
|
onError?: any,
|
|
|
|
|
|