While Doing procurement PO from SO, the Document Series in SO for Branchwise must be match with the PO ..
While Prepaing PO Document from SO , If there is mismatch of Document Series When compared to SO then Document should not add in PO...
I need a stored procedure
Correct Document series mentioned below
SO Series PO Series Branch
B-SO1516 B-PO1516 Bangalore
P-SO1516 P-PO1516 Pune
Wrong Document Series
SO Series PO Series Branch Remarks
B-SO1516 P-PO1516 Bangalore Here the Document Series for PO must be B-PO1516
P-SO1516 B-PO1516 Pune Here the Document Series for PO must be P-PO1516