on 2017 Jun 16 11:18 AM
Hi,
we are developing an own ME POD Plugin for Sampling. We need to create an erp-inspection-unit-id in the database table WIP.SAMPLING_GROUP_SFC. I´m using the DomainService to create a Sampling group and a sampling group sfc.
DomainServiceInterface<SamplingGroupDO> samplingGroupDOService = DomainServiceFactory.getServiceByClass(SamplingGroupDO.class);
For the ERP QM Integration we need to get an valid ERP_INSPECTION_UNIT_ID but i can´t find any function to get it.
If we can get the next valid erp inspection unit id, it should work.
Is there any service- or function-call in ME Services we can use?
regards
Sascha Köhler
Request clarification before answering.
Found the service 🙂
NumberingServiceInterface numberingService = Services.getService("com.sap.me.numbering", "NumberingService");
GenerateNextNumberRequest request = new GenerateNextNumberRequest(NextNumberTypeEnum.ERPINSPECTIONUNITID, new BigDecimal(1));
numberingService.generateNextNumber(request);
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.