OBJECT Codeunit 50000 Magento Item Export { OBJECT-PROPERTIES { Date=06-04-14; Time=17:39:03; Modified=Yes; Version List=; } PROPERTIES { OnRun=BEGIN END; } CODE { PROCEDURE ExportItems@1000000000(VAR ExportItems@1000000000 : XMLport 50001); BEGIN END; PROCEDURE ImportOrders@1000000001(VAR OrdersImport@1000000000 : XMLport 50002); BEGIN OrdersImport.IMPORT; END; PROCEDURE ExportCustomers@1000000002(VAR CustomersExport@1000000001 : XMLport 50003;CustomerFilter@1000000000 : Text); BEGIN CustomersExport.SetCustomerFilter(CustomerFilter); END; PROCEDURE ImportCustomers@1000000003(VAR ImportCustomers@1000000000 : XMLport 50003); BEGIN ImportCustomers.IMPORT; END; PROCEDURE ExportOrders@1000000004(VAR Orders@1000000000 : XMLport 50003;DateFromFilter@6150614 : Text); VAR Date@6150613 : Date; BEGIN EVALUATE(Date, DateFromFilter ); Orders.SetDateFromFilter(Date); END; PROCEDURE ExportOrdersStatus@6150613(VAR OrdersStatus@6150613 : XMLport 50005;DateFromFilter@6150614 : Text); VAR Date@6150615 : Date; BEGIN EVALUATE(Date, DateFromFilter); OrdersStatus.SetDateFrom ( Date ); END; BEGIN END. } }