b1simpflemobilewarehousing 0.0.2 b1simpflemobilewarehousing: ^0.0.2 copied to clipboard
A starting point for Dart libraries or applications.
example/b1simpflemobilewarehousing_example.dart
import 'package:b1simpflemobilewarehousing/b1simpflemobilewarehousing.dart';
abstract class IWarehousingServices with IActivities, IItems, IPurchasing {}
class WarehousingServicesImpl extends B1Services
with ActivitiesImpl, ItemsImpl, PurchasingImpl
implements IWarehousingServices {
WarehousingServicesImpl(B1ServiceLayer sl) : super(sl);
}
final connection = B1Connection(
serverUrl: "http://hana93srv:50001/b1s/v1/",
userName: "manager",
password: "123qwe",
companyDB: "SBODEMOUS",
);
main() async {
final IWarehousingServices b1s = WarehousingServicesImpl(B1ServiceLayer(connection));
final List<Document> r = await b1s.queryOpenPurchaseOrdersAsync();
print("Documents returned ${r.length}");
}